aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-01-18 11:01:12 +0000
committerGerd Moellmann2000-01-18 11:01:12 +0000
commitffe3613603f997fdb4f73fd6453dd1cd8dad1a3d (patch)
treec908fbdfe9cccff21d6cc34019cea751d14e7c34
parent5119087bdd839ece41aca683a7f5088fad896b26 (diff)
downloademacs-ffe3613603f997fdb4f73fd6453dd1cd8dad1a3d.tar.gz
emacs-ffe3613603f997fdb4f73fd6453dd1cd8dad1a3d.zip
*** empty log message ***
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure813
-rw-r--r--etc/NEWS4
3 files changed, 306 insertions, 516 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a30415a3ce..d06a843fc31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-01-18 Gerd Moellmann <gerd@gnu.org>
2
3 * configure.in (HAVE_GIF): Check for DGifOpen instead of
4 DGifOpenFileName.
5
12000-01-11 Andreas Schwab <schwab@suse.de> 62000-01-11 Andreas Schwab <schwab@suse.de>
2 7
3 * Makefile.in (install-arch-indep): Update list of info files to 8 * Makefile.in (install-arch-indep): Update list of info files to
diff --git a/configure b/configure
index 4805dd40db5..216cf5ad1c3 100755
--- a/configure
+++ b/configure
@@ -871,8 +871,6 @@ case "${canonical}" in
871 # This is needed to find X11R6.1 libraries for certain tests. 871 # This is needed to find X11R6.1 libraries for certain tests.
872 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 872 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
873 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 873 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
874 #NON_GCC_TEST_OPTIONS=-std # gets us __STDC__
875 #NON_GNU_CPP=/usr/lib/cpp
876 ;; 874 ;;
877 875
878 alpha*-*-linux-gnu* ) 876 alpha*-*-linux-gnu* )
@@ -903,11 +901,6 @@ case "${canonical}" in
903 machine=apollo opsys=bsd4-3 901 machine=apollo opsys=bsd4-3
904 ;; 902 ;;
905 903
906 ## ARM, GNU/Linux
907 arm*-*-linux-gnu* )
908 machine=arm opsys=gnu-linux
909 ;;
910
911 ## AT&T 3b2, 3b5, 3b15, 3b20 904 ## AT&T 3b2, 3b5, 3b15, 3b20
912 we32k-att-sysv* ) 905 we32k-att-sysv* )
913 machine=att3b opsys=usg5-2-2 906 machine=att3b opsys=usg5-2-2
@@ -1706,7 +1699,7 @@ case ${with_gcc} in
1706 * ) # Extract the first word of "gcc", so it can be a program name with args. 1699 * ) # Extract the first word of "gcc", so it can be a program name with args.
1707set dummy gcc; ac_word=$2 1700set dummy gcc; ac_word=$2
1708echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1709echo "configure:1710: checking for $ac_word" >&5 1702echo "configure:1703: checking for $ac_word" >&5
1710if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1703if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1711 echo $ac_n "(cached) $ac_c" 1>&6 1704 echo $ac_n "(cached) $ac_c" 1>&6
1712else 1705else
@@ -1736,7 +1729,7 @@ if test -z "$CC"; then
1736 # Extract the first word of "cc", so it can be a program name with args. 1729 # Extract the first word of "cc", so it can be a program name with args.
1737set dummy cc; ac_word=$2 1730set dummy cc; ac_word=$2
1738echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1731echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1739echo "configure:1740: checking for $ac_word" >&5 1732echo "configure:1733: checking for $ac_word" >&5
1740if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1733if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1741 echo $ac_n "(cached) $ac_c" 1>&6 1734 echo $ac_n "(cached) $ac_c" 1>&6
1742else 1735else
@@ -1787,7 +1780,7 @@ fi
1787 # Extract the first word of "cl", so it can be a program name with args. 1780 # Extract the first word of "cl", so it can be a program name with args.
1788set dummy cl; ac_word=$2 1781set dummy cl; ac_word=$2
1789echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1782echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1790echo "configure:1791: checking for $ac_word" >&5 1783echo "configure:1784: checking for $ac_word" >&5
1791if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1784if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1792 echo $ac_n "(cached) $ac_c" 1>&6 1785 echo $ac_n "(cached) $ac_c" 1>&6
1793else 1786else
@@ -1819,7 +1812,7 @@ fi
1819fi 1812fi
1820 1813
1821echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1814echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1822echo "configure:1823: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1815echo "configure:1816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1823 1816
1824ac_ext=c 1817ac_ext=c
1825# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1818# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1830,12 +1823,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1830 1823
1831cat > conftest.$ac_ext << EOF 1824cat > conftest.$ac_ext << EOF
1832 1825
1833#line 1834 "configure" 1826#line 1827 "configure"
1834#include "confdefs.h" 1827#include "confdefs.h"
1835 1828
1836main(){return(0);} 1829main(){return(0);}
1837EOF 1830EOF
1838if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1831if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1839 ac_cv_prog_cc_works=yes 1832 ac_cv_prog_cc_works=yes
1840 # If we can't run a trivial program, we are probably using a cross compiler. 1833 # If we can't run a trivial program, we are probably using a cross compiler.
1841 if (./conftest; exit) 2>/dev/null; then 1834 if (./conftest; exit) 2>/dev/null; then
@@ -1861,12 +1854,12 @@ if test $ac_cv_prog_cc_works = no; then
1861 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1854 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1862fi 1855fi
1863echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1856echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1864echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1857echo "configure:1858: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1865echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1858echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1866cross_compiling=$ac_cv_prog_cc_cross 1859cross_compiling=$ac_cv_prog_cc_cross
1867 1860
1868echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1861echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1869echo "configure:1870: checking whether we are using GNU C" >&5 1862echo "configure:1863: checking whether we are using GNU C" >&5
1870if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1863if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1871 echo $ac_n "(cached) $ac_c" 1>&6 1864 echo $ac_n "(cached) $ac_c" 1>&6
1872else 1865else
@@ -1875,7 +1868,7 @@ else
1875 yes; 1868 yes;
1876#endif 1869#endif
1877EOF 1870EOF
1878if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1871if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1879 ac_cv_prog_gcc=yes 1872 ac_cv_prog_gcc=yes
1880else 1873else
1881 ac_cv_prog_gcc=no 1874 ac_cv_prog_gcc=no
@@ -1894,7 +1887,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1894ac_save_CFLAGS="$CFLAGS" 1887ac_save_CFLAGS="$CFLAGS"
1895CFLAGS= 1888CFLAGS=
1896echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1889echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1897echo "configure:1898: checking whether ${CC-cc} accepts -g" >&5 1890echo "configure:1891: checking whether ${CC-cc} accepts -g" >&5
1898if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1891if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1899 echo $ac_n "(cached) $ac_c" 1>&6 1892 echo $ac_n "(cached) $ac_c" 1>&6
1900else 1893else
@@ -1974,7 +1967,7 @@ fi
1974#### #undef clause to src/config.h.in for autoconf to modify. 1967#### #undef clause to src/config.h.in for autoconf to modify.
1975 1968
1976echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1969echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1977echo "configure:1978: checking whether ln -s works" >&5 1970echo "configure:1971: checking whether ln -s works" >&5
1978if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1971if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1979 echo $ac_n "(cached) $ac_c" 1>&6 1972 echo $ac_n "(cached) $ac_c" 1>&6
1980else 1973else
@@ -1995,7 +1988,7 @@ else
1995fi 1988fi
1996 1989
1997echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1990echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1998echo "configure:1999: checking how to run the C preprocessor" >&5 1991echo "configure:1992: checking how to run the C preprocessor" >&5
1999# On Suns, sometimes $CPP names a directory. 1992# On Suns, sometimes $CPP names a directory.
2000if test -n "$CPP" && test -d "$CPP"; then 1993if test -n "$CPP" && test -d "$CPP"; then
2001 CPP= 1994 CPP=
@@ -2010,13 +2003,13 @@ else
2010 # On the NeXT, cc -E runs the code through the compiler's parser, 2003 # On the NeXT, cc -E runs the code through the compiler's parser,
2011 # not just through cpp. 2004 # not just through cpp.
2012 cat > conftest.$ac_ext <<EOF 2005 cat > conftest.$ac_ext <<EOF
2013#line 2014 "configure" 2006#line 2007 "configure"
2014#include "confdefs.h" 2007#include "confdefs.h"
2015#include <assert.h> 2008#include <assert.h>
2016Syntax Error 2009Syntax Error
2017EOF 2010EOF
2018ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2011ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2019{ (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2012{ (eval echo configure:2013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2020ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2013ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2021if test -z "$ac_err"; then 2014if test -z "$ac_err"; then
2022 : 2015 :
@@ -2027,13 +2020,13 @@ else
2027 rm -rf conftest* 2020 rm -rf conftest*
2028 CPP="${CC-cc} -E -traditional-cpp" 2021 CPP="${CC-cc} -E -traditional-cpp"
2029 cat > conftest.$ac_ext <<EOF 2022 cat > conftest.$ac_ext <<EOF
2030#line 2031 "configure" 2023#line 2024 "configure"
2031#include "confdefs.h" 2024#include "confdefs.h"
2032#include <assert.h> 2025#include <assert.h>
2033Syntax Error 2026Syntax Error
2034EOF 2027EOF
2035ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2028ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2036{ (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2029{ (eval echo configure:2030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2037ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2030ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2038if test -z "$ac_err"; then 2031if test -z "$ac_err"; then
2039 : 2032 :
@@ -2044,13 +2037,13 @@ else
2044 rm -rf conftest* 2037 rm -rf conftest*
2045 CPP="${CC-cc} -nologo -E" 2038 CPP="${CC-cc} -nologo -E"
2046 cat > conftest.$ac_ext <<EOF 2039 cat > conftest.$ac_ext <<EOF
2047#line 2048 "configure" 2040#line 2041 "configure"
2048#include "confdefs.h" 2041#include "confdefs.h"
2049#include <assert.h> 2042#include <assert.h>
2050Syntax Error 2043Syntax Error
2051EOF 2044EOF
2052ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2045ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2053{ (eval echo configure:2054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2046{ (eval echo configure:2047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2054ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2047ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2055if test -z "$ac_err"; then 2048if test -z "$ac_err"; then
2056 : 2049 :
@@ -2086,7 +2079,7 @@ echo "$ac_t""$CPP" 1>&6
2086# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2079# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2087# ./install, which can be erroneously created by make from ./install.sh. 2080# ./install, which can be erroneously created by make from ./install.sh.
2088echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2081echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2089echo "configure:2090: checking for a BSD compatible install" >&5 2082echo "configure:2083: checking for a BSD compatible install" >&5
2090if test -z "$INSTALL"; then 2083if test -z "$INSTALL"; then
2091if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2084if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2092 echo $ac_n "(cached) $ac_c" 1>&6 2085 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2143,7 +2136,7 @@ do
2143# Extract the first word of "$ac_prog", so it can be a program name with args. 2136# Extract the first word of "$ac_prog", so it can be a program name with args.
2144set dummy $ac_prog; ac_word=$2 2137set dummy $ac_prog; ac_word=$2
2145echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2138echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2146echo "configure:2147: checking for $ac_word" >&5 2139echo "configure:2140: checking for $ac_word" >&5
2147if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2140if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2148 echo $ac_n "(cached) $ac_c" 1>&6 2141 echo $ac_n "(cached) $ac_c" 1>&6
2149else 2142else
@@ -2175,9 +2168,9 @@ test -n "$YACC" || YACC="yacc"
2175 2168
2176 2169
2177echo $ac_n "checking for AIX""... $ac_c" 1>&6 2170echo $ac_n "checking for AIX""... $ac_c" 1>&6
2178echo "configure:2179: checking for AIX" >&5 2171echo "configure:2172: checking for AIX" >&5
2179cat > conftest.$ac_ext <<EOF 2172cat > conftest.$ac_ext <<EOF
2180#line 2181 "configure" 2173#line 2174 "configure"
2181#include "confdefs.h" 2174#include "confdefs.h"
2182#ifdef _AIX 2175#ifdef _AIX
2183 yes 2176 yes
@@ -2204,17 +2197,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2204do 2197do
2205ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2198ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2206echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2199echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2207echo "configure:2208: checking for $ac_hdr" >&5 2200echo "configure:2201: checking for $ac_hdr" >&5
2208if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2201if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2209 echo $ac_n "(cached) $ac_c" 1>&6 2202 echo $ac_n "(cached) $ac_c" 1>&6
2210else 2203else
2211 cat > conftest.$ac_ext <<EOF 2204 cat > conftest.$ac_ext <<EOF
2212#line 2213 "configure" 2205#line 2206 "configure"
2213#include "confdefs.h" 2206#include "confdefs.h"
2214#include <$ac_hdr> 2207#include <$ac_hdr>
2215EOF 2208EOF
2216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2209ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2217{ (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2210{ (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2218ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2211ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2219if test -z "$ac_err"; then 2212if test -z "$ac_err"; then
2220 rm -rf conftest* 2213 rm -rf conftest*
@@ -2247,17 +2240,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2247do 2240do
2248ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2241ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2249echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2242echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2250echo "configure:2251: checking for $ac_hdr" >&5 2243echo "configure:2244: checking for $ac_hdr" >&5
2251if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2252 echo $ac_n "(cached) $ac_c" 1>&6 2245 echo $ac_n "(cached) $ac_c" 1>&6
2253else 2246else
2254 cat > conftest.$ac_ext <<EOF 2247 cat > conftest.$ac_ext <<EOF
2255#line 2256 "configure" 2248#line 2249 "configure"
2256#include "confdefs.h" 2249#include "confdefs.h"
2257#include <$ac_hdr> 2250#include <$ac_hdr>
2258EOF 2251EOF
2259ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2260{ (eval echo configure:2261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2253{ (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2261ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2262if test -z "$ac_err"; then 2255if test -z "$ac_err"; then
2263 rm -rf conftest* 2256 rm -rf conftest*
@@ -2284,12 +2277,12 @@ fi
2284done 2277done
2285 2278
2286echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2279echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2287echo "configure:2288: checking for ANSI C header files" >&5 2280echo "configure:2281: checking for ANSI C header files" >&5
2288if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2281if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2289 echo $ac_n "(cached) $ac_c" 1>&6 2282 echo $ac_n "(cached) $ac_c" 1>&6
2290else 2283else
2291 cat > conftest.$ac_ext <<EOF 2284 cat > conftest.$ac_ext <<EOF
2292#line 2293 "configure" 2285#line 2286 "configure"
2293#include "confdefs.h" 2286#include "confdefs.h"
2294#include <stdlib.h> 2287#include <stdlib.h>
2295#include <stdarg.h> 2288#include <stdarg.h>
@@ -2297,7 +2290,7 @@ else
2297#include <float.h> 2290#include <float.h>
2298EOF 2291EOF
2299ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2292ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2300{ (eval echo configure:2301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2293{ (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2301ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2294ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2302if test -z "$ac_err"; then 2295if test -z "$ac_err"; then
2303 rm -rf conftest* 2296 rm -rf conftest*
@@ -2314,7 +2307,7 @@ rm -f conftest*
2314if test $ac_cv_header_stdc = yes; then 2307if test $ac_cv_header_stdc = yes; then
2315 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2316cat > conftest.$ac_ext <<EOF 2309cat > conftest.$ac_ext <<EOF
2317#line 2318 "configure" 2310#line 2311 "configure"
2318#include "confdefs.h" 2311#include "confdefs.h"
2319#include <string.h> 2312#include <string.h>
2320EOF 2313EOF
@@ -2332,7 +2325,7 @@ fi
2332if test $ac_cv_header_stdc = yes; then 2325if test $ac_cv_header_stdc = yes; then
2333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2334cat > conftest.$ac_ext <<EOF 2327cat > conftest.$ac_ext <<EOF
2335#line 2336 "configure" 2328#line 2329 "configure"
2336#include "confdefs.h" 2329#include "confdefs.h"
2337#include <stdlib.h> 2330#include <stdlib.h>
2338EOF 2331EOF
@@ -2353,7 +2346,7 @@ if test "$cross_compiling" = yes; then
2353 : 2346 :
2354else 2347else
2355 cat > conftest.$ac_ext <<EOF 2348 cat > conftest.$ac_ext <<EOF
2356#line 2357 "configure" 2349#line 2350 "configure"
2357#include "confdefs.h" 2350#include "confdefs.h"
2358#include <ctype.h> 2351#include <ctype.h>
2359#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2352#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2364,7 +2357,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2364exit (0); } 2357exit (0); }
2365 2358
2366EOF 2359EOF
2367if { (eval echo configure:2368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2360if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2368then 2361then
2369 : 2362 :
2370else 2363else
@@ -2388,12 +2381,12 @@ EOF
2388fi 2381fi
2389 2382
2390echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2383echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2391echo "configure:2392: checking whether time.h and sys/time.h may both be included" >&5 2384echo "configure:2385: checking whether time.h and sys/time.h may both be included" >&5
2392if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2385if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2393 echo $ac_n "(cached) $ac_c" 1>&6 2386 echo $ac_n "(cached) $ac_c" 1>&6
2394else 2387else
2395 cat > conftest.$ac_ext <<EOF 2388 cat > conftest.$ac_ext <<EOF
2396#line 2397 "configure" 2389#line 2390 "configure"
2397#include "confdefs.h" 2390#include "confdefs.h"
2398#include <sys/types.h> 2391#include <sys/types.h>
2399#include <sys/time.h> 2392#include <sys/time.h>
@@ -2402,7 +2395,7 @@ int main() {
2402struct tm *tp; 2395struct tm *tp;
2403; return 0; } 2396; return 0; }
2404EOF 2397EOF
2405if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2398if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2406 rm -rf conftest* 2399 rm -rf conftest*
2407 ac_cv_header_time=yes 2400 ac_cv_header_time=yes
2408else 2401else
@@ -2423,12 +2416,12 @@ EOF
2423fi 2416fi
2424 2417
2425echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2418echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2426echo "configure:2427: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2419echo "configure:2420: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2427if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2420if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2428 echo $ac_n "(cached) $ac_c" 1>&6 2421 echo $ac_n "(cached) $ac_c" 1>&6
2429else 2422else
2430 cat > conftest.$ac_ext <<EOF 2423 cat > conftest.$ac_ext <<EOF
2431#line 2432 "configure" 2424#line 2425 "configure"
2432#include "confdefs.h" 2425#include "confdefs.h"
2433#include <sys/types.h> 2426#include <sys/types.h>
2434#include <signal.h> 2427#include <signal.h>
@@ -2440,7 +2433,7 @@ int main() {
2440char *msg = *(sys_siglist + 1); 2433char *msg = *(sys_siglist + 1);
2441; return 0; } 2434; return 0; }
2442EOF 2435EOF
2443if { (eval echo configure:2444: \"$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
2444 rm -rf conftest* 2437 rm -rf conftest*
2445 ac_cv_decl_sys_siglist=yes 2438 ac_cv_decl_sys_siglist=yes
2446else 2439else
@@ -2462,12 +2455,12 @@ fi
2462 2455
2463 2456
2464echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2457echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2465echo "configure:2466: checking for struct utimbuf" >&5 2458echo "configure:2459: checking for struct utimbuf" >&5
2466if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2459if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2467 echo $ac_n "(cached) $ac_c" 1>&6 2460 echo $ac_n "(cached) $ac_c" 1>&6
2468else 2461else
2469 cat > conftest.$ac_ext <<EOF 2462 cat > conftest.$ac_ext <<EOF
2470#line 2471 "configure" 2463#line 2464 "configure"
2471#include "confdefs.h" 2464#include "confdefs.h"
2472#ifdef TIME_WITH_SYS_TIME 2465#ifdef TIME_WITH_SYS_TIME
2473#include <sys/time.h> 2466#include <sys/time.h>
@@ -2486,7 +2479,7 @@ int main() {
2486static struct utimbuf x; x.actime = x.modtime; 2479static struct utimbuf x; x.actime = x.modtime;
2487; return 0; } 2480; return 0; }
2488EOF 2481EOF
2489if { (eval echo configure:2490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2482if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2490 rm -rf conftest* 2483 rm -rf conftest*
2491 emacs_cv_struct_utimbuf=yes 2484 emacs_cv_struct_utimbuf=yes
2492else 2485else
@@ -2507,12 +2500,12 @@ EOF
2507fi 2500fi
2508 2501
2509echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2502echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2510echo "configure:2511: checking return type of signal handlers" >&5 2503echo "configure:2504: checking return type of signal handlers" >&5
2511if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2504if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2512 echo $ac_n "(cached) $ac_c" 1>&6 2505 echo $ac_n "(cached) $ac_c" 1>&6
2513else 2506else
2514 cat > conftest.$ac_ext <<EOF 2507 cat > conftest.$ac_ext <<EOF
2515#line 2516 "configure" 2508#line 2509 "configure"
2516#include "confdefs.h" 2509#include "confdefs.h"
2517#include <sys/types.h> 2510#include <sys/types.h>
2518#include <signal.h> 2511#include <signal.h>
@@ -2529,7 +2522,7 @@ int main() {
2529int i; 2522int i;
2530; return 0; } 2523; return 0; }
2531EOF 2524EOF
2532if { (eval echo configure:2533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2525if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2533 rm -rf conftest* 2526 rm -rf conftest*
2534 ac_cv_type_signal=void 2527 ac_cv_type_signal=void
2535else 2528else
@@ -2549,12 +2542,12 @@ EOF
2549 2542
2550 2543
2551echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2544echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2552echo "configure:2553: checking for struct timeval" >&5 2545echo "configure:2546: checking for struct timeval" >&5
2553if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2546if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2554 echo $ac_n "(cached) $ac_c" 1>&6 2547 echo $ac_n "(cached) $ac_c" 1>&6
2555else 2548else
2556 cat > conftest.$ac_ext <<EOF 2549 cat > conftest.$ac_ext <<EOF
2557#line 2558 "configure" 2550#line 2551 "configure"
2558#include "confdefs.h" 2551#include "confdefs.h"
2559#ifdef TIME_WITH_SYS_TIME 2552#ifdef TIME_WITH_SYS_TIME
2560#include <sys/time.h> 2553#include <sys/time.h>
@@ -2570,7 +2563,7 @@ int main() {
2570static struct timeval x; x.tv_sec = x.tv_usec; 2563static struct timeval x; x.tv_sec = x.tv_usec;
2571; return 0; } 2564; return 0; }
2572EOF 2565EOF
2573if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2566if { (eval echo configure:2567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2574 rm -rf conftest* 2567 rm -rf conftest*
2575 emacs_cv_struct_timeval=yes 2568 emacs_cv_struct_timeval=yes
2576else 2569else
@@ -2592,12 +2585,12 @@ EOF
2592fi 2585fi
2593 2586
2594echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2587echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2595echo "configure:2596: checking whether struct tm is in sys/time.h or time.h" >&5 2588echo "configure:2589: checking whether struct tm is in sys/time.h or time.h" >&5
2596if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2589if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2597 echo $ac_n "(cached) $ac_c" 1>&6 2590 echo $ac_n "(cached) $ac_c" 1>&6
2598else 2591else
2599 cat > conftest.$ac_ext <<EOF 2592 cat > conftest.$ac_ext <<EOF
2600#line 2601 "configure" 2593#line 2594 "configure"
2601#include "confdefs.h" 2594#include "confdefs.h"
2602#include <sys/types.h> 2595#include <sys/types.h>
2603#include <time.h> 2596#include <time.h>
@@ -2605,7 +2598,7 @@ int main() {
2605struct tm *tp; tp->tm_sec; 2598struct tm *tp; tp->tm_sec;
2606; return 0; } 2599; return 0; }
2607EOF 2600EOF
2608if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2601if { (eval echo configure:2602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2609 rm -rf conftest* 2602 rm -rf conftest*
2610 ac_cv_struct_tm=time.h 2603 ac_cv_struct_tm=time.h
2611else 2604else
@@ -2626,12 +2619,12 @@ EOF
2626fi 2619fi
2627 2620
2628echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2621echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2629echo "configure:2630: checking for tm_zone in struct tm" >&5 2622echo "configure:2623: checking for tm_zone in struct tm" >&5
2630if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2623if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2631 echo $ac_n "(cached) $ac_c" 1>&6 2624 echo $ac_n "(cached) $ac_c" 1>&6
2632else 2625else
2633 cat > conftest.$ac_ext <<EOF 2626 cat > conftest.$ac_ext <<EOF
2634#line 2635 "configure" 2627#line 2628 "configure"
2635#include "confdefs.h" 2628#include "confdefs.h"
2636#include <sys/types.h> 2629#include <sys/types.h>
2637#include <$ac_cv_struct_tm> 2630#include <$ac_cv_struct_tm>
@@ -2639,7 +2632,7 @@ int main() {
2639struct tm tm; tm.tm_zone; 2632struct tm tm; tm.tm_zone;
2640; return 0; } 2633; return 0; }
2641EOF 2634EOF
2642if { (eval echo configure:2643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2635if { (eval echo configure:2636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2643 rm -rf conftest* 2636 rm -rf conftest*
2644 ac_cv_struct_tm_zone=yes 2637 ac_cv_struct_tm_zone=yes
2645else 2638else
@@ -2659,12 +2652,12 @@ EOF
2659 2652
2660else 2653else
2661 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2654 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2662echo "configure:2663: checking for tzname" >&5 2655echo "configure:2656: checking for tzname" >&5
2663if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2656if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2664 echo $ac_n "(cached) $ac_c" 1>&6 2657 echo $ac_n "(cached) $ac_c" 1>&6
2665else 2658else
2666 cat > conftest.$ac_ext <<EOF 2659 cat > conftest.$ac_ext <<EOF
2667#line 2668 "configure" 2660#line 2661 "configure"
2668#include "confdefs.h" 2661#include "confdefs.h"
2669#include <time.h> 2662#include <time.h>
2670#ifndef tzname /* For SGI. */ 2663#ifndef tzname /* For SGI. */
@@ -2674,7 +2667,7 @@ int main() {
2674atoi(*tzname); 2667atoi(*tzname);
2675; return 0; } 2668; return 0; }
2676EOF 2669EOF
2677if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2670if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2678 rm -rf conftest* 2671 rm -rf conftest*
2679 ac_cv_var_tzname=yes 2672 ac_cv_var_tzname=yes
2680else 2673else
@@ -2696,19 +2689,19 @@ EOF
2696fi 2689fi
2697 2690
2698echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2691echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2699echo "configure:2700: checking for tm_gmtoff in struct tm" >&5 2692echo "configure:2693: checking for tm_gmtoff in struct tm" >&5
2700if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2693if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2701 echo $ac_n "(cached) $ac_c" 1>&6 2694 echo $ac_n "(cached) $ac_c" 1>&6
2702else 2695else
2703 cat > conftest.$ac_ext <<EOF 2696 cat > conftest.$ac_ext <<EOF
2704#line 2705 "configure" 2697#line 2698 "configure"
2705#include "confdefs.h" 2698#include "confdefs.h"
2706#include <time.h> 2699#include <time.h>
2707int main() { 2700int main() {
2708struct tm t; t.tm_gmtoff = 0 2701struct tm t; t.tm_gmtoff = 0
2709; return 0; } 2702; return 0; }
2710EOF 2703EOF
2711if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2704if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2712 rm -rf conftest* 2705 rm -rf conftest*
2713 emacs_cv_tm_gmtoff=yes 2706 emacs_cv_tm_gmtoff=yes
2714else 2707else
@@ -2729,12 +2722,12 @@ EOF
2729fi 2722fi
2730 2723
2731echo $ac_n "checking for working const""... $ac_c" 1>&6 2724echo $ac_n "checking for working const""... $ac_c" 1>&6
2732echo "configure:2733: checking for working const" >&5 2725echo "configure:2726: checking for working const" >&5
2733if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2726if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2734 echo $ac_n "(cached) $ac_c" 1>&6 2727 echo $ac_n "(cached) $ac_c" 1>&6
2735else 2728else
2736 cat > conftest.$ac_ext <<EOF 2729 cat > conftest.$ac_ext <<EOF
2737#line 2738 "configure" 2730#line 2731 "configure"
2738#include "confdefs.h" 2731#include "confdefs.h"
2739 2732
2740int main() { 2733int main() {
@@ -2783,7 +2776,7 @@ ccp = (char const *const *) p;
2783 2776
2784; return 0; } 2777; return 0; }
2785EOF 2778EOF
2786if { (eval echo configure:2787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2779if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2787 rm -rf conftest* 2780 rm -rf conftest*
2788 ac_cv_c_const=yes 2781 ac_cv_c_const=yes
2789else 2782else
@@ -2805,7 +2798,7 @@ fi
2805 2798
2806 2799
2807echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2800echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2808echo "configure:2809: checking whether ${MAKE-make} sets \${MAKE}" >&5 2801echo "configure:2802: checking whether ${MAKE-make} sets \${MAKE}" >&5
2809set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2802set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2810if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2803if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2811 echo $ac_n "(cached) $ac_c" 1>&6 2804 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2833,7 +2826,7 @@ fi
2833 2826
2834 2827
2835echo $ac_n "checking for long file names""... $ac_c" 1>&6 2828echo $ac_n "checking for long file names""... $ac_c" 1>&6
2836echo "configure:2837: checking for long file names" >&5 2829echo "configure:2830: checking for long file names" >&5
2837if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 2830if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2838 echo $ac_n "(cached) $ac_c" 1>&6 2831 echo $ac_n "(cached) $ac_c" 1>&6
2839else 2832else
@@ -2884,7 +2877,7 @@ fi
2884# Uses ac_ vars as temps to allow command line to override cache and checks. 2877# Uses ac_ vars as temps to allow command line to override cache and checks.
2885# --without-x overrides everything else, but does not touch the cache. 2878# --without-x overrides everything else, but does not touch the cache.
2886echo $ac_n "checking for X""... $ac_c" 1>&6 2879echo $ac_n "checking for X""... $ac_c" 1>&6
2887echo "configure:2888: checking for X" >&5 2880echo "configure:2881: checking for X" >&5
2888 2881
2889# Check whether --with-x or --without-x was given. 2882# Check whether --with-x or --without-x was given.
2890if test "${with_x+set}" = set; then 2883if test "${with_x+set}" = set; then
@@ -2946,12 +2939,12 @@ if test "$ac_x_includes" = NO; then
2946 2939
2947 # First, try using that file with no special directory specified. 2940 # First, try using that file with no special directory specified.
2948cat > conftest.$ac_ext <<EOF 2941cat > conftest.$ac_ext <<EOF
2949#line 2950 "configure" 2942#line 2943 "configure"
2950#include "confdefs.h" 2943#include "confdefs.h"
2951#include <$x_direct_test_include> 2944#include <$x_direct_test_include>
2952EOF 2945EOF
2953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2946ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2954{ (eval echo configure:2955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2947{ (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2948ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2956if test -z "$ac_err"; then 2949if test -z "$ac_err"; then
2957 rm -rf conftest* 2950 rm -rf conftest*
@@ -3020,14 +3013,14 @@ if test "$ac_x_libraries" = NO; then
3020 ac_save_LIBS="$LIBS" 3013 ac_save_LIBS="$LIBS"
3021 LIBS="-l$x_direct_test_library $LIBS" 3014 LIBS="-l$x_direct_test_library $LIBS"
3022cat > conftest.$ac_ext <<EOF 3015cat > conftest.$ac_ext <<EOF
3023#line 3024 "configure" 3016#line 3017 "configure"
3024#include "confdefs.h" 3017#include "confdefs.h"
3025 3018
3026int main() { 3019int main() {
3027${x_direct_test_function}() 3020${x_direct_test_function}()
3028; return 0; } 3021; return 0; }
3029EOF 3022EOF
3030if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3023if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3031 rm -rf conftest* 3024 rm -rf conftest*
3032 LIBS="$ac_save_LIBS" 3025 LIBS="$ac_save_LIBS"
3033# We can link X programs with no special library path. 3026# We can link X programs with no special library path.
@@ -3202,7 +3195,7 @@ fi
3202echo "checking the machine- and system-dependent files to find out 3195echo "checking the machine- and system-dependent files to find out
3203 - which libraries the lib-src programs will want, and 3196 - which libraries the lib-src programs will want, and
3204 - whether the GNU malloc routines are usable" 1>&6 3197 - whether the GNU malloc routines are usable" 1>&6
3205echo "configure:3206: checking the machine- and system-dependent files to find out 3198echo "configure:3199: checking the machine- and system-dependent files to find out
3206 - which libraries the lib-src programs will want, and 3199 - which libraries the lib-src programs will want, and
3207 - whether the GNU malloc routines are usable" >&5 3200 - whether the GNU malloc routines are usable" >&5
3208 3201
@@ -3332,12 +3325,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3332GNU_MALLOC=yes 3325GNU_MALLOC=yes
3333doug_lea_malloc=yes 3326doug_lea_malloc=yes
3334echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3327echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3335echo "configure:3336: checking for malloc_get_state" >&5 3328echo "configure:3329: checking for malloc_get_state" >&5
3336if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3329if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3337 echo $ac_n "(cached) $ac_c" 1>&6 3330 echo $ac_n "(cached) $ac_c" 1>&6
3338else 3331else
3339 cat > conftest.$ac_ext <<EOF 3332 cat > conftest.$ac_ext <<EOF
3340#line 3341 "configure" 3333#line 3334 "configure"
3341#include "confdefs.h" 3334#include "confdefs.h"
3342/* System header to define __stub macros and hopefully few prototypes, 3335/* System header to define __stub macros and hopefully few prototypes,
3343 which can conflict with char malloc_get_state(); below. */ 3336 which can conflict with char malloc_get_state(); below. */
@@ -3360,7 +3353,7 @@ malloc_get_state();
3360 3353
3361; return 0; } 3354; return 0; }
3362EOF 3355EOF
3363if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3356if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3364 rm -rf conftest* 3357 rm -rf conftest*
3365 eval "ac_cv_func_malloc_get_state=yes" 3358 eval "ac_cv_func_malloc_get_state=yes"
3366else 3359else
@@ -3381,12 +3374,12 @@ doug_lea_malloc=no
3381fi 3374fi
3382 3375
3383echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3376echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3384echo "configure:3385: checking for malloc_set_state" >&5 3377echo "configure:3378: checking for malloc_set_state" >&5
3385if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3378if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3386 echo $ac_n "(cached) $ac_c" 1>&6 3379 echo $ac_n "(cached) $ac_c" 1>&6
3387else 3380else
3388 cat > conftest.$ac_ext <<EOF 3381 cat > conftest.$ac_ext <<EOF
3389#line 3390 "configure" 3382#line 3383 "configure"
3390#include "confdefs.h" 3383#include "confdefs.h"
3391/* System header to define __stub macros and hopefully few prototypes, 3384/* System header to define __stub macros and hopefully few prototypes,
3392 which can conflict with char malloc_set_state(); below. */ 3385 which can conflict with char malloc_set_state(); below. */
@@ -3409,7 +3402,7 @@ malloc_set_state();
3409 3402
3410; return 0; } 3403; return 0; }
3411EOF 3404EOF
3412if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3405if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3413 rm -rf conftest* 3406 rm -rf conftest*
3414 eval "ac_cv_func_malloc_set_state=yes" 3407 eval "ac_cv_func_malloc_set_state=yes"
3415else 3408else
@@ -3430,19 +3423,19 @@ doug_lea_malloc=no
3430fi 3423fi
3431 3424
3432echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3425echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3433echo "configure:3434: checking whether __after_morecore_hook exists" >&5 3426echo "configure:3427: checking whether __after_morecore_hook exists" >&5
3434if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3427if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3435 echo $ac_n "(cached) $ac_c" 1>&6 3428 echo $ac_n "(cached) $ac_c" 1>&6
3436else 3429else
3437 cat > conftest.$ac_ext <<EOF 3430 cat > conftest.$ac_ext <<EOF
3438#line 3439 "configure" 3431#line 3432 "configure"
3439#include "confdefs.h" 3432#include "confdefs.h"
3440extern void (* __after_morecore_hook)(); 3433extern void (* __after_morecore_hook)();
3441int main() { 3434int main() {
3442__after_morecore_hook = 0 3435__after_morecore_hook = 0
3443; return 0; } 3436; return 0; }
3444EOF 3437EOF
3445if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3438if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3446 rm -rf conftest* 3439 rm -rf conftest*
3447 emacs_cv_var___after_morecore_hook=yes 3440 emacs_cv_var___after_morecore_hook=yes
3448else 3441else
@@ -3492,7 +3485,7 @@ fi
3492LIBS="$libsrc_libs $LIBS" 3485LIBS="$libsrc_libs $LIBS"
3493 3486
3494echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3487echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3495echo "configure:3496: checking for dnet_ntoa in -ldnet" >&5 3488echo "configure:3489: checking for dnet_ntoa in -ldnet" >&5
3496ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3489ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3497if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3490if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3498 echo $ac_n "(cached) $ac_c" 1>&6 3491 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3500,7 +3493,7 @@ else
3500 ac_save_LIBS="$LIBS" 3493 ac_save_LIBS="$LIBS"
3501LIBS="-ldnet $LIBS" 3494LIBS="-ldnet $LIBS"
3502cat > conftest.$ac_ext <<EOF 3495cat > conftest.$ac_ext <<EOF
3503#line 3504 "configure" 3496#line 3497 "configure"
3504#include "confdefs.h" 3497#include "confdefs.h"
3505/* Override any gcc2 internal prototype to avoid an error. */ 3498/* Override any gcc2 internal prototype to avoid an error. */
3506/* We use char because int might match the return type of a gcc2 3499/* We use char because int might match the return type of a gcc2
@@ -3511,7 +3504,7 @@ int main() {
3511dnet_ntoa() 3504dnet_ntoa()
3512; return 0; } 3505; return 0; }
3513EOF 3506EOF
3514if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3507if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3515 rm -rf conftest* 3508 rm -rf conftest*
3516 eval "ac_cv_lib_$ac_lib_var=yes" 3509 eval "ac_cv_lib_$ac_lib_var=yes"
3517else 3510else
@@ -3540,7 +3533,7 @@ fi
3540 3533
3541 3534
3542echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3535echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3543echo "configure:3544: checking for main in -lXbsd" >&5 3536echo "configure:3537: checking for main in -lXbsd" >&5
3544ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3537ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3545if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3538if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3546 echo $ac_n "(cached) $ac_c" 1>&6 3539 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3548,14 +3541,14 @@ else
3548 ac_save_LIBS="$LIBS" 3541 ac_save_LIBS="$LIBS"
3549LIBS="-lXbsd $LIBS" 3542LIBS="-lXbsd $LIBS"
3550cat > conftest.$ac_ext <<EOF 3543cat > conftest.$ac_ext <<EOF
3551#line 3552 "configure" 3544#line 3545 "configure"
3552#include "confdefs.h" 3545#include "confdefs.h"
3553 3546
3554int main() { 3547int main() {
3555main() 3548main()
3556; return 0; } 3549; return 0; }
3557EOF 3550EOF
3558if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3551if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3559 rm -rf conftest* 3552 rm -rf conftest*
3560 eval "ac_cv_lib_$ac_lib_var=yes" 3553 eval "ac_cv_lib_$ac_lib_var=yes"
3561else 3554else
@@ -3577,7 +3570,7 @@ fi
3577 3570
3578 3571
3579echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3572echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3580echo "configure:3581: checking for cma_open in -lpthreads" >&5 3573echo "configure:3574: checking for cma_open in -lpthreads" >&5
3581ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3574ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3582if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3575if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3583 echo $ac_n "(cached) $ac_c" 1>&6 3576 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3585,7 +3578,7 @@ else
3585 ac_save_LIBS="$LIBS" 3578 ac_save_LIBS="$LIBS"
3586LIBS="-lpthreads $LIBS" 3579LIBS="-lpthreads $LIBS"
3587cat > conftest.$ac_ext <<EOF 3580cat > conftest.$ac_ext <<EOF
3588#line 3589 "configure" 3581#line 3582 "configure"
3589#include "confdefs.h" 3582#include "confdefs.h"
3590/* Override any gcc2 internal prototype to avoid an error. */ 3583/* Override any gcc2 internal prototype to avoid an error. */
3591/* We use char because int might match the return type of a gcc2 3584/* We use char because int might match the return type of a gcc2
@@ -3596,7 +3589,7 @@ int main() {
3596cma_open() 3589cma_open()
3597; return 0; } 3590; return 0; }
3598EOF 3591EOF
3599if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3592if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3600 rm -rf conftest* 3593 rm -rf conftest*
3601 eval "ac_cv_lib_$ac_lib_var=yes" 3594 eval "ac_cv_lib_$ac_lib_var=yes"
3602else 3595else
@@ -3625,7 +3618,7 @@ fi
3625 3618
3626 3619
3627echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3620echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3628echo "configure:3629: checking for XFree86 in /usr/X386" >&5 3621echo "configure:3622: checking for XFree86 in /usr/X386" >&5
3629if test -d /usr/X386/include; then 3622if test -d /usr/X386/include; then
3630 HAVE_XFREE386=yes 3623 HAVE_XFREE386=yes
3631 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3624 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3654,16 +3647,16 @@ if test "${HAVE_X11}" = "yes"; then
3654 3647
3655 if test "${opsys}" = "gnu-linux"; then 3648 if test "${opsys}" = "gnu-linux"; then
3656 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3649 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3657echo "configure:3658: checking whether X on GNU/Linux needs -b to link" >&5 3650echo "configure:3651: checking whether X on GNU/Linux needs -b to link" >&5
3658 cat > conftest.$ac_ext <<EOF 3651 cat > conftest.$ac_ext <<EOF
3659#line 3660 "configure" 3652#line 3653 "configure"
3660#include "confdefs.h" 3653#include "confdefs.h"
3661 3654
3662int main() { 3655int main() {
3663XOpenDisplay ("foo"); 3656XOpenDisplay ("foo");
3664; return 0; } 3657; return 0; }
3665EOF 3658EOF
3666if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3659if { (eval echo configure:3660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3667 rm -rf conftest* 3660 rm -rf conftest*
3668 xlinux_first_failure=no 3661 xlinux_first_failure=no
3669else 3662else
@@ -3683,14 +3676,14 @@ rm -f conftest*
3683 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3676 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3684 LIBS="$LIBS -b i486-linuxaout" 3677 LIBS="$LIBS -b i486-linuxaout"
3685 cat > conftest.$ac_ext <<EOF 3678 cat > conftest.$ac_ext <<EOF
3686#line 3687 "configure" 3679#line 3680 "configure"
3687#include "confdefs.h" 3680#include "confdefs.h"
3688 3681
3689int main() { 3682int main() {
3690XOpenDisplay ("foo"); 3683XOpenDisplay ("foo");
3691; return 0; } 3684; return 0; }
3692EOF 3685EOF
3693if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3686if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3694 rm -rf conftest* 3687 rm -rf conftest*
3695 xlinux_second_failure=no 3688 xlinux_second_failure=no
3696else 3689else
@@ -3720,12 +3713,12 @@ rm -f conftest*
3720XScreenNumberOfScreen XSetWMProtocols 3713XScreenNumberOfScreen XSetWMProtocols
3721do 3714do
3722echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3715echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3723echo "configure:3724: checking for $ac_func" >&5 3716echo "configure:3717: checking for $ac_func" >&5
3724if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3717if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3725 echo $ac_n "(cached) $ac_c" 1>&6 3718 echo $ac_n "(cached) $ac_c" 1>&6
3726else 3719else
3727 cat > conftest.$ac_ext <<EOF 3720 cat > conftest.$ac_ext <<EOF
3728#line 3729 "configure" 3721#line 3722 "configure"
3729#include "confdefs.h" 3722#include "confdefs.h"
3730/* System header to define __stub macros and hopefully few prototypes, 3723/* System header to define __stub macros and hopefully few prototypes,
3731 which can conflict with char $ac_func(); below. */ 3724 which can conflict with char $ac_func(); below. */
@@ -3748,7 +3741,7 @@ $ac_func();
3748 3741
3749; return 0; } 3742; return 0; }
3750EOF 3743EOF
3751if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3744if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3752 rm -rf conftest* 3745 rm -rf conftest*
3753 eval "ac_cv_func_$ac_func=yes" 3746 eval "ac_cv_func_$ac_func=yes"
3754else 3747else
@@ -3776,12 +3769,12 @@ fi
3776 3769
3777if test "${window_system}" = "x11"; then 3770if test "${window_system}" = "x11"; then
3778 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3771 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3779echo "configure:3780: checking X11 version 6" >&5 3772echo "configure:3773: checking X11 version 6" >&5
3780 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3773 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3781 echo $ac_n "(cached) $ac_c" 1>&6 3774 echo $ac_n "(cached) $ac_c" 1>&6
3782else 3775else
3783 cat > conftest.$ac_ext <<EOF 3776 cat > conftest.$ac_ext <<EOF
3784#line 3785 "configure" 3777#line 3778 "configure"
3785#include "confdefs.h" 3778#include "confdefs.h"
3786#include <X11/Xlib.h> 3779#include <X11/Xlib.h>
3787int main() { 3780int main() {
@@ -3791,7 +3784,7 @@ fail;
3791 3784
3792; return 0; } 3785; return 0; }
3793EOF 3786EOF
3794if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3787if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3795 rm -rf conftest* 3788 rm -rf conftest*
3796 emacs_cv_x11_version_6=yes 3789 emacs_cv_x11_version_6=yes
3797else 3790else
@@ -3816,12 +3809,12 @@ fi
3816 3809
3817if test "${window_system}" = "x11"; then 3810if test "${window_system}" = "x11"; then
3818 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 3811 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
3819echo "configure:3820: checking X11 version 5" >&5 3812echo "configure:3813: checking X11 version 5" >&5
3820 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 3813 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
3821 echo $ac_n "(cached) $ac_c" 1>&6 3814 echo $ac_n "(cached) $ac_c" 1>&6
3822else 3815else
3823 cat > conftest.$ac_ext <<EOF 3816 cat > conftest.$ac_ext <<EOF
3824#line 3825 "configure" 3817#line 3818 "configure"
3825#include "confdefs.h" 3818#include "confdefs.h"
3826#include <X11/Xlib.h> 3819#include <X11/Xlib.h>
3827int main() { 3820int main() {
@@ -3831,7 +3824,7 @@ fail;
3831 3824
3832; return 0; } 3825; return 0; }
3833EOF 3826EOF
3834if { (eval echo configure:3835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3827if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3835 rm -rf conftest* 3828 rm -rf conftest*
3836 emacs_cv_x11_version_5=yes 3829 emacs_cv_x11_version_5=yes
3837else 3830else
@@ -3859,12 +3852,12 @@ fi
3859if test x"${USE_X_TOOLKIT}" = xmaybe; then 3852if test x"${USE_X_TOOLKIT}" = xmaybe; then
3860 if test x"${HAVE_X11R5}" = xyes; then 3853 if test x"${HAVE_X11R5}" = xyes; then
3861 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 3854 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
3862echo "configure:3863: checking X11 version 5 with Xaw" >&5 3855echo "configure:3856: checking X11 version 5 with Xaw" >&5
3863 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 3856 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
3864 echo $ac_n "(cached) $ac_c" 1>&6 3857 echo $ac_n "(cached) $ac_c" 1>&6
3865else 3858else
3866 cat > conftest.$ac_ext <<EOF 3859 cat > conftest.$ac_ext <<EOF
3867#line 3868 "configure" 3860#line 3861 "configure"
3868#include "confdefs.h" 3861#include "confdefs.h"
3869 3862
3870#include <X11/Intrinsic.h> 3863#include <X11/Intrinsic.h>
@@ -3873,7 +3866,7 @@ int main() {
3873 3866
3874; return 0; } 3867; return 0; }
3875EOF 3868EOF
3876if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3869if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3877 rm -rf conftest* 3870 rm -rf conftest*
3878 emacs_cv_x11_version_5_with_xaw=yes 3871 emacs_cv_x11_version_5_with_xaw=yes
3879else 3872else
@@ -3901,12 +3894,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
3901 3894
3902if test "${USE_X_TOOLKIT}" != "none"; then 3895if test "${USE_X_TOOLKIT}" != "none"; then
3903 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 3896 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
3904echo "configure:3905: checking X11 toolkit version" >&5 3897echo "configure:3898: checking X11 toolkit version" >&5
3905 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 3898 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
3906 echo $ac_n "(cached) $ac_c" 1>&6 3899 echo $ac_n "(cached) $ac_c" 1>&6
3907else 3900else
3908 cat > conftest.$ac_ext <<EOF 3901 cat > conftest.$ac_ext <<EOF
3909#line 3910 "configure" 3902#line 3903 "configure"
3910#include "confdefs.h" 3903#include "confdefs.h"
3911#include <X11/Intrinsic.h> 3904#include <X11/Intrinsic.h>
3912int main() { 3905int main() {
@@ -3916,7 +3909,7 @@ fail;
3916 3909
3917; return 0; } 3910; return 0; }
3918EOF 3911EOF
3919if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3912if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3920 rm -rf conftest* 3913 rm -rf conftest*
3921 emacs_cv_x11_toolkit_version_6=yes 3914 emacs_cv_x11_toolkit_version_6=yes
3922else 3915else
@@ -3946,7 +3939,7 @@ EOF
3946 LIBS="-lXt $LIBS" 3939 LIBS="-lXt $LIBS"
3947 fi 3940 fi
3948 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 3941 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
3949echo "configure:3950: checking for XmuConvertStandardSelection in -lXmu" >&5 3942echo "configure:3943: checking for XmuConvertStandardSelection in -lXmu" >&5
3950ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 3943ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
3951if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3944if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3952 echo $ac_n "(cached) $ac_c" 1>&6 3945 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3954,7 +3947,7 @@ else
3954 ac_save_LIBS="$LIBS" 3947 ac_save_LIBS="$LIBS"
3955LIBS="-lXmu $LIBS" 3948LIBS="-lXmu $LIBS"
3956cat > conftest.$ac_ext <<EOF 3949cat > conftest.$ac_ext <<EOF
3957#line 3958 "configure" 3950#line 3951 "configure"
3958#include "confdefs.h" 3951#include "confdefs.h"
3959/* Override any gcc2 internal prototype to avoid an error. */ 3952/* Override any gcc2 internal prototype to avoid an error. */
3960/* We use char because int might match the return type of a gcc2 3953/* We use char because int might match the return type of a gcc2
@@ -3965,7 +3958,7 @@ int main() {
3965XmuConvertStandardSelection() 3958XmuConvertStandardSelection()
3966; return 0; } 3959; return 0; }
3967EOF 3960EOF
3968if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3961if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3969 rm -rf conftest* 3962 rm -rf conftest*
3970 eval "ac_cv_lib_$ac_lib_var=yes" 3963 eval "ac_cv_lib_$ac_lib_var=yes"
3971else 3964else
@@ -3997,12 +3990,12 @@ fi
3997 3990
3998if test "${USE_X_TOOLKIT}" = "MOTIF"; then 3991if test "${USE_X_TOOLKIT}" = "MOTIF"; then
3999 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 3992 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4000echo "configure:4001: checking for Motif version 2.1" >&5 3993echo "configure:3994: checking for Motif version 2.1" >&5
4001if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 3994if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4002 echo $ac_n "(cached) $ac_c" 1>&6 3995 echo $ac_n "(cached) $ac_c" 1>&6
4003else 3996else
4004 cat > conftest.$ac_ext <<EOF 3997 cat > conftest.$ac_ext <<EOF
4005#line 4006 "configure" 3998#line 3999 "configure"
4006#include "confdefs.h" 3999#include "confdefs.h"
4007#include <Xm/Xm.h> 4000#include <Xm/Xm.h>
4008int main() { 4001int main() {
@@ -4013,7 +4006,7 @@ Motif version prior to 2.1.
4013#endif 4006#endif
4014; return 0; } 4007; return 0; }
4015EOF 4008EOF
4016if { (eval echo configure:4017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4009if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4017 rm -rf conftest* 4010 rm -rf conftest*
4018 emacs_cv_motif_version_2_1=yes 4011 emacs_cv_motif_version_2_1=yes
4019else 4012else
@@ -4033,7 +4026,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4033EOF 4026EOF
4034 4027
4035 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4028 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4036echo "configure:4037: checking for XpCreateContext in -lXp" >&5 4029echo "configure:4030: checking for XpCreateContext in -lXp" >&5
4037ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4030ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4038if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4031if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4039 echo $ac_n "(cached) $ac_c" 1>&6 4032 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4041,7 +4034,7 @@ else
4041 ac_save_LIBS="$LIBS" 4034 ac_save_LIBS="$LIBS"
4042LIBS="-lXp $LIBS" 4035LIBS="-lXp $LIBS"
4043cat > conftest.$ac_ext <<EOF 4036cat > conftest.$ac_ext <<EOF
4044#line 4045 "configure" 4037#line 4038 "configure"
4045#include "confdefs.h" 4038#include "confdefs.h"
4046/* Override any gcc2 internal prototype to avoid an error. */ 4039/* Override any gcc2 internal prototype to avoid an error. */
4047/* We use char because int might match the return type of a gcc2 4040/* We use char because int might match the return type of a gcc2
@@ -4052,7 +4045,7 @@ int main() {
4052XpCreateContext() 4045XpCreateContext()
4053; return 0; } 4046; return 0; }
4054EOF 4047EOF
4055if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4048if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4056 rm -rf conftest* 4049 rm -rf conftest*
4057 eval "ac_cv_lib_$ac_lib_var=yes" 4050 eval "ac_cv_lib_$ac_lib_var=yes"
4058else 4051else
@@ -4090,17 +4083,17 @@ if test "${HAVE_X11}" = "yes"; then
4090 CFLAGS="${LD_SWITCH_X_SITE}" 4083 CFLAGS="${LD_SWITCH_X_SITE}"
4091 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4084 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4092echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4085echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4093echo "configure:4094: checking for X11/Xaw3d/Scrollbar.h" >&5 4086echo "configure:4087: checking for X11/Xaw3d/Scrollbar.h" >&5
4094if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4087if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4095 echo $ac_n "(cached) $ac_c" 1>&6 4088 echo $ac_n "(cached) $ac_c" 1>&6
4096else 4089else
4097 cat > conftest.$ac_ext <<EOF 4090 cat > conftest.$ac_ext <<EOF
4098#line 4099 "configure" 4091#line 4092 "configure"
4099#include "confdefs.h" 4092#include "confdefs.h"
4100#include <X11/Xaw3d/Scrollbar.h> 4093#include <X11/Xaw3d/Scrollbar.h>
4101EOF 4094EOF
4102ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4095ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4103{ (eval echo configure:4104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4096{ (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4104ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4097ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4105if test -z "$ac_err"; then 4098if test -z "$ac_err"; then
4106 rm -rf conftest* 4099 rm -rf conftest*
@@ -4117,7 +4110,7 @@ fi
4117if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4110if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4118 echo "$ac_t""yes" 1>&6 4111 echo "$ac_t""yes" 1>&6
4119 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4112 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4120echo "configure:4121: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4113echo "configure:4114: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4121ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4114ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4122if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4115if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4123 echo $ac_n "(cached) $ac_c" 1>&6 4116 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4125,7 +4118,7 @@ else
4125 ac_save_LIBS="$LIBS" 4118 ac_save_LIBS="$LIBS"
4126LIBS="-lXaw3d -lX11 $LIBS" 4119LIBS="-lXaw3d -lX11 $LIBS"
4127cat > conftest.$ac_ext <<EOF 4120cat > conftest.$ac_ext <<EOF
4128#line 4129 "configure" 4121#line 4122 "configure"
4129#include "confdefs.h" 4122#include "confdefs.h"
4130/* Override any gcc2 internal prototype to avoid an error. */ 4123/* Override any gcc2 internal prototype to avoid an error. */
4131/* We use char because int might match the return type of a gcc2 4124/* We use char because int might match the return type of a gcc2
@@ -4136,7 +4129,7 @@ int main() {
4136XawScrollbarSetThumb() 4129XawScrollbarSetThumb()
4137; return 0; } 4130; return 0; }
4138EOF 4131EOF
4139if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4132if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4140 rm -rf conftest* 4133 rm -rf conftest*
4141 eval "ac_cv_lib_$ac_lib_var=yes" 4134 eval "ac_cv_lib_$ac_lib_var=yes"
4142else 4135else
@@ -4200,17 +4193,17 @@ if test "${HAVE_X11}" = "yes"; then
4200 CFLAGS="${LD_SWITCH_X_SITE}" 4193 CFLAGS="${LD_SWITCH_X_SITE}"
4201 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4194 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4202echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4195echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4203echo "configure:4204: checking for X11/xpm.h" >&5 4196echo "configure:4197: checking for X11/xpm.h" >&5
4204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4197if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4205 echo $ac_n "(cached) $ac_c" 1>&6 4198 echo $ac_n "(cached) $ac_c" 1>&6
4206else 4199else
4207 cat > conftest.$ac_ext <<EOF 4200 cat > conftest.$ac_ext <<EOF
4208#line 4209 "configure" 4201#line 4202 "configure"
4209#include "confdefs.h" 4202#include "confdefs.h"
4210#include <X11/xpm.h> 4203#include <X11/xpm.h>
4211EOF 4204EOF
4212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4205ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4213{ (eval echo configure:4214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4206{ (eval echo configure:4207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4207ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4215if test -z "$ac_err"; then 4208if test -z "$ac_err"; then
4216 rm -rf conftest* 4209 rm -rf conftest*
@@ -4227,7 +4220,7 @@ fi
4227if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4220if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4228 echo "$ac_t""yes" 1>&6 4221 echo "$ac_t""yes" 1>&6
4229 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4222 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4230echo "configure:4231: checking for XpmReadFileToPixmap in -lXpm" >&5 4223echo "configure:4224: checking for XpmReadFileToPixmap in -lXpm" >&5
4231ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4224ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4225if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4233 echo $ac_n "(cached) $ac_c" 1>&6 4226 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4235,7 +4228,7 @@ else
4235 ac_save_LIBS="$LIBS" 4228 ac_save_LIBS="$LIBS"
4236LIBS="-lXpm -lX11 $LIBS" 4229LIBS="-lXpm -lX11 $LIBS"
4237cat > conftest.$ac_ext <<EOF 4230cat > conftest.$ac_ext <<EOF
4238#line 4239 "configure" 4231#line 4232 "configure"
4239#include "confdefs.h" 4232#include "confdefs.h"
4240/* Override any gcc2 internal prototype to avoid an error. */ 4233/* Override any gcc2 internal prototype to avoid an error. */
4241/* We use char because int might match the return type of a gcc2 4234/* We use char because int might match the return type of a gcc2
@@ -4246,7 +4239,7 @@ int main() {
4246XpmReadFileToPixmap() 4239XpmReadFileToPixmap()
4247; return 0; } 4240; return 0; }
4248EOF 4241EOF
4249if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4242if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4250 rm -rf conftest* 4243 rm -rf conftest*
4251 eval "ac_cv_lib_$ac_lib_var=yes" 4244 eval "ac_cv_lib_$ac_lib_var=yes"
4252else 4245else
@@ -4287,8 +4280,36 @@ if test "${HAVE_X11}" = "yes"; then
4287 if test "${with_jpeg}" != "no"; then 4280 if test "${with_jpeg}" != "no"; then
4288 old_c_flags="${CFLAGS}" 4281 old_c_flags="${CFLAGS}"
4289 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4282 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4290 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4283 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4291echo "configure:4292: checking for jpeg_destroy_compress in -ljpeg" >&5 4284echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4285echo "configure:4286: checking for jerror.h" >&5
4286if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4288else
4289 cat > conftest.$ac_ext <<EOF
4290#line 4291 "configure"
4291#include "confdefs.h"
4292#include <jerror.h>
4293EOF
4294ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4295{ (eval echo configure:4296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4296ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4297if test -z "$ac_err"; then
4298 rm -rf conftest*
4299 eval "ac_cv_header_$ac_safe=yes"
4300else
4301 echo "$ac_err" >&5
4302 echo "configure: failed program was:" >&5
4303 cat conftest.$ac_ext >&5
4304 rm -rf conftest*
4305 eval "ac_cv_header_$ac_safe=no"
4306fi
4307rm -f conftest*
4308fi
4309if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4310 echo "$ac_t""yes" 1>&6
4311 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4312echo "configure:4313: checking for jpeg_destroy_compress in -ljpeg" >&5
4292ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4313ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4314if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4294 echo $ac_n "(cached) $ac_c" 1>&6 4315 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4296,7 +4317,7 @@ else
4296 ac_save_LIBS="$LIBS" 4317 ac_save_LIBS="$LIBS"
4297LIBS="-ljpeg -lX11 $LIBS" 4318LIBS="-ljpeg -lX11 $LIBS"
4298cat > conftest.$ac_ext <<EOF 4319cat > conftest.$ac_ext <<EOF
4299#line 4300 "configure" 4320#line 4321 "configure"
4300#include "confdefs.h" 4321#include "confdefs.h"
4301/* Override any gcc2 internal prototype to avoid an error. */ 4322/* Override any gcc2 internal prototype to avoid an error. */
4302/* We use char because int might match the return type of a gcc2 4323/* We use char because int might match the return type of a gcc2
@@ -4307,7 +4328,7 @@ int main() {
4307jpeg_destroy_compress() 4328jpeg_destroy_compress()
4308; return 0; } 4329; return 0; }
4309EOF 4330EOF
4310if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4331if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4311 rm -rf conftest* 4332 rm -rf conftest*
4312 eval "ac_cv_lib_$ac_lib_var=yes" 4333 eval "ac_cv_lib_$ac_lib_var=yes"
4313else 4334else
@@ -4327,6 +4348,10 @@ else
4327 echo "$ac_t""no" 1>&6 4348 echo "$ac_t""no" 1>&6
4328fi 4349fi
4329 4350
4351else
4352 echo "$ac_t""no" 1>&6
4353fi
4354
4330 CFLAGS="${old_c_flags}" 4355 CFLAGS="${old_c_flags}"
4331 fi 4356 fi
4332 4357
@@ -4346,17 +4371,17 @@ if test "${HAVE_X11}" = "yes"; then
4346 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4371 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4347 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4372 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4348echo $ac_n "checking for png.h""... $ac_c" 1>&6 4373echo $ac_n "checking for png.h""... $ac_c" 1>&6
4349echo "configure:4350: checking for png.h" >&5 4374echo "configure:4375: checking for png.h" >&5
4350if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4375if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4351 echo $ac_n "(cached) $ac_c" 1>&6 4376 echo $ac_n "(cached) $ac_c" 1>&6
4352else 4377else
4353 cat > conftest.$ac_ext <<EOF 4378 cat > conftest.$ac_ext <<EOF
4354#line 4355 "configure" 4379#line 4380 "configure"
4355#include "confdefs.h" 4380#include "confdefs.h"
4356#include <png.h> 4381#include <png.h>
4357EOF 4382EOF
4358ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4383ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4359{ (eval echo configure:4360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4384{ (eval echo configure:4385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4360ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4385ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4361if test -z "$ac_err"; then 4386if test -z "$ac_err"; then
4362 rm -rf conftest* 4387 rm -rf conftest*
@@ -4373,7 +4398,7 @@ fi
4373if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4398if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4374 echo "$ac_t""yes" 1>&6 4399 echo "$ac_t""yes" 1>&6
4375 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4400 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4376echo "configure:4377: checking for png_set_expand in -lpng" >&5 4401echo "configure:4402: checking for png_set_expand in -lpng" >&5
4377ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4402ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4403if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4379 echo $ac_n "(cached) $ac_c" 1>&6 4404 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4381,7 +4406,7 @@ else
4381 ac_save_LIBS="$LIBS" 4406 ac_save_LIBS="$LIBS"
4382LIBS="-lpng -lX11 -lz -lm $LIBS" 4407LIBS="-lpng -lX11 -lz -lm $LIBS"
4383cat > conftest.$ac_ext <<EOF 4408cat > conftest.$ac_ext <<EOF
4384#line 4385 "configure" 4409#line 4410 "configure"
4385#include "confdefs.h" 4410#include "confdefs.h"
4386/* Override any gcc2 internal prototype to avoid an error. */ 4411/* Override any gcc2 internal prototype to avoid an error. */
4387/* We use char because int might match the return type of a gcc2 4412/* We use char because int might match the return type of a gcc2
@@ -4392,7 +4417,7 @@ int main() {
4392png_set_expand() 4417png_set_expand()
4393; return 0; } 4418; return 0; }
4394EOF 4419EOF
4395if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4420if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4396 rm -rf conftest* 4421 rm -rf conftest*
4397 eval "ac_cv_lib_$ac_lib_var=yes" 4422 eval "ac_cv_lib_$ac_lib_var=yes"
4398else 4423else
@@ -4435,17 +4460,17 @@ if test "${HAVE_X11}" = "yes"; then
4435 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4460 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4436 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4461 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4437echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4462echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4438echo "configure:4439: checking for tiffio.h" >&5 4463echo "configure:4464: checking for tiffio.h" >&5
4439if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4464if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4440 echo $ac_n "(cached) $ac_c" 1>&6 4465 echo $ac_n "(cached) $ac_c" 1>&6
4441else 4466else
4442 cat > conftest.$ac_ext <<EOF 4467 cat > conftest.$ac_ext <<EOF
4443#line 4444 "configure" 4468#line 4469 "configure"
4444#include "confdefs.h" 4469#include "confdefs.h"
4445#include <tiffio.h> 4470#include <tiffio.h>
4446EOF 4471EOF
4447ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4472ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4448{ (eval echo configure:4449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4473{ (eval echo configure:4474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4449ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4474ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4450if test -z "$ac_err"; then 4475if test -z "$ac_err"; then
4451 rm -rf conftest* 4476 rm -rf conftest*
@@ -4462,7 +4487,7 @@ fi
4462if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4487if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4463 echo "$ac_t""yes" 1>&6 4488 echo "$ac_t""yes" 1>&6
4464 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4489 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4465echo "configure:4466: checking for TIFFGetVersion in -ltiff" >&5 4490echo "configure:4491: checking for TIFFGetVersion in -ltiff" >&5
4466ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4491ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4467if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4492if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4468 echo $ac_n "(cached) $ac_c" 1>&6 4493 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4470,7 +4495,7 @@ else
4470 ac_save_LIBS="$LIBS" 4495 ac_save_LIBS="$LIBS"
4471LIBS="-ltiff -lX11 -lm $LIBS" 4496LIBS="-ltiff -lX11 -lm $LIBS"
4472cat > conftest.$ac_ext <<EOF 4497cat > conftest.$ac_ext <<EOF
4473#line 4474 "configure" 4498#line 4499 "configure"
4474#include "confdefs.h" 4499#include "confdefs.h"
4475/* Override any gcc2 internal prototype to avoid an error. */ 4500/* Override any gcc2 internal prototype to avoid an error. */
4476/* We use char because int might match the return type of a gcc2 4501/* We use char because int might match the return type of a gcc2
@@ -4481,7 +4506,7 @@ int main() {
4481TIFFGetVersion() 4506TIFFGetVersion()
4482; return 0; } 4507; return 0; }
4483EOF 4508EOF
4484if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4509if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4485 rm -rf conftest* 4510 rm -rf conftest*
4486 eval "ac_cv_lib_$ac_lib_var=yes" 4511 eval "ac_cv_lib_$ac_lib_var=yes"
4487else 4512else
@@ -4524,17 +4549,17 @@ if test "${HAVE_X11}" = "yes"; then
4524 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4549 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4525 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4550 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4526echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4551echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4527echo "configure:4528: checking for gif_lib.h" >&5 4552echo "configure:4553: checking for gif_lib.h" >&5
4528if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4553if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4529 echo $ac_n "(cached) $ac_c" 1>&6 4554 echo $ac_n "(cached) $ac_c" 1>&6
4530else 4555else
4531 cat > conftest.$ac_ext <<EOF 4556 cat > conftest.$ac_ext <<EOF
4532#line 4533 "configure" 4557#line 4558 "configure"
4533#include "confdefs.h" 4558#include "confdefs.h"
4534#include <gif_lib.h> 4559#include <gif_lib.h>
4535EOF 4560EOF
4536ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4561ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4537{ (eval echo configure:4538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4562{ (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4538ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4563ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4539if test -z "$ac_err"; then 4564if test -z "$ac_err"; then
4540 rm -rf conftest* 4565 rm -rf conftest*
@@ -4550,27 +4575,27 @@ rm -f conftest*
4550fi 4575fi
4551if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4576if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4552 echo "$ac_t""yes" 1>&6 4577 echo "$ac_t""yes" 1>&6
4553 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 4578 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4554echo "configure:4555: checking for DGifOpenFileName in -lungif" >&5 4579echo "configure:4580: checking for DGifOpen in -lungif" >&5
4555ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` 4580ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4556if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6 4582 echo $ac_n "(cached) $ac_c" 1>&6
4558else 4583else
4559 ac_save_LIBS="$LIBS" 4584 ac_save_LIBS="$LIBS"
4560LIBS="-lungif -lX11 $LIBS" 4585LIBS="-lungif -lX11 $LIBS"
4561cat > conftest.$ac_ext <<EOF 4586cat > conftest.$ac_ext <<EOF
4562#line 4563 "configure" 4587#line 4588 "configure"
4563#include "confdefs.h" 4588#include "confdefs.h"
4564/* Override any gcc2 internal prototype to avoid an error. */ 4589/* Override any gcc2 internal prototype to avoid an error. */
4565/* We use char because int might match the return type of a gcc2 4590/* We use char because int might match the return type of a gcc2
4566 builtin and then its argument prototype would still apply. */ 4591 builtin and then its argument prototype would still apply. */
4567char DGifOpenFileName(); 4592char DGifOpen();
4568 4593
4569int main() { 4594int main() {
4570DGifOpenFileName() 4595DGifOpen()
4571; return 0; } 4596; return 0; }
4572EOF 4597EOF
4573if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4598if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4574 rm -rf conftest* 4599 rm -rf conftest*
4575 eval "ac_cv_lib_$ac_lib_var=yes" 4600 eval "ac_cv_lib_$ac_lib_var=yes"
4576else 4601else
@@ -4607,19 +4632,19 @@ fi
4607 4632
4608# If netdb.h doesn't declare h_errno, we must declare it by hand. 4633# If netdb.h doesn't declare h_errno, we must declare it by hand.
4609echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4634echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4610echo "configure:4611: checking whether netdb declares h_errno" >&5 4635echo "configure:4636: checking whether netdb declares h_errno" >&5
4611if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4636if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4612 echo $ac_n "(cached) $ac_c" 1>&6 4637 echo $ac_n "(cached) $ac_c" 1>&6
4613else 4638else
4614 cat > conftest.$ac_ext <<EOF 4639 cat > conftest.$ac_ext <<EOF
4615#line 4616 "configure" 4640#line 4641 "configure"
4616#include "confdefs.h" 4641#include "confdefs.h"
4617#include <netdb.h> 4642#include <netdb.h>
4618int main() { 4643int main() {
4619return h_errno; 4644return h_errno;
4620; return 0; } 4645; return 0; }
4621EOF 4646EOF
4622if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4647if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4623 rm -rf conftest* 4648 rm -rf conftest*
4624 emacs_cv_netdb_declares_h_errno=yes 4649 emacs_cv_netdb_declares_h_errno=yes
4625else 4650else
@@ -4642,19 +4667,19 @@ fi
4642# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4667# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4643# for constant arguments. Useless! 4668# for constant arguments. Useless!
4644echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4669echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4645echo "configure:4646: checking for working alloca.h" >&5 4670echo "configure:4671: checking for working alloca.h" >&5
4646if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4671if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4647 echo $ac_n "(cached) $ac_c" 1>&6 4672 echo $ac_n "(cached) $ac_c" 1>&6
4648else 4673else
4649 cat > conftest.$ac_ext <<EOF 4674 cat > conftest.$ac_ext <<EOF
4650#line 4651 "configure" 4675#line 4676 "configure"
4651#include "confdefs.h" 4676#include "confdefs.h"
4652#include <alloca.h> 4677#include <alloca.h>
4653int main() { 4678int main() {
4654char *p = alloca(2 * sizeof(int)); 4679char *p = alloca(2 * sizeof(int));
4655; return 0; } 4680; return 0; }
4656EOF 4681EOF
4657if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4682if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4658 rm -rf conftest* 4683 rm -rf conftest*
4659 ac_cv_header_alloca_h=yes 4684 ac_cv_header_alloca_h=yes
4660else 4685else
@@ -4675,12 +4700,12 @@ EOF
4675fi 4700fi
4676 4701
4677echo $ac_n "checking for alloca""... $ac_c" 1>&6 4702echo $ac_n "checking for alloca""... $ac_c" 1>&6
4678echo "configure:4679: checking for alloca" >&5 4703echo "configure:4704: checking for alloca" >&5
4679if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4704if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4680 echo $ac_n "(cached) $ac_c" 1>&6 4705 echo $ac_n "(cached) $ac_c" 1>&6
4681else 4706else
4682 cat > conftest.$ac_ext <<EOF 4707 cat > conftest.$ac_ext <<EOF
4683#line 4684 "configure" 4708#line 4709 "configure"
4684#include "confdefs.h" 4709#include "confdefs.h"
4685 4710
4686#ifdef __GNUC__ 4711#ifdef __GNUC__
@@ -4708,7 +4733,7 @@ int main() {
4708char *p = (char *) alloca(1); 4733char *p = (char *) alloca(1);
4709; return 0; } 4734; return 0; }
4710EOF 4735EOF
4711if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4736if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4712 rm -rf conftest* 4737 rm -rf conftest*
4713 ac_cv_func_alloca_works=yes 4738 ac_cv_func_alloca_works=yes
4714else 4739else
@@ -4740,12 +4765,12 @@ EOF
4740 4765
4741 4766
4742echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4767echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4743echo "configure:4744: checking whether alloca needs Cray hooks" >&5 4768echo "configure:4769: checking whether alloca needs Cray hooks" >&5
4744if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4769if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4745 echo $ac_n "(cached) $ac_c" 1>&6 4770 echo $ac_n "(cached) $ac_c" 1>&6
4746else 4771else
4747 cat > conftest.$ac_ext <<EOF 4772 cat > conftest.$ac_ext <<EOF
4748#line 4749 "configure" 4773#line 4774 "configure"
4749#include "confdefs.h" 4774#include "confdefs.h"
4750#if defined(CRAY) && ! defined(CRAY2) 4775#if defined(CRAY) && ! defined(CRAY2)
4751webecray 4776webecray
@@ -4770,12 +4795,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4770if test $ac_cv_os_cray = yes; then 4795if test $ac_cv_os_cray = yes; then
4771for ac_func in _getb67 GETB67 getb67; do 4796for ac_func in _getb67 GETB67 getb67; do
4772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4773echo "configure:4774: checking for $ac_func" >&5 4798echo "configure:4799: checking for $ac_func" >&5
4774if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4799if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4775 echo $ac_n "(cached) $ac_c" 1>&6 4800 echo $ac_n "(cached) $ac_c" 1>&6
4776else 4801else
4777 cat > conftest.$ac_ext <<EOF 4802 cat > conftest.$ac_ext <<EOF
4778#line 4779 "configure" 4803#line 4804 "configure"
4779#include "confdefs.h" 4804#include "confdefs.h"
4780/* System header to define __stub macros and hopefully few prototypes, 4805/* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char $ac_func(); below. */ 4806 which can conflict with char $ac_func(); below. */
@@ -4798,7 +4823,7 @@ $ac_func();
4798 4823
4799; return 0; } 4824; return 0; }
4800EOF 4825EOF
4801if { (eval echo configure:4802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4826if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4802 rm -rf conftest* 4827 rm -rf conftest*
4803 eval "ac_cv_func_$ac_func=yes" 4828 eval "ac_cv_func_$ac_func=yes"
4804else 4829else
@@ -4825,7 +4850,7 @@ done
4825fi 4850fi
4826 4851
4827echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4852echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4828echo "configure:4829: checking stack direction for C alloca" >&5 4853echo "configure:4854: checking stack direction for C alloca" >&5
4829if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4854if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4830 echo $ac_n "(cached) $ac_c" 1>&6 4855 echo $ac_n "(cached) $ac_c" 1>&6
4831else 4856else
@@ -4833,7 +4858,7 @@ else
4833 ac_cv_c_stack_direction=0 4858 ac_cv_c_stack_direction=0
4834else 4859else
4835 cat > conftest.$ac_ext <<EOF 4860 cat > conftest.$ac_ext <<EOF
4836#line 4837 "configure" 4861#line 4862 "configure"
4837#include "confdefs.h" 4862#include "confdefs.h"
4838find_stack_direction () 4863find_stack_direction ()
4839{ 4864{
@@ -4852,7 +4877,7 @@ main ()
4852 exit (find_stack_direction() < 0); 4877 exit (find_stack_direction() < 0);
4853} 4878}
4854EOF 4879EOF
4855if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4880if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4856then 4881then
4857 ac_cv_c_stack_direction=1 4882 ac_cv_c_stack_direction=1
4858else 4883else
@@ -4877,7 +4902,7 @@ fi
4877# fmod, logb, and frexp are found in -lm on most systems. 4902# fmod, logb, and frexp are found in -lm on most systems.
4878# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4903# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4879echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4904echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4880echo "configure:4881: checking for sqrt in -lm" >&5 4905echo "configure:4906: checking for sqrt in -lm" >&5
4881ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4906ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4882if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4883 echo $ac_n "(cached) $ac_c" 1>&6 4908 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4885,7 +4910,7 @@ else
4885 ac_save_LIBS="$LIBS" 4910 ac_save_LIBS="$LIBS"
4886LIBS="-lm $LIBS" 4911LIBS="-lm $LIBS"
4887cat > conftest.$ac_ext <<EOF 4912cat > conftest.$ac_ext <<EOF
4888#line 4889 "configure" 4913#line 4914 "configure"
4889#include "confdefs.h" 4914#include "confdefs.h"
4890/* Override any gcc2 internal prototype to avoid an error. */ 4915/* Override any gcc2 internal prototype to avoid an error. */
4891/* We use char because int might match the return type of a gcc2 4916/* We use char because int might match the return type of a gcc2
@@ -4896,7 +4921,7 @@ int main() {
4896sqrt() 4921sqrt()
4897; return 0; } 4922; return 0; }
4898EOF 4923EOF
4899if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4924if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4900 rm -rf conftest* 4925 rm -rf conftest*
4901 eval "ac_cv_lib_$ac_lib_var=yes" 4926 eval "ac_cv_lib_$ac_lib_var=yes"
4902else 4927else
@@ -4926,7 +4951,7 @@ fi
4926 4951
4927# Check for mail-locking functions in a "mail" library 4952# Check for mail-locking functions in a "mail" library
4928echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4953echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4929echo "configure:4930: checking for maillock in -lmail" >&5 4954echo "configure:4955: checking for maillock in -lmail" >&5
4930ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4955ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4931if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4956if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4932 echo $ac_n "(cached) $ac_c" 1>&6 4957 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4934,7 +4959,7 @@ else
4934 ac_save_LIBS="$LIBS" 4959 ac_save_LIBS="$LIBS"
4935LIBS="-lmail $LIBS" 4960LIBS="-lmail $LIBS"
4936cat > conftest.$ac_ext <<EOF 4961cat > conftest.$ac_ext <<EOF
4937#line 4938 "configure" 4962#line 4963 "configure"
4938#include "confdefs.h" 4963#include "confdefs.h"
4939/* Override any gcc2 internal prototype to avoid an error. */ 4964/* Override any gcc2 internal prototype to avoid an error. */
4940/* We use char because int might match the return type of a gcc2 4965/* We use char because int might match the return type of a gcc2
@@ -4945,7 +4970,7 @@ int main() {
4945maillock() 4970maillock()
4946; return 0; } 4971; return 0; }
4947EOF 4972EOF
4948if { (eval echo configure:4949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4973if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4949 rm -rf conftest* 4974 rm -rf conftest*
4950 eval "ac_cv_lib_$ac_lib_var=yes" 4975 eval "ac_cv_lib_$ac_lib_var=yes"
4951else 4976else
@@ -4973,7 +4998,7 @@ else
4973fi 4998fi
4974 4999
4975echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5000echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
4976echo "configure:4977: checking for maillock in -llockfile" >&5 5001echo "configure:5002: checking for maillock in -llockfile" >&5
4977ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5002ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
4978if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4979 echo $ac_n "(cached) $ac_c" 1>&6 5004 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4981,7 +5006,7 @@ else
4981 ac_save_LIBS="$LIBS" 5006 ac_save_LIBS="$LIBS"
4982LIBS="-llockfile $LIBS" 5007LIBS="-llockfile $LIBS"
4983cat > conftest.$ac_ext <<EOF 5008cat > conftest.$ac_ext <<EOF
4984#line 4985 "configure" 5009#line 5010 "configure"
4985#include "confdefs.h" 5010#include "confdefs.h"
4986/* Override any gcc2 internal prototype to avoid an error. */ 5011/* Override any gcc2 internal prototype to avoid an error. */
4987/* We use char because int might match the return type of a gcc2 5012/* We use char because int might match the return type of a gcc2
@@ -4992,7 +5017,7 @@ int main() {
4992maillock() 5017maillock()
4993; return 0; } 5018; return 0; }
4994EOF 5019EOF
4995if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5020if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4996 rm -rf conftest* 5021 rm -rf conftest*
4997 eval "ac_cv_lib_$ac_lib_var=yes" 5022 eval "ac_cv_lib_$ac_lib_var=yes"
4998else 5023else
@@ -5026,7 +5051,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5026 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5051 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5027set dummy liblockfile.so; ac_word=$2 5052set dummy liblockfile.so; ac_word=$2
5028echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5053echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5029echo "configure:5030: checking for $ac_word" >&5 5054echo "configure:5055: checking for $ac_word" >&5
5030if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5055if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5031 echo $ac_n "(cached) $ac_c" 1>&6 5056 echo $ac_n "(cached) $ac_c" 1>&6
5032else 5057else
@@ -5067,12 +5092,12 @@ fi
5067for ac_func in touchlock 5092for ac_func in touchlock
5068do 5093do
5069echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5094echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5070echo "configure:5071: checking for $ac_func" >&5 5095echo "configure:5096: checking for $ac_func" >&5
5071if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5096if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5072 echo $ac_n "(cached) $ac_c" 1>&6 5097 echo $ac_n "(cached) $ac_c" 1>&6
5073else 5098else
5074 cat > conftest.$ac_ext <<EOF 5099 cat > conftest.$ac_ext <<EOF
5075#line 5076 "configure" 5100#line 5101 "configure"
5076#include "confdefs.h" 5101#include "confdefs.h"
5077/* System header to define __stub macros and hopefully few prototypes, 5102/* System header to define __stub macros and hopefully few prototypes,
5078 which can conflict with char $ac_func(); below. */ 5103 which can conflict with char $ac_func(); below. */
@@ -5095,7 +5120,7 @@ $ac_func();
5095 5120
5096; return 0; } 5121; return 0; }
5097EOF 5122EOF
5098if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5123if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5099 rm -rf conftest* 5124 rm -rf conftest*
5100 eval "ac_cv_func_$ac_func=yes" 5125 eval "ac_cv_func_$ac_func=yes"
5101else 5126else
@@ -5123,17 +5148,17 @@ for ac_hdr in maillock.h
5123do 5148do
5124ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5149ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5125echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5150echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5126echo "configure:5127: checking for $ac_hdr" >&5 5151echo "configure:5152: checking for $ac_hdr" >&5
5127if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5152if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5128 echo $ac_n "(cached) $ac_c" 1>&6 5153 echo $ac_n "(cached) $ac_c" 1>&6
5129else 5154else
5130 cat > conftest.$ac_ext <<EOF 5155 cat > conftest.$ac_ext <<EOF
5131#line 5132 "configure" 5156#line 5157 "configure"
5132#include "confdefs.h" 5157#include "confdefs.h"
5133#include <$ac_hdr> 5158#include <$ac_hdr>
5134EOF 5159EOF
5135ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5160ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5136{ (eval echo configure:5137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5161{ (eval echo configure:5162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5137ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5162ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5138if test -z "$ac_err"; then 5163if test -z "$ac_err"; then
5139 rm -rf conftest* 5164 rm -rf conftest*
@@ -5168,12 +5193,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5168__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5193__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5169do 5194do
5170echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5195echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5171echo "configure:5172: checking for $ac_func" >&5 5196echo "configure:5197: checking for $ac_func" >&5
5172if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5197if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5173 echo $ac_n "(cached) $ac_c" 1>&6 5198 echo $ac_n "(cached) $ac_c" 1>&6
5174else 5199else
5175 cat > conftest.$ac_ext <<EOF 5200 cat > conftest.$ac_ext <<EOF
5176#line 5177 "configure" 5201#line 5202 "configure"
5177#include "confdefs.h" 5202#include "confdefs.h"
5178/* System header to define __stub macros and hopefully few prototypes, 5203/* System header to define __stub macros and hopefully few prototypes,
5179 which can conflict with char $ac_func(); below. */ 5204 which can conflict with char $ac_func(); below. */
@@ -5196,7 +5221,7 @@ $ac_func();
5196 5221
5197; return 0; } 5222; return 0; }
5198EOF 5223EOF
5199if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5224if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5200 rm -rf conftest* 5225 rm -rf conftest*
5201 eval "ac_cv_func_$ac_func=yes" 5226 eval "ac_cv_func_$ac_func=yes"
5202else 5227else
@@ -5226,7 +5251,7 @@ done
5226# It's better to believe a function is not available 5251# It's better to believe a function is not available
5227# than to expect to find it in ncurses. 5252# than to expect to find it in ncurses.
5228echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5253echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5229echo "configure:5230: checking for tparm in -lncurses" >&5 5254echo "configure:5255: checking for tparm in -lncurses" >&5
5230ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5255ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5231if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5232 echo $ac_n "(cached) $ac_c" 1>&6 5257 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5234,7 +5259,7 @@ else
5234 ac_save_LIBS="$LIBS" 5259 ac_save_LIBS="$LIBS"
5235LIBS="-lncurses $LIBS" 5260LIBS="-lncurses $LIBS"
5236cat > conftest.$ac_ext <<EOF 5261cat > conftest.$ac_ext <<EOF
5237#line 5238 "configure" 5262#line 5263 "configure"
5238#include "confdefs.h" 5263#include "confdefs.h"
5239/* Override any gcc2 internal prototype to avoid an error. */ 5264/* Override any gcc2 internal prototype to avoid an error. */
5240/* We use char because int might match the return type of a gcc2 5265/* We use char because int might match the return type of a gcc2
@@ -5245,7 +5270,7 @@ int main() {
5245tparm() 5270tparm()
5246; return 0; } 5271; return 0; }
5247EOF 5272EOF
5248if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5273if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5249 rm -rf conftest* 5274 rm -rf conftest*
5250 eval "ac_cv_lib_$ac_lib_var=yes" 5275 eval "ac_cv_lib_$ac_lib_var=yes"
5251else 5276else
@@ -5276,7 +5301,7 @@ fi
5276# These tell us which Kerberos-related libraries to use. 5301# These tell us which Kerberos-related libraries to use.
5277if test "${with_kerberos+set}" = set; then 5302if test "${with_kerberos+set}" = set; then
5278 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5303 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5279echo "configure:5280: checking for com_err in -lcom_err" >&5 5304echo "configure:5305: checking for com_err in -lcom_err" >&5
5280ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5305ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5281if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5306if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5282 echo $ac_n "(cached) $ac_c" 1>&6 5307 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5284,7 +5309,7 @@ else
5284 ac_save_LIBS="$LIBS" 5309 ac_save_LIBS="$LIBS"
5285LIBS="-lcom_err $LIBS" 5310LIBS="-lcom_err $LIBS"
5286cat > conftest.$ac_ext <<EOF 5311cat > conftest.$ac_ext <<EOF
5287#line 5288 "configure" 5312#line 5313 "configure"
5288#include "confdefs.h" 5313#include "confdefs.h"
5289/* Override any gcc2 internal prototype to avoid an error. */ 5314/* Override any gcc2 internal prototype to avoid an error. */
5290/* We use char because int might match the return type of a gcc2 5315/* We use char because int might match the return type of a gcc2
@@ -5295,7 +5320,7 @@ int main() {
5295com_err() 5320com_err()
5296; return 0; } 5321; return 0; }
5297EOF 5322EOF
5298if { (eval echo configure:5299: \"$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
5299 rm -rf conftest* 5324 rm -rf conftest*
5300 eval "ac_cv_lib_$ac_lib_var=yes" 5325 eval "ac_cv_lib_$ac_lib_var=yes"
5301else 5326else
@@ -5323,7 +5348,7 @@ else
5323fi 5348fi
5324 5349
5325 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5350 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5326echo "configure:5327: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5351echo "configure:5352: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5327ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5352ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5328if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5353if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5329 echo $ac_n "(cached) $ac_c" 1>&6 5354 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5331,7 +5356,7 @@ else
5331 ac_save_LIBS="$LIBS" 5356 ac_save_LIBS="$LIBS"
5332LIBS="-lk5crypto $LIBS" 5357LIBS="-lk5crypto $LIBS"
5333cat > conftest.$ac_ext <<EOF 5358cat > conftest.$ac_ext <<EOF
5334#line 5335 "configure" 5359#line 5360 "configure"
5335#include "confdefs.h" 5360#include "confdefs.h"
5336/* Override any gcc2 internal prototype to avoid an error. */ 5361/* Override any gcc2 internal prototype to avoid an error. */
5337/* We use char because int might match the return type of a gcc2 5362/* We use char because int might match the return type of a gcc2
@@ -5342,7 +5367,7 @@ int main() {
5342mit_des_cbc_encrypt() 5367mit_des_cbc_encrypt()
5343; return 0; } 5368; return 0; }
5344EOF 5369EOF
5345if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5370if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5346 rm -rf conftest* 5371 rm -rf conftest*
5347 eval "ac_cv_lib_$ac_lib_var=yes" 5372 eval "ac_cv_lib_$ac_lib_var=yes"
5348else 5373else
@@ -5370,7 +5395,7 @@ else
5370fi 5395fi
5371 5396
5372 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5397 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5373echo "configure:5374: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5398echo "configure:5399: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5374ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5399ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5375if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5400if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5376 echo $ac_n "(cached) $ac_c" 1>&6 5401 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5378,7 +5403,7 @@ else
5378 ac_save_LIBS="$LIBS" 5403 ac_save_LIBS="$LIBS"
5379LIBS="-lcrypto $LIBS" 5404LIBS="-lcrypto $LIBS"
5380cat > conftest.$ac_ext <<EOF 5405cat > conftest.$ac_ext <<EOF
5381#line 5382 "configure" 5406#line 5407 "configure"
5382#include "confdefs.h" 5407#include "confdefs.h"
5383/* Override any gcc2 internal prototype to avoid an error. */ 5408/* Override any gcc2 internal prototype to avoid an error. */
5384/* We use char because int might match the return type of a gcc2 5409/* We use char because int might match the return type of a gcc2
@@ -5389,7 +5414,7 @@ int main() {
5389mit_des_cbc_encrypt() 5414mit_des_cbc_encrypt()
5390; return 0; } 5415; return 0; }
5391EOF 5416EOF
5392if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5417if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5393 rm -rf conftest* 5418 rm -rf conftest*
5394 eval "ac_cv_lib_$ac_lib_var=yes" 5419 eval "ac_cv_lib_$ac_lib_var=yes"
5395else 5420else
@@ -5417,7 +5442,7 @@ else
5417fi 5442fi
5418 5443
5419 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5444 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5420echo "configure:5421: checking for krb5_init_context in -lkrb5" >&5 5445echo "configure:5446: checking for krb5_init_context in -lkrb5" >&5
5421ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5446ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5422if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5447if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5423 echo $ac_n "(cached) $ac_c" 1>&6 5448 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5425,7 +5450,7 @@ else
5425 ac_save_LIBS="$LIBS" 5450 ac_save_LIBS="$LIBS"
5426LIBS="-lkrb5 $LIBS" 5451LIBS="-lkrb5 $LIBS"
5427cat > conftest.$ac_ext <<EOF 5452cat > conftest.$ac_ext <<EOF
5428#line 5429 "configure" 5453#line 5454 "configure"
5429#include "confdefs.h" 5454#include "confdefs.h"
5430/* Override any gcc2 internal prototype to avoid an error. */ 5455/* Override any gcc2 internal prototype to avoid an error. */
5431/* We use char because int might match the return type of a gcc2 5456/* We use char because int might match the return type of a gcc2
@@ -5436,7 +5461,7 @@ int main() {
5436krb5_init_context() 5461krb5_init_context()
5437; return 0; } 5462; return 0; }
5438EOF 5463EOF
5439if { (eval echo configure:5440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5464if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5440 rm -rf conftest* 5465 rm -rf conftest*
5441 eval "ac_cv_lib_$ac_lib_var=yes" 5466 eval "ac_cv_lib_$ac_lib_var=yes"
5442else 5467else
@@ -5465,7 +5490,7 @@ fi
5465 5490
5466 if test "${with_kerberos5+set}" != set; then 5491 if test "${with_kerberos5+set}" != set; then
5467 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5492 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5468echo "configure:5469: checking for des_cbc_encrypt in -ldes425" >&5 5493echo "configure:5494: checking for des_cbc_encrypt in -ldes425" >&5
5469ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5494ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5470if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5495if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5471 echo $ac_n "(cached) $ac_c" 1>&6 5496 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5473,7 +5498,7 @@ else
5473 ac_save_LIBS="$LIBS" 5498 ac_save_LIBS="$LIBS"
5474LIBS="-ldes425 $LIBS" 5499LIBS="-ldes425 $LIBS"
5475cat > conftest.$ac_ext <<EOF 5500cat > conftest.$ac_ext <<EOF
5476#line 5477 "configure" 5501#line 5502 "configure"
5477#include "confdefs.h" 5502#include "confdefs.h"
5478/* Override any gcc2 internal prototype to avoid an error. */ 5503/* Override any gcc2 internal prototype to avoid an error. */
5479/* We use char because int might match the return type of a gcc2 5504/* We use char because int might match the return type of a gcc2
@@ -5484,7 +5509,7 @@ int main() {
5484des_cbc_encrypt() 5509des_cbc_encrypt()
5485; return 0; } 5510; return 0; }
5486EOF 5511EOF
5487if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5512if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5488 rm -rf conftest* 5513 rm -rf conftest*
5489 eval "ac_cv_lib_$ac_lib_var=yes" 5514 eval "ac_cv_lib_$ac_lib_var=yes"
5490else 5515else
@@ -5510,7 +5535,7 @@ EOF
5510else 5535else
5511 echo "$ac_t""no" 1>&6 5536 echo "$ac_t""no" 1>&6
5512echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5537echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5513echo "configure:5514: checking for des_cbc_encrypt in -ldes" >&5 5538echo "configure:5539: checking for des_cbc_encrypt in -ldes" >&5
5514ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5539ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5540if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5516 echo $ac_n "(cached) $ac_c" 1>&6 5541 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5518,7 +5543,7 @@ else
5518 ac_save_LIBS="$LIBS" 5543 ac_save_LIBS="$LIBS"
5519LIBS="-ldes $LIBS" 5544LIBS="-ldes $LIBS"
5520cat > conftest.$ac_ext <<EOF 5545cat > conftest.$ac_ext <<EOF
5521#line 5522 "configure" 5546#line 5547 "configure"
5522#include "confdefs.h" 5547#include "confdefs.h"
5523/* Override any gcc2 internal prototype to avoid an error. */ 5548/* Override any gcc2 internal prototype to avoid an error. */
5524/* We use char because int might match the return type of a gcc2 5549/* We use char because int might match the return type of a gcc2
@@ -5529,7 +5554,7 @@ int main() {
5529des_cbc_encrypt() 5554des_cbc_encrypt()
5530; return 0; } 5555; return 0; }
5531EOF 5556EOF
5532if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5557if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5533 rm -rf conftest* 5558 rm -rf conftest*
5534 eval "ac_cv_lib_$ac_lib_var=yes" 5559 eval "ac_cv_lib_$ac_lib_var=yes"
5535else 5560else
@@ -5559,7 +5584,7 @@ fi
5559fi 5584fi
5560 5585
5561 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5586 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5562echo "configure:5563: checking for krb_get_cred in -lkrb4" >&5 5587echo "configure:5588: checking for krb_get_cred in -lkrb4" >&5
5563ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5588ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5564if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5589if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5565 echo $ac_n "(cached) $ac_c" 1>&6 5590 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5567,7 +5592,7 @@ else
5567 ac_save_LIBS="$LIBS" 5592 ac_save_LIBS="$LIBS"
5568LIBS="-lkrb4 $LIBS" 5593LIBS="-lkrb4 $LIBS"
5569cat > conftest.$ac_ext <<EOF 5594cat > conftest.$ac_ext <<EOF
5570#line 5571 "configure" 5595#line 5596 "configure"
5571#include "confdefs.h" 5596#include "confdefs.h"
5572/* Override any gcc2 internal prototype to avoid an error. */ 5597/* Override any gcc2 internal prototype to avoid an error. */
5573/* We use char because int might match the return type of a gcc2 5598/* We use char because int might match the return type of a gcc2
@@ -5578,7 +5603,7 @@ int main() {
5578krb_get_cred() 5603krb_get_cred()
5579; return 0; } 5604; return 0; }
5580EOF 5605EOF
5581if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5606if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5582 rm -rf conftest* 5607 rm -rf conftest*
5583 eval "ac_cv_lib_$ac_lib_var=yes" 5608 eval "ac_cv_lib_$ac_lib_var=yes"
5584else 5609else
@@ -5604,7 +5629,7 @@ EOF
5604else 5629else
5605 echo "$ac_t""no" 1>&6 5630 echo "$ac_t""no" 1>&6
5606echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5631echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5607echo "configure:5608: checking for krb_get_cred in -lkrb" >&5 5632echo "configure:5633: checking for krb_get_cred in -lkrb" >&5
5608ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5633ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5609if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5634if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5610 echo $ac_n "(cached) $ac_c" 1>&6 5635 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5612,7 +5637,7 @@ else
5612 ac_save_LIBS="$LIBS" 5637 ac_save_LIBS="$LIBS"
5613LIBS="-lkrb $LIBS" 5638LIBS="-lkrb $LIBS"
5614cat > conftest.$ac_ext <<EOF 5639cat > conftest.$ac_ext <<EOF
5615#line 5616 "configure" 5640#line 5641 "configure"
5616#include "confdefs.h" 5641#include "confdefs.h"
5617/* Override any gcc2 internal prototype to avoid an error. */ 5642/* Override any gcc2 internal prototype to avoid an error. */
5618/* We use char because int might match the return type of a gcc2 5643/* We use char because int might match the return type of a gcc2
@@ -5623,7 +5648,7 @@ int main() {
5623krb_get_cred() 5648krb_get_cred()
5624; return 0; } 5649; return 0; }
5625EOF 5650EOF
5626if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5651if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5627 rm -rf conftest* 5652 rm -rf conftest*
5628 eval "ac_cv_lib_$ac_lib_var=yes" 5653 eval "ac_cv_lib_$ac_lib_var=yes"
5629else 5654else
@@ -5659,17 +5684,17 @@ fi
5659do 5684do
5660ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5685ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5661echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5686echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5662echo "configure:5663: checking for $ac_hdr" >&5 5687echo "configure:5688: checking for $ac_hdr" >&5
5663if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5688if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5664 echo $ac_n "(cached) $ac_c" 1>&6 5689 echo $ac_n "(cached) $ac_c" 1>&6
5665else 5690else
5666 cat > conftest.$ac_ext <<EOF 5691 cat > conftest.$ac_ext <<EOF
5667#line 5668 "configure" 5692#line 5693 "configure"
5668#include "confdefs.h" 5693#include "confdefs.h"
5669#include <$ac_hdr> 5694#include <$ac_hdr>
5670EOF 5695EOF
5671ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5696ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5672{ (eval echo configure:5673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5697{ (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5673ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5698ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5674if test -z "$ac_err"; then 5699if test -z "$ac_err"; then
5675 rm -rf conftest* 5700 rm -rf conftest*
@@ -5700,17 +5725,17 @@ done
5700do 5725do
5701ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5726ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5702echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5727echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5703echo "configure:5704: checking for $ac_hdr" >&5 5728echo "configure:5729: checking for $ac_hdr" >&5
5704if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5729if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5705 echo $ac_n "(cached) $ac_c" 1>&6 5730 echo $ac_n "(cached) $ac_c" 1>&6
5706else 5731else
5707 cat > conftest.$ac_ext <<EOF 5732 cat > conftest.$ac_ext <<EOF
5708#line 5709 "configure" 5733#line 5734 "configure"
5709#include "confdefs.h" 5734#include "confdefs.h"
5710#include <$ac_hdr> 5735#include <$ac_hdr>
5711EOF 5736EOF
5712ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5737ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5713{ (eval echo configure:5714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5738{ (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5714ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5739ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5715if test -z "$ac_err"; then 5740if test -z "$ac_err"; then
5716 rm -rf conftest* 5741 rm -rf conftest*
@@ -5737,17 +5762,17 @@ for ac_hdr in kerberosIV/des.h
5737do 5762do
5738ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5763ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5739echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5764echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5740echo "configure:5741: checking for $ac_hdr" >&5 5765echo "configure:5766: checking for $ac_hdr" >&5
5741if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5766if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5742 echo $ac_n "(cached) $ac_c" 1>&6 5767 echo $ac_n "(cached) $ac_c" 1>&6
5743else 5768else
5744 cat > conftest.$ac_ext <<EOF 5769 cat > conftest.$ac_ext <<EOF
5745#line 5746 "configure" 5770#line 5771 "configure"
5746#include "confdefs.h" 5771#include "confdefs.h"
5747#include <$ac_hdr> 5772#include <$ac_hdr>
5748EOF 5773EOF
5749ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5774ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5750{ (eval echo configure:5751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5775{ (eval echo configure:5776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5751ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5776ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5752if test -z "$ac_err"; then 5777if test -z "$ac_err"; then
5753 rm -rf conftest* 5778 rm -rf conftest*
@@ -5774,17 +5799,17 @@ for ac_hdr in kerberos/des.h
5774do 5799do
5775ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5800ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5776echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5801echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5777echo "configure:5778: checking for $ac_hdr" >&5 5802echo "configure:5803: checking for $ac_hdr" >&5
5778if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5803if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6 5804 echo $ac_n "(cached) $ac_c" 1>&6
5780else 5805else
5781 cat > conftest.$ac_ext <<EOF 5806 cat > conftest.$ac_ext <<EOF
5782#line 5783 "configure" 5807#line 5808 "configure"
5783#include "confdefs.h" 5808#include "confdefs.h"
5784#include <$ac_hdr> 5809#include <$ac_hdr>
5785EOF 5810EOF
5786ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5811ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5787{ (eval echo configure:5788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5812{ (eval echo configure:5813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5788ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5813ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5789if test -z "$ac_err"; then 5814if test -z "$ac_err"; then
5790 rm -rf conftest* 5815 rm -rf conftest*
@@ -5820,17 +5845,17 @@ done
5820do 5845do
5821ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5846ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5822echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5847echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5823echo "configure:5824: checking for $ac_hdr" >&5 5848echo "configure:5849: checking for $ac_hdr" >&5
5824if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5849if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5825 echo $ac_n "(cached) $ac_c" 1>&6 5850 echo $ac_n "(cached) $ac_c" 1>&6
5826else 5851else
5827 cat > conftest.$ac_ext <<EOF 5852 cat > conftest.$ac_ext <<EOF
5828#line 5829 "configure" 5853#line 5854 "configure"
5829#include "confdefs.h" 5854#include "confdefs.h"
5830#include <$ac_hdr> 5855#include <$ac_hdr>
5831EOF 5856EOF
5832ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5857ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5833{ (eval echo configure:5834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5858{ (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5834ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5859ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5835if test -z "$ac_err"; then 5860if test -z "$ac_err"; then
5836 rm -rf conftest* 5861 rm -rf conftest*
@@ -5857,17 +5882,17 @@ for ac_hdr in kerberosIV/krb.h
5857do 5882do
5858ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5883ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5859echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5884echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5860echo "configure:5861: checking for $ac_hdr" >&5 5885echo "configure:5886: checking for $ac_hdr" >&5
5861if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5886if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5862 echo $ac_n "(cached) $ac_c" 1>&6 5887 echo $ac_n "(cached) $ac_c" 1>&6
5863else 5888else
5864 cat > conftest.$ac_ext <<EOF 5889 cat > conftest.$ac_ext <<EOF
5865#line 5866 "configure" 5890#line 5891 "configure"
5866#include "confdefs.h" 5891#include "confdefs.h"
5867#include <$ac_hdr> 5892#include <$ac_hdr>
5868EOF 5893EOF
5869ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5894ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5870{ (eval echo configure:5871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5895{ (eval echo configure:5896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5871ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5896ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5872if test -z "$ac_err"; then 5897if test -z "$ac_err"; then
5873 rm -rf conftest* 5898 rm -rf conftest*
@@ -5894,17 +5919,17 @@ for ac_hdr in kerberos/krb.h
5894do 5919do
5895ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5920ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5896echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5921echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5897echo "configure:5898: checking for $ac_hdr" >&5 5922echo "configure:5923: checking for $ac_hdr" >&5
5898if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5923if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5899 echo $ac_n "(cached) $ac_c" 1>&6 5924 echo $ac_n "(cached) $ac_c" 1>&6
5900else 5925else
5901 cat > conftest.$ac_ext <<EOF 5926 cat > conftest.$ac_ext <<EOF
5902#line 5903 "configure" 5927#line 5928 "configure"
5903#include "confdefs.h" 5928#include "confdefs.h"
5904#include <$ac_hdr> 5929#include <$ac_hdr>
5905EOF 5930EOF
5906ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5931ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5907{ (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5932{ (eval echo configure:5933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5908ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5933ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5909if test -z "$ac_err"; then 5934if test -z "$ac_err"; then
5910 rm -rf conftest* 5935 rm -rf conftest*
@@ -5941,17 +5966,17 @@ done
5941do 5966do
5942ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5967ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5943echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5968echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5944echo "configure:5945: checking for $ac_hdr" >&5 5969echo "configure:5970: checking for $ac_hdr" >&5
5945if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5970if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5946 echo $ac_n "(cached) $ac_c" 1>&6 5971 echo $ac_n "(cached) $ac_c" 1>&6
5947else 5972else
5948 cat > conftest.$ac_ext <<EOF 5973 cat > conftest.$ac_ext <<EOF
5949#line 5950 "configure" 5974#line 5975 "configure"
5950#include "confdefs.h" 5975#include "confdefs.h"
5951#include <$ac_hdr> 5976#include <$ac_hdr>
5952EOF 5977EOF
5953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5954{ (eval echo configure:5955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5979{ (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5980ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5956if test -z "$ac_err"; then 5981if test -z "$ac_err"; then
5957 rm -rf conftest* 5982 rm -rf conftest*
@@ -5982,7 +6007,7 @@ fi
5982# Solaris requires -lintl if you want strerror (which calls dgettext) 6007# Solaris requires -lintl if you want strerror (which calls dgettext)
5983# to return localized messages. 6008# to return localized messages.
5984echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6009echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
5985echo "configure:5986: checking for dgettext in -lintl" >&5 6010echo "configure:6011: checking for dgettext in -lintl" >&5
5986ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6011ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
5987if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6012if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5988 echo $ac_n "(cached) $ac_c" 1>&6 6013 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5990,7 +6015,7 @@ else
5990 ac_save_LIBS="$LIBS" 6015 ac_save_LIBS="$LIBS"
5991LIBS="-lintl $LIBS" 6016LIBS="-lintl $LIBS"
5992cat > conftest.$ac_ext <<EOF 6017cat > conftest.$ac_ext <<EOF
5993#line 5994 "configure" 6018#line 6019 "configure"
5994#include "confdefs.h" 6019#include "confdefs.h"
5995/* Override any gcc2 internal prototype to avoid an error. */ 6020/* Override any gcc2 internal prototype to avoid an error. */
5996/* We use char because int might match the return type of a gcc2 6021/* We use char because int might match the return type of a gcc2
@@ -6001,7 +6026,7 @@ int main() {
6001dgettext() 6026dgettext()
6002; return 0; } 6027; return 0; }
6003EOF 6028EOF
6004if { (eval echo configure:6005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6029if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6005 rm -rf conftest* 6030 rm -rf conftest*
6006 eval "ac_cv_lib_$ac_lib_var=yes" 6031 eval "ac_cv_lib_$ac_lib_var=yes"
6007else 6032else
@@ -6030,7 +6055,7 @@ fi
6030 6055
6031 6056
6032echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6057echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6033echo "configure:6034: checking whether localtime caches TZ" >&5 6058echo "configure:6059: checking whether localtime caches TZ" >&5
6034if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6059if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6035 echo $ac_n "(cached) $ac_c" 1>&6 6060 echo $ac_n "(cached) $ac_c" 1>&6
6036else 6061else
@@ -6040,7 +6065,7 @@ if test "$cross_compiling" = yes; then
6040emacs_cv_localtime_cache=yes 6065emacs_cv_localtime_cache=yes
6041else 6066else
6042 cat > conftest.$ac_ext <<EOF 6067 cat > conftest.$ac_ext <<EOF
6043#line 6044 "configure" 6068#line 6069 "configure"
6044#include "confdefs.h" 6069#include "confdefs.h"
6045#include <time.h> 6070#include <time.h>
6046extern char **environ; 6071extern char **environ;
@@ -6072,7 +6097,7 @@ main()
6072 exit (0); 6097 exit (0);
6073} 6098}
6074EOF 6099EOF
6075if { (eval echo configure:6076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6100if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6076then 6101then
6077 emacs_cv_localtime_cache=no 6102 emacs_cv_localtime_cache=no
6078else 6103else
@@ -6100,12 +6125,12 @@ fi
6100 6125
6101if test "x$HAVE_TIMEVAL" = xyes; then 6126if test "x$HAVE_TIMEVAL" = xyes; then
6102echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6127echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6103echo "configure:6104: checking whether gettimeofday can accept two arguments" >&5 6128echo "configure:6129: checking whether gettimeofday can accept two arguments" >&5
6104if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6129if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6105 echo $ac_n "(cached) $ac_c" 1>&6 6130 echo $ac_n "(cached) $ac_c" 1>&6
6106else 6131else
6107 cat > conftest.$ac_ext <<EOF 6132 cat > conftest.$ac_ext <<EOF
6108#line 6109 "configure" 6133#line 6134 "configure"
6109#include "confdefs.h" 6134#include "confdefs.h"
6110 6135
6111#ifdef TIME_WITH_SYS_TIME 6136#ifdef TIME_WITH_SYS_TIME
@@ -6127,7 +6152,7 @@ int main() {
6127 6152
6128; return 0; } 6153; return 0; }
6129EOF 6154EOF
6130if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6155if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6131 rm -rf conftest* 6156 rm -rf conftest*
6132 emacs_cv_gettimeofday_two_arguments=yes 6157 emacs_cv_gettimeofday_two_arguments=yes
6133else 6158else
@@ -6150,12 +6175,12 @@ fi
6150 6175
6151ok_so_far=yes 6176ok_so_far=yes
6152echo $ac_n "checking for socket""... $ac_c" 1>&6 6177echo $ac_n "checking for socket""... $ac_c" 1>&6
6153echo "configure:6154: checking for socket" >&5 6178echo "configure:6179: checking for socket" >&5
6154if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6179if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6155 echo $ac_n "(cached) $ac_c" 1>&6 6180 echo $ac_n "(cached) $ac_c" 1>&6
6156else 6181else
6157 cat > conftest.$ac_ext <<EOF 6182 cat > conftest.$ac_ext <<EOF
6158#line 6159 "configure" 6183#line 6184 "configure"
6159#include "confdefs.h" 6184#include "confdefs.h"
6160/* System header to define __stub macros and hopefully few prototypes, 6185/* System header to define __stub macros and hopefully few prototypes,
6161 which can conflict with char socket(); below. */ 6186 which can conflict with char socket(); below. */
@@ -6178,7 +6203,7 @@ socket();
6178 6203
6179; return 0; } 6204; return 0; }
6180EOF 6205EOF
6181if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6206if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6182 rm -rf conftest* 6207 rm -rf conftest*
6183 eval "ac_cv_func_socket=yes" 6208 eval "ac_cv_func_socket=yes"
6184else 6209else
@@ -6201,17 +6226,17 @@ fi
6201if test $ok_so_far = yes; then 6226if test $ok_so_far = yes; then
6202 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6227 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6203echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6228echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6204echo "configure:6205: checking for netinet/in.h" >&5 6229echo "configure:6230: checking for netinet/in.h" >&5
6205if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6230if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6206 echo $ac_n "(cached) $ac_c" 1>&6 6231 echo $ac_n "(cached) $ac_c" 1>&6
6207else 6232else
6208 cat > conftest.$ac_ext <<EOF 6233 cat > conftest.$ac_ext <<EOF
6209#line 6210 "configure" 6234#line 6235 "configure"
6210#include "confdefs.h" 6235#include "confdefs.h"
6211#include <netinet/in.h> 6236#include <netinet/in.h>
6212EOF 6237EOF
6213ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6238ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6214{ (eval echo configure:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6239{ (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6215ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6240ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6216if test -z "$ac_err"; then 6241if test -z "$ac_err"; then
6217 rm -rf conftest* 6242 rm -rf conftest*
@@ -6237,17 +6262,17 @@ fi
6237if test $ok_so_far = yes; then 6262if test $ok_so_far = yes; then
6238 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6263 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6239echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6264echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6240echo "configure:6241: checking for arpa/inet.h" >&5 6265echo "configure:6266: checking for arpa/inet.h" >&5
6241if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6266if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6242 echo $ac_n "(cached) $ac_c" 1>&6 6267 echo $ac_n "(cached) $ac_c" 1>&6
6243else 6268else
6244 cat > conftest.$ac_ext <<EOF 6269 cat > conftest.$ac_ext <<EOF
6245#line 6246 "configure" 6270#line 6271 "configure"
6246#include "confdefs.h" 6271#include "confdefs.h"
6247#include <arpa/inet.h> 6272#include <arpa/inet.h>
6248EOF 6273EOF
6249ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6274ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6250{ (eval echo configure:6251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6275{ (eval echo configure:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6251ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6276ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6252if test -z "$ac_err"; then 6277if test -z "$ac_err"; then
6253 rm -rf conftest* 6278 rm -rf conftest*
@@ -6285,7 +6310,7 @@ EOF
6285fi 6310fi
6286 6311
6287echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6312echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6288echo "configure:6289: checking whether system supports dynamic ptys" >&5 6313echo "configure:6314: checking whether system supports dynamic ptys" >&5
6289if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6314if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6290 echo "$ac_t""yes" 1>&6 6315 echo "$ac_t""yes" 1>&6
6291 cat >> confdefs.h <<\EOF 6316 cat >> confdefs.h <<\EOF
@@ -6296,250 +6321,6 @@ else
6296 echo "$ac_t""no" 1>&6 6321 echo "$ac_t""no" 1>&6
6297fi 6322fi
6298 6323
6299echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6300echo "configure:6301: checking for pid_t" >&5
6301if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6302 echo $ac_n "(cached) $ac_c" 1>&6
6303else
6304 cat > conftest.$ac_ext <<EOF
6305#line 6306 "configure"
6306#include "confdefs.h"
6307#include <sys/types.h>
6308#if STDC_HEADERS
6309#include <stdlib.h>
6310#include <stddef.h>
6311#endif
6312EOF
6313if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6314 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
6315 rm -rf conftest*
6316 ac_cv_type_pid_t=yes
6317else
6318 rm -rf conftest*
6319 ac_cv_type_pid_t=no
6320fi
6321rm -f conftest*
6322
6323fi
6324echo "$ac_t""$ac_cv_type_pid_t" 1>&6
6325if test $ac_cv_type_pid_t = no; then
6326 cat >> confdefs.h <<\EOF
6327#define pid_t int
6328EOF
6329
6330fi
6331
6332ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6333echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6334echo "configure:6335: checking for vfork.h" >&5
6335if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6336 echo $ac_n "(cached) $ac_c" 1>&6
6337else
6338 cat > conftest.$ac_ext <<EOF
6339#line 6340 "configure"
6340#include "confdefs.h"
6341#include <vfork.h>
6342EOF
6343ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6344{ (eval echo configure:6345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6345ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6346if test -z "$ac_err"; then
6347 rm -rf conftest*
6348 eval "ac_cv_header_$ac_safe=yes"
6349else
6350 echo "$ac_err" >&5
6351 echo "configure: failed program was:" >&5
6352 cat conftest.$ac_ext >&5
6353 rm -rf conftest*
6354 eval "ac_cv_header_$ac_safe=no"
6355fi
6356rm -f conftest*
6357fi
6358if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6359 echo "$ac_t""yes" 1>&6
6360 cat >> confdefs.h <<\EOF
6361#define HAVE_VFORK_H 1
6362EOF
6363
6364else
6365 echo "$ac_t""no" 1>&6
6366fi
6367
6368echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6369echo "configure:6370: checking for working vfork" >&5
6370if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6371 echo $ac_n "(cached) $ac_c" 1>&6
6372else
6373 if test "$cross_compiling" = yes; then
6374 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6375echo "configure:6376: checking for vfork" >&5
6376if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6377 echo $ac_n "(cached) $ac_c" 1>&6
6378else
6379 cat > conftest.$ac_ext <<EOF
6380#line 6381 "configure"
6381#include "confdefs.h"
6382/* System header to define __stub macros and hopefully few prototypes,
6383 which can conflict with char vfork(); below. */
6384#include <assert.h>
6385/* Override any gcc2 internal prototype to avoid an error. */
6386/* We use char because int might match the return type of a gcc2
6387 builtin and then its argument prototype would still apply. */
6388char vfork();
6389
6390int main() {
6391
6392/* The GNU C library defines this for functions which it implements
6393 to always fail with ENOSYS. Some functions are actually named
6394 something starting with __ and the normal name is an alias. */
6395#if defined (__stub_vfork) || defined (__stub___vfork)
6396choke me
6397#else
6398vfork();
6399#endif
6400
6401; return 0; }
6402EOF
6403if { (eval echo configure:6404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6404 rm -rf conftest*
6405 eval "ac_cv_func_vfork=yes"
6406else
6407 echo "configure: failed program was:" >&5
6408 cat conftest.$ac_ext >&5
6409 rm -rf conftest*
6410 eval "ac_cv_func_vfork=no"
6411fi
6412rm -f conftest*
6413fi
6414
6415if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
6416 echo "$ac_t""yes" 1>&6
6417 :
6418else
6419 echo "$ac_t""no" 1>&6
6420fi
6421
6422ac_cv_func_vfork_works=$ac_cv_func_vfork
6423else
6424 cat > conftest.$ac_ext <<EOF
6425#line 6426 "configure"
6426#include "confdefs.h"
6427/* Thanks to Paul Eggert for this test. */
6428#include <stdio.h>
6429#include <sys/types.h>
6430#include <sys/stat.h>
6431#ifdef HAVE_UNISTD_H
6432#include <unistd.h>
6433#endif
6434#ifdef HAVE_VFORK_H
6435#include <vfork.h>
6436#endif
6437/* On some sparc systems, changes by the child to local and incoming
6438 argument registers are propagated back to the parent.
6439 The compiler is told about this with #include <vfork.h>,
6440 but some compilers (e.g. gcc -O) don't grok <vfork.h>.
6441 Test for this by using a static variable whose address
6442 is put into a register that is clobbered by the vfork. */
6443static
6444#ifdef __cplusplus
6445sparc_address_test (int arg)
6446#else
6447sparc_address_test (arg) int arg;
6448#endif
6449{
6450 static pid_t child;
6451 if (!child) {
6452 child = vfork ();
6453 if (child < 0) {
6454 perror ("vfork");
6455 _exit(2);
6456 }
6457 if (!child) {
6458 arg = getpid();
6459 write(-1, "", 0);
6460 _exit (arg);
6461 }
6462 }
6463}
6464main() {
6465 pid_t parent = getpid ();
6466 pid_t child;
6467
6468 sparc_address_test ();
6469
6470 child = vfork ();
6471
6472 if (child == 0) {
6473 /* Here is another test for sparc vfork register problems.
6474 This test uses lots of local variables, at least
6475 as many local variables as main has allocated so far
6476 including compiler temporaries. 4 locals are enough for
6477 gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
6478 A buggy compiler should reuse the register of parent
6479 for one of the local variables, since it will think that
6480 parent can't possibly be used any more in this routine.
6481 Assigning to the local variable will thus munge parent
6482 in the parent process. */
6483 pid_t
6484 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6485 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6486 /* Convince the compiler that p..p7 are live; otherwise, it might
6487 use the same hardware register for all 8 local variables. */
6488 if (p != p1 || p != p2 || p != p3 || p != p4
6489 || p != p5 || p != p6 || p != p7)
6490 _exit(1);
6491
6492 /* On some systems (e.g. IRIX 3.3),
6493 vfork doesn't separate parent from child file descriptors.
6494 If the child closes a descriptor before it execs or exits,
6495 this munges the parent's descriptor as well.
6496 Test for this by closing stdout in the child. */
6497 _exit(close(fileno(stdout)) != 0);
6498 } else {
6499 int status;
6500 struct stat st;
6501
6502 while (wait(&status) != child)
6503 ;
6504 exit(
6505 /* Was there some problem with vforking? */
6506 child < 0
6507
6508 /* Did the child fail? (This shouldn't happen.) */
6509 || status
6510
6511 /* Did the vfork/compiler bug occur? */
6512 || parent != getpid()
6513
6514 /* Did the file descriptor bug occur? */
6515 || fstat(fileno(stdout), &st) != 0
6516 );
6517 }
6518}
6519EOF
6520if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6521then
6522 ac_cv_func_vfork_works=yes
6523else
6524 echo "configure: failed program was:" >&5
6525 cat conftest.$ac_ext >&5
6526 rm -fr conftest*
6527 ac_cv_func_vfork_works=no
6528fi
6529rm -fr conftest*
6530fi
6531
6532fi
6533
6534echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
6535if test $ac_cv_func_vfork_works = no; then
6536 cat >> confdefs.h <<\EOF
6537#define vfork fork
6538EOF
6539
6540fi
6541
6542
6543# Set up the CFLAGS for real compilation, so we can substitute it. 6324# Set up the CFLAGS for real compilation, so we can substitute it.
6544CFLAGS="$REAL_CFLAGS" 6325CFLAGS="$REAL_CFLAGS"
6545 6326
diff --git a/etc/NEWS b/etc/NEWS
index 2fbed9a2afd..5f0fdfe7f43 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -13,6 +13,10 @@ the --without-pop configure option, should that be necessary.
13 13
14* Changes in Emacs 21.1 14* Changes in Emacs 21.1
15 15
16** The help string specified for a menu-item whose definition contains
17the property `:help HELP' is now displayed under X either in the echo
18area or with tooltips.
19
16** New user option `read-mail-command' specifies a command to use to 20** New user option `read-mail-command' specifies a command to use to
17read mail from the menu etc. 21read mail from the menu etc.
18 22