aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-20 21:52:10 +0000
committerGerd Moellmann2000-04-20 21:52:10 +0000
commit3a64eef5c182a8fd972bcffb8f1e05150e2e29b7 (patch)
tree3e921a0618f1b7c26c35cb75d09c4b8b6401cdaf
parente3e8a75a2a6f9cfad433acee32cba30bc2449a8f (diff)
downloademacs-3a64eef5c182a8fd972bcffb8f1e05150e2e29b7.tar.gz
emacs-3a64eef5c182a8fd972bcffb8f1e05150e2e29b7.zip
*** empty log message ***
-rwxr-xr-xconfigure593
-rw-r--r--src/ChangeLog12
2 files changed, 309 insertions, 296 deletions
diff --git a/configure b/configure
index 5bfbb83804f..484caec3eff 100755
--- a/configure
+++ b/configure
@@ -808,6 +808,7 @@ case "${canonical}" in
808 mips-*-netbsd*) machine=pmax ;; 808 mips-*-netbsd*) machine=pmax ;;
809 mipsel-*-netbsd*) machine=pmax ;; 809 mipsel-*-netbsd*) machine=pmax ;;
810 ns32k-*-netbsd*) machine=ns32000 ;; 810 ns32k-*-netbsd*) machine=ns32000 ;;
811 powerpc-*-netbsd*) machine=macppc ;;
811 sparc-*-netbsd*) machine=sparc ;; 812 sparc-*-netbsd*) machine=sparc ;;
812 vax-*-netbsd*) machine=vax ;; 813 vax-*-netbsd*) machine=vax ;;
813 arm-*-netbsd*) machine=arm ;; 814 arm-*-netbsd*) machine=arm ;;
@@ -1704,7 +1705,7 @@ case ${with_gcc} in
1704 * ) # Extract the first word of "gcc", so it can be a program name with args. 1705 * ) # Extract the first word of "gcc", so it can be a program name with args.
1705set dummy gcc; ac_word=$2 1706set dummy gcc; ac_word=$2
1706echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1707echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1707echo "configure:1708: checking for $ac_word" >&5 1708echo "configure:1709: checking for $ac_word" >&5
1708if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1709if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1709 echo $ac_n "(cached) $ac_c" 1>&6 1710 echo $ac_n "(cached) $ac_c" 1>&6
1710else 1711else
@@ -1734,7 +1735,7 @@ if test -z "$CC"; then
1734 # Extract the first word of "cc", so it can be a program name with args. 1735 # Extract the first word of "cc", so it can be a program name with args.
1735set dummy cc; ac_word=$2 1736set dummy cc; ac_word=$2
1736echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1737echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1737echo "configure:1738: checking for $ac_word" >&5 1738echo "configure:1739: checking for $ac_word" >&5
1738if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1739if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1739 echo $ac_n "(cached) $ac_c" 1>&6 1740 echo $ac_n "(cached) $ac_c" 1>&6
1740else 1741else
@@ -1785,7 +1786,7 @@ fi
1785 # Extract the first word of "cl", so it can be a program name with args. 1786 # Extract the first word of "cl", so it can be a program name with args.
1786set dummy cl; ac_word=$2 1787set dummy cl; ac_word=$2
1787echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1788echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1788echo "configure:1789: checking for $ac_word" >&5 1789echo "configure:1790: checking for $ac_word" >&5
1789if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1790if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1790 echo $ac_n "(cached) $ac_c" 1>&6 1791 echo $ac_n "(cached) $ac_c" 1>&6
1791else 1792else
@@ -1817,7 +1818,7 @@ fi
1817fi 1818fi
1818 1819
1819echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1820echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1820echo "configure:1821: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1821echo "configure:1822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1821 1822
1822ac_ext=c 1823ac_ext=c
1823# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1824# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1828,12 +1829,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1828 1829
1829cat > conftest.$ac_ext << EOF 1830cat > conftest.$ac_ext << EOF
1830 1831
1831#line 1832 "configure" 1832#line 1833 "configure"
1832#include "confdefs.h" 1833#include "confdefs.h"
1833 1834
1834main(){return(0);} 1835main(){return(0);}
1835EOF 1836EOF
1836if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1837if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1837 ac_cv_prog_cc_works=yes 1838 ac_cv_prog_cc_works=yes
1838 # If we can't run a trivial program, we are probably using a cross compiler. 1839 # If we can't run a trivial program, we are probably using a cross compiler.
1839 if (./conftest; exit) 2>/dev/null; then 1840 if (./conftest; exit) 2>/dev/null; then
@@ -1859,12 +1860,12 @@ if test $ac_cv_prog_cc_works = no; then
1859 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1860 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1860fi 1861fi
1861echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1862echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1862echo "configure:1863: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1863echo "configure:1864: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1863echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1864echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1864cross_compiling=$ac_cv_prog_cc_cross 1865cross_compiling=$ac_cv_prog_cc_cross
1865 1866
1866echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1867echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1867echo "configure:1868: checking whether we are using GNU C" >&5 1868echo "configure:1869: checking whether we are using GNU C" >&5
1868if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1869if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6 1870 echo $ac_n "(cached) $ac_c" 1>&6
1870else 1871else
@@ -1873,7 +1874,7 @@ else
1873 yes; 1874 yes;
1874#endif 1875#endif
1875EOF 1876EOF
1876if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1877if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1877 ac_cv_prog_gcc=yes 1878 ac_cv_prog_gcc=yes
1878else 1879else
1879 ac_cv_prog_gcc=no 1880 ac_cv_prog_gcc=no
@@ -1892,7 +1893,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1892ac_save_CFLAGS="$CFLAGS" 1893ac_save_CFLAGS="$CFLAGS"
1893CFLAGS= 1894CFLAGS=
1894echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1895echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1895echo "configure:1896: checking whether ${CC-cc} accepts -g" >&5 1896echo "configure:1897: checking whether ${CC-cc} accepts -g" >&5
1896if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1897if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1897 echo $ac_n "(cached) $ac_c" 1>&6 1898 echo $ac_n "(cached) $ac_c" 1>&6
1898else 1899else
@@ -1972,7 +1973,7 @@ fi
1972#### #undef clause to src/config.h.in for autoconf to modify. 1973#### #undef clause to src/config.h.in for autoconf to modify.
1973 1974
1974echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1975echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1975echo "configure:1976: checking whether ln -s works" >&5 1976echo "configure:1977: checking whether ln -s works" >&5
1976if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1977if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1977 echo $ac_n "(cached) $ac_c" 1>&6 1978 echo $ac_n "(cached) $ac_c" 1>&6
1978else 1979else
@@ -1993,7 +1994,7 @@ else
1993fi 1994fi
1994 1995
1995echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1996echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1996echo "configure:1997: checking how to run the C preprocessor" >&5 1997echo "configure:1998: checking how to run the C preprocessor" >&5
1997# On Suns, sometimes $CPP names a directory. 1998# On Suns, sometimes $CPP names a directory.
1998if test -n "$CPP" && test -d "$CPP"; then 1999if test -n "$CPP" && test -d "$CPP"; then
1999 CPP= 2000 CPP=
@@ -2008,13 +2009,13 @@ else
2008 # On the NeXT, cc -E runs the code through the compiler's parser, 2009 # On the NeXT, cc -E runs the code through the compiler's parser,
2009 # not just through cpp. 2010 # not just through cpp.
2010 cat > conftest.$ac_ext <<EOF 2011 cat > conftest.$ac_ext <<EOF
2011#line 2012 "configure" 2012#line 2013 "configure"
2012#include "confdefs.h" 2013#include "confdefs.h"
2013#include <assert.h> 2014#include <assert.h>
2014Syntax Error 2015Syntax Error
2015EOF 2016EOF
2016ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2017ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2017{ (eval echo configure:2018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2018{ (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2018ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2019ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2019if test -z "$ac_err"; then 2020if test -z "$ac_err"; then
2020 : 2021 :
@@ -2025,13 +2026,13 @@ else
2025 rm -rf conftest* 2026 rm -rf conftest*
2026 CPP="${CC-cc} -E -traditional-cpp" 2027 CPP="${CC-cc} -E -traditional-cpp"
2027 cat > conftest.$ac_ext <<EOF 2028 cat > conftest.$ac_ext <<EOF
2028#line 2029 "configure" 2029#line 2030 "configure"
2029#include "confdefs.h" 2030#include "confdefs.h"
2030#include <assert.h> 2031#include <assert.h>
2031Syntax Error 2032Syntax Error
2032EOF 2033EOF
2033ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2034ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2034{ (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2035{ (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2035ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2036ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2036if test -z "$ac_err"; then 2037if test -z "$ac_err"; then
2037 : 2038 :
@@ -2042,13 +2043,13 @@ else
2042 rm -rf conftest* 2043 rm -rf conftest*
2043 CPP="${CC-cc} -nologo -E" 2044 CPP="${CC-cc} -nologo -E"
2044 cat > conftest.$ac_ext <<EOF 2045 cat > conftest.$ac_ext <<EOF
2045#line 2046 "configure" 2046#line 2047 "configure"
2046#include "confdefs.h" 2047#include "confdefs.h"
2047#include <assert.h> 2048#include <assert.h>
2048Syntax Error 2049Syntax Error
2049EOF 2050EOF
2050ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2051ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2051{ (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2052{ (eval echo configure:2053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2052ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2053ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2053if test -z "$ac_err"; then 2054if test -z "$ac_err"; then
2054 : 2055 :
@@ -2084,7 +2085,7 @@ echo "$ac_t""$CPP" 1>&6
2084# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2085# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2085# ./install, which can be erroneously created by make from ./install.sh. 2086# ./install, which can be erroneously created by make from ./install.sh.
2086echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2087echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2087echo "configure:2088: checking for a BSD compatible install" >&5 2088echo "configure:2089: checking for a BSD compatible install" >&5
2088if test -z "$INSTALL"; then 2089if test -z "$INSTALL"; then
2089if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2090if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2090 echo $ac_n "(cached) $ac_c" 1>&6 2091 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2141,7 +2142,7 @@ do
2141# Extract the first word of "$ac_prog", so it can be a program name with args. 2142# Extract the first word of "$ac_prog", so it can be a program name with args.
2142set dummy $ac_prog; ac_word=$2 2143set dummy $ac_prog; ac_word=$2
2143echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2144echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2144echo "configure:2145: checking for $ac_word" >&5 2145echo "configure:2146: checking for $ac_word" >&5
2145if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2146if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2146 echo $ac_n "(cached) $ac_c" 1>&6 2147 echo $ac_n "(cached) $ac_c" 1>&6
2147else 2148else
@@ -2175,7 +2176,7 @@ if test "x$RANLIB" = x; then
2175 # Extract the first word of "ranlib", so it can be a program name with args. 2176 # Extract the first word of "ranlib", so it can be a program name with args.
2176set dummy ranlib; ac_word=$2 2177set dummy ranlib; ac_word=$2
2177echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2178echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2178echo "configure:2179: checking for $ac_word" >&5 2179echo "configure:2180: checking for $ac_word" >&5
2179if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2180if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2180 echo $ac_n "(cached) $ac_c" 1>&6 2181 echo $ac_n "(cached) $ac_c" 1>&6
2181else 2182else
@@ -2205,9 +2206,9 @@ fi
2205fi 2206fi
2206 2207
2207echo $ac_n "checking for AIX""... $ac_c" 1>&6 2208echo $ac_n "checking for AIX""... $ac_c" 1>&6
2208echo "configure:2209: checking for AIX" >&5 2209echo "configure:2210: checking for AIX" >&5
2209cat > conftest.$ac_ext <<EOF 2210cat > conftest.$ac_ext <<EOF
2210#line 2211 "configure" 2211#line 2212 "configure"
2211#include "confdefs.h" 2212#include "confdefs.h"
2212#ifdef _AIX 2213#ifdef _AIX
2213 yes 2214 yes
@@ -2234,17 +2235,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2234do 2235do
2235ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2236ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2236echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2237echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2237echo "configure:2238: checking for $ac_hdr" >&5 2238echo "configure:2239: checking for $ac_hdr" >&5
2238if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2239if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2239 echo $ac_n "(cached) $ac_c" 1>&6 2240 echo $ac_n "(cached) $ac_c" 1>&6
2240else 2241else
2241 cat > conftest.$ac_ext <<EOF 2242 cat > conftest.$ac_ext <<EOF
2242#line 2243 "configure" 2243#line 2244 "configure"
2243#include "confdefs.h" 2244#include "confdefs.h"
2244#include <$ac_hdr> 2245#include <$ac_hdr>
2245EOF 2246EOF
2246ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2247ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2247{ (eval echo configure:2248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2248{ (eval echo configure:2249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2248ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2249ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2249if test -z "$ac_err"; then 2250if test -z "$ac_err"; then
2250 rm -rf conftest* 2251 rm -rf conftest*
@@ -2277,17 +2278,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2277do 2278do
2278ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2279ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2279echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2280echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2280echo "configure:2281: checking for $ac_hdr" >&5 2281echo "configure:2282: checking for $ac_hdr" >&5
2281if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2282if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6 2283 echo $ac_n "(cached) $ac_c" 1>&6
2283else 2284else
2284 cat > conftest.$ac_ext <<EOF 2285 cat > conftest.$ac_ext <<EOF
2285#line 2286 "configure" 2286#line 2287 "configure"
2286#include "confdefs.h" 2287#include "confdefs.h"
2287#include <$ac_hdr> 2288#include <$ac_hdr>
2288EOF 2289EOF
2289ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2290ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2290{ (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2291{ (eval echo configure:2292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2291ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2292ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2292if test -z "$ac_err"; then 2293if test -z "$ac_err"; then
2293 rm -rf conftest* 2294 rm -rf conftest*
@@ -2314,12 +2315,12 @@ fi
2314done 2315done
2315 2316
2316echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2317echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2317echo "configure:2318: checking for ANSI C header files" >&5 2318echo "configure:2319: checking for ANSI C header files" >&5
2318if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2319if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2319 echo $ac_n "(cached) $ac_c" 1>&6 2320 echo $ac_n "(cached) $ac_c" 1>&6
2320else 2321else
2321 cat > conftest.$ac_ext <<EOF 2322 cat > conftest.$ac_ext <<EOF
2322#line 2323 "configure" 2323#line 2324 "configure"
2323#include "confdefs.h" 2324#include "confdefs.h"
2324#include <stdlib.h> 2325#include <stdlib.h>
2325#include <stdarg.h> 2326#include <stdarg.h>
@@ -2327,7 +2328,7 @@ else
2327#include <float.h> 2328#include <float.h>
2328EOF 2329EOF
2329ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2330ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2330{ (eval echo configure:2331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2331{ (eval echo configure:2332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2331ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2332ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2332if test -z "$ac_err"; then 2333if test -z "$ac_err"; then
2333 rm -rf conftest* 2334 rm -rf conftest*
@@ -2344,7 +2345,7 @@ rm -f conftest*
2344if test $ac_cv_header_stdc = yes; then 2345if test $ac_cv_header_stdc = yes; then
2345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2346cat > conftest.$ac_ext <<EOF 2347cat > conftest.$ac_ext <<EOF
2347#line 2348 "configure" 2348#line 2349 "configure"
2348#include "confdefs.h" 2349#include "confdefs.h"
2349#include <string.h> 2350#include <string.h>
2350EOF 2351EOF
@@ -2362,7 +2363,7 @@ fi
2362if test $ac_cv_header_stdc = yes; then 2363if test $ac_cv_header_stdc = yes; then
2363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2364cat > conftest.$ac_ext <<EOF 2365cat > conftest.$ac_ext <<EOF
2365#line 2366 "configure" 2366#line 2367 "configure"
2366#include "confdefs.h" 2367#include "confdefs.h"
2367#include <stdlib.h> 2368#include <stdlib.h>
2368EOF 2369EOF
@@ -2383,7 +2384,7 @@ if test "$cross_compiling" = yes; then
2383 : 2384 :
2384else 2385else
2385 cat > conftest.$ac_ext <<EOF 2386 cat > conftest.$ac_ext <<EOF
2386#line 2387 "configure" 2387#line 2388 "configure"
2387#include "confdefs.h" 2388#include "confdefs.h"
2388#include <ctype.h> 2389#include <ctype.h>
2389#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2390#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2394,7 +2395,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2394exit (0); } 2395exit (0); }
2395 2396
2396EOF 2397EOF
2397if { (eval echo configure:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2398if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2398then 2399then
2399 : 2400 :
2400else 2401else
@@ -2418,12 +2419,12 @@ EOF
2418fi 2419fi
2419 2420
2420echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2421echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2421echo "configure:2422: checking whether time.h and sys/time.h may both be included" >&5 2422echo "configure:2423: checking whether time.h and sys/time.h may both be included" >&5
2422if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2423if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2423 echo $ac_n "(cached) $ac_c" 1>&6 2424 echo $ac_n "(cached) $ac_c" 1>&6
2424else 2425else
2425 cat > conftest.$ac_ext <<EOF 2426 cat > conftest.$ac_ext <<EOF
2426#line 2427 "configure" 2427#line 2428 "configure"
2427#include "confdefs.h" 2428#include "confdefs.h"
2428#include <sys/types.h> 2429#include <sys/types.h>
2429#include <sys/time.h> 2430#include <sys/time.h>
@@ -2432,7 +2433,7 @@ int main() {
2432struct tm *tp; 2433struct tm *tp;
2433; return 0; } 2434; return 0; }
2434EOF 2435EOF
2435if { (eval echo configure:2436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2436if { (eval echo configure:2437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2436 rm -rf conftest* 2437 rm -rf conftest*
2437 ac_cv_header_time=yes 2438 ac_cv_header_time=yes
2438else 2439else
@@ -2453,12 +2454,12 @@ EOF
2453fi 2454fi
2454 2455
2455echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2456echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2456echo "configure:2457: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2457echo "configure:2458: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2457if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2458if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2458 echo $ac_n "(cached) $ac_c" 1>&6 2459 echo $ac_n "(cached) $ac_c" 1>&6
2459else 2460else
2460 cat > conftest.$ac_ext <<EOF 2461 cat > conftest.$ac_ext <<EOF
2461#line 2462 "configure" 2462#line 2463 "configure"
2462#include "confdefs.h" 2463#include "confdefs.h"
2463#include <sys/types.h> 2464#include <sys/types.h>
2464#include <signal.h> 2465#include <signal.h>
@@ -2470,7 +2471,7 @@ int main() {
2470char *msg = *(sys_siglist + 1); 2471char *msg = *(sys_siglist + 1);
2471; return 0; } 2472; return 0; }
2472EOF 2473EOF
2473if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2474if { (eval echo configure:2475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2474 rm -rf conftest* 2475 rm -rf conftest*
2475 ac_cv_decl_sys_siglist=yes 2476 ac_cv_decl_sys_siglist=yes
2476else 2477else
@@ -2492,12 +2493,12 @@ fi
2492 2493
2493 2494
2494echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2495echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2495echo "configure:2496: checking for struct utimbuf" >&5 2496echo "configure:2497: checking for struct utimbuf" >&5
2496if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2497if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2497 echo $ac_n "(cached) $ac_c" 1>&6 2498 echo $ac_n "(cached) $ac_c" 1>&6
2498else 2499else
2499 cat > conftest.$ac_ext <<EOF 2500 cat > conftest.$ac_ext <<EOF
2500#line 2501 "configure" 2501#line 2502 "configure"
2501#include "confdefs.h" 2502#include "confdefs.h"
2502#ifdef TIME_WITH_SYS_TIME 2503#ifdef TIME_WITH_SYS_TIME
2503#include <sys/time.h> 2504#include <sys/time.h>
@@ -2516,7 +2517,7 @@ int main() {
2516static struct utimbuf x; x.actime = x.modtime; 2517static struct utimbuf x; x.actime = x.modtime;
2517; return 0; } 2518; return 0; }
2518EOF 2519EOF
2519if { (eval echo configure:2520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2520if { (eval echo configure:2521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2520 rm -rf conftest* 2521 rm -rf conftest*
2521 emacs_cv_struct_utimbuf=yes 2522 emacs_cv_struct_utimbuf=yes
2522else 2523else
@@ -2537,12 +2538,12 @@ EOF
2537fi 2538fi
2538 2539
2539echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2540echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2540echo "configure:2541: checking return type of signal handlers" >&5 2541echo "configure:2542: checking return type of signal handlers" >&5
2541if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2542if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2542 echo $ac_n "(cached) $ac_c" 1>&6 2543 echo $ac_n "(cached) $ac_c" 1>&6
2543else 2544else
2544 cat > conftest.$ac_ext <<EOF 2545 cat > conftest.$ac_ext <<EOF
2545#line 2546 "configure" 2546#line 2547 "configure"
2546#include "confdefs.h" 2547#include "confdefs.h"
2547#include <sys/types.h> 2548#include <sys/types.h>
2548#include <signal.h> 2549#include <signal.h>
@@ -2559,7 +2560,7 @@ int main() {
2559int i; 2560int i;
2560; return 0; } 2561; return 0; }
2561EOF 2562EOF
2562if { (eval echo configure:2563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2563if { (eval echo configure:2564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2563 rm -rf conftest* 2564 rm -rf conftest*
2564 ac_cv_type_signal=void 2565 ac_cv_type_signal=void
2565else 2566else
@@ -2579,12 +2580,12 @@ EOF
2579 2580
2580 2581
2581echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2582echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2582echo "configure:2583: checking for struct timeval" >&5 2583echo "configure:2584: checking for struct timeval" >&5
2583if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2584if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2584 echo $ac_n "(cached) $ac_c" 1>&6 2585 echo $ac_n "(cached) $ac_c" 1>&6
2585else 2586else
2586 cat > conftest.$ac_ext <<EOF 2587 cat > conftest.$ac_ext <<EOF
2587#line 2588 "configure" 2588#line 2589 "configure"
2588#include "confdefs.h" 2589#include "confdefs.h"
2589#ifdef TIME_WITH_SYS_TIME 2590#ifdef TIME_WITH_SYS_TIME
2590#include <sys/time.h> 2591#include <sys/time.h>
@@ -2600,7 +2601,7 @@ int main() {
2600static struct timeval x; x.tv_sec = x.tv_usec; 2601static struct timeval x; x.tv_sec = x.tv_usec;
2601; return 0; } 2602; return 0; }
2602EOF 2603EOF
2603if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2604if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2604 rm -rf conftest* 2605 rm -rf conftest*
2605 emacs_cv_struct_timeval=yes 2606 emacs_cv_struct_timeval=yes
2606else 2607else
@@ -2622,12 +2623,12 @@ EOF
2622fi 2623fi
2623 2624
2624echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2625echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2625echo "configure:2626: checking whether struct tm is in sys/time.h or time.h" >&5 2626echo "configure:2627: checking whether struct tm is in sys/time.h or time.h" >&5
2626if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2627if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2627 echo $ac_n "(cached) $ac_c" 1>&6 2628 echo $ac_n "(cached) $ac_c" 1>&6
2628else 2629else
2629 cat > conftest.$ac_ext <<EOF 2630 cat > conftest.$ac_ext <<EOF
2630#line 2631 "configure" 2631#line 2632 "configure"
2631#include "confdefs.h" 2632#include "confdefs.h"
2632#include <sys/types.h> 2633#include <sys/types.h>
2633#include <time.h> 2634#include <time.h>
@@ -2635,7 +2636,7 @@ int main() {
2635struct tm *tp; tp->tm_sec; 2636struct tm *tp; tp->tm_sec;
2636; return 0; } 2637; return 0; }
2637EOF 2638EOF
2638if { (eval echo configure:2639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2639if { (eval echo configure:2640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2639 rm -rf conftest* 2640 rm -rf conftest*
2640 ac_cv_struct_tm=time.h 2641 ac_cv_struct_tm=time.h
2641else 2642else
@@ -2656,12 +2657,12 @@ EOF
2656fi 2657fi
2657 2658
2658echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2659echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2659echo "configure:2660: checking for tm_zone in struct tm" >&5 2660echo "configure:2661: checking for tm_zone in struct tm" >&5
2660if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2661if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2661 echo $ac_n "(cached) $ac_c" 1>&6 2662 echo $ac_n "(cached) $ac_c" 1>&6
2662else 2663else
2663 cat > conftest.$ac_ext <<EOF 2664 cat > conftest.$ac_ext <<EOF
2664#line 2665 "configure" 2665#line 2666 "configure"
2665#include "confdefs.h" 2666#include "confdefs.h"
2666#include <sys/types.h> 2667#include <sys/types.h>
2667#include <$ac_cv_struct_tm> 2668#include <$ac_cv_struct_tm>
@@ -2669,7 +2670,7 @@ int main() {
2669struct tm tm; tm.tm_zone; 2670struct tm tm; tm.tm_zone;
2670; return 0; } 2671; return 0; }
2671EOF 2672EOF
2672if { (eval echo configure:2673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2673if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2673 rm -rf conftest* 2674 rm -rf conftest*
2674 ac_cv_struct_tm_zone=yes 2675 ac_cv_struct_tm_zone=yes
2675else 2676else
@@ -2689,12 +2690,12 @@ EOF
2689 2690
2690else 2691else
2691 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2692 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2692echo "configure:2693: checking for tzname" >&5 2693echo "configure:2694: checking for tzname" >&5
2693if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2694if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2694 echo $ac_n "(cached) $ac_c" 1>&6 2695 echo $ac_n "(cached) $ac_c" 1>&6
2695else 2696else
2696 cat > conftest.$ac_ext <<EOF 2697 cat > conftest.$ac_ext <<EOF
2697#line 2698 "configure" 2698#line 2699 "configure"
2698#include "confdefs.h" 2699#include "confdefs.h"
2699#include <time.h> 2700#include <time.h>
2700#ifndef tzname /* For SGI. */ 2701#ifndef tzname /* For SGI. */
@@ -2704,7 +2705,7 @@ int main() {
2704atoi(*tzname); 2705atoi(*tzname);
2705; return 0; } 2706; return 0; }
2706EOF 2707EOF
2707if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2708if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2708 rm -rf conftest* 2709 rm -rf conftest*
2709 ac_cv_var_tzname=yes 2710 ac_cv_var_tzname=yes
2710else 2711else
@@ -2726,19 +2727,19 @@ EOF
2726fi 2727fi
2727 2728
2728echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2729echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2729echo "configure:2730: checking for tm_gmtoff in struct tm" >&5 2730echo "configure:2731: checking for tm_gmtoff in struct tm" >&5
2730if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2731if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6 2732 echo $ac_n "(cached) $ac_c" 1>&6
2732else 2733else
2733 cat > conftest.$ac_ext <<EOF 2734 cat > conftest.$ac_ext <<EOF
2734#line 2735 "configure" 2735#line 2736 "configure"
2735#include "confdefs.h" 2736#include "confdefs.h"
2736#include <time.h> 2737#include <time.h>
2737int main() { 2738int main() {
2738struct tm t; t.tm_gmtoff = 0 2739struct tm t; t.tm_gmtoff = 0
2739; return 0; } 2740; return 0; }
2740EOF 2741EOF
2741if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2742if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2742 rm -rf conftest* 2743 rm -rf conftest*
2743 emacs_cv_tm_gmtoff=yes 2744 emacs_cv_tm_gmtoff=yes
2744else 2745else
@@ -2760,7 +2761,7 @@ fi
2760 2761
2761 2762
2762echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2763echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2763echo "configure:2764: checking for ${CC-cc} option to accept ANSI C" >&5 2764echo "configure:2765: checking for ${CC-cc} option to accept ANSI C" >&5
2764if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2765if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2765 echo $ac_n "(cached) $ac_c" 1>&6 2766 echo $ac_n "(cached) $ac_c" 1>&6
2766else 2767else
@@ -2777,7 +2778,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2777do 2778do
2778 CC="$ac_save_CC $ac_arg" 2779 CC="$ac_save_CC $ac_arg"
2779 cat > conftest.$ac_ext <<EOF 2780 cat > conftest.$ac_ext <<EOF
2780#line 2781 "configure" 2781#line 2782 "configure"
2781#include "confdefs.h" 2782#include "confdefs.h"
2782#include <stdarg.h> 2783#include <stdarg.h>
2783#include <stdio.h> 2784#include <stdio.h>
@@ -2811,7 +2812,7 @@ int main() {
2811return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2812return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2812; return 0; } 2813; return 0; }
2813EOF 2814EOF
2814if { (eval echo configure:2815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2815if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2815 rm -rf conftest* 2816 rm -rf conftest*
2816 ac_cv_prog_cc_stdc="$ac_arg"; break 2817 ac_cv_prog_cc_stdc="$ac_arg"; break
2817else 2818else
@@ -2833,7 +2834,7 @@ case "x$ac_cv_prog_cc_stdc" in
2833esac 2834esac
2834 2835
2835echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 2836echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2836echo "configure:2837: checking for function prototypes" >&5 2837echo "configure:2838: checking for function prototypes" >&5
2837if test "$ac_cv_prog_cc_stdc" != no; then 2838if test "$ac_cv_prog_cc_stdc" != no; then
2838 echo "$ac_t""yes" 1>&6 2839 echo "$ac_t""yes" 1>&6
2839 cat >> confdefs.h <<\EOF 2840 cat >> confdefs.h <<\EOF
@@ -2845,12 +2846,12 @@ else
2845fi 2846fi
2846 2847
2847echo $ac_n "checking for working volatile""... $ac_c" 1>&6 2848echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2848echo "configure:2849: checking for working volatile" >&5 2849echo "configure:2850: checking for working volatile" >&5
2849if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 2850if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2850 echo $ac_n "(cached) $ac_c" 1>&6 2851 echo $ac_n "(cached) $ac_c" 1>&6
2851else 2852else
2852 cat > conftest.$ac_ext <<EOF 2853 cat > conftest.$ac_ext <<EOF
2853#line 2854 "configure" 2854#line 2855 "configure"
2854#include "confdefs.h" 2855#include "confdefs.h"
2855 2856
2856int main() { 2857int main() {
@@ -2859,7 +2860,7 @@ volatile int x;
2859int * volatile y; 2860int * volatile y;
2860; return 0; } 2861; return 0; }
2861EOF 2862EOF
2862if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2863if { (eval echo configure:2864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2863 rm -rf conftest* 2864 rm -rf conftest*
2864 ac_cv_c_volatile=yes 2865 ac_cv_c_volatile=yes
2865else 2866else
@@ -2880,18 +2881,18 @@ EOF
2880fi 2881fi
2881 2882
2882echo $ac_n "checking for working const""... $ac_c" 1>&6 2883echo $ac_n "checking for working const""... $ac_c" 1>&6
2883echo "configure:2884: checking for working const" >&5 2884echo "configure:2885: checking for working const" >&5
2884if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2885if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2885 echo $ac_n "(cached) $ac_c" 1>&6 2886 echo $ac_n "(cached) $ac_c" 1>&6
2886else 2887else
2887 cat > conftest.$ac_ext <<EOF 2888 cat > conftest.$ac_ext <<EOF
2888#line 2889 "configure" 2889#line 2890 "configure"
2889#include "confdefs.h" 2890#include "confdefs.h"
2890 2891
2891int main() { 2892int main() {
2892 2893
2893/* Ultrix mips cc rejects this. */ 2894/* Ultrix mips cc rejects this. */
2894typedef int charset[2]; const charset x = {0,0}; 2895typedef int charset[2]; const charset x;
2895/* SunOS 4.1.1 cc rejects this. */ 2896/* SunOS 4.1.1 cc rejects this. */
2896char const *const *ccp; 2897char const *const *ccp;
2897char **p; 2898char **p;
@@ -2934,7 +2935,7 @@ ccp = (char const *const *) p;
2934 2935
2935; return 0; } 2936; return 0; }
2936EOF 2937EOF
2937if { (eval echo configure:2938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2938if { (eval echo configure:2939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2938 rm -rf conftest* 2939 rm -rf conftest*
2939 ac_cv_c_const=yes 2940 ac_cv_c_const=yes
2940else 2941else
@@ -2955,19 +2956,19 @@ EOF
2955fi 2956fi
2956 2957
2957echo $ac_n "checking for void * support""... $ac_c" 1>&6 2958echo $ac_n "checking for void * support""... $ac_c" 1>&6
2958echo "configure:2959: checking for void * support" >&5 2959echo "configure:2960: checking for void * support" >&5
2959if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 2960if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
2960 echo $ac_n "(cached) $ac_c" 1>&6 2961 echo $ac_n "(cached) $ac_c" 1>&6
2961else 2962else
2962 cat > conftest.$ac_ext <<EOF 2963 cat > conftest.$ac_ext <<EOF
2963#line 2964 "configure" 2964#line 2965 "configure"
2964#include "confdefs.h" 2965#include "confdefs.h"
2965 2966
2966int main() { 2967int main() {
2967void * foo; 2968void * foo;
2968; return 0; } 2969; return 0; }
2969EOF 2970EOF
2970if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2971if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2971 rm -rf conftest* 2972 rm -rf conftest*
2972 emacs_cv_void_star=yes 2973 emacs_cv_void_star=yes
2973else 2974else
@@ -2993,7 +2994,7 @@ EOF
2993fi 2994fi
2994 2995
2995echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2996echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2996echo "configure:2997: checking whether ${MAKE-make} sets \${MAKE}" >&5 2997echo "configure:2998: checking whether ${MAKE-make} sets \${MAKE}" >&5
2997set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2998set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2998if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2999if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2999 echo $ac_n "(cached) $ac_c" 1>&6 3000 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3021,7 +3022,7 @@ fi
3021 3022
3022 3023
3023echo $ac_n "checking for long file names""... $ac_c" 1>&6 3024echo $ac_n "checking for long file names""... $ac_c" 1>&6
3024echo "configure:3025: checking for long file names" >&5 3025echo "configure:3026: checking for long file names" >&5
3025if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3026if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3026 echo $ac_n "(cached) $ac_c" 1>&6 3027 echo $ac_n "(cached) $ac_c" 1>&6
3027else 3028else
@@ -3072,7 +3073,7 @@ fi
3072# Uses ac_ vars as temps to allow command line to override cache and checks. 3073# Uses ac_ vars as temps to allow command line to override cache and checks.
3073# --without-x overrides everything else, but does not touch the cache. 3074# --without-x overrides everything else, but does not touch the cache.
3074echo $ac_n "checking for X""... $ac_c" 1>&6 3075echo $ac_n "checking for X""... $ac_c" 1>&6
3075echo "configure:3076: checking for X" >&5 3076echo "configure:3077: checking for X" >&5
3076 3077
3077# Check whether --with-x or --without-x was given. 3078# Check whether --with-x or --without-x was given.
3078if test "${with_x+set}" = set; then 3079if test "${with_x+set}" = set; then
@@ -3134,12 +3135,12 @@ if test "$ac_x_includes" = NO; then
3134 3135
3135 # First, try using that file with no special directory specified. 3136 # First, try using that file with no special directory specified.
3136cat > conftest.$ac_ext <<EOF 3137cat > conftest.$ac_ext <<EOF
3137#line 3138 "configure" 3138#line 3139 "configure"
3138#include "confdefs.h" 3139#include "confdefs.h"
3139#include <$x_direct_test_include> 3140#include <$x_direct_test_include>
3140EOF 3141EOF
3141ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3142ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3142{ (eval echo configure:3143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3143{ (eval echo configure:3144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3143ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3144ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3144if test -z "$ac_err"; then 3145if test -z "$ac_err"; then
3145 rm -rf conftest* 3146 rm -rf conftest*
@@ -3208,14 +3209,14 @@ if test "$ac_x_libraries" = NO; then
3208 ac_save_LIBS="$LIBS" 3209 ac_save_LIBS="$LIBS"
3209 LIBS="-l$x_direct_test_library $LIBS" 3210 LIBS="-l$x_direct_test_library $LIBS"
3210cat > conftest.$ac_ext <<EOF 3211cat > conftest.$ac_ext <<EOF
3211#line 3212 "configure" 3212#line 3213 "configure"
3212#include "confdefs.h" 3213#include "confdefs.h"
3213 3214
3214int main() { 3215int main() {
3215${x_direct_test_function}() 3216${x_direct_test_function}()
3216; return 0; } 3217; return 0; }
3217EOF 3218EOF
3218if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3219if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3219 rm -rf conftest* 3220 rm -rf conftest*
3220 LIBS="$ac_save_LIBS" 3221 LIBS="$ac_save_LIBS"
3221# We can link X programs with no special library path. 3222# We can link X programs with no special library path.
@@ -3390,7 +3391,7 @@ fi
3390echo "checking the machine- and system-dependent files to find out 3391echo "checking the machine- and system-dependent files to find out
3391 - which libraries the lib-src programs will want, and 3392 - which libraries the lib-src programs will want, and
3392 - whether the GNU malloc routines are usable" 1>&6 3393 - whether the GNU malloc routines are usable" 1>&6
3393echo "configure:3394: checking the machine- and system-dependent files to find out 3394echo "configure:3395: checking the machine- and system-dependent files to find out
3394 - which libraries the lib-src programs will want, and 3395 - which libraries the lib-src programs will want, and
3395 - whether the GNU malloc routines are usable" >&5 3396 - whether the GNU malloc routines are usable" >&5
3396 3397
@@ -3524,12 +3525,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3524GNU_MALLOC=yes 3525GNU_MALLOC=yes
3525doug_lea_malloc=yes 3526doug_lea_malloc=yes
3526echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3527echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3527echo "configure:3528: checking for malloc_get_state" >&5 3528echo "configure:3529: checking for malloc_get_state" >&5
3528if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3529if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3529 echo $ac_n "(cached) $ac_c" 1>&6 3530 echo $ac_n "(cached) $ac_c" 1>&6
3530else 3531else
3531 cat > conftest.$ac_ext <<EOF 3532 cat > conftest.$ac_ext <<EOF
3532#line 3533 "configure" 3533#line 3534 "configure"
3533#include "confdefs.h" 3534#include "confdefs.h"
3534/* System header to define __stub macros and hopefully few prototypes, 3535/* System header to define __stub macros and hopefully few prototypes,
3535 which can conflict with char malloc_get_state(); below. */ 3536 which can conflict with char malloc_get_state(); below. */
@@ -3552,7 +3553,7 @@ malloc_get_state();
3552 3553
3553; return 0; } 3554; return 0; }
3554EOF 3555EOF
3555if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3556if { (eval echo configure:3557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3556 rm -rf conftest* 3557 rm -rf conftest*
3557 eval "ac_cv_func_malloc_get_state=yes" 3558 eval "ac_cv_func_malloc_get_state=yes"
3558else 3559else
@@ -3573,12 +3574,12 @@ doug_lea_malloc=no
3573fi 3574fi
3574 3575
3575echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3576echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3576echo "configure:3577: checking for malloc_set_state" >&5 3577echo "configure:3578: checking for malloc_set_state" >&5
3577if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3578if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3578 echo $ac_n "(cached) $ac_c" 1>&6 3579 echo $ac_n "(cached) $ac_c" 1>&6
3579else 3580else
3580 cat > conftest.$ac_ext <<EOF 3581 cat > conftest.$ac_ext <<EOF
3581#line 3582 "configure" 3582#line 3583 "configure"
3582#include "confdefs.h" 3583#include "confdefs.h"
3583/* System header to define __stub macros and hopefully few prototypes, 3584/* System header to define __stub macros and hopefully few prototypes,
3584 which can conflict with char malloc_set_state(); below. */ 3585 which can conflict with char malloc_set_state(); below. */
@@ -3601,7 +3602,7 @@ malloc_set_state();
3601 3602
3602; return 0; } 3603; return 0; }
3603EOF 3604EOF
3604if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3605if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3605 rm -rf conftest* 3606 rm -rf conftest*
3606 eval "ac_cv_func_malloc_set_state=yes" 3607 eval "ac_cv_func_malloc_set_state=yes"
3607else 3608else
@@ -3622,19 +3623,19 @@ doug_lea_malloc=no
3622fi 3623fi
3623 3624
3624echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3625echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3625echo "configure:3626: checking whether __after_morecore_hook exists" >&5 3626echo "configure:3627: checking whether __after_morecore_hook exists" >&5
3626if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3627if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3627 echo $ac_n "(cached) $ac_c" 1>&6 3628 echo $ac_n "(cached) $ac_c" 1>&6
3628else 3629else
3629 cat > conftest.$ac_ext <<EOF 3630 cat > conftest.$ac_ext <<EOF
3630#line 3631 "configure" 3631#line 3632 "configure"
3631#include "confdefs.h" 3632#include "confdefs.h"
3632extern void (* __after_morecore_hook)(); 3633extern void (* __after_morecore_hook)();
3633int main() { 3634int main() {
3634__after_morecore_hook = 0 3635__after_morecore_hook = 0
3635; return 0; } 3636; return 0; }
3636EOF 3637EOF
3637if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3638if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3638 rm -rf conftest* 3639 rm -rf conftest*
3639 emacs_cv_var___after_morecore_hook=yes 3640 emacs_cv_var___after_morecore_hook=yes
3640else 3641else
@@ -3681,7 +3682,7 @@ fi
3681LIBS="$libsrc_libs $LIBS" 3682LIBS="$libsrc_libs $LIBS"
3682 3683
3683echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3684echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3684echo "configure:3685: checking for dnet_ntoa in -ldnet" >&5 3685echo "configure:3686: checking for dnet_ntoa in -ldnet" >&5
3685ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3686ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3686if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3687if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3687 echo $ac_n "(cached) $ac_c" 1>&6 3688 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3689,7 +3690,7 @@ else
3689 ac_save_LIBS="$LIBS" 3690 ac_save_LIBS="$LIBS"
3690LIBS="-ldnet $LIBS" 3691LIBS="-ldnet $LIBS"
3691cat > conftest.$ac_ext <<EOF 3692cat > conftest.$ac_ext <<EOF
3692#line 3693 "configure" 3693#line 3694 "configure"
3693#include "confdefs.h" 3694#include "confdefs.h"
3694/* Override any gcc2 internal prototype to avoid an error. */ 3695/* Override any gcc2 internal prototype to avoid an error. */
3695/* We use char because int might match the return type of a gcc2 3696/* We use char because int might match the return type of a gcc2
@@ -3700,7 +3701,7 @@ int main() {
3700dnet_ntoa() 3701dnet_ntoa()
3701; return 0; } 3702; return 0; }
3702EOF 3703EOF
3703if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3704if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3704 rm -rf conftest* 3705 rm -rf conftest*
3705 eval "ac_cv_lib_$ac_lib_var=yes" 3706 eval "ac_cv_lib_$ac_lib_var=yes"
3706else 3707else
@@ -3729,7 +3730,7 @@ fi
3729 3730
3730 3731
3731echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3732echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3732echo "configure:3733: checking for main in -lXbsd" >&5 3733echo "configure:3734: checking for main in -lXbsd" >&5
3733ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3734ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3734if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3735if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3735 echo $ac_n "(cached) $ac_c" 1>&6 3736 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3737,14 +3738,14 @@ else
3737 ac_save_LIBS="$LIBS" 3738 ac_save_LIBS="$LIBS"
3738LIBS="-lXbsd $LIBS" 3739LIBS="-lXbsd $LIBS"
3739cat > conftest.$ac_ext <<EOF 3740cat > conftest.$ac_ext <<EOF
3740#line 3741 "configure" 3741#line 3742 "configure"
3741#include "confdefs.h" 3742#include "confdefs.h"
3742 3743
3743int main() { 3744int main() {
3744main() 3745main()
3745; return 0; } 3746; return 0; }
3746EOF 3747EOF
3747if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3748if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3748 rm -rf conftest* 3749 rm -rf conftest*
3749 eval "ac_cv_lib_$ac_lib_var=yes" 3750 eval "ac_cv_lib_$ac_lib_var=yes"
3750else 3751else
@@ -3766,7 +3767,7 @@ fi
3766 3767
3767 3768
3768echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3769echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3769echo "configure:3770: checking for cma_open in -lpthreads" >&5 3770echo "configure:3771: checking for cma_open in -lpthreads" >&5
3770ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3771ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3771if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3772if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3772 echo $ac_n "(cached) $ac_c" 1>&6 3773 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3774,7 +3775,7 @@ else
3774 ac_save_LIBS="$LIBS" 3775 ac_save_LIBS="$LIBS"
3775LIBS="-lpthreads $LIBS" 3776LIBS="-lpthreads $LIBS"
3776cat > conftest.$ac_ext <<EOF 3777cat > conftest.$ac_ext <<EOF
3777#line 3778 "configure" 3778#line 3779 "configure"
3778#include "confdefs.h" 3779#include "confdefs.h"
3779/* Override any gcc2 internal prototype to avoid an error. */ 3780/* Override any gcc2 internal prototype to avoid an error. */
3780/* We use char because int might match the return type of a gcc2 3781/* We use char because int might match the return type of a gcc2
@@ -3785,7 +3786,7 @@ int main() {
3785cma_open() 3786cma_open()
3786; return 0; } 3787; return 0; }
3787EOF 3788EOF
3788if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3789if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3789 rm -rf conftest* 3790 rm -rf conftest*
3790 eval "ac_cv_lib_$ac_lib_var=yes" 3791 eval "ac_cv_lib_$ac_lib_var=yes"
3791else 3792else
@@ -3814,7 +3815,7 @@ fi
3814 3815
3815 3816
3816echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3817echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3817echo "configure:3818: checking for XFree86 in /usr/X386" >&5 3818echo "configure:3819: checking for XFree86 in /usr/X386" >&5
3818if test -d /usr/X386/include; then 3819if test -d /usr/X386/include; then
3819 HAVE_XFREE386=yes 3820 HAVE_XFREE386=yes
3820 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3821 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3843,16 +3844,16 @@ if test "${HAVE_X11}" = "yes"; then
3843 3844
3844 if test "${opsys}" = "gnu-linux"; then 3845 if test "${opsys}" = "gnu-linux"; then
3845 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3846 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3846echo "configure:3847: checking whether X on GNU/Linux needs -b to link" >&5 3847echo "configure:3848: checking whether X on GNU/Linux needs -b to link" >&5
3847 cat > conftest.$ac_ext <<EOF 3848 cat > conftest.$ac_ext <<EOF
3848#line 3849 "configure" 3849#line 3850 "configure"
3849#include "confdefs.h" 3850#include "confdefs.h"
3850 3851
3851int main() { 3852int main() {
3852XOpenDisplay ("foo"); 3853XOpenDisplay ("foo");
3853; return 0; } 3854; return 0; }
3854EOF 3855EOF
3855if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3856if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3856 rm -rf conftest* 3857 rm -rf conftest*
3857 xlinux_first_failure=no 3858 xlinux_first_failure=no
3858else 3859else
@@ -3872,14 +3873,14 @@ rm -f conftest*
3872 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3873 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3873 LIBS="$LIBS -b i486-linuxaout" 3874 LIBS="$LIBS -b i486-linuxaout"
3874 cat > conftest.$ac_ext <<EOF 3875 cat > conftest.$ac_ext <<EOF
3875#line 3876 "configure" 3876#line 3877 "configure"
3876#include "confdefs.h" 3877#include "confdefs.h"
3877 3878
3878int main() { 3879int main() {
3879XOpenDisplay ("foo"); 3880XOpenDisplay ("foo");
3880; return 0; } 3881; return 0; }
3881EOF 3882EOF
3882if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3883if { (eval echo configure:3884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3883 rm -rf conftest* 3884 rm -rf conftest*
3884 xlinux_second_failure=no 3885 xlinux_second_failure=no
3885else 3886else
@@ -3909,12 +3910,12 @@ rm -f conftest*
3909XScreenNumberOfScreen XSetWMProtocols 3910XScreenNumberOfScreen XSetWMProtocols
3910do 3911do
3911echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3912echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3912echo "configure:3913: checking for $ac_func" >&5 3913echo "configure:3914: checking for $ac_func" >&5
3913if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3914if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3914 echo $ac_n "(cached) $ac_c" 1>&6 3915 echo $ac_n "(cached) $ac_c" 1>&6
3915else 3916else
3916 cat > conftest.$ac_ext <<EOF 3917 cat > conftest.$ac_ext <<EOF
3917#line 3918 "configure" 3918#line 3919 "configure"
3918#include "confdefs.h" 3919#include "confdefs.h"
3919/* System header to define __stub macros and hopefully few prototypes, 3920/* System header to define __stub macros and hopefully few prototypes,
3920 which can conflict with char $ac_func(); below. */ 3921 which can conflict with char $ac_func(); below. */
@@ -3937,7 +3938,7 @@ $ac_func();
3937 3938
3938; return 0; } 3939; return 0; }
3939EOF 3940EOF
3940if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3941if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3941 rm -rf conftest* 3942 rm -rf conftest*
3942 eval "ac_cv_func_$ac_func=yes" 3943 eval "ac_cv_func_$ac_func=yes"
3943else 3944else
@@ -3965,12 +3966,12 @@ fi
3965 3966
3966if test "${window_system}" = "x11"; then 3967if test "${window_system}" = "x11"; then
3967 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3968 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3968echo "configure:3969: checking X11 version 6" >&5 3969echo "configure:3970: checking X11 version 6" >&5
3969 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3970 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3970 echo $ac_n "(cached) $ac_c" 1>&6 3971 echo $ac_n "(cached) $ac_c" 1>&6
3971else 3972else
3972 cat > conftest.$ac_ext <<EOF 3973 cat > conftest.$ac_ext <<EOF
3973#line 3974 "configure" 3974#line 3975 "configure"
3974#include "confdefs.h" 3975#include "confdefs.h"
3975#include <X11/Xlib.h> 3976#include <X11/Xlib.h>
3976int main() { 3977int main() {
@@ -3980,7 +3981,7 @@ fail;
3980 3981
3981; return 0; } 3982; return 0; }
3982EOF 3983EOF
3983if { (eval echo configure:3984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3984if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3984 rm -rf conftest* 3985 rm -rf conftest*
3985 emacs_cv_x11_version_6=yes 3986 emacs_cv_x11_version_6=yes
3986else 3987else
@@ -4005,12 +4006,12 @@ fi
4005 4006
4006if test "${window_system}" = "x11"; then 4007if test "${window_system}" = "x11"; then
4007 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4008 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4008echo "configure:4009: checking X11 version 5" >&5 4009echo "configure:4010: checking X11 version 5" >&5
4009 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4010 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4010 echo $ac_n "(cached) $ac_c" 1>&6 4011 echo $ac_n "(cached) $ac_c" 1>&6
4011else 4012else
4012 cat > conftest.$ac_ext <<EOF 4013 cat > conftest.$ac_ext <<EOF
4013#line 4014 "configure" 4014#line 4015 "configure"
4014#include "confdefs.h" 4015#include "confdefs.h"
4015#include <X11/Xlib.h> 4016#include <X11/Xlib.h>
4016int main() { 4017int main() {
@@ -4020,7 +4021,7 @@ fail;
4020 4021
4021; return 0; } 4022; return 0; }
4022EOF 4023EOF
4023if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4024if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4024 rm -rf conftest* 4025 rm -rf conftest*
4025 emacs_cv_x11_version_5=yes 4026 emacs_cv_x11_version_5=yes
4026else 4027else
@@ -4048,12 +4049,12 @@ fi
4048if test x"${USE_X_TOOLKIT}" = xmaybe; then 4049if test x"${USE_X_TOOLKIT}" = xmaybe; then
4049 if test x"${HAVE_X11R5}" = xyes; then 4050 if test x"${HAVE_X11R5}" = xyes; then
4050 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4051 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4051echo "configure:4052: checking X11 version 5 with Xaw" >&5 4052echo "configure:4053: checking X11 version 5 with Xaw" >&5
4052 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4053 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4053 echo $ac_n "(cached) $ac_c" 1>&6 4054 echo $ac_n "(cached) $ac_c" 1>&6
4054else 4055else
4055 cat > conftest.$ac_ext <<EOF 4056 cat > conftest.$ac_ext <<EOF
4056#line 4057 "configure" 4057#line 4058 "configure"
4057#include "confdefs.h" 4058#include "confdefs.h"
4058 4059
4059#include <X11/Intrinsic.h> 4060#include <X11/Intrinsic.h>
@@ -4062,7 +4063,7 @@ int main() {
4062 4063
4063; return 0; } 4064; return 0; }
4064EOF 4065EOF
4065if { (eval echo configure:4066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4066if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4066 rm -rf conftest* 4067 rm -rf conftest*
4067 emacs_cv_x11_version_5_with_xaw=yes 4068 emacs_cv_x11_version_5_with_xaw=yes
4068else 4069else
@@ -4090,12 +4091,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4090 4091
4091if test "${USE_X_TOOLKIT}" != "none"; then 4092if test "${USE_X_TOOLKIT}" != "none"; then
4092 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4093 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4093echo "configure:4094: checking X11 toolkit version" >&5 4094echo "configure:4095: checking X11 toolkit version" >&5
4094 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4095 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4095 echo $ac_n "(cached) $ac_c" 1>&6 4096 echo $ac_n "(cached) $ac_c" 1>&6
4096else 4097else
4097 cat > conftest.$ac_ext <<EOF 4098 cat > conftest.$ac_ext <<EOF
4098#line 4099 "configure" 4099#line 4100 "configure"
4099#include "confdefs.h" 4100#include "confdefs.h"
4100#include <X11/Intrinsic.h> 4101#include <X11/Intrinsic.h>
4101int main() { 4102int main() {
@@ -4105,7 +4106,7 @@ fail;
4105 4106
4106; return 0; } 4107; return 0; }
4107EOF 4108EOF
4108if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4109if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4109 rm -rf conftest* 4110 rm -rf conftest*
4110 emacs_cv_x11_toolkit_version_6=yes 4111 emacs_cv_x11_toolkit_version_6=yes
4111else 4112else
@@ -4135,7 +4136,7 @@ EOF
4135 LIBS="-lXt $LIBS" 4136 LIBS="-lXt $LIBS"
4136 fi 4137 fi
4137 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4138 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4138echo "configure:4139: checking for XmuConvertStandardSelection in -lXmu" >&5 4139echo "configure:4140: checking for XmuConvertStandardSelection in -lXmu" >&5
4139ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4140ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4140if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4141if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4141 echo $ac_n "(cached) $ac_c" 1>&6 4142 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4143,7 +4144,7 @@ else
4143 ac_save_LIBS="$LIBS" 4144 ac_save_LIBS="$LIBS"
4144LIBS="-lXmu $LIBS" 4145LIBS="-lXmu $LIBS"
4145cat > conftest.$ac_ext <<EOF 4146cat > conftest.$ac_ext <<EOF
4146#line 4147 "configure" 4147#line 4148 "configure"
4147#include "confdefs.h" 4148#include "confdefs.h"
4148/* Override any gcc2 internal prototype to avoid an error. */ 4149/* Override any gcc2 internal prototype to avoid an error. */
4149/* We use char because int might match the return type of a gcc2 4150/* We use char because int might match the return type of a gcc2
@@ -4154,7 +4155,7 @@ int main() {
4154XmuConvertStandardSelection() 4155XmuConvertStandardSelection()
4155; return 0; } 4156; return 0; }
4156EOF 4157EOF
4157if { (eval echo configure:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4158if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4158 rm -rf conftest* 4159 rm -rf conftest*
4159 eval "ac_cv_lib_$ac_lib_var=yes" 4160 eval "ac_cv_lib_$ac_lib_var=yes"
4160else 4161else
@@ -4186,12 +4187,12 @@ fi
4186 4187
4187if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4188if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4188 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4189 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4189echo "configure:4190: checking for Motif version 2.1" >&5 4190echo "configure:4191: checking for Motif version 2.1" >&5
4190if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4191if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4191 echo $ac_n "(cached) $ac_c" 1>&6 4192 echo $ac_n "(cached) $ac_c" 1>&6
4192else 4193else
4193 cat > conftest.$ac_ext <<EOF 4194 cat > conftest.$ac_ext <<EOF
4194#line 4195 "configure" 4195#line 4196 "configure"
4195#include "confdefs.h" 4196#include "confdefs.h"
4196#include <Xm/Xm.h> 4197#include <Xm/Xm.h>
4197int main() { 4198int main() {
@@ -4202,7 +4203,7 @@ Motif version prior to 2.1.
4202#endif 4203#endif
4203; return 0; } 4204; return 0; }
4204EOF 4205EOF
4205if { (eval echo configure:4206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4206if { (eval echo configure:4207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4206 rm -rf conftest* 4207 rm -rf conftest*
4207 emacs_cv_motif_version_2_1=yes 4208 emacs_cv_motif_version_2_1=yes
4208else 4209else
@@ -4222,7 +4223,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4222EOF 4223EOF
4223 4224
4224 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4225 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4225echo "configure:4226: checking for XpCreateContext in -lXp" >&5 4226echo "configure:4227: checking for XpCreateContext in -lXp" >&5
4226ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4227ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4228if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4228 echo $ac_n "(cached) $ac_c" 1>&6 4229 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4230,7 +4231,7 @@ else
4230 ac_save_LIBS="$LIBS" 4231 ac_save_LIBS="$LIBS"
4231LIBS="-lXp $LIBS" 4232LIBS="-lXp $LIBS"
4232cat > conftest.$ac_ext <<EOF 4233cat > conftest.$ac_ext <<EOF
4233#line 4234 "configure" 4234#line 4235 "configure"
4234#include "confdefs.h" 4235#include "confdefs.h"
4235/* Override any gcc2 internal prototype to avoid an error. */ 4236/* Override any gcc2 internal prototype to avoid an error. */
4236/* We use char because int might match the return type of a gcc2 4237/* We use char because int might match the return type of a gcc2
@@ -4241,7 +4242,7 @@ int main() {
4241XpCreateContext() 4242XpCreateContext()
4242; return 0; } 4243; return 0; }
4243EOF 4244EOF
4244if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4245if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4245 rm -rf conftest* 4246 rm -rf conftest*
4246 eval "ac_cv_lib_$ac_lib_var=yes" 4247 eval "ac_cv_lib_$ac_lib_var=yes"
4247else 4248else
@@ -4279,17 +4280,17 @@ if test "${HAVE_X11}" = "yes"; then
4279 CFLAGS="${LD_SWITCH_X_SITE}" 4280 CFLAGS="${LD_SWITCH_X_SITE}"
4280 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4281 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4281echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4282echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4282echo "configure:4283: checking for X11/Xaw3d/Scrollbar.h" >&5 4283echo "configure:4284: checking for X11/Xaw3d/Scrollbar.h" >&5
4283if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4284if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4284 echo $ac_n "(cached) $ac_c" 1>&6 4285 echo $ac_n "(cached) $ac_c" 1>&6
4285else 4286else
4286 cat > conftest.$ac_ext <<EOF 4287 cat > conftest.$ac_ext <<EOF
4287#line 4288 "configure" 4288#line 4289 "configure"
4288#include "confdefs.h" 4289#include "confdefs.h"
4289#include <X11/Xaw3d/Scrollbar.h> 4290#include <X11/Xaw3d/Scrollbar.h>
4290EOF 4291EOF
4291ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4292ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4292{ (eval echo configure:4293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4293{ (eval echo configure:4294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4293ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4294ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4294if test -z "$ac_err"; then 4295if test -z "$ac_err"; then
4295 rm -rf conftest* 4296 rm -rf conftest*
@@ -4306,7 +4307,7 @@ fi
4306if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4307if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4307 echo "$ac_t""yes" 1>&6 4308 echo "$ac_t""yes" 1>&6
4308 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4309 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4309echo "configure:4310: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4310echo "configure:4311: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4310ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4311ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4311if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4312if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4312 echo $ac_n "(cached) $ac_c" 1>&6 4313 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4314,7 +4315,7 @@ else
4314 ac_save_LIBS="$LIBS" 4315 ac_save_LIBS="$LIBS"
4315LIBS="-lXaw3d -lX11 $LIBS" 4316LIBS="-lXaw3d -lX11 $LIBS"
4316cat > conftest.$ac_ext <<EOF 4317cat > conftest.$ac_ext <<EOF
4317#line 4318 "configure" 4318#line 4319 "configure"
4318#include "confdefs.h" 4319#include "confdefs.h"
4319/* Override any gcc2 internal prototype to avoid an error. */ 4320/* Override any gcc2 internal prototype to avoid an error. */
4320/* We use char because int might match the return type of a gcc2 4321/* We use char because int might match the return type of a gcc2
@@ -4325,7 +4326,7 @@ int main() {
4325XawScrollbarSetThumb() 4326XawScrollbarSetThumb()
4326; return 0; } 4327; return 0; }
4327EOF 4328EOF
4328if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4329if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4329 rm -rf conftest* 4330 rm -rf conftest*
4330 eval "ac_cv_lib_$ac_lib_var=yes" 4331 eval "ac_cv_lib_$ac_lib_var=yes"
4331else 4332else
@@ -4389,17 +4390,17 @@ if test "${HAVE_X11}" = "yes"; then
4389 CFLAGS="${LD_SWITCH_X_SITE}" 4390 CFLAGS="${LD_SWITCH_X_SITE}"
4390 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4391 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4391echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4392echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4392echo "configure:4393: checking for X11/xpm.h" >&5 4393echo "configure:4394: checking for X11/xpm.h" >&5
4393if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4394if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4394 echo $ac_n "(cached) $ac_c" 1>&6 4395 echo $ac_n "(cached) $ac_c" 1>&6
4395else 4396else
4396 cat > conftest.$ac_ext <<EOF 4397 cat > conftest.$ac_ext <<EOF
4397#line 4398 "configure" 4398#line 4399 "configure"
4398#include "confdefs.h" 4399#include "confdefs.h"
4399#include <X11/xpm.h> 4400#include <X11/xpm.h>
4400EOF 4401EOF
4401ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4402ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4402{ (eval echo configure:4403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4403{ (eval echo configure:4404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4403ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4404ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4404if test -z "$ac_err"; then 4405if test -z "$ac_err"; then
4405 rm -rf conftest* 4406 rm -rf conftest*
@@ -4416,7 +4417,7 @@ fi
4416if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4417if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4417 echo "$ac_t""yes" 1>&6 4418 echo "$ac_t""yes" 1>&6
4418 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4419 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4419echo "configure:4420: checking for XpmReadFileToPixmap in -lXpm" >&5 4420echo "configure:4421: checking for XpmReadFileToPixmap in -lXpm" >&5
4420ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4421ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4421if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4422if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4422 echo $ac_n "(cached) $ac_c" 1>&6 4423 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4424,7 +4425,7 @@ else
4424 ac_save_LIBS="$LIBS" 4425 ac_save_LIBS="$LIBS"
4425LIBS="-lXpm -lX11 $LIBS" 4426LIBS="-lXpm -lX11 $LIBS"
4426cat > conftest.$ac_ext <<EOF 4427cat > conftest.$ac_ext <<EOF
4427#line 4428 "configure" 4428#line 4429 "configure"
4428#include "confdefs.h" 4429#include "confdefs.h"
4429/* Override any gcc2 internal prototype to avoid an error. */ 4430/* Override any gcc2 internal prototype to avoid an error. */
4430/* We use char because int might match the return type of a gcc2 4431/* We use char because int might match the return type of a gcc2
@@ -4435,7 +4436,7 @@ int main() {
4435XpmReadFileToPixmap() 4436XpmReadFileToPixmap()
4436; return 0; } 4437; return 0; }
4437EOF 4438EOF
4438if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4439if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4439 rm -rf conftest* 4440 rm -rf conftest*
4440 eval "ac_cv_lib_$ac_lib_var=yes" 4441 eval "ac_cv_lib_$ac_lib_var=yes"
4441else 4442else
@@ -4478,17 +4479,17 @@ if test "${HAVE_X11}" = "yes"; then
4478 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4479 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4479 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4480 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4480echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4481echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4481echo "configure:4482: checking for jerror.h" >&5 4482echo "configure:4483: checking for jerror.h" >&5
4482if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4483if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4483 echo $ac_n "(cached) $ac_c" 1>&6 4484 echo $ac_n "(cached) $ac_c" 1>&6
4484else 4485else
4485 cat > conftest.$ac_ext <<EOF 4486 cat > conftest.$ac_ext <<EOF
4486#line 4487 "configure" 4487#line 4488 "configure"
4487#include "confdefs.h" 4488#include "confdefs.h"
4488#include <jerror.h> 4489#include <jerror.h>
4489EOF 4490EOF
4490ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4491ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4491{ (eval echo configure:4492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4492{ (eval echo configure:4493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4492ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4493ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4493if test -z "$ac_err"; then 4494if test -z "$ac_err"; then
4494 rm -rf conftest* 4495 rm -rf conftest*
@@ -4505,7 +4506,7 @@ fi
4505if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4506if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4506 echo "$ac_t""yes" 1>&6 4507 echo "$ac_t""yes" 1>&6
4507 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4508 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4508echo "configure:4509: checking for jpeg_destroy_compress in -ljpeg" >&5 4509echo "configure:4510: checking for jpeg_destroy_compress in -ljpeg" >&5
4509ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4510ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4510if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4511if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4511 echo $ac_n "(cached) $ac_c" 1>&6 4512 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4513,7 +4514,7 @@ else
4513 ac_save_LIBS="$LIBS" 4514 ac_save_LIBS="$LIBS"
4514LIBS="-ljpeg -lX11 $LIBS" 4515LIBS="-ljpeg -lX11 $LIBS"
4515cat > conftest.$ac_ext <<EOF 4516cat > conftest.$ac_ext <<EOF
4516#line 4517 "configure" 4517#line 4518 "configure"
4517#include "confdefs.h" 4518#include "confdefs.h"
4518/* Override any gcc2 internal prototype to avoid an error. */ 4519/* Override any gcc2 internal prototype to avoid an error. */
4519/* We use char because int might match the return type of a gcc2 4520/* We use char because int might match the return type of a gcc2
@@ -4524,7 +4525,7 @@ int main() {
4524jpeg_destroy_compress() 4525jpeg_destroy_compress()
4525; return 0; } 4526; return 0; }
4526EOF 4527EOF
4527if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4528if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 rm -rf conftest* 4529 rm -rf conftest*
4529 eval "ac_cv_lib_$ac_lib_var=yes" 4530 eval "ac_cv_lib_$ac_lib_var=yes"
4530else 4531else
@@ -4567,17 +4568,17 @@ if test "${HAVE_X11}" = "yes"; then
4567 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4568 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4568 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4569 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4569echo $ac_n "checking for png.h""... $ac_c" 1>&6 4570echo $ac_n "checking for png.h""... $ac_c" 1>&6
4570echo "configure:4571: checking for png.h" >&5 4571echo "configure:4572: checking for png.h" >&5
4571if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4572if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4572 echo $ac_n "(cached) $ac_c" 1>&6 4573 echo $ac_n "(cached) $ac_c" 1>&6
4573else 4574else
4574 cat > conftest.$ac_ext <<EOF 4575 cat > conftest.$ac_ext <<EOF
4575#line 4576 "configure" 4576#line 4577 "configure"
4576#include "confdefs.h" 4577#include "confdefs.h"
4577#include <png.h> 4578#include <png.h>
4578EOF 4579EOF
4579ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4580ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4580{ (eval echo configure:4581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4581{ (eval echo configure:4582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4581ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4582ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4582if test -z "$ac_err"; then 4583if test -z "$ac_err"; then
4583 rm -rf conftest* 4584 rm -rf conftest*
@@ -4594,7 +4595,7 @@ fi
4594if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4595if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4595 echo "$ac_t""yes" 1>&6 4596 echo "$ac_t""yes" 1>&6
4596 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4597 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4597echo "configure:4598: checking for png_set_expand in -lpng" >&5 4598echo "configure:4599: checking for png_set_expand in -lpng" >&5
4598ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4599ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4600if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4600 echo $ac_n "(cached) $ac_c" 1>&6 4601 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4602,7 +4603,7 @@ else
4602 ac_save_LIBS="$LIBS" 4603 ac_save_LIBS="$LIBS"
4603LIBS="-lpng -lX11 -lz -lm $LIBS" 4604LIBS="-lpng -lX11 -lz -lm $LIBS"
4604cat > conftest.$ac_ext <<EOF 4605cat > conftest.$ac_ext <<EOF
4605#line 4606 "configure" 4606#line 4607 "configure"
4606#include "confdefs.h" 4607#include "confdefs.h"
4607/* Override any gcc2 internal prototype to avoid an error. */ 4608/* Override any gcc2 internal prototype to avoid an error. */
4608/* We use char because int might match the return type of a gcc2 4609/* We use char because int might match the return type of a gcc2
@@ -4613,7 +4614,7 @@ int main() {
4613png_set_expand() 4614png_set_expand()
4614; return 0; } 4615; return 0; }
4615EOF 4616EOF
4616if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4617if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4617 rm -rf conftest* 4618 rm -rf conftest*
4618 eval "ac_cv_lib_$ac_lib_var=yes" 4619 eval "ac_cv_lib_$ac_lib_var=yes"
4619else 4620else
@@ -4656,17 +4657,17 @@ if test "${HAVE_X11}" = "yes"; then
4656 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4657 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4657 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4658 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4658echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4659echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4659echo "configure:4660: checking for tiffio.h" >&5 4660echo "configure:4661: checking for tiffio.h" >&5
4660if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4661if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4661 echo $ac_n "(cached) $ac_c" 1>&6 4662 echo $ac_n "(cached) $ac_c" 1>&6
4662else 4663else
4663 cat > conftest.$ac_ext <<EOF 4664 cat > conftest.$ac_ext <<EOF
4664#line 4665 "configure" 4665#line 4666 "configure"
4665#include "confdefs.h" 4666#include "confdefs.h"
4666#include <tiffio.h> 4667#include <tiffio.h>
4667EOF 4668EOF
4668ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4669ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4669{ (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4670{ (eval echo configure:4671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4670ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4671ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4671if test -z "$ac_err"; then 4672if test -z "$ac_err"; then
4672 rm -rf conftest* 4673 rm -rf conftest*
@@ -4686,7 +4687,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4686 # At least one tiff package requires the jpeg library. 4687 # At least one tiff package requires the jpeg library.
4687 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4688 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4688 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4689 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4689echo "configure:4690: checking for TIFFGetVersion in -ltiff" >&5 4690echo "configure:4691: checking for TIFFGetVersion in -ltiff" >&5
4690ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4691ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4691if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4692if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4692 echo $ac_n "(cached) $ac_c" 1>&6 4693 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4694,7 +4695,7 @@ else
4694 ac_save_LIBS="$LIBS" 4695 ac_save_LIBS="$LIBS"
4695LIBS="-ltiff $tifflibs $LIBS" 4696LIBS="-ltiff $tifflibs $LIBS"
4696cat > conftest.$ac_ext <<EOF 4697cat > conftest.$ac_ext <<EOF
4697#line 4698 "configure" 4698#line 4699 "configure"
4698#include "confdefs.h" 4699#include "confdefs.h"
4699/* Override any gcc2 internal prototype to avoid an error. */ 4700/* Override any gcc2 internal prototype to avoid an error. */
4700/* We use char because int might match the return type of a gcc2 4701/* We use char because int might match the return type of a gcc2
@@ -4705,7 +4706,7 @@ int main() {
4705TIFFGetVersion() 4706TIFFGetVersion()
4706; return 0; } 4707; return 0; }
4707EOF 4708EOF
4708if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4709if { (eval echo configure:4710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4709 rm -rf conftest* 4710 rm -rf conftest*
4710 eval "ac_cv_lib_$ac_lib_var=yes" 4711 eval "ac_cv_lib_$ac_lib_var=yes"
4711else 4712else
@@ -4748,17 +4749,17 @@ if test "${HAVE_X11}" = "yes"; then
4748 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4749 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4749 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4750 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4750echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4751echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4751echo "configure:4752: checking for gif_lib.h" >&5 4752echo "configure:4753: checking for gif_lib.h" >&5
4752if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4753if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4753 echo $ac_n "(cached) $ac_c" 1>&6 4754 echo $ac_n "(cached) $ac_c" 1>&6
4754else 4755else
4755 cat > conftest.$ac_ext <<EOF 4756 cat > conftest.$ac_ext <<EOF
4756#line 4757 "configure" 4757#line 4758 "configure"
4757#include "confdefs.h" 4758#include "confdefs.h"
4758#include <gif_lib.h> 4759#include <gif_lib.h>
4759EOF 4760EOF
4760ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4761ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4761{ (eval echo configure:4762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4762{ (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4762ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4763ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4763if test -z "$ac_err"; then 4764if test -z "$ac_err"; then
4764 rm -rf conftest* 4765 rm -rf conftest*
@@ -4775,7 +4776,7 @@ fi
4775if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4776if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4776 echo "$ac_t""yes" 1>&6 4777 echo "$ac_t""yes" 1>&6
4777 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4778 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4778echo "configure:4779: checking for DGifOpen in -lungif" >&5 4779echo "configure:4780: checking for DGifOpen in -lungif" >&5
4779ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4780ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4780if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4781if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4781 echo $ac_n "(cached) $ac_c" 1>&6 4782 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4783,7 +4784,7 @@ else
4783 ac_save_LIBS="$LIBS" 4784 ac_save_LIBS="$LIBS"
4784LIBS="-lungif -lX11 $LIBS" 4785LIBS="-lungif -lX11 $LIBS"
4785cat > conftest.$ac_ext <<EOF 4786cat > conftest.$ac_ext <<EOF
4786#line 4787 "configure" 4787#line 4788 "configure"
4787#include "confdefs.h" 4788#include "confdefs.h"
4788/* Override any gcc2 internal prototype to avoid an error. */ 4789/* Override any gcc2 internal prototype to avoid an error. */
4789/* We use char because int might match the return type of a gcc2 4790/* We use char because int might match the return type of a gcc2
@@ -4794,7 +4795,7 @@ int main() {
4794DGifOpen() 4795DGifOpen()
4795; return 0; } 4796; return 0; }
4796EOF 4797EOF
4797if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4798if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4798 rm -rf conftest* 4799 rm -rf conftest*
4799 eval "ac_cv_lib_$ac_lib_var=yes" 4800 eval "ac_cv_lib_$ac_lib_var=yes"
4800else 4801else
@@ -4831,19 +4832,19 @@ fi
4831 4832
4832# If netdb.h doesn't declare h_errno, we must declare it by hand. 4833# If netdb.h doesn't declare h_errno, we must declare it by hand.
4833echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4834echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4834echo "configure:4835: checking whether netdb declares h_errno" >&5 4835echo "configure:4836: checking whether netdb declares h_errno" >&5
4835if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4836if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4836 echo $ac_n "(cached) $ac_c" 1>&6 4837 echo $ac_n "(cached) $ac_c" 1>&6
4837else 4838else
4838 cat > conftest.$ac_ext <<EOF 4839 cat > conftest.$ac_ext <<EOF
4839#line 4840 "configure" 4840#line 4841 "configure"
4840#include "confdefs.h" 4841#include "confdefs.h"
4841#include <netdb.h> 4842#include <netdb.h>
4842int main() { 4843int main() {
4843return h_errno; 4844return h_errno;
4844; return 0; } 4845; return 0; }
4845EOF 4846EOF
4846if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4847if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4847 rm -rf conftest* 4848 rm -rf conftest*
4848 emacs_cv_netdb_declares_h_errno=yes 4849 emacs_cv_netdb_declares_h_errno=yes
4849else 4850else
@@ -4866,19 +4867,19 @@ fi
4866# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4867# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4867# for constant arguments. Useless! 4868# for constant arguments. Useless!
4868echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4869echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4869echo "configure:4870: checking for working alloca.h" >&5 4870echo "configure:4871: checking for working alloca.h" >&5
4870if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4871if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4871 echo $ac_n "(cached) $ac_c" 1>&6 4872 echo $ac_n "(cached) $ac_c" 1>&6
4872else 4873else
4873 cat > conftest.$ac_ext <<EOF 4874 cat > conftest.$ac_ext <<EOF
4874#line 4875 "configure" 4875#line 4876 "configure"
4875#include "confdefs.h" 4876#include "confdefs.h"
4876#include <alloca.h> 4877#include <alloca.h>
4877int main() { 4878int main() {
4878void *p = alloca(2 * sizeof(int)); 4879char *p = alloca(2 * sizeof(int));
4879; return 0; } 4880; return 0; }
4880EOF 4881EOF
4881if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4882if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4882 rm -rf conftest* 4883 rm -rf conftest*
4883 ac_cv_header_alloca_h=yes 4884 ac_cv_header_alloca_h=yes
4884else 4885else
@@ -4899,12 +4900,12 @@ EOF
4899fi 4900fi
4900 4901
4901echo $ac_n "checking for alloca""... $ac_c" 1>&6 4902echo $ac_n "checking for alloca""... $ac_c" 1>&6
4902echo "configure:4903: checking for alloca" >&5 4903echo "configure:4904: checking for alloca" >&5
4903if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4904if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4904 echo $ac_n "(cached) $ac_c" 1>&6 4905 echo $ac_n "(cached) $ac_c" 1>&6
4905else 4906else
4906 cat > conftest.$ac_ext <<EOF 4907 cat > conftest.$ac_ext <<EOF
4907#line 4908 "configure" 4908#line 4909 "configure"
4908#include "confdefs.h" 4909#include "confdefs.h"
4909 4910
4910#ifdef __GNUC__ 4911#ifdef __GNUC__
@@ -4932,7 +4933,7 @@ int main() {
4932char *p = (char *) alloca(1); 4933char *p = (char *) alloca(1);
4933; return 0; } 4934; return 0; }
4934EOF 4935EOF
4935if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4936if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4936 rm -rf conftest* 4937 rm -rf conftest*
4937 ac_cv_func_alloca_works=yes 4938 ac_cv_func_alloca_works=yes
4938else 4939else
@@ -4964,12 +4965,12 @@ EOF
4964 4965
4965 4966
4966echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4967echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4967echo "configure:4968: checking whether alloca needs Cray hooks" >&5 4968echo "configure:4969: checking whether alloca needs Cray hooks" >&5
4968if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4969if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4969 echo $ac_n "(cached) $ac_c" 1>&6 4970 echo $ac_n "(cached) $ac_c" 1>&6
4970else 4971else
4971 cat > conftest.$ac_ext <<EOF 4972 cat > conftest.$ac_ext <<EOF
4972#line 4973 "configure" 4973#line 4974 "configure"
4973#include "confdefs.h" 4974#include "confdefs.h"
4974#if defined(CRAY) && ! defined(CRAY2) 4975#if defined(CRAY) && ! defined(CRAY2)
4975webecray 4976webecray
@@ -4994,12 +4995,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4994if test $ac_cv_os_cray = yes; then 4995if test $ac_cv_os_cray = yes; then
4995for ac_func in _getb67 GETB67 getb67; do 4996for ac_func in _getb67 GETB67 getb67; do
4996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4997echo "configure:4998: checking for $ac_func" >&5 4998echo "configure:4999: checking for $ac_func" >&5
4998if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4999if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4999 echo $ac_n "(cached) $ac_c" 1>&6 5000 echo $ac_n "(cached) $ac_c" 1>&6
5000else 5001else
5001 cat > conftest.$ac_ext <<EOF 5002 cat > conftest.$ac_ext <<EOF
5002#line 5003 "configure" 5003#line 5004 "configure"
5003#include "confdefs.h" 5004#include "confdefs.h"
5004/* System header to define __stub macros and hopefully few prototypes, 5005/* System header to define __stub macros and hopefully few prototypes,
5005 which can conflict with char $ac_func(); below. */ 5006 which can conflict with char $ac_func(); below. */
@@ -5022,7 +5023,7 @@ $ac_func();
5022 5023
5023; return 0; } 5024; return 0; }
5024EOF 5025EOF
5025if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5026if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5026 rm -rf conftest* 5027 rm -rf conftest*
5027 eval "ac_cv_func_$ac_func=yes" 5028 eval "ac_cv_func_$ac_func=yes"
5028else 5029else
@@ -5049,7 +5050,7 @@ done
5049fi 5050fi
5050 5051
5051echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5052echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5052echo "configure:5053: checking stack direction for C alloca" >&5 5053echo "configure:5054: checking stack direction for C alloca" >&5
5053if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5054if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5054 echo $ac_n "(cached) $ac_c" 1>&6 5055 echo $ac_n "(cached) $ac_c" 1>&6
5055else 5056else
@@ -5057,7 +5058,7 @@ else
5057 ac_cv_c_stack_direction=0 5058 ac_cv_c_stack_direction=0
5058else 5059else
5059 cat > conftest.$ac_ext <<EOF 5060 cat > conftest.$ac_ext <<EOF
5060#line 5061 "configure" 5061#line 5062 "configure"
5061#include "confdefs.h" 5062#include "confdefs.h"
5062find_stack_direction () 5063find_stack_direction ()
5063{ 5064{
@@ -5076,7 +5077,7 @@ main ()
5076 exit (find_stack_direction() < 0); 5077 exit (find_stack_direction() < 0);
5077} 5078}
5078EOF 5079EOF
5079if { (eval echo configure:5080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5080if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5080then 5081then
5081 ac_cv_c_stack_direction=1 5082 ac_cv_c_stack_direction=1
5082else 5083else
@@ -5101,7 +5102,7 @@ fi
5101# fmod, logb, and frexp are found in -lm on most systems. 5102# fmod, logb, and frexp are found in -lm on most systems.
5102# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5103# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5103echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5104echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5104echo "configure:5105: checking for sqrt in -lm" >&5 5105echo "configure:5106: checking for sqrt in -lm" >&5
5105ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5106ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5106if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5107if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5107 echo $ac_n "(cached) $ac_c" 1>&6 5108 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5109,7 +5110,7 @@ else
5109 ac_save_LIBS="$LIBS" 5110 ac_save_LIBS="$LIBS"
5110LIBS="-lm $LIBS" 5111LIBS="-lm $LIBS"
5111cat > conftest.$ac_ext <<EOF 5112cat > conftest.$ac_ext <<EOF
5112#line 5113 "configure" 5113#line 5114 "configure"
5113#include "confdefs.h" 5114#include "confdefs.h"
5114/* Override any gcc2 internal prototype to avoid an error. */ 5115/* Override any gcc2 internal prototype to avoid an error. */
5115/* We use char because int might match the return type of a gcc2 5116/* We use char because int might match the return type of a gcc2
@@ -5120,7 +5121,7 @@ int main() {
5120sqrt() 5121sqrt()
5121; return 0; } 5122; return 0; }
5122EOF 5123EOF
5123if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5124if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5124 rm -rf conftest* 5125 rm -rf conftest*
5125 eval "ac_cv_lib_$ac_lib_var=yes" 5126 eval "ac_cv_lib_$ac_lib_var=yes"
5126else 5127else
@@ -5150,7 +5151,7 @@ fi
5150 5151
5151# Check for mail-locking functions in a "mail" library 5152# Check for mail-locking functions in a "mail" library
5152echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5153echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5153echo "configure:5154: checking for maillock in -lmail" >&5 5154echo "configure:5155: checking for maillock in -lmail" >&5
5154ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5155ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5155if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5156if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5156 echo $ac_n "(cached) $ac_c" 1>&6 5157 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5158,7 +5159,7 @@ else
5158 ac_save_LIBS="$LIBS" 5159 ac_save_LIBS="$LIBS"
5159LIBS="-lmail $LIBS" 5160LIBS="-lmail $LIBS"
5160cat > conftest.$ac_ext <<EOF 5161cat > conftest.$ac_ext <<EOF
5161#line 5162 "configure" 5162#line 5163 "configure"
5162#include "confdefs.h" 5163#include "confdefs.h"
5163/* Override any gcc2 internal prototype to avoid an error. */ 5164/* Override any gcc2 internal prototype to avoid an error. */
5164/* We use char because int might match the return type of a gcc2 5165/* We use char because int might match the return type of a gcc2
@@ -5169,7 +5170,7 @@ int main() {
5169maillock() 5170maillock()
5170; return 0; } 5171; return 0; }
5171EOF 5172EOF
5172if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5173if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5173 rm -rf conftest* 5174 rm -rf conftest*
5174 eval "ac_cv_lib_$ac_lib_var=yes" 5175 eval "ac_cv_lib_$ac_lib_var=yes"
5175else 5176else
@@ -5197,7 +5198,7 @@ else
5197fi 5198fi
5198 5199
5199echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5200echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5200echo "configure:5201: checking for maillock in -llockfile" >&5 5201echo "configure:5202: checking for maillock in -llockfile" >&5
5201ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5202ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5202if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5203if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5203 echo $ac_n "(cached) $ac_c" 1>&6 5204 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5205,7 +5206,7 @@ else
5205 ac_save_LIBS="$LIBS" 5206 ac_save_LIBS="$LIBS"
5206LIBS="-llockfile $LIBS" 5207LIBS="-llockfile $LIBS"
5207cat > conftest.$ac_ext <<EOF 5208cat > conftest.$ac_ext <<EOF
5208#line 5209 "configure" 5209#line 5210 "configure"
5209#include "confdefs.h" 5210#include "confdefs.h"
5210/* Override any gcc2 internal prototype to avoid an error. */ 5211/* Override any gcc2 internal prototype to avoid an error. */
5211/* We use char because int might match the return type of a gcc2 5212/* We use char because int might match the return type of a gcc2
@@ -5216,7 +5217,7 @@ int main() {
5216maillock() 5217maillock()
5217; return 0; } 5218; return 0; }
5218EOF 5219EOF
5219if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5220if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5220 rm -rf conftest* 5221 rm -rf conftest*
5221 eval "ac_cv_lib_$ac_lib_var=yes" 5222 eval "ac_cv_lib_$ac_lib_var=yes"
5222else 5223else
@@ -5250,7 +5251,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5250 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5251 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5251set dummy liblockfile.so; ac_word=$2 5252set dummy liblockfile.so; ac_word=$2
5252echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5253echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5253echo "configure:5254: checking for $ac_word" >&5 5254echo "configure:5255: checking for $ac_word" >&5
5254if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5255if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5255 echo $ac_n "(cached) $ac_c" 1>&6 5256 echo $ac_n "(cached) $ac_c" 1>&6
5256else 5257else
@@ -5291,12 +5292,12 @@ fi
5291for ac_func in touchlock 5292for ac_func in touchlock
5292do 5293do
5293echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5294echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5294echo "configure:5295: checking for $ac_func" >&5 5295echo "configure:5296: checking for $ac_func" >&5
5295if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5296if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5296 echo $ac_n "(cached) $ac_c" 1>&6 5297 echo $ac_n "(cached) $ac_c" 1>&6
5297else 5298else
5298 cat > conftest.$ac_ext <<EOF 5299 cat > conftest.$ac_ext <<EOF
5299#line 5300 "configure" 5300#line 5301 "configure"
5300#include "confdefs.h" 5301#include "confdefs.h"
5301/* System header to define __stub macros and hopefully few prototypes, 5302/* System header to define __stub macros and hopefully few prototypes,
5302 which can conflict with char $ac_func(); below. */ 5303 which can conflict with char $ac_func(); below. */
@@ -5319,7 +5320,7 @@ $ac_func();
5319 5320
5320; return 0; } 5321; return 0; }
5321EOF 5322EOF
5322if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5323if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5323 rm -rf conftest* 5324 rm -rf conftest*
5324 eval "ac_cv_func_$ac_func=yes" 5325 eval "ac_cv_func_$ac_func=yes"
5325else 5326else
@@ -5347,17 +5348,17 @@ for ac_hdr in maillock.h
5347do 5348do
5348ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5349ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5349echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5350echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5350echo "configure:5351: checking for $ac_hdr" >&5 5351echo "configure:5352: checking for $ac_hdr" >&5
5351if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5352if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5352 echo $ac_n "(cached) $ac_c" 1>&6 5353 echo $ac_n "(cached) $ac_c" 1>&6
5353else 5354else
5354 cat > conftest.$ac_ext <<EOF 5355 cat > conftest.$ac_ext <<EOF
5355#line 5356 "configure" 5356#line 5357 "configure"
5356#include "confdefs.h" 5357#include "confdefs.h"
5357#include <$ac_hdr> 5358#include <$ac_hdr>
5358EOF 5359EOF
5359ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5360ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5360{ (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5361{ (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5361ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5362ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5362if test -z "$ac_err"; then 5363if test -z "$ac_err"; then
5363 rm -rf conftest* 5364 rm -rf conftest*
@@ -5392,12 +5393,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5392__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5393__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5393do 5394do
5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5395echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5395echo "configure:5396: checking for $ac_func" >&5 5396echo "configure:5397: checking for $ac_func" >&5
5396if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5397if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5397 echo $ac_n "(cached) $ac_c" 1>&6 5398 echo $ac_n "(cached) $ac_c" 1>&6
5398else 5399else
5399 cat > conftest.$ac_ext <<EOF 5400 cat > conftest.$ac_ext <<EOF
5400#line 5401 "configure" 5401#line 5402 "configure"
5401#include "confdefs.h" 5402#include "confdefs.h"
5402/* System header to define __stub macros and hopefully few prototypes, 5403/* System header to define __stub macros and hopefully few prototypes,
5403 which can conflict with char $ac_func(); below. */ 5404 which can conflict with char $ac_func(); below. */
@@ -5420,7 +5421,7 @@ $ac_func();
5420 5421
5421; return 0; } 5422; return 0; }
5422EOF 5423EOF
5423if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5424if { (eval echo configure:5425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5424 rm -rf conftest* 5425 rm -rf conftest*
5425 eval "ac_cv_func_$ac_func=yes" 5426 eval "ac_cv_func_$ac_func=yes"
5426else 5427else
@@ -5449,17 +5450,17 @@ for ac_hdr in sys/time.h unistd.h
5449do 5450do
5450ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5451ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5451echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5452echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5452echo "configure:5453: checking for $ac_hdr" >&5 5453echo "configure:5454: checking for $ac_hdr" >&5
5453if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5454if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5454 echo $ac_n "(cached) $ac_c" 1>&6 5455 echo $ac_n "(cached) $ac_c" 1>&6
5455else 5456else
5456 cat > conftest.$ac_ext <<EOF 5457 cat > conftest.$ac_ext <<EOF
5457#line 5458 "configure" 5458#line 5459 "configure"
5458#include "confdefs.h" 5459#include "confdefs.h"
5459#include <$ac_hdr> 5460#include <$ac_hdr>
5460EOF 5461EOF
5461ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5462ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5462{ (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5463{ (eval echo configure:5464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5463ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5464ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5464if test -z "$ac_err"; then 5465if test -z "$ac_err"; then
5465 rm -rf conftest* 5466 rm -rf conftest*
@@ -5488,12 +5489,12 @@ done
5488for ac_func in alarm 5489for ac_func in alarm
5489do 5490do
5490echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5491echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5491echo "configure:5492: checking for $ac_func" >&5 5492echo "configure:5493: checking for $ac_func" >&5
5492if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5493if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5493 echo $ac_n "(cached) $ac_c" 1>&6 5494 echo $ac_n "(cached) $ac_c" 1>&6
5494else 5495else
5495 cat > conftest.$ac_ext <<EOF 5496 cat > conftest.$ac_ext <<EOF
5496#line 5497 "configure" 5497#line 5498 "configure"
5497#include "confdefs.h" 5498#include "confdefs.h"
5498/* System header to define __stub macros and hopefully few prototypes, 5499/* System header to define __stub macros and hopefully few prototypes,
5499 which can conflict with char $ac_func(); below. */ 5500 which can conflict with char $ac_func(); below. */
@@ -5516,7 +5517,7 @@ $ac_func();
5516 5517
5517; return 0; } 5518; return 0; }
5518EOF 5519EOF
5519if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5520if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5520 rm -rf conftest* 5521 rm -rf conftest*
5521 eval "ac_cv_func_$ac_func=yes" 5522 eval "ac_cv_func_$ac_func=yes"
5522else 5523else
@@ -5541,7 +5542,7 @@ fi
5541done 5542done
5542 5543
5543echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5544echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5544echo "configure:5545: checking for working mktime" >&5 5545echo "configure:5546: checking for working mktime" >&5
5545if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5546if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5546 echo $ac_n "(cached) $ac_c" 1>&6 5547 echo $ac_n "(cached) $ac_c" 1>&6
5547else 5548else
@@ -5549,7 +5550,7 @@ else
5549 ac_cv_func_working_mktime=no 5550 ac_cv_func_working_mktime=no
5550else 5551else
5551 cat > conftest.$ac_ext <<EOF 5552 cat > conftest.$ac_ext <<EOF
5552#line 5553 "configure" 5553#line 5554 "configure"
5553#include "confdefs.h" 5554#include "confdefs.h"
5554/* Test program from Paul Eggert (eggert@twinsun.com) 5555/* Test program from Paul Eggert (eggert@twinsun.com)
5555 and Tony Leneis (tony@plaza.ds.adp.com). */ 5556 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5698,7 +5699,7 @@ main ()
5698 exit (0); 5699 exit (0);
5699} 5700}
5700EOF 5701EOF
5701if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5702if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5702then 5703then
5703 ac_cv_func_working_mktime=yes 5704 ac_cv_func_working_mktime=yes
5704else 5705else
@@ -5729,7 +5730,7 @@ fi
5729# It's better to believe a function is not available 5730# It's better to believe a function is not available
5730# than to expect to find it in ncurses. 5731# than to expect to find it in ncurses.
5731echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5732echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5732echo "configure:5733: checking for tparm in -lncurses" >&5 5733echo "configure:5734: checking for tparm in -lncurses" >&5
5733ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5734ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5734if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5735if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5735 echo $ac_n "(cached) $ac_c" 1>&6 5736 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5737,7 +5738,7 @@ else
5737 ac_save_LIBS="$LIBS" 5738 ac_save_LIBS="$LIBS"
5738LIBS="-lncurses $LIBS" 5739LIBS="-lncurses $LIBS"
5739cat > conftest.$ac_ext <<EOF 5740cat > conftest.$ac_ext <<EOF
5740#line 5741 "configure" 5741#line 5742 "configure"
5741#include "confdefs.h" 5742#include "confdefs.h"
5742/* Override any gcc2 internal prototype to avoid an error. */ 5743/* Override any gcc2 internal prototype to avoid an error. */
5743/* We use char because int might match the return type of a gcc2 5744/* We use char because int might match the return type of a gcc2
@@ -5748,7 +5749,7 @@ int main() {
5748tparm() 5749tparm()
5749; return 0; } 5750; return 0; }
5750EOF 5751EOF
5751if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5752if { (eval echo configure:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5752 rm -rf conftest* 5753 rm -rf conftest*
5753 eval "ac_cv_lib_$ac_lib_var=yes" 5754 eval "ac_cv_lib_$ac_lib_var=yes"
5754else 5755else
@@ -5779,7 +5780,7 @@ fi
5779# These tell us which Kerberos-related libraries to use. 5780# These tell us which Kerberos-related libraries to use.
5780if test "${with_kerberos+set}" = set; then 5781if test "${with_kerberos+set}" = set; then
5781 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5782 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5782echo "configure:5783: checking for com_err in -lcom_err" >&5 5783echo "configure:5784: checking for com_err in -lcom_err" >&5
5783ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5784ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5784if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5785if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5785 echo $ac_n "(cached) $ac_c" 1>&6 5786 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5787,7 +5788,7 @@ else
5787 ac_save_LIBS="$LIBS" 5788 ac_save_LIBS="$LIBS"
5788LIBS="-lcom_err $LIBS" 5789LIBS="-lcom_err $LIBS"
5789cat > conftest.$ac_ext <<EOF 5790cat > conftest.$ac_ext <<EOF
5790#line 5791 "configure" 5791#line 5792 "configure"
5791#include "confdefs.h" 5792#include "confdefs.h"
5792/* Override any gcc2 internal prototype to avoid an error. */ 5793/* Override any gcc2 internal prototype to avoid an error. */
5793/* We use char because int might match the return type of a gcc2 5794/* We use char because int might match the return type of a gcc2
@@ -5798,7 +5799,7 @@ int main() {
5798com_err() 5799com_err()
5799; return 0; } 5800; return 0; }
5800EOF 5801EOF
5801if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5802if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5802 rm -rf conftest* 5803 rm -rf conftest*
5803 eval "ac_cv_lib_$ac_lib_var=yes" 5804 eval "ac_cv_lib_$ac_lib_var=yes"
5804else 5805else
@@ -5826,7 +5827,7 @@ else
5826fi 5827fi
5827 5828
5828 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5829 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5829echo "configure:5830: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5830echo "configure:5831: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5830ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5831ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5832if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5832 echo $ac_n "(cached) $ac_c" 1>&6 5833 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5834,7 +5835,7 @@ else
5834 ac_save_LIBS="$LIBS" 5835 ac_save_LIBS="$LIBS"
5835LIBS="-lk5crypto $LIBS" 5836LIBS="-lk5crypto $LIBS"
5836cat > conftest.$ac_ext <<EOF 5837cat > conftest.$ac_ext <<EOF
5837#line 5838 "configure" 5838#line 5839 "configure"
5838#include "confdefs.h" 5839#include "confdefs.h"
5839/* Override any gcc2 internal prototype to avoid an error. */ 5840/* Override any gcc2 internal prototype to avoid an error. */
5840/* We use char because int might match the return type of a gcc2 5841/* We use char because int might match the return type of a gcc2
@@ -5845,7 +5846,7 @@ int main() {
5845mit_des_cbc_encrypt() 5846mit_des_cbc_encrypt()
5846; return 0; } 5847; return 0; }
5847EOF 5848EOF
5848if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5849if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5849 rm -rf conftest* 5850 rm -rf conftest*
5850 eval "ac_cv_lib_$ac_lib_var=yes" 5851 eval "ac_cv_lib_$ac_lib_var=yes"
5851else 5852else
@@ -5873,7 +5874,7 @@ else
5873fi 5874fi
5874 5875
5875 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5876 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5876echo "configure:5877: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5877echo "configure:5878: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5877ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5878ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5878if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5879if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5879 echo $ac_n "(cached) $ac_c" 1>&6 5880 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5881,7 +5882,7 @@ else
5881 ac_save_LIBS="$LIBS" 5882 ac_save_LIBS="$LIBS"
5882LIBS="-lcrypto $LIBS" 5883LIBS="-lcrypto $LIBS"
5883cat > conftest.$ac_ext <<EOF 5884cat > conftest.$ac_ext <<EOF
5884#line 5885 "configure" 5885#line 5886 "configure"
5885#include "confdefs.h" 5886#include "confdefs.h"
5886/* Override any gcc2 internal prototype to avoid an error. */ 5887/* Override any gcc2 internal prototype to avoid an error. */
5887/* We use char because int might match the return type of a gcc2 5888/* We use char because int might match the return type of a gcc2
@@ -5892,7 +5893,7 @@ int main() {
5892mit_des_cbc_encrypt() 5893mit_des_cbc_encrypt()
5893; return 0; } 5894; return 0; }
5894EOF 5895EOF
5895if { (eval echo configure:5896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5896if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5896 rm -rf conftest* 5897 rm -rf conftest*
5897 eval "ac_cv_lib_$ac_lib_var=yes" 5898 eval "ac_cv_lib_$ac_lib_var=yes"
5898else 5899else
@@ -5920,7 +5921,7 @@ else
5920fi 5921fi
5921 5922
5922 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5923 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5923echo "configure:5924: checking for krb5_init_context in -lkrb5" >&5 5924echo "configure:5925: checking for krb5_init_context in -lkrb5" >&5
5924ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5925ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5925if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5926if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6 5927 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5928,7 +5929,7 @@ else
5928 ac_save_LIBS="$LIBS" 5929 ac_save_LIBS="$LIBS"
5929LIBS="-lkrb5 $LIBS" 5930LIBS="-lkrb5 $LIBS"
5930cat > conftest.$ac_ext <<EOF 5931cat > conftest.$ac_ext <<EOF
5931#line 5932 "configure" 5932#line 5933 "configure"
5932#include "confdefs.h" 5933#include "confdefs.h"
5933/* Override any gcc2 internal prototype to avoid an error. */ 5934/* Override any gcc2 internal prototype to avoid an error. */
5934/* We use char because int might match the return type of a gcc2 5935/* We use char because int might match the return type of a gcc2
@@ -5939,7 +5940,7 @@ int main() {
5939krb5_init_context() 5940krb5_init_context()
5940; return 0; } 5941; return 0; }
5941EOF 5942EOF
5942if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5943if { (eval echo configure:5944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5943 rm -rf conftest* 5944 rm -rf conftest*
5944 eval "ac_cv_lib_$ac_lib_var=yes" 5945 eval "ac_cv_lib_$ac_lib_var=yes"
5945else 5946else
@@ -5968,7 +5969,7 @@ fi
5968 5969
5969 if test "${with_kerberos5+set}" != set; then 5970 if test "${with_kerberos5+set}" != set; then
5970 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5971 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5971echo "configure:5972: checking for des_cbc_encrypt in -ldes425" >&5 5972echo "configure:5973: checking for des_cbc_encrypt in -ldes425" >&5
5972ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5973ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5973if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5974if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5974 echo $ac_n "(cached) $ac_c" 1>&6 5975 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5976,7 +5977,7 @@ else
5976 ac_save_LIBS="$LIBS" 5977 ac_save_LIBS="$LIBS"
5977LIBS="-ldes425 $LIBS" 5978LIBS="-ldes425 $LIBS"
5978cat > conftest.$ac_ext <<EOF 5979cat > conftest.$ac_ext <<EOF
5979#line 5980 "configure" 5980#line 5981 "configure"
5980#include "confdefs.h" 5981#include "confdefs.h"
5981/* Override any gcc2 internal prototype to avoid an error. */ 5982/* Override any gcc2 internal prototype to avoid an error. */
5982/* We use char because int might match the return type of a gcc2 5983/* We use char because int might match the return type of a gcc2
@@ -5987,7 +5988,7 @@ int main() {
5987des_cbc_encrypt() 5988des_cbc_encrypt()
5988; return 0; } 5989; return 0; }
5989EOF 5990EOF
5990if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5991if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5991 rm -rf conftest* 5992 rm -rf conftest*
5992 eval "ac_cv_lib_$ac_lib_var=yes" 5993 eval "ac_cv_lib_$ac_lib_var=yes"
5993else 5994else
@@ -6013,7 +6014,7 @@ EOF
6013else 6014else
6014 echo "$ac_t""no" 1>&6 6015 echo "$ac_t""no" 1>&6
6015echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6016echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
6016echo "configure:6017: checking for des_cbc_encrypt in -ldes" >&5 6017echo "configure:6018: checking for des_cbc_encrypt in -ldes" >&5
6017ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6018ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6019if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6019 echo $ac_n "(cached) $ac_c" 1>&6 6020 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6021,7 +6022,7 @@ else
6021 ac_save_LIBS="$LIBS" 6022 ac_save_LIBS="$LIBS"
6022LIBS="-ldes $LIBS" 6023LIBS="-ldes $LIBS"
6023cat > conftest.$ac_ext <<EOF 6024cat > conftest.$ac_ext <<EOF
6024#line 6025 "configure" 6025#line 6026 "configure"
6025#include "confdefs.h" 6026#include "confdefs.h"
6026/* Override any gcc2 internal prototype to avoid an error. */ 6027/* Override any gcc2 internal prototype to avoid an error. */
6027/* We use char because int might match the return type of a gcc2 6028/* We use char because int might match the return type of a gcc2
@@ -6032,7 +6033,7 @@ int main() {
6032des_cbc_encrypt() 6033des_cbc_encrypt()
6033; return 0; } 6034; return 0; }
6034EOF 6035EOF
6035if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6036if { (eval echo configure:6037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6036 rm -rf conftest* 6037 rm -rf conftest*
6037 eval "ac_cv_lib_$ac_lib_var=yes" 6038 eval "ac_cv_lib_$ac_lib_var=yes"
6038else 6039else
@@ -6062,7 +6063,7 @@ fi
6062fi 6063fi
6063 6064
6064 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6065 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
6065echo "configure:6066: checking for krb_get_cred in -lkrb4" >&5 6066echo "configure:6067: checking for krb_get_cred in -lkrb4" >&5
6066ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6067ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
6067if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6068if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6068 echo $ac_n "(cached) $ac_c" 1>&6 6069 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6070,7 +6071,7 @@ else
6070 ac_save_LIBS="$LIBS" 6071 ac_save_LIBS="$LIBS"
6071LIBS="-lkrb4 $LIBS" 6072LIBS="-lkrb4 $LIBS"
6072cat > conftest.$ac_ext <<EOF 6073cat > conftest.$ac_ext <<EOF
6073#line 6074 "configure" 6074#line 6075 "configure"
6074#include "confdefs.h" 6075#include "confdefs.h"
6075/* Override any gcc2 internal prototype to avoid an error. */ 6076/* Override any gcc2 internal prototype to avoid an error. */
6076/* We use char because int might match the return type of a gcc2 6077/* We use char because int might match the return type of a gcc2
@@ -6081,7 +6082,7 @@ int main() {
6081krb_get_cred() 6082krb_get_cred()
6082; return 0; } 6083; return 0; }
6083EOF 6084EOF
6084if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6085if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6085 rm -rf conftest* 6086 rm -rf conftest*
6086 eval "ac_cv_lib_$ac_lib_var=yes" 6087 eval "ac_cv_lib_$ac_lib_var=yes"
6087else 6088else
@@ -6107,7 +6108,7 @@ EOF
6107else 6108else
6108 echo "$ac_t""no" 1>&6 6109 echo "$ac_t""no" 1>&6
6109echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6110echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
6110echo "configure:6111: checking for krb_get_cred in -lkrb" >&5 6111echo "configure:6112: checking for krb_get_cred in -lkrb" >&5
6111ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6112ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
6112if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6113if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6 6114 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6115,7 +6116,7 @@ else
6115 ac_save_LIBS="$LIBS" 6116 ac_save_LIBS="$LIBS"
6116LIBS="-lkrb $LIBS" 6117LIBS="-lkrb $LIBS"
6117cat > conftest.$ac_ext <<EOF 6118cat > conftest.$ac_ext <<EOF
6118#line 6119 "configure" 6119#line 6120 "configure"
6119#include "confdefs.h" 6120#include "confdefs.h"
6120/* Override any gcc2 internal prototype to avoid an error. */ 6121/* Override any gcc2 internal prototype to avoid an error. */
6121/* We use char because int might match the return type of a gcc2 6122/* We use char because int might match the return type of a gcc2
@@ -6126,7 +6127,7 @@ int main() {
6126krb_get_cred() 6127krb_get_cred()
6127; return 0; } 6128; return 0; }
6128EOF 6129EOF
6129if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6130if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6130 rm -rf conftest* 6131 rm -rf conftest*
6131 eval "ac_cv_lib_$ac_lib_var=yes" 6132 eval "ac_cv_lib_$ac_lib_var=yes"
6132else 6133else
@@ -6162,17 +6163,17 @@ fi
6162do 6163do
6163ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6164ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6164echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6165echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6165echo "configure:6166: checking for $ac_hdr" >&5 6166echo "configure:6167: checking for $ac_hdr" >&5
6166if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6167if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6167 echo $ac_n "(cached) $ac_c" 1>&6 6168 echo $ac_n "(cached) $ac_c" 1>&6
6168else 6169else
6169 cat > conftest.$ac_ext <<EOF 6170 cat > conftest.$ac_ext <<EOF
6170#line 6171 "configure" 6171#line 6172 "configure"
6171#include "confdefs.h" 6172#include "confdefs.h"
6172#include <$ac_hdr> 6173#include <$ac_hdr>
6173EOF 6174EOF
6174ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6175ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6175{ (eval echo configure:6176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6176{ (eval echo configure:6177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6176ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6177ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6177if test -z "$ac_err"; then 6178if test -z "$ac_err"; then
6178 rm -rf conftest* 6179 rm -rf conftest*
@@ -6203,17 +6204,17 @@ done
6203do 6204do
6204ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6205ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6205echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6206echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6206echo "configure:6207: checking for $ac_hdr" >&5 6207echo "configure:6208: checking for $ac_hdr" >&5
6207if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6208if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6208 echo $ac_n "(cached) $ac_c" 1>&6 6209 echo $ac_n "(cached) $ac_c" 1>&6
6209else 6210else
6210 cat > conftest.$ac_ext <<EOF 6211 cat > conftest.$ac_ext <<EOF
6211#line 6212 "configure" 6212#line 6213 "configure"
6212#include "confdefs.h" 6213#include "confdefs.h"
6213#include <$ac_hdr> 6214#include <$ac_hdr>
6214EOF 6215EOF
6215ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6216{ (eval echo configure:6217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6217{ (eval echo configure:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6217ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6218ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6218if test -z "$ac_err"; then 6219if test -z "$ac_err"; then
6219 rm -rf conftest* 6220 rm -rf conftest*
@@ -6240,17 +6241,17 @@ for ac_hdr in kerberosIV/des.h
6240do 6241do
6241ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6242ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6242echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6243echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6243echo "configure:6244: checking for $ac_hdr" >&5 6244echo "configure:6245: checking for $ac_hdr" >&5
6244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6245if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6245 echo $ac_n "(cached) $ac_c" 1>&6 6246 echo $ac_n "(cached) $ac_c" 1>&6
6246else 6247else
6247 cat > conftest.$ac_ext <<EOF 6248 cat > conftest.$ac_ext <<EOF
6248#line 6249 "configure" 6249#line 6250 "configure"
6249#include "confdefs.h" 6250#include "confdefs.h"
6250#include <$ac_hdr> 6251#include <$ac_hdr>
6251EOF 6252EOF
6252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6253ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6253{ (eval echo configure:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6254{ (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6255ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6255if test -z "$ac_err"; then 6256if test -z "$ac_err"; then
6256 rm -rf conftest* 6257 rm -rf conftest*
@@ -6277,17 +6278,17 @@ for ac_hdr in kerberos/des.h
6277do 6278do
6278ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6279ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6279echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6280echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6280echo "configure:6281: checking for $ac_hdr" >&5 6281echo "configure:6282: checking for $ac_hdr" >&5
6281if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6282if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6 6283 echo $ac_n "(cached) $ac_c" 1>&6
6283else 6284else
6284 cat > conftest.$ac_ext <<EOF 6285 cat > conftest.$ac_ext <<EOF
6285#line 6286 "configure" 6286#line 6287 "configure"
6286#include "confdefs.h" 6287#include "confdefs.h"
6287#include <$ac_hdr> 6288#include <$ac_hdr>
6288EOF 6289EOF
6289ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6290ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6290{ (eval echo configure:6291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6291{ (eval echo configure:6292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6291ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6292ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6292if test -z "$ac_err"; then 6293if test -z "$ac_err"; then
6293 rm -rf conftest* 6294 rm -rf conftest*
@@ -6323,17 +6324,17 @@ done
6323do 6324do
6324ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6325ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6325echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6326echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6326echo "configure:6327: checking for $ac_hdr" >&5 6327echo "configure:6328: checking for $ac_hdr" >&5
6327if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6328if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6328 echo $ac_n "(cached) $ac_c" 1>&6 6329 echo $ac_n "(cached) $ac_c" 1>&6
6329else 6330else
6330 cat > conftest.$ac_ext <<EOF 6331 cat > conftest.$ac_ext <<EOF
6331#line 6332 "configure" 6332#line 6333 "configure"
6332#include "confdefs.h" 6333#include "confdefs.h"
6333#include <$ac_hdr> 6334#include <$ac_hdr>
6334EOF 6335EOF
6335ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6336ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6336{ (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6337{ (eval echo configure:6338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6337ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6338ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6338if test -z "$ac_err"; then 6339if test -z "$ac_err"; then
6339 rm -rf conftest* 6340 rm -rf conftest*
@@ -6360,17 +6361,17 @@ for ac_hdr in kerberosIV/krb.h
6360do 6361do
6361ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6362ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6362echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6363echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6363echo "configure:6364: checking for $ac_hdr" >&5 6364echo "configure:6365: checking for $ac_hdr" >&5
6364if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6365if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6365 echo $ac_n "(cached) $ac_c" 1>&6 6366 echo $ac_n "(cached) $ac_c" 1>&6
6366else 6367else
6367 cat > conftest.$ac_ext <<EOF 6368 cat > conftest.$ac_ext <<EOF
6368#line 6369 "configure" 6369#line 6370 "configure"
6369#include "confdefs.h" 6370#include "confdefs.h"
6370#include <$ac_hdr> 6371#include <$ac_hdr>
6371EOF 6372EOF
6372ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6373ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6373{ (eval echo configure:6374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6374{ (eval echo configure:6375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6374ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6375ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6375if test -z "$ac_err"; then 6376if test -z "$ac_err"; then
6376 rm -rf conftest* 6377 rm -rf conftest*
@@ -6397,17 +6398,17 @@ for ac_hdr in kerberos/krb.h
6397do 6398do
6398ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6399ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6399echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6400echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6400echo "configure:6401: checking for $ac_hdr" >&5 6401echo "configure:6402: checking for $ac_hdr" >&5
6401if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6402if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6402 echo $ac_n "(cached) $ac_c" 1>&6 6403 echo $ac_n "(cached) $ac_c" 1>&6
6403else 6404else
6404 cat > conftest.$ac_ext <<EOF 6405 cat > conftest.$ac_ext <<EOF
6405#line 6406 "configure" 6406#line 6407 "configure"
6406#include "confdefs.h" 6407#include "confdefs.h"
6407#include <$ac_hdr> 6408#include <$ac_hdr>
6408EOF 6409EOF
6409ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6410ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6410{ (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6411{ (eval echo configure:6412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6411ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6412ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6412if test -z "$ac_err"; then 6413if test -z "$ac_err"; then
6413 rm -rf conftest* 6414 rm -rf conftest*
@@ -6444,17 +6445,17 @@ done
6444do 6445do
6445ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6446ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6446echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6447echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6447echo "configure:6448: checking for $ac_hdr" >&5 6448echo "configure:6449: checking for $ac_hdr" >&5
6448if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6449if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6449 echo $ac_n "(cached) $ac_c" 1>&6 6450 echo $ac_n "(cached) $ac_c" 1>&6
6450else 6451else
6451 cat > conftest.$ac_ext <<EOF 6452 cat > conftest.$ac_ext <<EOF
6452#line 6453 "configure" 6453#line 6454 "configure"
6453#include "confdefs.h" 6454#include "confdefs.h"
6454#include <$ac_hdr> 6455#include <$ac_hdr>
6455EOF 6456EOF
6456ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6457ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6457{ (eval echo configure:6458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6458{ (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6458ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6459ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6459if test -z "$ac_err"; then 6460if test -z "$ac_err"; then
6460 rm -rf conftest* 6461 rm -rf conftest*
@@ -6485,7 +6486,7 @@ fi
6485# Solaris requires -lintl if you want strerror (which calls dgettext) 6486# Solaris requires -lintl if you want strerror (which calls dgettext)
6486# to return localized messages. 6487# to return localized messages.
6487echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6488echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6488echo "configure:6489: checking for dgettext in -lintl" >&5 6489echo "configure:6490: checking for dgettext in -lintl" >&5
6489ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6490ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6490if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6491if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6491 echo $ac_n "(cached) $ac_c" 1>&6 6492 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6493,7 +6494,7 @@ else
6493 ac_save_LIBS="$LIBS" 6494 ac_save_LIBS="$LIBS"
6494LIBS="-lintl $LIBS" 6495LIBS="-lintl $LIBS"
6495cat > conftest.$ac_ext <<EOF 6496cat > conftest.$ac_ext <<EOF
6496#line 6497 "configure" 6497#line 6498 "configure"
6497#include "confdefs.h" 6498#include "confdefs.h"
6498/* Override any gcc2 internal prototype to avoid an error. */ 6499/* Override any gcc2 internal prototype to avoid an error. */
6499/* We use char because int might match the return type of a gcc2 6500/* We use char because int might match the return type of a gcc2
@@ -6504,7 +6505,7 @@ int main() {
6504dgettext() 6505dgettext()
6505; return 0; } 6506; return 0; }
6506EOF 6507EOF
6507if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6508if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6508 rm -rf conftest* 6509 rm -rf conftest*
6509 eval "ac_cv_lib_$ac_lib_var=yes" 6510 eval "ac_cv_lib_$ac_lib_var=yes"
6510else 6511else
@@ -6533,7 +6534,7 @@ fi
6533 6534
6534 6535
6535echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6536echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6536echo "configure:6537: checking whether localtime caches TZ" >&5 6537echo "configure:6538: checking whether localtime caches TZ" >&5
6537if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6538if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6538 echo $ac_n "(cached) $ac_c" 1>&6 6539 echo $ac_n "(cached) $ac_c" 1>&6
6539else 6540else
@@ -6543,7 +6544,7 @@ if test "$cross_compiling" = yes; then
6543emacs_cv_localtime_cache=yes 6544emacs_cv_localtime_cache=yes
6544else 6545else
6545 cat > conftest.$ac_ext <<EOF 6546 cat > conftest.$ac_ext <<EOF
6546#line 6547 "configure" 6547#line 6548 "configure"
6547#include "confdefs.h" 6548#include "confdefs.h"
6548#include <time.h> 6549#include <time.h>
6549extern char **environ; 6550extern char **environ;
@@ -6575,7 +6576,7 @@ main()
6575 exit (0); 6576 exit (0);
6576} 6577}
6577EOF 6578EOF
6578if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6579if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6579then 6580then
6580 emacs_cv_localtime_cache=no 6581 emacs_cv_localtime_cache=no
6581else 6582else
@@ -6603,12 +6604,12 @@ fi
6603 6604
6604if test "x$HAVE_TIMEVAL" = xyes; then 6605if test "x$HAVE_TIMEVAL" = xyes; then
6605echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6606echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6606echo "configure:6607: checking whether gettimeofday can accept two arguments" >&5 6607echo "configure:6608: checking whether gettimeofday can accept two arguments" >&5
6607if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6608if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6608 echo $ac_n "(cached) $ac_c" 1>&6 6609 echo $ac_n "(cached) $ac_c" 1>&6
6609else 6610else
6610 cat > conftest.$ac_ext <<EOF 6611 cat > conftest.$ac_ext <<EOF
6611#line 6612 "configure" 6612#line 6613 "configure"
6612#include "confdefs.h" 6613#include "confdefs.h"
6613 6614
6614#ifdef TIME_WITH_SYS_TIME 6615#ifdef TIME_WITH_SYS_TIME
@@ -6630,7 +6631,7 @@ int main() {
6630 6631
6631; return 0; } 6632; return 0; }
6632EOF 6633EOF
6633if { (eval echo configure:6634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6634if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6634 rm -rf conftest* 6635 rm -rf conftest*
6635 emacs_cv_gettimeofday_two_arguments=yes 6636 emacs_cv_gettimeofday_two_arguments=yes
6636else 6637else
@@ -6653,12 +6654,12 @@ fi
6653 6654
6654ok_so_far=yes 6655ok_so_far=yes
6655echo $ac_n "checking for socket""... $ac_c" 1>&6 6656echo $ac_n "checking for socket""... $ac_c" 1>&6
6656echo "configure:6657: checking for socket" >&5 6657echo "configure:6658: checking for socket" >&5
6657if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6658if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6658 echo $ac_n "(cached) $ac_c" 1>&6 6659 echo $ac_n "(cached) $ac_c" 1>&6
6659else 6660else
6660 cat > conftest.$ac_ext <<EOF 6661 cat > conftest.$ac_ext <<EOF
6661#line 6662 "configure" 6662#line 6663 "configure"
6662#include "confdefs.h" 6663#include "confdefs.h"
6663/* System header to define __stub macros and hopefully few prototypes, 6664/* System header to define __stub macros and hopefully few prototypes,
6664 which can conflict with char socket(); below. */ 6665 which can conflict with char socket(); below. */
@@ -6681,7 +6682,7 @@ socket();
6681 6682
6682; return 0; } 6683; return 0; }
6683EOF 6684EOF
6684if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6685if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6685 rm -rf conftest* 6686 rm -rf conftest*
6686 eval "ac_cv_func_socket=yes" 6687 eval "ac_cv_func_socket=yes"
6687else 6688else
@@ -6704,17 +6705,17 @@ fi
6704if test $ok_so_far = yes; then 6705if test $ok_so_far = yes; then
6705 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6706 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6706echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6707echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6707echo "configure:6708: checking for netinet/in.h" >&5 6708echo "configure:6709: checking for netinet/in.h" >&5
6708if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6709if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6709 echo $ac_n "(cached) $ac_c" 1>&6 6710 echo $ac_n "(cached) $ac_c" 1>&6
6710else 6711else
6711 cat > conftest.$ac_ext <<EOF 6712 cat > conftest.$ac_ext <<EOF
6712#line 6713 "configure" 6713#line 6714 "configure"
6713#include "confdefs.h" 6714#include "confdefs.h"
6714#include <netinet/in.h> 6715#include <netinet/in.h>
6715EOF 6716EOF
6716ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6717ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6717{ (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6718{ (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6718ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6719ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6719if test -z "$ac_err"; then 6720if test -z "$ac_err"; then
6720 rm -rf conftest* 6721 rm -rf conftest*
@@ -6740,17 +6741,17 @@ fi
6740if test $ok_so_far = yes; then 6741if test $ok_so_far = yes; then
6741 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6742 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6742echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6743echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6743echo "configure:6744: checking for arpa/inet.h" >&5 6744echo "configure:6745: checking for arpa/inet.h" >&5
6744if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6745if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6745 echo $ac_n "(cached) $ac_c" 1>&6 6746 echo $ac_n "(cached) $ac_c" 1>&6
6746else 6747else
6747 cat > conftest.$ac_ext <<EOF 6748 cat > conftest.$ac_ext <<EOF
6748#line 6749 "configure" 6749#line 6750 "configure"
6749#include "confdefs.h" 6750#include "confdefs.h"
6750#include <arpa/inet.h> 6751#include <arpa/inet.h>
6751EOF 6752EOF
6752ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6753ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6753{ (eval echo configure:6754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6754{ (eval echo configure:6755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6754ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6755ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6755if test -z "$ac_err"; then 6756if test -z "$ac_err"; then
6756 rm -rf conftest* 6757 rm -rf conftest*
@@ -6788,7 +6789,7 @@ EOF
6788fi 6789fi
6789 6790
6790echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6791echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6791echo "configure:6792: checking whether system supports dynamic ptys" >&5 6792echo "configure:6793: checking whether system supports dynamic ptys" >&5
6792if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6793if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6793 echo "$ac_t""yes" 1>&6 6794 echo "$ac_t""yes" 1>&6
6794 cat >> confdefs.h <<\EOF 6795 cat >> confdefs.h <<\EOF
@@ -6800,12 +6801,12 @@ else
6800fi 6801fi
6801 6802
6802echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6803echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6803echo "configure:6804: checking for pid_t" >&5 6804echo "configure:6805: checking for pid_t" >&5
6804if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6805if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6805 echo $ac_n "(cached) $ac_c" 1>&6 6806 echo $ac_n "(cached) $ac_c" 1>&6
6806else 6807else
6807 cat > conftest.$ac_ext <<EOF 6808 cat > conftest.$ac_ext <<EOF
6808#line 6809 "configure" 6809#line 6810 "configure"
6809#include "confdefs.h" 6810#include "confdefs.h"
6810#include <sys/types.h> 6811#include <sys/types.h>
6811#if STDC_HEADERS 6812#if STDC_HEADERS
@@ -6834,17 +6835,17 @@ fi
6834 6835
6835ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6836ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6836echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6837echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6837echo "configure:6838: checking for vfork.h" >&5 6838echo "configure:6839: checking for vfork.h" >&5
6838if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6839if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6839 echo $ac_n "(cached) $ac_c" 1>&6 6840 echo $ac_n "(cached) $ac_c" 1>&6
6840else 6841else
6841 cat > conftest.$ac_ext <<EOF 6842 cat > conftest.$ac_ext <<EOF
6842#line 6843 "configure" 6843#line 6844 "configure"
6843#include "confdefs.h" 6844#include "confdefs.h"
6844#include <vfork.h> 6845#include <vfork.h>
6845EOF 6846EOF
6846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6847ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6847{ (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6848{ (eval echo configure:6849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6848ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6849ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6849if test -z "$ac_err"; then 6850if test -z "$ac_err"; then
6850 rm -rf conftest* 6851 rm -rf conftest*
@@ -6869,18 +6870,18 @@ else
6869fi 6870fi
6870 6871
6871echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6872echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6872echo "configure:6873: checking for working vfork" >&5 6873echo "configure:6874: checking for working vfork" >&5
6873if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6874if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6874 echo $ac_n "(cached) $ac_c" 1>&6 6875 echo $ac_n "(cached) $ac_c" 1>&6
6875else 6876else
6876 if test "$cross_compiling" = yes; then 6877 if test "$cross_compiling" = yes; then
6877 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6878 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6878echo "configure:6879: checking for vfork" >&5 6879echo "configure:6880: checking for vfork" >&5
6879if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6880if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6880 echo $ac_n "(cached) $ac_c" 1>&6 6881 echo $ac_n "(cached) $ac_c" 1>&6
6881else 6882else
6882 cat > conftest.$ac_ext <<EOF 6883 cat > conftest.$ac_ext <<EOF
6883#line 6884 "configure" 6884#line 6885 "configure"
6884#include "confdefs.h" 6885#include "confdefs.h"
6885/* System header to define __stub macros and hopefully few prototypes, 6886/* System header to define __stub macros and hopefully few prototypes,
6886 which can conflict with char vfork(); below. */ 6887 which can conflict with char vfork(); below. */
@@ -6903,7 +6904,7 @@ vfork();
6903 6904
6904; return 0; } 6905; return 0; }
6905EOF 6906EOF
6906if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6907if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6907 rm -rf conftest* 6908 rm -rf conftest*
6908 eval "ac_cv_func_vfork=yes" 6909 eval "ac_cv_func_vfork=yes"
6909else 6910else
@@ -6925,7 +6926,7 @@ fi
6925ac_cv_func_vfork_works=$ac_cv_func_vfork 6926ac_cv_func_vfork_works=$ac_cv_func_vfork
6926else 6927else
6927 cat > conftest.$ac_ext <<EOF 6928 cat > conftest.$ac_ext <<EOF
6928#line 6929 "configure" 6929#line 6930 "configure"
6929#include "confdefs.h" 6930#include "confdefs.h"
6930/* Thanks to Paul Eggert for this test. */ 6931/* Thanks to Paul Eggert for this test. */
6931#include <stdio.h> 6932#include <stdio.h>
@@ -7020,7 +7021,7 @@ main() {
7020 } 7021 }
7021} 7022}
7022EOF 7023EOF
7023if { (eval echo configure:7024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7024if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7024then 7025then
7025 ac_cv_func_vfork_works=yes 7026 ac_cv_func_vfork_works=yes
7026else 7027else
diff --git a/src/ChangeLog b/src/ChangeLog
index 300a1c65a1d..48d78d78c43 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12000-04-20 Gerd Moellmann <gerd@gnu.org>
2
3 * keyboard.c (echo_message_buffer): New variable.
4 (echo_now): Set echo_message_buffer to the echo area buffer used
5 to display the echo.
6 (cancel_echoing): Reset echo_message_buffer to nil.
7 (read_char): Code rewritten that handles canceling an echo or
8 echoing a dash, respectively.
9
10 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent
11 directory doesn't exist.
12
12000-04-19 Dave Love <fx@gnu.org> 132000-04-19 Dave Love <fx@gnu.org>
2 14
3 * fns.c (syms_of_fns): Defsubr mapc. 15 * fns.c (syms_of_fns): Defsubr mapc.