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