aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-02-27 12:31:28 +0000
committerDave Love2000-02-27 12:31:28 +0000
commitca51267132ac71ad73e7c1deaa96d7f6ce24ca2c (patch)
tree18b7ecd8a84107dedc1abd82b5fcb2bbc95e29cf
parent215f6689fa2d0895886325fad96069c1a4c365dd (diff)
downloademacs-ca51267132ac71ad73e7c1deaa96d7f6ce24ca2c.tar.gz
emacs-ca51267132ac71ad73e7c1deaa96d7f6ce24ca2c.zip
*** empty log message ***
-rwxr-xr-xconfigure554
1 files changed, 280 insertions, 274 deletions
diff --git a/configure b/configure
index 9235ac35e74..147b70f8afc 100755
--- a/configure
+++ b/configure
@@ -871,6 +871,12 @@ case "${canonical}" in
871 # This is needed to find X11R6.1 libraries for certain tests. 871 # This is needed to find X11R6.1 libraries for certain tests.
872 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 872 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
873 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 873 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
874 case "${canonical}" in
875 # This is necessary on 5.0 to avoid mangling src/Makefile.
876 # Separated out in case it causes problems on earlier versions.
877 alpha*-dec-osf[5-9]*)
878 NON_GNU_CPP='cc -E -std0' ;;
879 esac
874 ;; 880 ;;
875 881
876 alpha*-*-linux-gnu* ) 882 alpha*-*-linux-gnu* )
@@ -1699,7 +1705,7 @@ case ${with_gcc} in
1699 * ) # Extract the first word of "gcc", so it can be a program name with args. 1705 * ) # Extract the first word of "gcc", so it can be a program name with args.
1700set dummy gcc; ac_word=$2 1706set dummy gcc; ac_word=$2
1701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1707echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1702echo "configure:1703: checking for $ac_word" >&5 1708echo "configure:1709: checking for $ac_word" >&5
1703if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1709if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1704 echo $ac_n "(cached) $ac_c" 1>&6 1710 echo $ac_n "(cached) $ac_c" 1>&6
1705else 1711else
@@ -1729,7 +1735,7 @@ if test -z "$CC"; then
1729 # Extract the first word of "cc", so it can be a program name with args. 1735 # Extract the first word of "cc", so it can be a program name with args.
1730set dummy cc; ac_word=$2 1736set dummy cc; ac_word=$2
1731echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1737echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1732echo "configure:1733: checking for $ac_word" >&5 1738echo "configure:1739: checking for $ac_word" >&5
1733if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1739if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1734 echo $ac_n "(cached) $ac_c" 1>&6 1740 echo $ac_n "(cached) $ac_c" 1>&6
1735else 1741else
@@ -1780,7 +1786,7 @@ fi
1780 # Extract the first word of "cl", so it can be a program name with args. 1786 # Extract the first word of "cl", so it can be a program name with args.
1781set dummy cl; ac_word=$2 1787set dummy cl; ac_word=$2
1782echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1788echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1783echo "configure:1784: checking for $ac_word" >&5 1789echo "configure:1790: checking for $ac_word" >&5
1784if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1790if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1785 echo $ac_n "(cached) $ac_c" 1>&6 1791 echo $ac_n "(cached) $ac_c" 1>&6
1786else 1792else
@@ -1812,7 +1818,7 @@ fi
1812fi 1818fi
1813 1819
1814echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1820echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1815echo "configure:1816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1821echo "configure:1822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1816 1822
1817ac_ext=c 1823ac_ext=c
1818# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1824# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1823,12 +1829,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1823 1829
1824cat > conftest.$ac_ext << EOF 1830cat > conftest.$ac_ext << EOF
1825 1831
1826#line 1827 "configure" 1832#line 1833 "configure"
1827#include "confdefs.h" 1833#include "confdefs.h"
1828 1834
1829main(){return(0);} 1835main(){return(0);}
1830EOF 1836EOF
1831if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1837if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1832 ac_cv_prog_cc_works=yes 1838 ac_cv_prog_cc_works=yes
1833 # If we can't run a trivial program, we are probably using a cross compiler. 1839 # If we can't run a trivial program, we are probably using a cross compiler.
1834 if (./conftest; exit) 2>/dev/null; then 1840 if (./conftest; exit) 2>/dev/null; then
@@ -1854,12 +1860,12 @@ if test $ac_cv_prog_cc_works = no; then
1854 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1860 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1855fi 1861fi
1856echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1862echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1857echo "configure:1858: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1863echo "configure:1864: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1858echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1864echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1859cross_compiling=$ac_cv_prog_cc_cross 1865cross_compiling=$ac_cv_prog_cc_cross
1860 1866
1861echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1867echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1862echo "configure:1863: checking whether we are using GNU C" >&5 1868echo "configure:1869: checking whether we are using GNU C" >&5
1863if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1869if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1864 echo $ac_n "(cached) $ac_c" 1>&6 1870 echo $ac_n "(cached) $ac_c" 1>&6
1865else 1871else
@@ -1868,7 +1874,7 @@ else
1868 yes; 1874 yes;
1869#endif 1875#endif
1870EOF 1876EOF
1871if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1877if { 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
1872 ac_cv_prog_gcc=yes 1878 ac_cv_prog_gcc=yes
1873else 1879else
1874 ac_cv_prog_gcc=no 1880 ac_cv_prog_gcc=no
@@ -1887,7 +1893,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1887ac_save_CFLAGS="$CFLAGS" 1893ac_save_CFLAGS="$CFLAGS"
1888CFLAGS= 1894CFLAGS=
1889echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1895echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1890echo "configure:1891: checking whether ${CC-cc} accepts -g" >&5 1896echo "configure:1897: checking whether ${CC-cc} accepts -g" >&5
1891if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1897if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1892 echo $ac_n "(cached) $ac_c" 1>&6 1898 echo $ac_n "(cached) $ac_c" 1>&6
1893else 1899else
@@ -1967,7 +1973,7 @@ fi
1967#### #undef clause to src/config.h.in for autoconf to modify. 1973#### #undef clause to src/config.h.in for autoconf to modify.
1968 1974
1969echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1975echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1970echo "configure:1971: checking whether ln -s works" >&5 1976echo "configure:1977: checking whether ln -s works" >&5
1971if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1977if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1972 echo $ac_n "(cached) $ac_c" 1>&6 1978 echo $ac_n "(cached) $ac_c" 1>&6
1973else 1979else
@@ -1988,7 +1994,7 @@ else
1988fi 1994fi
1989 1995
1990echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1996echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1991echo "configure:1992: checking how to run the C preprocessor" >&5 1997echo "configure:1998: checking how to run the C preprocessor" >&5
1992# On Suns, sometimes $CPP names a directory. 1998# On Suns, sometimes $CPP names a directory.
1993if test -n "$CPP" && test -d "$CPP"; then 1999if test -n "$CPP" && test -d "$CPP"; then
1994 CPP= 2000 CPP=
@@ -2003,13 +2009,13 @@ else
2003 # On the NeXT, cc -E runs the code through the compiler's parser, 2009 # On the NeXT, cc -E runs the code through the compiler's parser,
2004 # not just through cpp. 2010 # not just through cpp.
2005 cat > conftest.$ac_ext <<EOF 2011 cat > conftest.$ac_ext <<EOF
2006#line 2007 "configure" 2012#line 2013 "configure"
2007#include "confdefs.h" 2013#include "confdefs.h"
2008#include <assert.h> 2014#include <assert.h>
2009Syntax Error 2015Syntax Error
2010EOF 2016EOF
2011ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2017ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2012{ (eval echo configure:2013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2018{ (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2013ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2019ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2014if test -z "$ac_err"; then 2020if test -z "$ac_err"; then
2015 : 2021 :
@@ -2020,13 +2026,13 @@ else
2020 rm -rf conftest* 2026 rm -rf conftest*
2021 CPP="${CC-cc} -E -traditional-cpp" 2027 CPP="${CC-cc} -E -traditional-cpp"
2022 cat > conftest.$ac_ext <<EOF 2028 cat > conftest.$ac_ext <<EOF
2023#line 2024 "configure" 2029#line 2030 "configure"
2024#include "confdefs.h" 2030#include "confdefs.h"
2025#include <assert.h> 2031#include <assert.h>
2026Syntax Error 2032Syntax Error
2027EOF 2033EOF
2028ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2034ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2029{ (eval echo configure:2030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2035{ (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2030ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2036ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2031if test -z "$ac_err"; then 2037if test -z "$ac_err"; then
2032 : 2038 :
@@ -2037,13 +2043,13 @@ else
2037 rm -rf conftest* 2043 rm -rf conftest*
2038 CPP="${CC-cc} -nologo -E" 2044 CPP="${CC-cc} -nologo -E"
2039 cat > conftest.$ac_ext <<EOF 2045 cat > conftest.$ac_ext <<EOF
2040#line 2041 "configure" 2046#line 2047 "configure"
2041#include "confdefs.h" 2047#include "confdefs.h"
2042#include <assert.h> 2048#include <assert.h>
2043Syntax Error 2049Syntax Error
2044EOF 2050EOF
2045ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2051ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2046{ (eval echo configure:2047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2052{ (eval echo configure:2053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2047ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2053ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2048if test -z "$ac_err"; then 2054if test -z "$ac_err"; then
2049 : 2055 :
@@ -2079,7 +2085,7 @@ echo "$ac_t""$CPP" 1>&6
2079# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2085# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2080# ./install, which can be erroneously created by make from ./install.sh. 2086# ./install, which can be erroneously created by make from ./install.sh.
2081echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2087echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2082echo "configure:2083: checking for a BSD compatible install" >&5 2088echo "configure:2089: checking for a BSD compatible install" >&5
2083if test -z "$INSTALL"; then 2089if test -z "$INSTALL"; then
2084if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2090if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6 2091 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2136,7 +2142,7 @@ do
2136# Extract the first word of "$ac_prog", so it can be a program name with args. 2142# Extract the first word of "$ac_prog", so it can be a program name with args.
2137set dummy $ac_prog; ac_word=$2 2143set dummy $ac_prog; ac_word=$2
2138echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2144echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2139echo "configure:2140: checking for $ac_word" >&5 2145echo "configure:2146: checking for $ac_word" >&5
2140if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2146if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2141 echo $ac_n "(cached) $ac_c" 1>&6 2147 echo $ac_n "(cached) $ac_c" 1>&6
2142else 2148else
@@ -2168,9 +2174,9 @@ test -n "$YACC" || YACC="yacc"
2168 2174
2169 2175
2170echo $ac_n "checking for AIX""... $ac_c" 1>&6 2176echo $ac_n "checking for AIX""... $ac_c" 1>&6
2171echo "configure:2172: checking for AIX" >&5 2177echo "configure:2178: checking for AIX" >&5
2172cat > conftest.$ac_ext <<EOF 2178cat > conftest.$ac_ext <<EOF
2173#line 2174 "configure" 2179#line 2180 "configure"
2174#include "confdefs.h" 2180#include "confdefs.h"
2175#ifdef _AIX 2181#ifdef _AIX
2176 yes 2182 yes
@@ -2197,17 +2203,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2197do 2203do
2198ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2204ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2199echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2205echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2200echo "configure:2201: checking for $ac_hdr" >&5 2206echo "configure:2207: checking for $ac_hdr" >&5
2201if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2207if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2202 echo $ac_n "(cached) $ac_c" 1>&6 2208 echo $ac_n "(cached) $ac_c" 1>&6
2203else 2209else
2204 cat > conftest.$ac_ext <<EOF 2210 cat > conftest.$ac_ext <<EOF
2205#line 2206 "configure" 2211#line 2212 "configure"
2206#include "confdefs.h" 2212#include "confdefs.h"
2207#include <$ac_hdr> 2213#include <$ac_hdr>
2208EOF 2214EOF
2209ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2215ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2210{ (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2216{ (eval echo configure:2217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2211ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2217ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2212if test -z "$ac_err"; then 2218if test -z "$ac_err"; then
2213 rm -rf conftest* 2219 rm -rf conftest*
@@ -2240,17 +2246,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2240do 2246do
2241ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2247ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2242echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2248echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2243echo "configure:2244: checking for $ac_hdr" >&5 2249echo "configure:2250: checking for $ac_hdr" >&5
2244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2250if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2245 echo $ac_n "(cached) $ac_c" 1>&6 2251 echo $ac_n "(cached) $ac_c" 1>&6
2246else 2252else
2247 cat > conftest.$ac_ext <<EOF 2253 cat > conftest.$ac_ext <<EOF
2248#line 2249 "configure" 2254#line 2255 "configure"
2249#include "confdefs.h" 2255#include "confdefs.h"
2250#include <$ac_hdr> 2256#include <$ac_hdr>
2251EOF 2257EOF
2252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2258ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2253{ (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2259{ (eval echo configure:2260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2260ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2255if test -z "$ac_err"; then 2261if test -z "$ac_err"; then
2256 rm -rf conftest* 2262 rm -rf conftest*
@@ -2277,12 +2283,12 @@ fi
2277done 2283done
2278 2284
2279echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2285echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2280echo "configure:2281: checking for ANSI C header files" >&5 2286echo "configure:2287: checking for ANSI C header files" >&5
2281if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2287if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6 2288 echo $ac_n "(cached) $ac_c" 1>&6
2283else 2289else
2284 cat > conftest.$ac_ext <<EOF 2290 cat > conftest.$ac_ext <<EOF
2285#line 2286 "configure" 2291#line 2292 "configure"
2286#include "confdefs.h" 2292#include "confdefs.h"
2287#include <stdlib.h> 2293#include <stdlib.h>
2288#include <stdarg.h> 2294#include <stdarg.h>
@@ -2290,7 +2296,7 @@ else
2290#include <float.h> 2296#include <float.h>
2291EOF 2297EOF
2292ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2298ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2293{ (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2299{ (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2294ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2300ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2295if test -z "$ac_err"; then 2301if test -z "$ac_err"; then
2296 rm -rf conftest* 2302 rm -rf conftest*
@@ -2307,7 +2313,7 @@ rm -f conftest*
2307if test $ac_cv_header_stdc = yes; then 2313if test $ac_cv_header_stdc = yes; then
2308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2314 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2309cat > conftest.$ac_ext <<EOF 2315cat > conftest.$ac_ext <<EOF
2310#line 2311 "configure" 2316#line 2317 "configure"
2311#include "confdefs.h" 2317#include "confdefs.h"
2312#include <string.h> 2318#include <string.h>
2313EOF 2319EOF
@@ -2325,7 +2331,7 @@ fi
2325if test $ac_cv_header_stdc = yes; then 2331if test $ac_cv_header_stdc = yes; then
2326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2332 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2327cat > conftest.$ac_ext <<EOF 2333cat > conftest.$ac_ext <<EOF
2328#line 2329 "configure" 2334#line 2335 "configure"
2329#include "confdefs.h" 2335#include "confdefs.h"
2330#include <stdlib.h> 2336#include <stdlib.h>
2331EOF 2337EOF
@@ -2346,7 +2352,7 @@ if test "$cross_compiling" = yes; then
2346 : 2352 :
2347else 2353else
2348 cat > conftest.$ac_ext <<EOF 2354 cat > conftest.$ac_ext <<EOF
2349#line 2350 "configure" 2355#line 2356 "configure"
2350#include "confdefs.h" 2356#include "confdefs.h"
2351#include <ctype.h> 2357#include <ctype.h>
2352#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2358#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2357,7 +2363,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2357exit (0); } 2363exit (0); }
2358 2364
2359EOF 2365EOF
2360if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2366if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2361then 2367then
2362 : 2368 :
2363else 2369else
@@ -2381,12 +2387,12 @@ EOF
2381fi 2387fi
2382 2388
2383echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2389echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2384echo "configure:2385: checking whether time.h and sys/time.h may both be included" >&5 2390echo "configure:2391: checking whether time.h and sys/time.h may both be included" >&5
2385if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2391if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2386 echo $ac_n "(cached) $ac_c" 1>&6 2392 echo $ac_n "(cached) $ac_c" 1>&6
2387else 2393else
2388 cat > conftest.$ac_ext <<EOF 2394 cat > conftest.$ac_ext <<EOF
2389#line 2390 "configure" 2395#line 2396 "configure"
2390#include "confdefs.h" 2396#include "confdefs.h"
2391#include <sys/types.h> 2397#include <sys/types.h>
2392#include <sys/time.h> 2398#include <sys/time.h>
@@ -2395,7 +2401,7 @@ int main() {
2395struct tm *tp; 2401struct tm *tp;
2396; return 0; } 2402; return 0; }
2397EOF 2403EOF
2398if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2404if { (eval echo configure:2405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2399 rm -rf conftest* 2405 rm -rf conftest*
2400 ac_cv_header_time=yes 2406 ac_cv_header_time=yes
2401else 2407else
@@ -2416,12 +2422,12 @@ EOF
2416fi 2422fi
2417 2423
2418echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2424echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2419echo "configure:2420: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2425echo "configure:2426: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2420if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2426if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2421 echo $ac_n "(cached) $ac_c" 1>&6 2427 echo $ac_n "(cached) $ac_c" 1>&6
2422else 2428else
2423 cat > conftest.$ac_ext <<EOF 2429 cat > conftest.$ac_ext <<EOF
2424#line 2425 "configure" 2430#line 2431 "configure"
2425#include "confdefs.h" 2431#include "confdefs.h"
2426#include <sys/types.h> 2432#include <sys/types.h>
2427#include <signal.h> 2433#include <signal.h>
@@ -2433,7 +2439,7 @@ int main() {
2433char *msg = *(sys_siglist + 1); 2439char *msg = *(sys_siglist + 1);
2434; return 0; } 2440; return 0; }
2435EOF 2441EOF
2436if { (eval echo configure:2437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2442if { (eval echo configure:2443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2437 rm -rf conftest* 2443 rm -rf conftest*
2438 ac_cv_decl_sys_siglist=yes 2444 ac_cv_decl_sys_siglist=yes
2439else 2445else
@@ -2455,12 +2461,12 @@ fi
2455 2461
2456 2462
2457echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2463echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2458echo "configure:2459: checking for struct utimbuf" >&5 2464echo "configure:2465: checking for struct utimbuf" >&5
2459if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2465if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2460 echo $ac_n "(cached) $ac_c" 1>&6 2466 echo $ac_n "(cached) $ac_c" 1>&6
2461else 2467else
2462 cat > conftest.$ac_ext <<EOF 2468 cat > conftest.$ac_ext <<EOF
2463#line 2464 "configure" 2469#line 2470 "configure"
2464#include "confdefs.h" 2470#include "confdefs.h"
2465#ifdef TIME_WITH_SYS_TIME 2471#ifdef TIME_WITH_SYS_TIME
2466#include <sys/time.h> 2472#include <sys/time.h>
@@ -2479,7 +2485,7 @@ int main() {
2479static struct utimbuf x; x.actime = x.modtime; 2485static struct utimbuf x; x.actime = x.modtime;
2480; return 0; } 2486; return 0; }
2481EOF 2487EOF
2482if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2488if { (eval echo configure:2489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2483 rm -rf conftest* 2489 rm -rf conftest*
2484 emacs_cv_struct_utimbuf=yes 2490 emacs_cv_struct_utimbuf=yes
2485else 2491else
@@ -2500,12 +2506,12 @@ EOF
2500fi 2506fi
2501 2507
2502echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2508echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2503echo "configure:2504: checking return type of signal handlers" >&5 2509echo "configure:2510: checking return type of signal handlers" >&5
2504if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2510if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2505 echo $ac_n "(cached) $ac_c" 1>&6 2511 echo $ac_n "(cached) $ac_c" 1>&6
2506else 2512else
2507 cat > conftest.$ac_ext <<EOF 2513 cat > conftest.$ac_ext <<EOF
2508#line 2509 "configure" 2514#line 2515 "configure"
2509#include "confdefs.h" 2515#include "confdefs.h"
2510#include <sys/types.h> 2516#include <sys/types.h>
2511#include <signal.h> 2517#include <signal.h>
@@ -2522,7 +2528,7 @@ int main() {
2522int i; 2528int i;
2523; return 0; } 2529; return 0; }
2524EOF 2530EOF
2525if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2531if { (eval echo configure:2532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2526 rm -rf conftest* 2532 rm -rf conftest*
2527 ac_cv_type_signal=void 2533 ac_cv_type_signal=void
2528else 2534else
@@ -2542,12 +2548,12 @@ EOF
2542 2548
2543 2549
2544echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2550echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2545echo "configure:2546: checking for struct timeval" >&5 2551echo "configure:2552: checking for struct timeval" >&5
2546if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2552if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2547 echo $ac_n "(cached) $ac_c" 1>&6 2553 echo $ac_n "(cached) $ac_c" 1>&6
2548else 2554else
2549 cat > conftest.$ac_ext <<EOF 2555 cat > conftest.$ac_ext <<EOF
2550#line 2551 "configure" 2556#line 2557 "configure"
2551#include "confdefs.h" 2557#include "confdefs.h"
2552#ifdef TIME_WITH_SYS_TIME 2558#ifdef TIME_WITH_SYS_TIME
2553#include <sys/time.h> 2559#include <sys/time.h>
@@ -2563,7 +2569,7 @@ int main() {
2563static struct timeval x; x.tv_sec = x.tv_usec; 2569static struct timeval x; x.tv_sec = x.tv_usec;
2564; return 0; } 2570; return 0; }
2565EOF 2571EOF
2566if { (eval echo configure:2567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2572if { (eval echo configure:2573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2567 rm -rf conftest* 2573 rm -rf conftest*
2568 emacs_cv_struct_timeval=yes 2574 emacs_cv_struct_timeval=yes
2569else 2575else
@@ -2585,12 +2591,12 @@ EOF
2585fi 2591fi
2586 2592
2587echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2593echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2588echo "configure:2589: checking whether struct tm is in sys/time.h or time.h" >&5 2594echo "configure:2595: checking whether struct tm is in sys/time.h or time.h" >&5
2589if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2595if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2590 echo $ac_n "(cached) $ac_c" 1>&6 2596 echo $ac_n "(cached) $ac_c" 1>&6
2591else 2597else
2592 cat > conftest.$ac_ext <<EOF 2598 cat > conftest.$ac_ext <<EOF
2593#line 2594 "configure" 2599#line 2600 "configure"
2594#include "confdefs.h" 2600#include "confdefs.h"
2595#include <sys/types.h> 2601#include <sys/types.h>
2596#include <time.h> 2602#include <time.h>
@@ -2598,7 +2604,7 @@ int main() {
2598struct tm *tp; tp->tm_sec; 2604struct tm *tp; tp->tm_sec;
2599; return 0; } 2605; return 0; }
2600EOF 2606EOF
2601if { (eval echo configure:2602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2607if { (eval echo configure:2608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2602 rm -rf conftest* 2608 rm -rf conftest*
2603 ac_cv_struct_tm=time.h 2609 ac_cv_struct_tm=time.h
2604else 2610else
@@ -2619,12 +2625,12 @@ EOF
2619fi 2625fi
2620 2626
2621echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2627echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2622echo "configure:2623: checking for tm_zone in struct tm" >&5 2628echo "configure:2629: checking for tm_zone in struct tm" >&5
2623if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2629if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2624 echo $ac_n "(cached) $ac_c" 1>&6 2630 echo $ac_n "(cached) $ac_c" 1>&6
2625else 2631else
2626 cat > conftest.$ac_ext <<EOF 2632 cat > conftest.$ac_ext <<EOF
2627#line 2628 "configure" 2633#line 2634 "configure"
2628#include "confdefs.h" 2634#include "confdefs.h"
2629#include <sys/types.h> 2635#include <sys/types.h>
2630#include <$ac_cv_struct_tm> 2636#include <$ac_cv_struct_tm>
@@ -2632,7 +2638,7 @@ int main() {
2632struct tm tm; tm.tm_zone; 2638struct tm tm; tm.tm_zone;
2633; return 0; } 2639; return 0; }
2634EOF 2640EOF
2635if { (eval echo configure:2636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2641if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2636 rm -rf conftest* 2642 rm -rf conftest*
2637 ac_cv_struct_tm_zone=yes 2643 ac_cv_struct_tm_zone=yes
2638else 2644else
@@ -2652,12 +2658,12 @@ EOF
2652 2658
2653else 2659else
2654 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2660 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2655echo "configure:2656: checking for tzname" >&5 2661echo "configure:2662: checking for tzname" >&5
2656if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2662if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2657 echo $ac_n "(cached) $ac_c" 1>&6 2663 echo $ac_n "(cached) $ac_c" 1>&6
2658else 2664else
2659 cat > conftest.$ac_ext <<EOF 2665 cat > conftest.$ac_ext <<EOF
2660#line 2661 "configure" 2666#line 2667 "configure"
2661#include "confdefs.h" 2667#include "confdefs.h"
2662#include <time.h> 2668#include <time.h>
2663#ifndef tzname /* For SGI. */ 2669#ifndef tzname /* For SGI. */
@@ -2667,7 +2673,7 @@ int main() {
2667atoi(*tzname); 2673atoi(*tzname);
2668; return 0; } 2674; return 0; }
2669EOF 2675EOF
2670if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2676if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2671 rm -rf conftest* 2677 rm -rf conftest*
2672 ac_cv_var_tzname=yes 2678 ac_cv_var_tzname=yes
2673else 2679else
@@ -2689,19 +2695,19 @@ EOF
2689fi 2695fi
2690 2696
2691echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2697echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2692echo "configure:2693: checking for tm_gmtoff in struct tm" >&5 2698echo "configure:2699: checking for tm_gmtoff in struct tm" >&5
2693if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2699if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2694 echo $ac_n "(cached) $ac_c" 1>&6 2700 echo $ac_n "(cached) $ac_c" 1>&6
2695else 2701else
2696 cat > conftest.$ac_ext <<EOF 2702 cat > conftest.$ac_ext <<EOF
2697#line 2698 "configure" 2703#line 2704 "configure"
2698#include "confdefs.h" 2704#include "confdefs.h"
2699#include <time.h> 2705#include <time.h>
2700int main() { 2706int main() {
2701struct tm t; t.tm_gmtoff = 0 2707struct tm t; t.tm_gmtoff = 0
2702; return 0; } 2708; return 0; }
2703EOF 2709EOF
2704if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2710if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2705 rm -rf conftest* 2711 rm -rf conftest*
2706 emacs_cv_tm_gmtoff=yes 2712 emacs_cv_tm_gmtoff=yes
2707else 2713else
@@ -2722,12 +2728,12 @@ EOF
2722fi 2728fi
2723 2729
2724echo $ac_n "checking for working const""... $ac_c" 1>&6 2730echo $ac_n "checking for working const""... $ac_c" 1>&6
2725echo "configure:2726: checking for working const" >&5 2731echo "configure:2732: checking for working const" >&5
2726if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2732if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2727 echo $ac_n "(cached) $ac_c" 1>&6 2733 echo $ac_n "(cached) $ac_c" 1>&6
2728else 2734else
2729 cat > conftest.$ac_ext <<EOF 2735 cat > conftest.$ac_ext <<EOF
2730#line 2731 "configure" 2736#line 2737 "configure"
2731#include "confdefs.h" 2737#include "confdefs.h"
2732 2738
2733int main() { 2739int main() {
@@ -2776,7 +2782,7 @@ ccp = (char const *const *) p;
2776 2782
2777; return 0; } 2783; return 0; }
2778EOF 2784EOF
2779if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2785if { (eval echo configure:2786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2780 rm -rf conftest* 2786 rm -rf conftest*
2781 ac_cv_c_const=yes 2787 ac_cv_c_const=yes
2782else 2788else
@@ -2798,7 +2804,7 @@ fi
2798 2804
2799 2805
2800echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2806echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2801echo "configure:2802: checking whether ${MAKE-make} sets \${MAKE}" >&5 2807echo "configure:2808: checking whether ${MAKE-make} sets \${MAKE}" >&5
2802set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2808set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2803if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2809if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2804 echo $ac_n "(cached) $ac_c" 1>&6 2810 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2826,7 +2832,7 @@ fi
2826 2832
2827 2833
2828echo $ac_n "checking for long file names""... $ac_c" 1>&6 2834echo $ac_n "checking for long file names""... $ac_c" 1>&6
2829echo "configure:2830: checking for long file names" >&5 2835echo "configure:2836: checking for long file names" >&5
2830if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 2836if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6 2837 echo $ac_n "(cached) $ac_c" 1>&6
2832else 2838else
@@ -2877,7 +2883,7 @@ fi
2877# Uses ac_ vars as temps to allow command line to override cache and checks. 2883# Uses ac_ vars as temps to allow command line to override cache and checks.
2878# --without-x overrides everything else, but does not touch the cache. 2884# --without-x overrides everything else, but does not touch the cache.
2879echo $ac_n "checking for X""... $ac_c" 1>&6 2885echo $ac_n "checking for X""... $ac_c" 1>&6
2880echo "configure:2881: checking for X" >&5 2886echo "configure:2887: checking for X" >&5
2881 2887
2882# Check whether --with-x or --without-x was given. 2888# Check whether --with-x or --without-x was given.
2883if test "${with_x+set}" = set; then 2889if test "${with_x+set}" = set; then
@@ -2939,12 +2945,12 @@ if test "$ac_x_includes" = NO; then
2939 2945
2940 # First, try using that file with no special directory specified. 2946 # First, try using that file with no special directory specified.
2941cat > conftest.$ac_ext <<EOF 2947cat > conftest.$ac_ext <<EOF
2942#line 2943 "configure" 2948#line 2949 "configure"
2943#include "confdefs.h" 2949#include "confdefs.h"
2944#include <$x_direct_test_include> 2950#include <$x_direct_test_include>
2945EOF 2951EOF
2946ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2952ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2947{ (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2953{ (eval echo configure:2954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2948ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2954ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2949if test -z "$ac_err"; then 2955if test -z "$ac_err"; then
2950 rm -rf conftest* 2956 rm -rf conftest*
@@ -3013,14 +3019,14 @@ if test "$ac_x_libraries" = NO; then
3013 ac_save_LIBS="$LIBS" 3019 ac_save_LIBS="$LIBS"
3014 LIBS="-l$x_direct_test_library $LIBS" 3020 LIBS="-l$x_direct_test_library $LIBS"
3015cat > conftest.$ac_ext <<EOF 3021cat > conftest.$ac_ext <<EOF
3016#line 3017 "configure" 3022#line 3023 "configure"
3017#include "confdefs.h" 3023#include "confdefs.h"
3018 3024
3019int main() { 3025int main() {
3020${x_direct_test_function}() 3026${x_direct_test_function}()
3021; return 0; } 3027; return 0; }
3022EOF 3028EOF
3023if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3029if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3024 rm -rf conftest* 3030 rm -rf conftest*
3025 LIBS="$ac_save_LIBS" 3031 LIBS="$ac_save_LIBS"
3026# We can link X programs with no special library path. 3032# We can link X programs with no special library path.
@@ -3195,7 +3201,7 @@ fi
3195echo "checking the machine- and system-dependent files to find out 3201echo "checking the machine- and system-dependent files to find out
3196 - which libraries the lib-src programs will want, and 3202 - which libraries the lib-src programs will want, and
3197 - whether the GNU malloc routines are usable" 1>&6 3203 - whether the GNU malloc routines are usable" 1>&6
3198echo "configure:3199: checking the machine- and system-dependent files to find out 3204echo "configure:3205: checking the machine- and system-dependent files to find out
3199 - which libraries the lib-src programs will want, and 3205 - which libraries the lib-src programs will want, and
3200 - whether the GNU malloc routines are usable" >&5 3206 - whether the GNU malloc routines are usable" >&5
3201 3207
@@ -3325,12 +3331,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3325GNU_MALLOC=yes 3331GNU_MALLOC=yes
3326doug_lea_malloc=yes 3332doug_lea_malloc=yes
3327echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3333echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3328echo "configure:3329: checking for malloc_get_state" >&5 3334echo "configure:3335: checking for malloc_get_state" >&5
3329if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3335if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3330 echo $ac_n "(cached) $ac_c" 1>&6 3336 echo $ac_n "(cached) $ac_c" 1>&6
3331else 3337else
3332 cat > conftest.$ac_ext <<EOF 3338 cat > conftest.$ac_ext <<EOF
3333#line 3334 "configure" 3339#line 3340 "configure"
3334#include "confdefs.h" 3340#include "confdefs.h"
3335/* System header to define __stub macros and hopefully few prototypes, 3341/* System header to define __stub macros and hopefully few prototypes,
3336 which can conflict with char malloc_get_state(); below. */ 3342 which can conflict with char malloc_get_state(); below. */
@@ -3353,7 +3359,7 @@ malloc_get_state();
3353 3359
3354; return 0; } 3360; return 0; }
3355EOF 3361EOF
3356if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3362if { (eval echo configure:3363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3357 rm -rf conftest* 3363 rm -rf conftest*
3358 eval "ac_cv_func_malloc_get_state=yes" 3364 eval "ac_cv_func_malloc_get_state=yes"
3359else 3365else
@@ -3374,12 +3380,12 @@ doug_lea_malloc=no
3374fi 3380fi
3375 3381
3376echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3382echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3377echo "configure:3378: checking for malloc_set_state" >&5 3383echo "configure:3384: checking for malloc_set_state" >&5
3378if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3384if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3379 echo $ac_n "(cached) $ac_c" 1>&6 3385 echo $ac_n "(cached) $ac_c" 1>&6
3380else 3386else
3381 cat > conftest.$ac_ext <<EOF 3387 cat > conftest.$ac_ext <<EOF
3382#line 3383 "configure" 3388#line 3389 "configure"
3383#include "confdefs.h" 3389#include "confdefs.h"
3384/* System header to define __stub macros and hopefully few prototypes, 3390/* System header to define __stub macros and hopefully few prototypes,
3385 which can conflict with char malloc_set_state(); below. */ 3391 which can conflict with char malloc_set_state(); below. */
@@ -3402,7 +3408,7 @@ malloc_set_state();
3402 3408
3403; return 0; } 3409; return 0; }
3404EOF 3410EOF
3405if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3411if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3406 rm -rf conftest* 3412 rm -rf conftest*
3407 eval "ac_cv_func_malloc_set_state=yes" 3413 eval "ac_cv_func_malloc_set_state=yes"
3408else 3414else
@@ -3423,19 +3429,19 @@ doug_lea_malloc=no
3423fi 3429fi
3424 3430
3425echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3431echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3426echo "configure:3427: checking whether __after_morecore_hook exists" >&5 3432echo "configure:3433: checking whether __after_morecore_hook exists" >&5
3427if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3433if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3428 echo $ac_n "(cached) $ac_c" 1>&6 3434 echo $ac_n "(cached) $ac_c" 1>&6
3429else 3435else
3430 cat > conftest.$ac_ext <<EOF 3436 cat > conftest.$ac_ext <<EOF
3431#line 3432 "configure" 3437#line 3438 "configure"
3432#include "confdefs.h" 3438#include "confdefs.h"
3433extern void (* __after_morecore_hook)(); 3439extern void (* __after_morecore_hook)();
3434int main() { 3440int main() {
3435__after_morecore_hook = 0 3441__after_morecore_hook = 0
3436; return 0; } 3442; return 0; }
3437EOF 3443EOF
3438if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3444if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3439 rm -rf conftest* 3445 rm -rf conftest*
3440 emacs_cv_var___after_morecore_hook=yes 3446 emacs_cv_var___after_morecore_hook=yes
3441else 3447else
@@ -3482,7 +3488,7 @@ fi
3482LIBS="$libsrc_libs $LIBS" 3488LIBS="$libsrc_libs $LIBS"
3483 3489
3484echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3490echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3485echo "configure:3486: checking for dnet_ntoa in -ldnet" >&5 3491echo "configure:3492: checking for dnet_ntoa in -ldnet" >&5
3486ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3492ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3487if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3493if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3488 echo $ac_n "(cached) $ac_c" 1>&6 3494 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3490,7 +3496,7 @@ else
3490 ac_save_LIBS="$LIBS" 3496 ac_save_LIBS="$LIBS"
3491LIBS="-ldnet $LIBS" 3497LIBS="-ldnet $LIBS"
3492cat > conftest.$ac_ext <<EOF 3498cat > conftest.$ac_ext <<EOF
3493#line 3494 "configure" 3499#line 3500 "configure"
3494#include "confdefs.h" 3500#include "confdefs.h"
3495/* Override any gcc2 internal prototype to avoid an error. */ 3501/* Override any gcc2 internal prototype to avoid an error. */
3496/* We use char because int might match the return type of a gcc2 3502/* We use char because int might match the return type of a gcc2
@@ -3501,7 +3507,7 @@ int main() {
3501dnet_ntoa() 3507dnet_ntoa()
3502; return 0; } 3508; return 0; }
3503EOF 3509EOF
3504if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3510if { (eval echo configure:3511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3505 rm -rf conftest* 3511 rm -rf conftest*
3506 eval "ac_cv_lib_$ac_lib_var=yes" 3512 eval "ac_cv_lib_$ac_lib_var=yes"
3507else 3513else
@@ -3530,7 +3536,7 @@ fi
3530 3536
3531 3537
3532echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3538echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3533echo "configure:3534: checking for main in -lXbsd" >&5 3539echo "configure:3540: checking for main in -lXbsd" >&5
3534ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3540ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3535if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3541if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3536 echo $ac_n "(cached) $ac_c" 1>&6 3542 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3538,14 +3544,14 @@ else
3538 ac_save_LIBS="$LIBS" 3544 ac_save_LIBS="$LIBS"
3539LIBS="-lXbsd $LIBS" 3545LIBS="-lXbsd $LIBS"
3540cat > conftest.$ac_ext <<EOF 3546cat > conftest.$ac_ext <<EOF
3541#line 3542 "configure" 3547#line 3548 "configure"
3542#include "confdefs.h" 3548#include "confdefs.h"
3543 3549
3544int main() { 3550int main() {
3545main() 3551main()
3546; return 0; } 3552; return 0; }
3547EOF 3553EOF
3548if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3554if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3549 rm -rf conftest* 3555 rm -rf conftest*
3550 eval "ac_cv_lib_$ac_lib_var=yes" 3556 eval "ac_cv_lib_$ac_lib_var=yes"
3551else 3557else
@@ -3567,7 +3573,7 @@ fi
3567 3573
3568 3574
3569echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3575echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3570echo "configure:3571: checking for cma_open in -lpthreads" >&5 3576echo "configure:3577: checking for cma_open in -lpthreads" >&5
3571ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3577ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3572if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3578if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3573 echo $ac_n "(cached) $ac_c" 1>&6 3579 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3575,7 +3581,7 @@ else
3575 ac_save_LIBS="$LIBS" 3581 ac_save_LIBS="$LIBS"
3576LIBS="-lpthreads $LIBS" 3582LIBS="-lpthreads $LIBS"
3577cat > conftest.$ac_ext <<EOF 3583cat > conftest.$ac_ext <<EOF
3578#line 3579 "configure" 3584#line 3585 "configure"
3579#include "confdefs.h" 3585#include "confdefs.h"
3580/* Override any gcc2 internal prototype to avoid an error. */ 3586/* Override any gcc2 internal prototype to avoid an error. */
3581/* We use char because int might match the return type of a gcc2 3587/* We use char because int might match the return type of a gcc2
@@ -3586,7 +3592,7 @@ int main() {
3586cma_open() 3592cma_open()
3587; return 0; } 3593; return 0; }
3588EOF 3594EOF
3589if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3595if { (eval echo configure:3596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3590 rm -rf conftest* 3596 rm -rf conftest*
3591 eval "ac_cv_lib_$ac_lib_var=yes" 3597 eval "ac_cv_lib_$ac_lib_var=yes"
3592else 3598else
@@ -3615,7 +3621,7 @@ fi
3615 3621
3616 3622
3617echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3623echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3618echo "configure:3619: checking for XFree86 in /usr/X386" >&5 3624echo "configure:3625: checking for XFree86 in /usr/X386" >&5
3619if test -d /usr/X386/include; then 3625if test -d /usr/X386/include; then
3620 HAVE_XFREE386=yes 3626 HAVE_XFREE386=yes
3621 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3627 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3644,16 +3650,16 @@ if test "${HAVE_X11}" = "yes"; then
3644 3650
3645 if test "${opsys}" = "gnu-linux"; then 3651 if test "${opsys}" = "gnu-linux"; then
3646 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3652 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3647echo "configure:3648: checking whether X on GNU/Linux needs -b to link" >&5 3653echo "configure:3654: checking whether X on GNU/Linux needs -b to link" >&5
3648 cat > conftest.$ac_ext <<EOF 3654 cat > conftest.$ac_ext <<EOF
3649#line 3650 "configure" 3655#line 3656 "configure"
3650#include "confdefs.h" 3656#include "confdefs.h"
3651 3657
3652int main() { 3658int main() {
3653XOpenDisplay ("foo"); 3659XOpenDisplay ("foo");
3654; return 0; } 3660; return 0; }
3655EOF 3661EOF
3656if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3662if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3657 rm -rf conftest* 3663 rm -rf conftest*
3658 xlinux_first_failure=no 3664 xlinux_first_failure=no
3659else 3665else
@@ -3673,14 +3679,14 @@ rm -f conftest*
3673 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3679 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3674 LIBS="$LIBS -b i486-linuxaout" 3680 LIBS="$LIBS -b i486-linuxaout"
3675 cat > conftest.$ac_ext <<EOF 3681 cat > conftest.$ac_ext <<EOF
3676#line 3677 "configure" 3682#line 3683 "configure"
3677#include "confdefs.h" 3683#include "confdefs.h"
3678 3684
3679int main() { 3685int main() {
3680XOpenDisplay ("foo"); 3686XOpenDisplay ("foo");
3681; return 0; } 3687; return 0; }
3682EOF 3688EOF
3683if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3689if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3684 rm -rf conftest* 3690 rm -rf conftest*
3685 xlinux_second_failure=no 3691 xlinux_second_failure=no
3686else 3692else
@@ -3710,12 +3716,12 @@ rm -f conftest*
3710XScreenNumberOfScreen XSetWMProtocols 3716XScreenNumberOfScreen XSetWMProtocols
3711do 3717do
3712echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3718echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3713echo "configure:3714: checking for $ac_func" >&5 3719echo "configure:3720: checking for $ac_func" >&5
3714if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3720if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3715 echo $ac_n "(cached) $ac_c" 1>&6 3721 echo $ac_n "(cached) $ac_c" 1>&6
3716else 3722else
3717 cat > conftest.$ac_ext <<EOF 3723 cat > conftest.$ac_ext <<EOF
3718#line 3719 "configure" 3724#line 3725 "configure"
3719#include "confdefs.h" 3725#include "confdefs.h"
3720/* System header to define __stub macros and hopefully few prototypes, 3726/* System header to define __stub macros and hopefully few prototypes,
3721 which can conflict with char $ac_func(); below. */ 3727 which can conflict with char $ac_func(); below. */
@@ -3738,7 +3744,7 @@ $ac_func();
3738 3744
3739; return 0; } 3745; return 0; }
3740EOF 3746EOF
3741if { (eval echo configure:3742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3747if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3742 rm -rf conftest* 3748 rm -rf conftest*
3743 eval "ac_cv_func_$ac_func=yes" 3749 eval "ac_cv_func_$ac_func=yes"
3744else 3750else
@@ -3766,12 +3772,12 @@ fi
3766 3772
3767if test "${window_system}" = "x11"; then 3773if test "${window_system}" = "x11"; then
3768 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3774 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3769echo "configure:3770: checking X11 version 6" >&5 3775echo "configure:3776: checking X11 version 6" >&5
3770 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3776 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3771 echo $ac_n "(cached) $ac_c" 1>&6 3777 echo $ac_n "(cached) $ac_c" 1>&6
3772else 3778else
3773 cat > conftest.$ac_ext <<EOF 3779 cat > conftest.$ac_ext <<EOF
3774#line 3775 "configure" 3780#line 3781 "configure"
3775#include "confdefs.h" 3781#include "confdefs.h"
3776#include <X11/Xlib.h> 3782#include <X11/Xlib.h>
3777int main() { 3783int main() {
@@ -3781,7 +3787,7 @@ fail;
3781 3787
3782; return 0; } 3788; return 0; }
3783EOF 3789EOF
3784if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3790if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3785 rm -rf conftest* 3791 rm -rf conftest*
3786 emacs_cv_x11_version_6=yes 3792 emacs_cv_x11_version_6=yes
3787else 3793else
@@ -3806,12 +3812,12 @@ fi
3806 3812
3807if test "${window_system}" = "x11"; then 3813if test "${window_system}" = "x11"; then
3808 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 3814 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
3809echo "configure:3810: checking X11 version 5" >&5 3815echo "configure:3816: checking X11 version 5" >&5
3810 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 3816 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
3811 echo $ac_n "(cached) $ac_c" 1>&6 3817 echo $ac_n "(cached) $ac_c" 1>&6
3812else 3818else
3813 cat > conftest.$ac_ext <<EOF 3819 cat > conftest.$ac_ext <<EOF
3814#line 3815 "configure" 3820#line 3821 "configure"
3815#include "confdefs.h" 3821#include "confdefs.h"
3816#include <X11/Xlib.h> 3822#include <X11/Xlib.h>
3817int main() { 3823int main() {
@@ -3821,7 +3827,7 @@ fail;
3821 3827
3822; return 0; } 3828; return 0; }
3823EOF 3829EOF
3824if { (eval echo configure:3825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3830if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3825 rm -rf conftest* 3831 rm -rf conftest*
3826 emacs_cv_x11_version_5=yes 3832 emacs_cv_x11_version_5=yes
3827else 3833else
@@ -3849,12 +3855,12 @@ fi
3849if test x"${USE_X_TOOLKIT}" = xmaybe; then 3855if test x"${USE_X_TOOLKIT}" = xmaybe; then
3850 if test x"${HAVE_X11R5}" = xyes; then 3856 if test x"${HAVE_X11R5}" = xyes; then
3851 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 3857 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
3852echo "configure:3853: checking X11 version 5 with Xaw" >&5 3858echo "configure:3859: checking X11 version 5 with Xaw" >&5
3853 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 3859 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
3854 echo $ac_n "(cached) $ac_c" 1>&6 3860 echo $ac_n "(cached) $ac_c" 1>&6
3855else 3861else
3856 cat > conftest.$ac_ext <<EOF 3862 cat > conftest.$ac_ext <<EOF
3857#line 3858 "configure" 3863#line 3864 "configure"
3858#include "confdefs.h" 3864#include "confdefs.h"
3859 3865
3860#include <X11/Intrinsic.h> 3866#include <X11/Intrinsic.h>
@@ -3863,7 +3869,7 @@ int main() {
3863 3869
3864; return 0; } 3870; return 0; }
3865EOF 3871EOF
3866if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3872if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3867 rm -rf conftest* 3873 rm -rf conftest*
3868 emacs_cv_x11_version_5_with_xaw=yes 3874 emacs_cv_x11_version_5_with_xaw=yes
3869else 3875else
@@ -3891,12 +3897,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
3891 3897
3892if test "${USE_X_TOOLKIT}" != "none"; then 3898if test "${USE_X_TOOLKIT}" != "none"; then
3893 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 3899 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
3894echo "configure:3895: checking X11 toolkit version" >&5 3900echo "configure:3901: checking X11 toolkit version" >&5
3895 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 3901 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
3896 echo $ac_n "(cached) $ac_c" 1>&6 3902 echo $ac_n "(cached) $ac_c" 1>&6
3897else 3903else
3898 cat > conftest.$ac_ext <<EOF 3904 cat > conftest.$ac_ext <<EOF
3899#line 3900 "configure" 3905#line 3906 "configure"
3900#include "confdefs.h" 3906#include "confdefs.h"
3901#include <X11/Intrinsic.h> 3907#include <X11/Intrinsic.h>
3902int main() { 3908int main() {
@@ -3906,7 +3912,7 @@ fail;
3906 3912
3907; return 0; } 3913; return 0; }
3908EOF 3914EOF
3909if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3915if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3910 rm -rf conftest* 3916 rm -rf conftest*
3911 emacs_cv_x11_toolkit_version_6=yes 3917 emacs_cv_x11_toolkit_version_6=yes
3912else 3918else
@@ -3936,7 +3942,7 @@ EOF
3936 LIBS="-lXt $LIBS" 3942 LIBS="-lXt $LIBS"
3937 fi 3943 fi
3938 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 3944 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
3939echo "configure:3940: checking for XmuConvertStandardSelection in -lXmu" >&5 3945echo "configure:3946: checking for XmuConvertStandardSelection in -lXmu" >&5
3940ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 3946ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
3941if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3947if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3942 echo $ac_n "(cached) $ac_c" 1>&6 3948 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3944,7 +3950,7 @@ else
3944 ac_save_LIBS="$LIBS" 3950 ac_save_LIBS="$LIBS"
3945LIBS="-lXmu $LIBS" 3951LIBS="-lXmu $LIBS"
3946cat > conftest.$ac_ext <<EOF 3952cat > conftest.$ac_ext <<EOF
3947#line 3948 "configure" 3953#line 3954 "configure"
3948#include "confdefs.h" 3954#include "confdefs.h"
3949/* Override any gcc2 internal prototype to avoid an error. */ 3955/* Override any gcc2 internal prototype to avoid an error. */
3950/* We use char because int might match the return type of a gcc2 3956/* We use char because int might match the return type of a gcc2
@@ -3955,7 +3961,7 @@ int main() {
3955XmuConvertStandardSelection() 3961XmuConvertStandardSelection()
3956; return 0; } 3962; return 0; }
3957EOF 3963EOF
3958if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3964if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3959 rm -rf conftest* 3965 rm -rf conftest*
3960 eval "ac_cv_lib_$ac_lib_var=yes" 3966 eval "ac_cv_lib_$ac_lib_var=yes"
3961else 3967else
@@ -3987,12 +3993,12 @@ fi
3987 3993
3988if test "${USE_X_TOOLKIT}" = "MOTIF"; then 3994if test "${USE_X_TOOLKIT}" = "MOTIF"; then
3989 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 3995 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
3990echo "configure:3991: checking for Motif version 2.1" >&5 3996echo "configure:3997: checking for Motif version 2.1" >&5
3991if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 3997if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
3992 echo $ac_n "(cached) $ac_c" 1>&6 3998 echo $ac_n "(cached) $ac_c" 1>&6
3993else 3999else
3994 cat > conftest.$ac_ext <<EOF 4000 cat > conftest.$ac_ext <<EOF
3995#line 3996 "configure" 4001#line 4002 "configure"
3996#include "confdefs.h" 4002#include "confdefs.h"
3997#include <Xm/Xm.h> 4003#include <Xm/Xm.h>
3998int main() { 4004int main() {
@@ -4003,7 +4009,7 @@ Motif version prior to 2.1.
4003#endif 4009#endif
4004; return 0; } 4010; return 0; }
4005EOF 4011EOF
4006if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4012if { (eval echo configure:4013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4007 rm -rf conftest* 4013 rm -rf conftest*
4008 emacs_cv_motif_version_2_1=yes 4014 emacs_cv_motif_version_2_1=yes
4009else 4015else
@@ -4023,7 +4029,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4023EOF 4029EOF
4024 4030
4025 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4031 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4026echo "configure:4027: checking for XpCreateContext in -lXp" >&5 4032echo "configure:4033: checking for XpCreateContext in -lXp" >&5
4027ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4033ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4028if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4034if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4029 echo $ac_n "(cached) $ac_c" 1>&6 4035 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4031,7 +4037,7 @@ else
4031 ac_save_LIBS="$LIBS" 4037 ac_save_LIBS="$LIBS"
4032LIBS="-lXp $LIBS" 4038LIBS="-lXp $LIBS"
4033cat > conftest.$ac_ext <<EOF 4039cat > conftest.$ac_ext <<EOF
4034#line 4035 "configure" 4040#line 4041 "configure"
4035#include "confdefs.h" 4041#include "confdefs.h"
4036/* Override any gcc2 internal prototype to avoid an error. */ 4042/* Override any gcc2 internal prototype to avoid an error. */
4037/* We use char because int might match the return type of a gcc2 4043/* We use char because int might match the return type of a gcc2
@@ -4042,7 +4048,7 @@ int main() {
4042XpCreateContext() 4048XpCreateContext()
4043; return 0; } 4049; return 0; }
4044EOF 4050EOF
4045if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4051if { (eval echo configure:4052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4046 rm -rf conftest* 4052 rm -rf conftest*
4047 eval "ac_cv_lib_$ac_lib_var=yes" 4053 eval "ac_cv_lib_$ac_lib_var=yes"
4048else 4054else
@@ -4080,17 +4086,17 @@ if test "${HAVE_X11}" = "yes"; then
4080 CFLAGS="${LD_SWITCH_X_SITE}" 4086 CFLAGS="${LD_SWITCH_X_SITE}"
4081 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4087 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4082echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4088echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4083echo "configure:4084: checking for X11/Xaw3d/Scrollbar.h" >&5 4089echo "configure:4090: checking for X11/Xaw3d/Scrollbar.h" >&5
4084if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4090if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4085 echo $ac_n "(cached) $ac_c" 1>&6 4091 echo $ac_n "(cached) $ac_c" 1>&6
4086else 4092else
4087 cat > conftest.$ac_ext <<EOF 4093 cat > conftest.$ac_ext <<EOF
4088#line 4089 "configure" 4094#line 4095 "configure"
4089#include "confdefs.h" 4095#include "confdefs.h"
4090#include <X11/Xaw3d/Scrollbar.h> 4096#include <X11/Xaw3d/Scrollbar.h>
4091EOF 4097EOF
4092ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4098ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4093{ (eval echo configure:4094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4099{ (eval echo configure:4100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4094ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4100ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4095if test -z "$ac_err"; then 4101if test -z "$ac_err"; then
4096 rm -rf conftest* 4102 rm -rf conftest*
@@ -4107,7 +4113,7 @@ fi
4107if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4113if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4108 echo "$ac_t""yes" 1>&6 4114 echo "$ac_t""yes" 1>&6
4109 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4115 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4110echo "configure:4111: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4116echo "configure:4117: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4111ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4117ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4112if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4118if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4113 echo $ac_n "(cached) $ac_c" 1>&6 4119 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4115,7 +4121,7 @@ else
4115 ac_save_LIBS="$LIBS" 4121 ac_save_LIBS="$LIBS"
4116LIBS="-lXaw3d -lX11 $LIBS" 4122LIBS="-lXaw3d -lX11 $LIBS"
4117cat > conftest.$ac_ext <<EOF 4123cat > conftest.$ac_ext <<EOF
4118#line 4119 "configure" 4124#line 4125 "configure"
4119#include "confdefs.h" 4125#include "confdefs.h"
4120/* Override any gcc2 internal prototype to avoid an error. */ 4126/* Override any gcc2 internal prototype to avoid an error. */
4121/* We use char because int might match the return type of a gcc2 4127/* We use char because int might match the return type of a gcc2
@@ -4126,7 +4132,7 @@ int main() {
4126XawScrollbarSetThumb() 4132XawScrollbarSetThumb()
4127; return 0; } 4133; return 0; }
4128EOF 4134EOF
4129if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4135if { (eval echo configure:4136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4130 rm -rf conftest* 4136 rm -rf conftest*
4131 eval "ac_cv_lib_$ac_lib_var=yes" 4137 eval "ac_cv_lib_$ac_lib_var=yes"
4132else 4138else
@@ -4190,17 +4196,17 @@ if test "${HAVE_X11}" = "yes"; then
4190 CFLAGS="${LD_SWITCH_X_SITE}" 4196 CFLAGS="${LD_SWITCH_X_SITE}"
4191 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4197 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4192echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4198echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4193echo "configure:4194: checking for X11/xpm.h" >&5 4199echo "configure:4200: checking for X11/xpm.h" >&5
4194if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4200if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4195 echo $ac_n "(cached) $ac_c" 1>&6 4201 echo $ac_n "(cached) $ac_c" 1>&6
4196else 4202else
4197 cat > conftest.$ac_ext <<EOF 4203 cat > conftest.$ac_ext <<EOF
4198#line 4199 "configure" 4204#line 4205 "configure"
4199#include "confdefs.h" 4205#include "confdefs.h"
4200#include <X11/xpm.h> 4206#include <X11/xpm.h>
4201EOF 4207EOF
4202ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4208ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4203{ (eval echo configure:4204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4209{ (eval echo configure:4210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4204ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4210ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4205if test -z "$ac_err"; then 4211if test -z "$ac_err"; then
4206 rm -rf conftest* 4212 rm -rf conftest*
@@ -4217,7 +4223,7 @@ fi
4217if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4223if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4218 echo "$ac_t""yes" 1>&6 4224 echo "$ac_t""yes" 1>&6
4219 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4225 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4220echo "configure:4221: checking for XpmReadFileToPixmap in -lXpm" >&5 4226echo "configure:4227: checking for XpmReadFileToPixmap in -lXpm" >&5
4221ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4227ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4222if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4228if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4223 echo $ac_n "(cached) $ac_c" 1>&6 4229 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4225,7 +4231,7 @@ else
4225 ac_save_LIBS="$LIBS" 4231 ac_save_LIBS="$LIBS"
4226LIBS="-lXpm -lX11 $LIBS" 4232LIBS="-lXpm -lX11 $LIBS"
4227cat > conftest.$ac_ext <<EOF 4233cat > conftest.$ac_ext <<EOF
4228#line 4229 "configure" 4234#line 4235 "configure"
4229#include "confdefs.h" 4235#include "confdefs.h"
4230/* Override any gcc2 internal prototype to avoid an error. */ 4236/* Override any gcc2 internal prototype to avoid an error. */
4231/* We use char because int might match the return type of a gcc2 4237/* We use char because int might match the return type of a gcc2
@@ -4236,7 +4242,7 @@ int main() {
4236XpmReadFileToPixmap() 4242XpmReadFileToPixmap()
4237; return 0; } 4243; return 0; }
4238EOF 4244EOF
4239if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4245if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4240 rm -rf conftest* 4246 rm -rf conftest*
4241 eval "ac_cv_lib_$ac_lib_var=yes" 4247 eval "ac_cv_lib_$ac_lib_var=yes"
4242else 4248else
@@ -4279,17 +4285,17 @@ if test "${HAVE_X11}" = "yes"; then
4279 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4285 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4280 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4286 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4281echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4287echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4282echo "configure:4283: checking for jerror.h" >&5 4288echo "configure:4289: checking for jerror.h" >&5
4283if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4289if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4284 echo $ac_n "(cached) $ac_c" 1>&6 4290 echo $ac_n "(cached) $ac_c" 1>&6
4285else 4291else
4286 cat > conftest.$ac_ext <<EOF 4292 cat > conftest.$ac_ext <<EOF
4287#line 4288 "configure" 4293#line 4294 "configure"
4288#include "confdefs.h" 4294#include "confdefs.h"
4289#include <jerror.h> 4295#include <jerror.h>
4290EOF 4296EOF
4291ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4297ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4292{ (eval echo configure:4293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4298{ (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4293ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4299ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4294if test -z "$ac_err"; then 4300if test -z "$ac_err"; then
4295 rm -rf conftest* 4301 rm -rf conftest*
@@ -4306,7 +4312,7 @@ fi
4306if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4312if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4307 echo "$ac_t""yes" 1>&6 4313 echo "$ac_t""yes" 1>&6
4308 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4314 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4309echo "configure:4310: checking for jpeg_destroy_compress in -ljpeg" >&5 4315echo "configure:4316: checking for jpeg_destroy_compress in -ljpeg" >&5
4310ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4316ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4311if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4317if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4312 echo $ac_n "(cached) $ac_c" 1>&6 4318 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4314,7 +4320,7 @@ else
4314 ac_save_LIBS="$LIBS" 4320 ac_save_LIBS="$LIBS"
4315LIBS="-ljpeg -lX11 $LIBS" 4321LIBS="-ljpeg -lX11 $LIBS"
4316cat > conftest.$ac_ext <<EOF 4322cat > conftest.$ac_ext <<EOF
4317#line 4318 "configure" 4323#line 4324 "configure"
4318#include "confdefs.h" 4324#include "confdefs.h"
4319/* Override any gcc2 internal prototype to avoid an error. */ 4325/* Override any gcc2 internal prototype to avoid an error. */
4320/* 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
@@ -4325,7 +4331,7 @@ int main() {
4325jpeg_destroy_compress() 4331jpeg_destroy_compress()
4326; return 0; } 4332; return 0; }
4327EOF 4333EOF
4328if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4334if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4329 rm -rf conftest* 4335 rm -rf conftest*
4330 eval "ac_cv_lib_$ac_lib_var=yes" 4336 eval "ac_cv_lib_$ac_lib_var=yes"
4331else 4337else
@@ -4368,17 +4374,17 @@ if test "${HAVE_X11}" = "yes"; then
4368 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4374 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4369 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4375 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4370echo $ac_n "checking for png.h""... $ac_c" 1>&6 4376echo $ac_n "checking for png.h""... $ac_c" 1>&6
4371echo "configure:4372: checking for png.h" >&5 4377echo "configure:4378: checking for png.h" >&5
4372if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4378if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4373 echo $ac_n "(cached) $ac_c" 1>&6 4379 echo $ac_n "(cached) $ac_c" 1>&6
4374else 4380else
4375 cat > conftest.$ac_ext <<EOF 4381 cat > conftest.$ac_ext <<EOF
4376#line 4377 "configure" 4382#line 4383 "configure"
4377#include "confdefs.h" 4383#include "confdefs.h"
4378#include <png.h> 4384#include <png.h>
4379EOF 4385EOF
4380ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4386ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4381{ (eval echo configure:4382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4387{ (eval echo configure:4388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4382ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4388ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4383if test -z "$ac_err"; then 4389if test -z "$ac_err"; then
4384 rm -rf conftest* 4390 rm -rf conftest*
@@ -4395,7 +4401,7 @@ fi
4395if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4401if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4396 echo "$ac_t""yes" 1>&6 4402 echo "$ac_t""yes" 1>&6
4397 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4403 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4398echo "configure:4399: checking for png_set_expand in -lpng" >&5 4404echo "configure:4405: checking for png_set_expand in -lpng" >&5
4399ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4405ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4400if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4406if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4401 echo $ac_n "(cached) $ac_c" 1>&6 4407 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4403,7 +4409,7 @@ else
4403 ac_save_LIBS="$LIBS" 4409 ac_save_LIBS="$LIBS"
4404LIBS="-lpng -lX11 -lz -lm $LIBS" 4410LIBS="-lpng -lX11 -lz -lm $LIBS"
4405cat > conftest.$ac_ext <<EOF 4411cat > conftest.$ac_ext <<EOF
4406#line 4407 "configure" 4412#line 4413 "configure"
4407#include "confdefs.h" 4413#include "confdefs.h"
4408/* Override any gcc2 internal prototype to avoid an error. */ 4414/* Override any gcc2 internal prototype to avoid an error. */
4409/* We use char because int might match the return type of a gcc2 4415/* We use char because int might match the return type of a gcc2
@@ -4414,7 +4420,7 @@ int main() {
4414png_set_expand() 4420png_set_expand()
4415; return 0; } 4421; return 0; }
4416EOF 4422EOF
4417if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4423if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4418 rm -rf conftest* 4424 rm -rf conftest*
4419 eval "ac_cv_lib_$ac_lib_var=yes" 4425 eval "ac_cv_lib_$ac_lib_var=yes"
4420else 4426else
@@ -4457,17 +4463,17 @@ if test "${HAVE_X11}" = "yes"; then
4457 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4463 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4458 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4464 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4459echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4465echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4460echo "configure:4461: checking for tiffio.h" >&5 4466echo "configure:4467: checking for tiffio.h" >&5
4461if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4467if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4462 echo $ac_n "(cached) $ac_c" 1>&6 4468 echo $ac_n "(cached) $ac_c" 1>&6
4463else 4469else
4464 cat > conftest.$ac_ext <<EOF 4470 cat > conftest.$ac_ext <<EOF
4465#line 4466 "configure" 4471#line 4472 "configure"
4466#include "confdefs.h" 4472#include "confdefs.h"
4467#include <tiffio.h> 4473#include <tiffio.h>
4468EOF 4474EOF
4469ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4475ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4470{ (eval echo configure:4471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4476{ (eval echo configure:4477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4471ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4477ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4472if test -z "$ac_err"; then 4478if test -z "$ac_err"; then
4473 rm -rf conftest* 4479 rm -rf conftest*
@@ -4487,7 +4493,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4487 # At least one tiff package requires the jpeg library. 4493 # At least one tiff package requires the jpeg library.
4488 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4494 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4489 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4495 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4490echo "configure:4491: checking for TIFFGetVersion in -ltiff" >&5 4496echo "configure:4497: checking for TIFFGetVersion in -ltiff" >&5
4491ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4497ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4492if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4498if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4493 echo $ac_n "(cached) $ac_c" 1>&6 4499 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4495,7 +4501,7 @@ else
4495 ac_save_LIBS="$LIBS" 4501 ac_save_LIBS="$LIBS"
4496LIBS="-ltiff $tifflibs $LIBS" 4502LIBS="-ltiff $tifflibs $LIBS"
4497cat > conftest.$ac_ext <<EOF 4503cat > conftest.$ac_ext <<EOF
4498#line 4499 "configure" 4504#line 4505 "configure"
4499#include "confdefs.h" 4505#include "confdefs.h"
4500/* Override any gcc2 internal prototype to avoid an error. */ 4506/* Override any gcc2 internal prototype to avoid an error. */
4501/* We use char because int might match the return type of a gcc2 4507/* We use char because int might match the return type of a gcc2
@@ -4506,7 +4512,7 @@ int main() {
4506TIFFGetVersion() 4512TIFFGetVersion()
4507; return 0; } 4513; return 0; }
4508EOF 4514EOF
4509if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4515if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4510 rm -rf conftest* 4516 rm -rf conftest*
4511 eval "ac_cv_lib_$ac_lib_var=yes" 4517 eval "ac_cv_lib_$ac_lib_var=yes"
4512else 4518else
@@ -4549,17 +4555,17 @@ if test "${HAVE_X11}" = "yes"; then
4549 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4555 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4550 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4556 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4551echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4557echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4552echo "configure:4553: checking for gif_lib.h" >&5 4558echo "configure:4559: checking for gif_lib.h" >&5
4553if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4559if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4554 echo $ac_n "(cached) $ac_c" 1>&6 4560 echo $ac_n "(cached) $ac_c" 1>&6
4555else 4561else
4556 cat > conftest.$ac_ext <<EOF 4562 cat > conftest.$ac_ext <<EOF
4557#line 4558 "configure" 4563#line 4564 "configure"
4558#include "confdefs.h" 4564#include "confdefs.h"
4559#include <gif_lib.h> 4565#include <gif_lib.h>
4560EOF 4566EOF
4561ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4567ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4562{ (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4568{ (eval echo configure:4569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4563ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4569ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4564if test -z "$ac_err"; then 4570if test -z "$ac_err"; then
4565 rm -rf conftest* 4571 rm -rf conftest*
@@ -4576,7 +4582,7 @@ fi
4576if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4582if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4577 echo "$ac_t""yes" 1>&6 4583 echo "$ac_t""yes" 1>&6
4578 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4584 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4579echo "configure:4580: checking for DGifOpen in -lungif" >&5 4585echo "configure:4586: checking for DGifOpen in -lungif" >&5
4580ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4586ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4587if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4582 echo $ac_n "(cached) $ac_c" 1>&6 4588 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4584,7 +4590,7 @@ else
4584 ac_save_LIBS="$LIBS" 4590 ac_save_LIBS="$LIBS"
4585LIBS="-lungif -lX11 $LIBS" 4591LIBS="-lungif -lX11 $LIBS"
4586cat > conftest.$ac_ext <<EOF 4592cat > conftest.$ac_ext <<EOF
4587#line 4588 "configure" 4593#line 4594 "configure"
4588#include "confdefs.h" 4594#include "confdefs.h"
4589/* Override any gcc2 internal prototype to avoid an error. */ 4595/* Override any gcc2 internal prototype to avoid an error. */
4590/* We use char because int might match the return type of a gcc2 4596/* We use char because int might match the return type of a gcc2
@@ -4595,7 +4601,7 @@ int main() {
4595DGifOpen() 4601DGifOpen()
4596; return 0; } 4602; return 0; }
4597EOF 4603EOF
4598if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4604if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4599 rm -rf conftest* 4605 rm -rf conftest*
4600 eval "ac_cv_lib_$ac_lib_var=yes" 4606 eval "ac_cv_lib_$ac_lib_var=yes"
4601else 4607else
@@ -4632,19 +4638,19 @@ fi
4632 4638
4633# If netdb.h doesn't declare h_errno, we must declare it by hand. 4639# If netdb.h doesn't declare h_errno, we must declare it by hand.
4634echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4640echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4635echo "configure:4636: checking whether netdb declares h_errno" >&5 4641echo "configure:4642: checking whether netdb declares h_errno" >&5
4636if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4642if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4637 echo $ac_n "(cached) $ac_c" 1>&6 4643 echo $ac_n "(cached) $ac_c" 1>&6
4638else 4644else
4639 cat > conftest.$ac_ext <<EOF 4645 cat > conftest.$ac_ext <<EOF
4640#line 4641 "configure" 4646#line 4647 "configure"
4641#include "confdefs.h" 4647#include "confdefs.h"
4642#include <netdb.h> 4648#include <netdb.h>
4643int main() { 4649int main() {
4644return h_errno; 4650return h_errno;
4645; return 0; } 4651; return 0; }
4646EOF 4652EOF
4647if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4653if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4648 rm -rf conftest* 4654 rm -rf conftest*
4649 emacs_cv_netdb_declares_h_errno=yes 4655 emacs_cv_netdb_declares_h_errno=yes
4650else 4656else
@@ -4667,19 +4673,19 @@ fi
4667# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4673# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4668# for constant arguments. Useless! 4674# for constant arguments. Useless!
4669echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4675echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4670echo "configure:4671: checking for working alloca.h" >&5 4676echo "configure:4677: checking for working alloca.h" >&5
4671if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4677if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4672 echo $ac_n "(cached) $ac_c" 1>&6 4678 echo $ac_n "(cached) $ac_c" 1>&6
4673else 4679else
4674 cat > conftest.$ac_ext <<EOF 4680 cat > conftest.$ac_ext <<EOF
4675#line 4676 "configure" 4681#line 4682 "configure"
4676#include "confdefs.h" 4682#include "confdefs.h"
4677#include <alloca.h> 4683#include <alloca.h>
4678int main() { 4684int main() {
4679char *p = alloca(2 * sizeof(int)); 4685char *p = alloca(2 * sizeof(int));
4680; return 0; } 4686; return 0; }
4681EOF 4687EOF
4682if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4688if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4683 rm -rf conftest* 4689 rm -rf conftest*
4684 ac_cv_header_alloca_h=yes 4690 ac_cv_header_alloca_h=yes
4685else 4691else
@@ -4700,12 +4706,12 @@ EOF
4700fi 4706fi
4701 4707
4702echo $ac_n "checking for alloca""... $ac_c" 1>&6 4708echo $ac_n "checking for alloca""... $ac_c" 1>&6
4703echo "configure:4704: checking for alloca" >&5 4709echo "configure:4710: checking for alloca" >&5
4704if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4710if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6 4711 echo $ac_n "(cached) $ac_c" 1>&6
4706else 4712else
4707 cat > conftest.$ac_ext <<EOF 4713 cat > conftest.$ac_ext <<EOF
4708#line 4709 "configure" 4714#line 4715 "configure"
4709#include "confdefs.h" 4715#include "confdefs.h"
4710 4716
4711#ifdef __GNUC__ 4717#ifdef __GNUC__
@@ -4733,7 +4739,7 @@ int main() {
4733char *p = (char *) alloca(1); 4739char *p = (char *) alloca(1);
4734; return 0; } 4740; return 0; }
4735EOF 4741EOF
4736if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4742if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4737 rm -rf conftest* 4743 rm -rf conftest*
4738 ac_cv_func_alloca_works=yes 4744 ac_cv_func_alloca_works=yes
4739else 4745else
@@ -4765,12 +4771,12 @@ EOF
4765 4771
4766 4772
4767echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4773echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4768echo "configure:4769: checking whether alloca needs Cray hooks" >&5 4774echo "configure:4775: checking whether alloca needs Cray hooks" >&5
4769if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4775if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4770 echo $ac_n "(cached) $ac_c" 1>&6 4776 echo $ac_n "(cached) $ac_c" 1>&6
4771else 4777else
4772 cat > conftest.$ac_ext <<EOF 4778 cat > conftest.$ac_ext <<EOF
4773#line 4774 "configure" 4779#line 4780 "configure"
4774#include "confdefs.h" 4780#include "confdefs.h"
4775#if defined(CRAY) && ! defined(CRAY2) 4781#if defined(CRAY) && ! defined(CRAY2)
4776webecray 4782webecray
@@ -4795,12 +4801,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4795if test $ac_cv_os_cray = yes; then 4801if test $ac_cv_os_cray = yes; then
4796for ac_func in _getb67 GETB67 getb67; do 4802for ac_func in _getb67 GETB67 getb67; do
4797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4798echo "configure:4799: checking for $ac_func" >&5 4804echo "configure:4805: checking for $ac_func" >&5
4799if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4805if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4800 echo $ac_n "(cached) $ac_c" 1>&6 4806 echo $ac_n "(cached) $ac_c" 1>&6
4801else 4807else
4802 cat > conftest.$ac_ext <<EOF 4808 cat > conftest.$ac_ext <<EOF
4803#line 4804 "configure" 4809#line 4810 "configure"
4804#include "confdefs.h" 4810#include "confdefs.h"
4805/* System header to define __stub macros and hopefully few prototypes, 4811/* System header to define __stub macros and hopefully few prototypes,
4806 which can conflict with char $ac_func(); below. */ 4812 which can conflict with char $ac_func(); below. */
@@ -4823,7 +4829,7 @@ $ac_func();
4823 4829
4824; return 0; } 4830; return 0; }
4825EOF 4831EOF
4826if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4832if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4827 rm -rf conftest* 4833 rm -rf conftest*
4828 eval "ac_cv_func_$ac_func=yes" 4834 eval "ac_cv_func_$ac_func=yes"
4829else 4835else
@@ -4850,7 +4856,7 @@ done
4850fi 4856fi
4851 4857
4852echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4858echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4853echo "configure:4854: checking stack direction for C alloca" >&5 4859echo "configure:4860: checking stack direction for C alloca" >&5
4854if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4860if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4855 echo $ac_n "(cached) $ac_c" 1>&6 4861 echo $ac_n "(cached) $ac_c" 1>&6
4856else 4862else
@@ -4858,7 +4864,7 @@ else
4858 ac_cv_c_stack_direction=0 4864 ac_cv_c_stack_direction=0
4859else 4865else
4860 cat > conftest.$ac_ext <<EOF 4866 cat > conftest.$ac_ext <<EOF
4861#line 4862 "configure" 4867#line 4868 "configure"
4862#include "confdefs.h" 4868#include "confdefs.h"
4863find_stack_direction () 4869find_stack_direction ()
4864{ 4870{
@@ -4877,7 +4883,7 @@ main ()
4877 exit (find_stack_direction() < 0); 4883 exit (find_stack_direction() < 0);
4878} 4884}
4879EOF 4885EOF
4880if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4886if { (eval echo configure:4887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4881then 4887then
4882 ac_cv_c_stack_direction=1 4888 ac_cv_c_stack_direction=1
4883else 4889else
@@ -4902,7 +4908,7 @@ fi
4902# fmod, logb, and frexp are found in -lm on most systems. 4908# fmod, logb, and frexp are found in -lm on most systems.
4903# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4909# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4904echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4910echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4905echo "configure:4906: checking for sqrt in -lm" >&5 4911echo "configure:4912: checking for sqrt in -lm" >&5
4906ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4912ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4913if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4908 echo $ac_n "(cached) $ac_c" 1>&6 4914 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4910,7 +4916,7 @@ else
4910 ac_save_LIBS="$LIBS" 4916 ac_save_LIBS="$LIBS"
4911LIBS="-lm $LIBS" 4917LIBS="-lm $LIBS"
4912cat > conftest.$ac_ext <<EOF 4918cat > conftest.$ac_ext <<EOF
4913#line 4914 "configure" 4919#line 4920 "configure"
4914#include "confdefs.h" 4920#include "confdefs.h"
4915/* Override any gcc2 internal prototype to avoid an error. */ 4921/* Override any gcc2 internal prototype to avoid an error. */
4916/* We use char because int might match the return type of a gcc2 4922/* We use char because int might match the return type of a gcc2
@@ -4921,7 +4927,7 @@ int main() {
4921sqrt() 4927sqrt()
4922; return 0; } 4928; return 0; }
4923EOF 4929EOF
4924if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4930if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4925 rm -rf conftest* 4931 rm -rf conftest*
4926 eval "ac_cv_lib_$ac_lib_var=yes" 4932 eval "ac_cv_lib_$ac_lib_var=yes"
4927else 4933else
@@ -4951,7 +4957,7 @@ fi
4951 4957
4952# Check for mail-locking functions in a "mail" library 4958# Check for mail-locking functions in a "mail" library
4953echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4959echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4954echo "configure:4955: checking for maillock in -lmail" >&5 4960echo "configure:4961: checking for maillock in -lmail" >&5
4955ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4961ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4956if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4962if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4957 echo $ac_n "(cached) $ac_c" 1>&6 4963 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4959,7 +4965,7 @@ else
4959 ac_save_LIBS="$LIBS" 4965 ac_save_LIBS="$LIBS"
4960LIBS="-lmail $LIBS" 4966LIBS="-lmail $LIBS"
4961cat > conftest.$ac_ext <<EOF 4967cat > conftest.$ac_ext <<EOF
4962#line 4963 "configure" 4968#line 4969 "configure"
4963#include "confdefs.h" 4969#include "confdefs.h"
4964/* Override any gcc2 internal prototype to avoid an error. */ 4970/* Override any gcc2 internal prototype to avoid an error. */
4965/* We use char because int might match the return type of a gcc2 4971/* We use char because int might match the return type of a gcc2
@@ -4970,7 +4976,7 @@ int main() {
4970maillock() 4976maillock()
4971; return 0; } 4977; return 0; }
4972EOF 4978EOF
4973if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4979if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4974 rm -rf conftest* 4980 rm -rf conftest*
4975 eval "ac_cv_lib_$ac_lib_var=yes" 4981 eval "ac_cv_lib_$ac_lib_var=yes"
4976else 4982else
@@ -4998,7 +5004,7 @@ else
4998fi 5004fi
4999 5005
5000echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5006echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5001echo "configure:5002: checking for maillock in -llockfile" >&5 5007echo "configure:5008: checking for maillock in -llockfile" >&5
5002ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5008ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5009if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5004 echo $ac_n "(cached) $ac_c" 1>&6 5010 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5006,7 +5012,7 @@ else
5006 ac_save_LIBS="$LIBS" 5012 ac_save_LIBS="$LIBS"
5007LIBS="-llockfile $LIBS" 5013LIBS="-llockfile $LIBS"
5008cat > conftest.$ac_ext <<EOF 5014cat > conftest.$ac_ext <<EOF
5009#line 5010 "configure" 5015#line 5016 "configure"
5010#include "confdefs.h" 5016#include "confdefs.h"
5011/* Override any gcc2 internal prototype to avoid an error. */ 5017/* Override any gcc2 internal prototype to avoid an error. */
5012/* We use char because int might match the return type of a gcc2 5018/* We use char because int might match the return type of a gcc2
@@ -5017,7 +5023,7 @@ int main() {
5017maillock() 5023maillock()
5018; return 0; } 5024; return 0; }
5019EOF 5025EOF
5020if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5026if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5021 rm -rf conftest* 5027 rm -rf conftest*
5022 eval "ac_cv_lib_$ac_lib_var=yes" 5028 eval "ac_cv_lib_$ac_lib_var=yes"
5023else 5029else
@@ -5051,7 +5057,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5051 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5057 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5052set dummy liblockfile.so; ac_word=$2 5058set dummy liblockfile.so; ac_word=$2
5053echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5059echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5054echo "configure:5055: checking for $ac_word" >&5 5060echo "configure:5061: checking for $ac_word" >&5
5055if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5061if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5056 echo $ac_n "(cached) $ac_c" 1>&6 5062 echo $ac_n "(cached) $ac_c" 1>&6
5057else 5063else
@@ -5092,12 +5098,12 @@ fi
5092for ac_func in touchlock 5098for ac_func in touchlock
5093do 5099do
5094echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5100echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5095echo "configure:5096: checking for $ac_func" >&5 5101echo "configure:5102: checking for $ac_func" >&5
5096if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5102if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5097 echo $ac_n "(cached) $ac_c" 1>&6 5103 echo $ac_n "(cached) $ac_c" 1>&6
5098else 5104else
5099 cat > conftest.$ac_ext <<EOF 5105 cat > conftest.$ac_ext <<EOF
5100#line 5101 "configure" 5106#line 5107 "configure"
5101#include "confdefs.h" 5107#include "confdefs.h"
5102/* System header to define __stub macros and hopefully few prototypes, 5108/* System header to define __stub macros and hopefully few prototypes,
5103 which can conflict with char $ac_func(); below. */ 5109 which can conflict with char $ac_func(); below. */
@@ -5120,7 +5126,7 @@ $ac_func();
5120 5126
5121; return 0; } 5127; return 0; }
5122EOF 5128EOF
5123if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5129if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5124 rm -rf conftest* 5130 rm -rf conftest*
5125 eval "ac_cv_func_$ac_func=yes" 5131 eval "ac_cv_func_$ac_func=yes"
5126else 5132else
@@ -5148,17 +5154,17 @@ for ac_hdr in maillock.h
5148do 5154do
5149ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5155ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5150echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5156echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5151echo "configure:5152: checking for $ac_hdr" >&5 5157echo "configure:5158: checking for $ac_hdr" >&5
5152if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5158if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5153 echo $ac_n "(cached) $ac_c" 1>&6 5159 echo $ac_n "(cached) $ac_c" 1>&6
5154else 5160else
5155 cat > conftest.$ac_ext <<EOF 5161 cat > conftest.$ac_ext <<EOF
5156#line 5157 "configure" 5162#line 5163 "configure"
5157#include "confdefs.h" 5163#include "confdefs.h"
5158#include <$ac_hdr> 5164#include <$ac_hdr>
5159EOF 5165EOF
5160ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5166ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5161{ (eval echo configure:5162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5167{ (eval echo configure:5168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5162ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5168ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5163if test -z "$ac_err"; then 5169if test -z "$ac_err"; then
5164 rm -rf conftest* 5170 rm -rf conftest*
@@ -5193,12 +5199,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5193__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5199__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5194do 5200do
5195echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5201echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5196echo "configure:5197: checking for $ac_func" >&5 5202echo "configure:5203: checking for $ac_func" >&5
5197if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5203if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5198 echo $ac_n "(cached) $ac_c" 1>&6 5204 echo $ac_n "(cached) $ac_c" 1>&6
5199else 5205else
5200 cat > conftest.$ac_ext <<EOF 5206 cat > conftest.$ac_ext <<EOF
5201#line 5202 "configure" 5207#line 5208 "configure"
5202#include "confdefs.h" 5208#include "confdefs.h"
5203/* System header to define __stub macros and hopefully few prototypes, 5209/* System header to define __stub macros and hopefully few prototypes,
5204 which can conflict with char $ac_func(); below. */ 5210 which can conflict with char $ac_func(); below. */
@@ -5221,7 +5227,7 @@ $ac_func();
5221 5227
5222; return 0; } 5228; return 0; }
5223EOF 5229EOF
5224if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5230if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5225 rm -rf conftest* 5231 rm -rf conftest*
5226 eval "ac_cv_func_$ac_func=yes" 5232 eval "ac_cv_func_$ac_func=yes"
5227else 5233else
@@ -5251,7 +5257,7 @@ done
5251# It's better to believe a function is not available 5257# It's better to believe a function is not available
5252# than to expect to find it in ncurses. 5258# than to expect to find it in ncurses.
5253echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5259echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5254echo "configure:5255: checking for tparm in -lncurses" >&5 5260echo "configure:5261: checking for tparm in -lncurses" >&5
5255ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5261ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5262if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5257 echo $ac_n "(cached) $ac_c" 1>&6 5263 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5259,7 +5265,7 @@ else
5259 ac_save_LIBS="$LIBS" 5265 ac_save_LIBS="$LIBS"
5260LIBS="-lncurses $LIBS" 5266LIBS="-lncurses $LIBS"
5261cat > conftest.$ac_ext <<EOF 5267cat > conftest.$ac_ext <<EOF
5262#line 5263 "configure" 5268#line 5269 "configure"
5263#include "confdefs.h" 5269#include "confdefs.h"
5264/* Override any gcc2 internal prototype to avoid an error. */ 5270/* Override any gcc2 internal prototype to avoid an error. */
5265/* We use char because int might match the return type of a gcc2 5271/* We use char because int might match the return type of a gcc2
@@ -5270,7 +5276,7 @@ int main() {
5270tparm() 5276tparm()
5271; return 0; } 5277; return 0; }
5272EOF 5278EOF
5273if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5279if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5274 rm -rf conftest* 5280 rm -rf conftest*
5275 eval "ac_cv_lib_$ac_lib_var=yes" 5281 eval "ac_cv_lib_$ac_lib_var=yes"
5276else 5282else
@@ -5301,7 +5307,7 @@ fi
5301# These tell us which Kerberos-related libraries to use. 5307# These tell us which Kerberos-related libraries to use.
5302if test "${with_kerberos+set}" = set; then 5308if test "${with_kerberos+set}" = set; then
5303 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5309 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5304echo "configure:5305: checking for com_err in -lcom_err" >&5 5310echo "configure:5311: checking for com_err in -lcom_err" >&5
5305ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5311ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5306if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5312if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5307 echo $ac_n "(cached) $ac_c" 1>&6 5313 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5309,7 +5315,7 @@ else
5309 ac_save_LIBS="$LIBS" 5315 ac_save_LIBS="$LIBS"
5310LIBS="-lcom_err $LIBS" 5316LIBS="-lcom_err $LIBS"
5311cat > conftest.$ac_ext <<EOF 5317cat > conftest.$ac_ext <<EOF
5312#line 5313 "configure" 5318#line 5319 "configure"
5313#include "confdefs.h" 5319#include "confdefs.h"
5314/* Override any gcc2 internal prototype to avoid an error. */ 5320/* Override any gcc2 internal prototype to avoid an error. */
5315/* We use char because int might match the return type of a gcc2 5321/* We use char because int might match the return type of a gcc2
@@ -5320,7 +5326,7 @@ int main() {
5320com_err() 5326com_err()
5321; return 0; } 5327; return 0; }
5322EOF 5328EOF
5323if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5329if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5324 rm -rf conftest* 5330 rm -rf conftest*
5325 eval "ac_cv_lib_$ac_lib_var=yes" 5331 eval "ac_cv_lib_$ac_lib_var=yes"
5326else 5332else
@@ -5348,7 +5354,7 @@ else
5348fi 5354fi
5349 5355
5350 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5356 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5351echo "configure:5352: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5357echo "configure:5358: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5352ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5358ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5353if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5359if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5354 echo $ac_n "(cached) $ac_c" 1>&6 5360 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5356,7 +5362,7 @@ else
5356 ac_save_LIBS="$LIBS" 5362 ac_save_LIBS="$LIBS"
5357LIBS="-lk5crypto $LIBS" 5363LIBS="-lk5crypto $LIBS"
5358cat > conftest.$ac_ext <<EOF 5364cat > conftest.$ac_ext <<EOF
5359#line 5360 "configure" 5365#line 5366 "configure"
5360#include "confdefs.h" 5366#include "confdefs.h"
5361/* Override any gcc2 internal prototype to avoid an error. */ 5367/* Override any gcc2 internal prototype to avoid an error. */
5362/* We use char because int might match the return type of a gcc2 5368/* We use char because int might match the return type of a gcc2
@@ -5367,7 +5373,7 @@ int main() {
5367mit_des_cbc_encrypt() 5373mit_des_cbc_encrypt()
5368; return 0; } 5374; return 0; }
5369EOF 5375EOF
5370if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5376if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5371 rm -rf conftest* 5377 rm -rf conftest*
5372 eval "ac_cv_lib_$ac_lib_var=yes" 5378 eval "ac_cv_lib_$ac_lib_var=yes"
5373else 5379else
@@ -5395,7 +5401,7 @@ else
5395fi 5401fi
5396 5402
5397 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5403 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5398echo "configure:5399: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5404echo "configure:5405: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5399ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5405ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5400if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5406if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5401 echo $ac_n "(cached) $ac_c" 1>&6 5407 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5403,7 +5409,7 @@ else
5403 ac_save_LIBS="$LIBS" 5409 ac_save_LIBS="$LIBS"
5404LIBS="-lcrypto $LIBS" 5410LIBS="-lcrypto $LIBS"
5405cat > conftest.$ac_ext <<EOF 5411cat > conftest.$ac_ext <<EOF
5406#line 5407 "configure" 5412#line 5413 "configure"
5407#include "confdefs.h" 5413#include "confdefs.h"
5408/* Override any gcc2 internal prototype to avoid an error. */ 5414/* Override any gcc2 internal prototype to avoid an error. */
5409/* We use char because int might match the return type of a gcc2 5415/* We use char because int might match the return type of a gcc2
@@ -5414,7 +5420,7 @@ int main() {
5414mit_des_cbc_encrypt() 5420mit_des_cbc_encrypt()
5415; return 0; } 5421; return 0; }
5416EOF 5422EOF
5417if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5423if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5418 rm -rf conftest* 5424 rm -rf conftest*
5419 eval "ac_cv_lib_$ac_lib_var=yes" 5425 eval "ac_cv_lib_$ac_lib_var=yes"
5420else 5426else
@@ -5442,7 +5448,7 @@ else
5442fi 5448fi
5443 5449
5444 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5450 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5445echo "configure:5446: checking for krb5_init_context in -lkrb5" >&5 5451echo "configure:5452: checking for krb5_init_context in -lkrb5" >&5
5446ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5452ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5447if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5453if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5448 echo $ac_n "(cached) $ac_c" 1>&6 5454 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5450,7 +5456,7 @@ else
5450 ac_save_LIBS="$LIBS" 5456 ac_save_LIBS="$LIBS"
5451LIBS="-lkrb5 $LIBS" 5457LIBS="-lkrb5 $LIBS"
5452cat > conftest.$ac_ext <<EOF 5458cat > conftest.$ac_ext <<EOF
5453#line 5454 "configure" 5459#line 5460 "configure"
5454#include "confdefs.h" 5460#include "confdefs.h"
5455/* Override any gcc2 internal prototype to avoid an error. */ 5461/* Override any gcc2 internal prototype to avoid an error. */
5456/* We use char because int might match the return type of a gcc2 5462/* We use char because int might match the return type of a gcc2
@@ -5461,7 +5467,7 @@ int main() {
5461krb5_init_context() 5467krb5_init_context()
5462; return 0; } 5468; return 0; }
5463EOF 5469EOF
5464if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5470if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5465 rm -rf conftest* 5471 rm -rf conftest*
5466 eval "ac_cv_lib_$ac_lib_var=yes" 5472 eval "ac_cv_lib_$ac_lib_var=yes"
5467else 5473else
@@ -5490,7 +5496,7 @@ fi
5490 5496
5491 if test "${with_kerberos5+set}" != set; then 5497 if test "${with_kerberos5+set}" != set; then
5492 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5498 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5493echo "configure:5494: checking for des_cbc_encrypt in -ldes425" >&5 5499echo "configure:5500: checking for des_cbc_encrypt in -ldes425" >&5
5494ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5500ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5495if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5501if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5496 echo $ac_n "(cached) $ac_c" 1>&6 5502 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5498,7 +5504,7 @@ else
5498 ac_save_LIBS="$LIBS" 5504 ac_save_LIBS="$LIBS"
5499LIBS="-ldes425 $LIBS" 5505LIBS="-ldes425 $LIBS"
5500cat > conftest.$ac_ext <<EOF 5506cat > conftest.$ac_ext <<EOF
5501#line 5502 "configure" 5507#line 5508 "configure"
5502#include "confdefs.h" 5508#include "confdefs.h"
5503/* Override any gcc2 internal prototype to avoid an error. */ 5509/* Override any gcc2 internal prototype to avoid an error. */
5504/* We use char because int might match the return type of a gcc2 5510/* We use char because int might match the return type of a gcc2
@@ -5509,7 +5515,7 @@ int main() {
5509des_cbc_encrypt() 5515des_cbc_encrypt()
5510; return 0; } 5516; return 0; }
5511EOF 5517EOF
5512if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5518if { (eval echo configure:5519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5513 rm -rf conftest* 5519 rm -rf conftest*
5514 eval "ac_cv_lib_$ac_lib_var=yes" 5520 eval "ac_cv_lib_$ac_lib_var=yes"
5515else 5521else
@@ -5535,7 +5541,7 @@ EOF
5535else 5541else
5536 echo "$ac_t""no" 1>&6 5542 echo "$ac_t""no" 1>&6
5537echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5543echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5538echo "configure:5539: checking for des_cbc_encrypt in -ldes" >&5 5544echo "configure:5545: checking for des_cbc_encrypt in -ldes" >&5
5539ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5545ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5540if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5546if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5541 echo $ac_n "(cached) $ac_c" 1>&6 5547 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5543,7 +5549,7 @@ else
5543 ac_save_LIBS="$LIBS" 5549 ac_save_LIBS="$LIBS"
5544LIBS="-ldes $LIBS" 5550LIBS="-ldes $LIBS"
5545cat > conftest.$ac_ext <<EOF 5551cat > conftest.$ac_ext <<EOF
5546#line 5547 "configure" 5552#line 5553 "configure"
5547#include "confdefs.h" 5553#include "confdefs.h"
5548/* Override any gcc2 internal prototype to avoid an error. */ 5554/* Override any gcc2 internal prototype to avoid an error. */
5549/* We use char because int might match the return type of a gcc2 5555/* We use char because int might match the return type of a gcc2
@@ -5554,7 +5560,7 @@ int main() {
5554des_cbc_encrypt() 5560des_cbc_encrypt()
5555; return 0; } 5561; return 0; }
5556EOF 5562EOF
5557if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5563if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5558 rm -rf conftest* 5564 rm -rf conftest*
5559 eval "ac_cv_lib_$ac_lib_var=yes" 5565 eval "ac_cv_lib_$ac_lib_var=yes"
5560else 5566else
@@ -5584,7 +5590,7 @@ fi
5584fi 5590fi
5585 5591
5586 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5592 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5587echo "configure:5588: checking for krb_get_cred in -lkrb4" >&5 5593echo "configure:5594: checking for krb_get_cred in -lkrb4" >&5
5588ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5594ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5589if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5595if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5590 echo $ac_n "(cached) $ac_c" 1>&6 5596 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5592,7 +5598,7 @@ else
5592 ac_save_LIBS="$LIBS" 5598 ac_save_LIBS="$LIBS"
5593LIBS="-lkrb4 $LIBS" 5599LIBS="-lkrb4 $LIBS"
5594cat > conftest.$ac_ext <<EOF 5600cat > conftest.$ac_ext <<EOF
5595#line 5596 "configure" 5601#line 5602 "configure"
5596#include "confdefs.h" 5602#include "confdefs.h"
5597/* Override any gcc2 internal prototype to avoid an error. */ 5603/* Override any gcc2 internal prototype to avoid an error. */
5598/* We use char because int might match the return type of a gcc2 5604/* We use char because int might match the return type of a gcc2
@@ -5603,7 +5609,7 @@ int main() {
5603krb_get_cred() 5609krb_get_cred()
5604; return 0; } 5610; return 0; }
5605EOF 5611EOF
5606if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5612if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5607 rm -rf conftest* 5613 rm -rf conftest*
5608 eval "ac_cv_lib_$ac_lib_var=yes" 5614 eval "ac_cv_lib_$ac_lib_var=yes"
5609else 5615else
@@ -5629,7 +5635,7 @@ EOF
5629else 5635else
5630 echo "$ac_t""no" 1>&6 5636 echo "$ac_t""no" 1>&6
5631echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5637echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5632echo "configure:5633: checking for krb_get_cred in -lkrb" >&5 5638echo "configure:5639: checking for krb_get_cred in -lkrb" >&5
5633ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5639ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5634if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5640if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5635 echo $ac_n "(cached) $ac_c" 1>&6 5641 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5637,7 +5643,7 @@ else
5637 ac_save_LIBS="$LIBS" 5643 ac_save_LIBS="$LIBS"
5638LIBS="-lkrb $LIBS" 5644LIBS="-lkrb $LIBS"
5639cat > conftest.$ac_ext <<EOF 5645cat > conftest.$ac_ext <<EOF
5640#line 5641 "configure" 5646#line 5647 "configure"
5641#include "confdefs.h" 5647#include "confdefs.h"
5642/* Override any gcc2 internal prototype to avoid an error. */ 5648/* Override any gcc2 internal prototype to avoid an error. */
5643/* We use char because int might match the return type of a gcc2 5649/* We use char because int might match the return type of a gcc2
@@ -5648,7 +5654,7 @@ int main() {
5648krb_get_cred() 5654krb_get_cred()
5649; return 0; } 5655; return 0; }
5650EOF 5656EOF
5651if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5657if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5652 rm -rf conftest* 5658 rm -rf conftest*
5653 eval "ac_cv_lib_$ac_lib_var=yes" 5659 eval "ac_cv_lib_$ac_lib_var=yes"
5654else 5660else
@@ -5684,17 +5690,17 @@ fi
5684do 5690do
5685ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5691ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5686echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5692echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5687echo "configure:5688: checking for $ac_hdr" >&5 5693echo "configure:5694: checking for $ac_hdr" >&5
5688if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5694if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5689 echo $ac_n "(cached) $ac_c" 1>&6 5695 echo $ac_n "(cached) $ac_c" 1>&6
5690else 5696else
5691 cat > conftest.$ac_ext <<EOF 5697 cat > conftest.$ac_ext <<EOF
5692#line 5693 "configure" 5698#line 5699 "configure"
5693#include "confdefs.h" 5699#include "confdefs.h"
5694#include <$ac_hdr> 5700#include <$ac_hdr>
5695EOF 5701EOF
5696ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5702ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5697{ (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5703{ (eval echo configure:5704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5698ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5704ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5699if test -z "$ac_err"; then 5705if test -z "$ac_err"; then
5700 rm -rf conftest* 5706 rm -rf conftest*
@@ -5725,17 +5731,17 @@ done
5725do 5731do
5726ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5732ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5727echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5733echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5728echo "configure:5729: checking for $ac_hdr" >&5 5734echo "configure:5735: checking for $ac_hdr" >&5
5729if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5735if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5730 echo $ac_n "(cached) $ac_c" 1>&6 5736 echo $ac_n "(cached) $ac_c" 1>&6
5731else 5737else
5732 cat > conftest.$ac_ext <<EOF 5738 cat > conftest.$ac_ext <<EOF
5733#line 5734 "configure" 5739#line 5740 "configure"
5734#include "confdefs.h" 5740#include "confdefs.h"
5735#include <$ac_hdr> 5741#include <$ac_hdr>
5736EOF 5742EOF
5737ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5743ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5738{ (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5744{ (eval echo configure:5745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5739ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5745ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5740if test -z "$ac_err"; then 5746if test -z "$ac_err"; then
5741 rm -rf conftest* 5747 rm -rf conftest*
@@ -5762,17 +5768,17 @@ for ac_hdr in kerberosIV/des.h
5762do 5768do
5763ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5769ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5764echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5770echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5765echo "configure:5766: checking for $ac_hdr" >&5 5771echo "configure:5772: checking for $ac_hdr" >&5
5766if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5772if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5767 echo $ac_n "(cached) $ac_c" 1>&6 5773 echo $ac_n "(cached) $ac_c" 1>&6
5768else 5774else
5769 cat > conftest.$ac_ext <<EOF 5775 cat > conftest.$ac_ext <<EOF
5770#line 5771 "configure" 5776#line 5777 "configure"
5771#include "confdefs.h" 5777#include "confdefs.h"
5772#include <$ac_hdr> 5778#include <$ac_hdr>
5773EOF 5779EOF
5774ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5780ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5775{ (eval echo configure:5776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5781{ (eval echo configure:5782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5776ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5782ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5777if test -z "$ac_err"; then 5783if test -z "$ac_err"; then
5778 rm -rf conftest* 5784 rm -rf conftest*
@@ -5799,17 +5805,17 @@ for ac_hdr in kerberos/des.h
5799do 5805do
5800ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5806ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5801echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5807echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5802echo "configure:5803: checking for $ac_hdr" >&5 5808echo "configure:5809: checking for $ac_hdr" >&5
5803if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5809if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5804 echo $ac_n "(cached) $ac_c" 1>&6 5810 echo $ac_n "(cached) $ac_c" 1>&6
5805else 5811else
5806 cat > conftest.$ac_ext <<EOF 5812 cat > conftest.$ac_ext <<EOF
5807#line 5808 "configure" 5813#line 5814 "configure"
5808#include "confdefs.h" 5814#include "confdefs.h"
5809#include <$ac_hdr> 5815#include <$ac_hdr>
5810EOF 5816EOF
5811ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5817ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5812{ (eval echo configure:5813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5818{ (eval echo configure:5819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5813ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5819ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5814if test -z "$ac_err"; then 5820if test -z "$ac_err"; then
5815 rm -rf conftest* 5821 rm -rf conftest*
@@ -5845,17 +5851,17 @@ done
5845do 5851do
5846ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5852ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5847echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5853echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5848echo "configure:5849: checking for $ac_hdr" >&5 5854echo "configure:5855: checking for $ac_hdr" >&5
5849if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5855if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5850 echo $ac_n "(cached) $ac_c" 1>&6 5856 echo $ac_n "(cached) $ac_c" 1>&6
5851else 5857else
5852 cat > conftest.$ac_ext <<EOF 5858 cat > conftest.$ac_ext <<EOF
5853#line 5854 "configure" 5859#line 5860 "configure"
5854#include "confdefs.h" 5860#include "confdefs.h"
5855#include <$ac_hdr> 5861#include <$ac_hdr>
5856EOF 5862EOF
5857ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5863ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5858{ (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5864{ (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5859ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5865ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5860if test -z "$ac_err"; then 5866if test -z "$ac_err"; then
5861 rm -rf conftest* 5867 rm -rf conftest*
@@ -5882,17 +5888,17 @@ for ac_hdr in kerberosIV/krb.h
5882do 5888do
5883ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5889ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5884echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5890echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5885echo "configure:5886: checking for $ac_hdr" >&5 5891echo "configure:5892: checking for $ac_hdr" >&5
5886if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5892if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5887 echo $ac_n "(cached) $ac_c" 1>&6 5893 echo $ac_n "(cached) $ac_c" 1>&6
5888else 5894else
5889 cat > conftest.$ac_ext <<EOF 5895 cat > conftest.$ac_ext <<EOF
5890#line 5891 "configure" 5896#line 5897 "configure"
5891#include "confdefs.h" 5897#include "confdefs.h"
5892#include <$ac_hdr> 5898#include <$ac_hdr>
5893EOF 5899EOF
5894ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5900ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5895{ (eval echo configure:5896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5901{ (eval echo configure:5902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5896ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5902ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5897if test -z "$ac_err"; then 5903if test -z "$ac_err"; then
5898 rm -rf conftest* 5904 rm -rf conftest*
@@ -5919,17 +5925,17 @@ for ac_hdr in kerberos/krb.h
5919do 5925do
5920ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5926ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5921echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5927echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5922echo "configure:5923: checking for $ac_hdr" >&5 5928echo "configure:5929: checking for $ac_hdr" >&5
5923if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5929if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6 5930 echo $ac_n "(cached) $ac_c" 1>&6
5925else 5931else
5926 cat > conftest.$ac_ext <<EOF 5932 cat > conftest.$ac_ext <<EOF
5927#line 5928 "configure" 5933#line 5934 "configure"
5928#include "confdefs.h" 5934#include "confdefs.h"
5929#include <$ac_hdr> 5935#include <$ac_hdr>
5930EOF 5936EOF
5931ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5937ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5932{ (eval echo configure:5933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5938{ (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5933ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5939ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5934if test -z "$ac_err"; then 5940if test -z "$ac_err"; then
5935 rm -rf conftest* 5941 rm -rf conftest*
@@ -5966,17 +5972,17 @@ done
5966do 5972do
5967ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5973ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5968echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5974echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5969echo "configure:5970: checking for $ac_hdr" >&5 5975echo "configure:5976: checking for $ac_hdr" >&5
5970if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5976if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5971 echo $ac_n "(cached) $ac_c" 1>&6 5977 echo $ac_n "(cached) $ac_c" 1>&6
5972else 5978else
5973 cat > conftest.$ac_ext <<EOF 5979 cat > conftest.$ac_ext <<EOF
5974#line 5975 "configure" 5980#line 5981 "configure"
5975#include "confdefs.h" 5981#include "confdefs.h"
5976#include <$ac_hdr> 5982#include <$ac_hdr>
5977EOF 5983EOF
5978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5984ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5979{ (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5985{ (eval echo configure:5986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5980ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5986ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5981if test -z "$ac_err"; then 5987if test -z "$ac_err"; then
5982 rm -rf conftest* 5988 rm -rf conftest*
@@ -6007,7 +6013,7 @@ fi
6007# Solaris requires -lintl if you want strerror (which calls dgettext) 6013# Solaris requires -lintl if you want strerror (which calls dgettext)
6008# to return localized messages. 6014# to return localized messages.
6009echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6015echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6010echo "configure:6011: checking for dgettext in -lintl" >&5 6016echo "configure:6017: checking for dgettext in -lintl" >&5
6011ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6017ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6012if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6013 echo $ac_n "(cached) $ac_c" 1>&6 6019 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6015,7 +6021,7 @@ else
6015 ac_save_LIBS="$LIBS" 6021 ac_save_LIBS="$LIBS"
6016LIBS="-lintl $LIBS" 6022LIBS="-lintl $LIBS"
6017cat > conftest.$ac_ext <<EOF 6023cat > conftest.$ac_ext <<EOF
6018#line 6019 "configure" 6024#line 6025 "configure"
6019#include "confdefs.h" 6025#include "confdefs.h"
6020/* Override any gcc2 internal prototype to avoid an error. */ 6026/* Override any gcc2 internal prototype to avoid an error. */
6021/* We use char because int might match the return type of a gcc2 6027/* We use char because int might match the return type of a gcc2
@@ -6026,7 +6032,7 @@ int main() {
6026dgettext() 6032dgettext()
6027; return 0; } 6033; return 0; }
6028EOF 6034EOF
6029if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6035if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6030 rm -rf conftest* 6036 rm -rf conftest*
6031 eval "ac_cv_lib_$ac_lib_var=yes" 6037 eval "ac_cv_lib_$ac_lib_var=yes"
6032else 6038else
@@ -6055,7 +6061,7 @@ fi
6055 6061
6056 6062
6057echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6063echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6058echo "configure:6059: checking whether localtime caches TZ" >&5 6064echo "configure:6065: checking whether localtime caches TZ" >&5
6059if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6065if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6060 echo $ac_n "(cached) $ac_c" 1>&6 6066 echo $ac_n "(cached) $ac_c" 1>&6
6061else 6067else
@@ -6065,7 +6071,7 @@ if test "$cross_compiling" = yes; then
6065emacs_cv_localtime_cache=yes 6071emacs_cv_localtime_cache=yes
6066else 6072else
6067 cat > conftest.$ac_ext <<EOF 6073 cat > conftest.$ac_ext <<EOF
6068#line 6069 "configure" 6074#line 6075 "configure"
6069#include "confdefs.h" 6075#include "confdefs.h"
6070#include <time.h> 6076#include <time.h>
6071extern char **environ; 6077extern char **environ;
@@ -6097,7 +6103,7 @@ main()
6097 exit (0); 6103 exit (0);
6098} 6104}
6099EOF 6105EOF
6100if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6106if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6101then 6107then
6102 emacs_cv_localtime_cache=no 6108 emacs_cv_localtime_cache=no
6103else 6109else
@@ -6125,12 +6131,12 @@ fi
6125 6131
6126if test "x$HAVE_TIMEVAL" = xyes; then 6132if test "x$HAVE_TIMEVAL" = xyes; then
6127echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6133echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6128echo "configure:6129: checking whether gettimeofday can accept two arguments" >&5 6134echo "configure:6135: checking whether gettimeofday can accept two arguments" >&5
6129if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6135if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6130 echo $ac_n "(cached) $ac_c" 1>&6 6136 echo $ac_n "(cached) $ac_c" 1>&6
6131else 6137else
6132 cat > conftest.$ac_ext <<EOF 6138 cat > conftest.$ac_ext <<EOF
6133#line 6134 "configure" 6139#line 6140 "configure"
6134#include "confdefs.h" 6140#include "confdefs.h"
6135 6141
6136#ifdef TIME_WITH_SYS_TIME 6142#ifdef TIME_WITH_SYS_TIME
@@ -6152,7 +6158,7 @@ int main() {
6152 6158
6153; return 0; } 6159; return 0; }
6154EOF 6160EOF
6155if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6161if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6156 rm -rf conftest* 6162 rm -rf conftest*
6157 emacs_cv_gettimeofday_two_arguments=yes 6163 emacs_cv_gettimeofday_two_arguments=yes
6158else 6164else
@@ -6175,12 +6181,12 @@ fi
6175 6181
6176ok_so_far=yes 6182ok_so_far=yes
6177echo $ac_n "checking for socket""... $ac_c" 1>&6 6183echo $ac_n "checking for socket""... $ac_c" 1>&6
6178echo "configure:6179: checking for socket" >&5 6184echo "configure:6185: checking for socket" >&5
6179if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6185if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6180 echo $ac_n "(cached) $ac_c" 1>&6 6186 echo $ac_n "(cached) $ac_c" 1>&6
6181else 6187else
6182 cat > conftest.$ac_ext <<EOF 6188 cat > conftest.$ac_ext <<EOF
6183#line 6184 "configure" 6189#line 6190 "configure"
6184#include "confdefs.h" 6190#include "confdefs.h"
6185/* System header to define __stub macros and hopefully few prototypes, 6191/* System header to define __stub macros and hopefully few prototypes,
6186 which can conflict with char socket(); below. */ 6192 which can conflict with char socket(); below. */
@@ -6203,7 +6209,7 @@ socket();
6203 6209
6204; return 0; } 6210; return 0; }
6205EOF 6211EOF
6206if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6212if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6207 rm -rf conftest* 6213 rm -rf conftest*
6208 eval "ac_cv_func_socket=yes" 6214 eval "ac_cv_func_socket=yes"
6209else 6215else
@@ -6226,17 +6232,17 @@ fi
6226if test $ok_so_far = yes; then 6232if test $ok_so_far = yes; then
6227 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6233 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6228echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6234echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6229echo "configure:6230: checking for netinet/in.h" >&5 6235echo "configure:6236: checking for netinet/in.h" >&5
6230if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6236if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6231 echo $ac_n "(cached) $ac_c" 1>&6 6237 echo $ac_n "(cached) $ac_c" 1>&6
6232else 6238else
6233 cat > conftest.$ac_ext <<EOF 6239 cat > conftest.$ac_ext <<EOF
6234#line 6235 "configure" 6240#line 6241 "configure"
6235#include "confdefs.h" 6241#include "confdefs.h"
6236#include <netinet/in.h> 6242#include <netinet/in.h>
6237EOF 6243EOF
6238ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6244ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6239{ (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6245{ (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6240ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6246ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6241if test -z "$ac_err"; then 6247if test -z "$ac_err"; then
6242 rm -rf conftest* 6248 rm -rf conftest*
@@ -6262,17 +6268,17 @@ fi
6262if test $ok_so_far = yes; then 6268if test $ok_so_far = yes; then
6263 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6269 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6264echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6270echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6265echo "configure:6266: checking for arpa/inet.h" >&5 6271echo "configure:6272: checking for arpa/inet.h" >&5
6266if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6272if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6267 echo $ac_n "(cached) $ac_c" 1>&6 6273 echo $ac_n "(cached) $ac_c" 1>&6
6268else 6274else
6269 cat > conftest.$ac_ext <<EOF 6275 cat > conftest.$ac_ext <<EOF
6270#line 6271 "configure" 6276#line 6277 "configure"
6271#include "confdefs.h" 6277#include "confdefs.h"
6272#include <arpa/inet.h> 6278#include <arpa/inet.h>
6273EOF 6279EOF
6274ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6280ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6275{ (eval echo configure:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6281{ (eval echo configure:6282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6276ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6282ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6277if test -z "$ac_err"; then 6283if test -z "$ac_err"; then
6278 rm -rf conftest* 6284 rm -rf conftest*
@@ -6310,7 +6316,7 @@ EOF
6310fi 6316fi
6311 6317
6312echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6318echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6313echo "configure:6314: checking whether system supports dynamic ptys" >&5 6319echo "configure:6320: checking whether system supports dynamic ptys" >&5
6314if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6320if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6315 echo "$ac_t""yes" 1>&6 6321 echo "$ac_t""yes" 1>&6
6316 cat >> confdefs.h <<\EOF 6322 cat >> confdefs.h <<\EOF
@@ -6322,12 +6328,12 @@ else
6322fi 6328fi
6323 6329
6324echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6330echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6325echo "configure:6326: checking for pid_t" >&5 6331echo "configure:6332: checking for pid_t" >&5
6326if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6332if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6327 echo $ac_n "(cached) $ac_c" 1>&6 6333 echo $ac_n "(cached) $ac_c" 1>&6
6328else 6334else
6329 cat > conftest.$ac_ext <<EOF 6335 cat > conftest.$ac_ext <<EOF
6330#line 6331 "configure" 6336#line 6337 "configure"
6331#include "confdefs.h" 6337#include "confdefs.h"
6332#include <sys/types.h> 6338#include <sys/types.h>
6333#if STDC_HEADERS 6339#if STDC_HEADERS
@@ -6356,17 +6362,17 @@ fi
6356 6362
6357ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6363ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6358echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6364echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6359echo "configure:6360: checking for vfork.h" >&5 6365echo "configure:6366: checking for vfork.h" >&5
6360if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6366if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6361 echo $ac_n "(cached) $ac_c" 1>&6 6367 echo $ac_n "(cached) $ac_c" 1>&6
6362else 6368else
6363 cat > conftest.$ac_ext <<EOF 6369 cat > conftest.$ac_ext <<EOF
6364#line 6365 "configure" 6370#line 6371 "configure"
6365#include "confdefs.h" 6371#include "confdefs.h"
6366#include <vfork.h> 6372#include <vfork.h>
6367EOF 6373EOF
6368ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6374ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6369{ (eval echo configure:6370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6375{ (eval echo configure:6376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6370ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6376ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6371if test -z "$ac_err"; then 6377if test -z "$ac_err"; then
6372 rm -rf conftest* 6378 rm -rf conftest*
@@ -6391,18 +6397,18 @@ else
6391fi 6397fi
6392 6398
6393echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6399echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6394echo "configure:6395: checking for working vfork" >&5 6400echo "configure:6401: checking for working vfork" >&5
6395if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6401if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6 6402 echo $ac_n "(cached) $ac_c" 1>&6
6397else 6403else
6398 if test "$cross_compiling" = yes; then 6404 if test "$cross_compiling" = yes; then
6399 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6405 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6400echo "configure:6401: checking for vfork" >&5 6406echo "configure:6407: checking for vfork" >&5
6401if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6407if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6402 echo $ac_n "(cached) $ac_c" 1>&6 6408 echo $ac_n "(cached) $ac_c" 1>&6
6403else 6409else
6404 cat > conftest.$ac_ext <<EOF 6410 cat > conftest.$ac_ext <<EOF
6405#line 6406 "configure" 6411#line 6412 "configure"
6406#include "confdefs.h" 6412#include "confdefs.h"
6407/* System header to define __stub macros and hopefully few prototypes, 6413/* System header to define __stub macros and hopefully few prototypes,
6408 which can conflict with char vfork(); below. */ 6414 which can conflict with char vfork(); below. */
@@ -6425,7 +6431,7 @@ vfork();
6425 6431
6426; return 0; } 6432; return 0; }
6427EOF 6433EOF
6428if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6434if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6429 rm -rf conftest* 6435 rm -rf conftest*
6430 eval "ac_cv_func_vfork=yes" 6436 eval "ac_cv_func_vfork=yes"
6431else 6437else
@@ -6447,7 +6453,7 @@ fi
6447ac_cv_func_vfork_works=$ac_cv_func_vfork 6453ac_cv_func_vfork_works=$ac_cv_func_vfork
6448else 6454else
6449 cat > conftest.$ac_ext <<EOF 6455 cat > conftest.$ac_ext <<EOF
6450#line 6451 "configure" 6456#line 6457 "configure"
6451#include "confdefs.h" 6457#include "confdefs.h"
6452/* Thanks to Paul Eggert for this test. */ 6458/* Thanks to Paul Eggert for this test. */
6453#include <stdio.h> 6459#include <stdio.h>
@@ -6542,7 +6548,7 @@ main() {
6542 } 6548 }
6543} 6549}
6544EOF 6550EOF
6545if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6551if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6546then 6552then
6547 ac_cv_func_vfork_works=yes 6553 ac_cv_func_vfork_works=yes
6548else 6554else