aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-10-12 17:14:18 +0000
committerDave Love1999-10-12 17:14:18 +0000
commit243cf185aa1e150b0c2b0a82013f1291e41f0277 (patch)
treec6e656e269d04178d1ed09de14d620625d8a4569
parent6fa064b6bd95b5f682f0b924c4b7e83840396e13 (diff)
downloademacs-243cf185aa1e150b0c2b0a82013f1291e41f0277.tar.gz
emacs-243cf185aa1e150b0c2b0a82013f1291e41f0277.zip
#
-rwxr-xr-xconfigure429
1 files changed, 216 insertions, 213 deletions
diff --git a/configure b/configure
index 8141f883775..0d5a03c7ae8 100755
--- a/configure
+++ b/configure
@@ -12,9 +12,9 @@ ac_help=
12ac_default_prefix=/usr/local 12ac_default_prefix=/usr/local
13# Any additions from configure.in: 13# Any additions from configure.in:
14ac_help="$ac_help 14ac_help="$ac_help
15 --with-gcc use GCC to compile Emacs" 15 --without-gcc don't use GCC to compile Emacs if GCC is found"
16ac_help="$ac_help 16ac_help="$ac_help
17 --with-pop support POP for mail retrieval" 17 --without-pop don't support POP mail retrieval with movemail"
18ac_help="$ac_help 18ac_help="$ac_help
19 --with-hesiod support Hesiod to get the POP server host" 19 --with-hesiod support Hesiod to get the POP server host"
20ac_help="$ac_help 20ac_help="$ac_help
@@ -30,7 +30,7 @@ ac_help="$ac_help
30ac_help="$ac_help 30ac_help="$ac_help
31 --with-png use -lpng for displaying PNG images" 31 --with-png use -lpng for displaying PNG images"
32ac_help="$ac_help 32ac_help="$ac_help
33 --with-toolkit-scroll-bars use Motif or Xaw3d scroll bars" 33 --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars"
34ac_help="$ac_help 34ac_help="$ac_help
35 --with-x use the X Window System" 35 --with-x use the X Window System"
36 36
@@ -562,10 +562,13 @@ fi
562# Check whether --with-pop or --without-pop was given. 562# Check whether --with-pop or --without-pop was given.
563if test "${with_pop+set}" = set; then 563if test "${with_pop+set}" = set; then
564 withval="$with_pop" 564 withval="$with_pop"
565 cat >> confdefs.h <<\EOF 565 if test "$withval" = yes; then
566 cat >> confdefs.h <<\EOF
566#define MAIL_USE_POP 1 567#define MAIL_USE_POP 1
567EOF 568EOF
568 569
570else :
571fi
569fi 572fi
570 573
571# Check whether --with-hesiod or --without-hesiod was given. 574# Check whether --with-hesiod or --without-hesiod was given.
@@ -705,7 +708,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
705fi 708fi
706 709
707echo $ac_n "checking host system type""... $ac_c" 1>&6 710echo $ac_n "checking host system type""... $ac_c" 1>&6
708echo "configure:709: checking host system type" >&5 711echo "configure:712: checking host system type" >&5
709 712
710host_alias=$host 713host_alias=$host
711case "$host_alias" in 714case "$host_alias" in
@@ -1646,7 +1649,7 @@ case ${with_gcc} in
1646 * ) # Extract the first word of "gcc", so it can be a program name with args. 1649 * ) # Extract the first word of "gcc", so it can be a program name with args.
1647set dummy gcc; ac_word=$2 1650set dummy gcc; ac_word=$2
1648echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1651echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1649echo "configure:1650: checking for $ac_word" >&5 1652echo "configure:1653: checking for $ac_word" >&5
1650if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1653if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1651 echo $ac_n "(cached) $ac_c" 1>&6 1654 echo $ac_n "(cached) $ac_c" 1>&6
1652else 1655else
@@ -1676,7 +1679,7 @@ if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args. 1679 # Extract the first word of "cc", so it can be a program name with args.
1677set dummy cc; ac_word=$2 1680set dummy cc; ac_word=$2
1678echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1681echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1679echo "configure:1680: checking for $ac_word" >&5 1682echo "configure:1683: checking for $ac_word" >&5
1680if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1683if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1681 echo $ac_n "(cached) $ac_c" 1>&6 1684 echo $ac_n "(cached) $ac_c" 1>&6
1682else 1685else
@@ -1727,7 +1730,7 @@ fi
1727 # Extract the first word of "cl", so it can be a program name with args. 1730 # Extract the first word of "cl", so it can be a program name with args.
1728set dummy cl; ac_word=$2 1731set dummy cl; ac_word=$2
1729echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1732echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1730echo "configure:1731: checking for $ac_word" >&5 1733echo "configure:1734: checking for $ac_word" >&5
1731if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1734if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1732 echo $ac_n "(cached) $ac_c" 1>&6 1735 echo $ac_n "(cached) $ac_c" 1>&6
1733else 1736else
@@ -1759,7 +1762,7 @@ fi
1759fi 1762fi
1760 1763
1761echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1764echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1762echo "configure:1763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1765echo "configure:1766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1763 1766
1764ac_ext=c 1767ac_ext=c
1765# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1768# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1770,12 +1773,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1770 1773
1771cat > conftest.$ac_ext << EOF 1774cat > conftest.$ac_ext << EOF
1772 1775
1773#line 1774 "configure" 1776#line 1777 "configure"
1774#include "confdefs.h" 1777#include "confdefs.h"
1775 1778
1776main(){return(0);} 1779main(){return(0);}
1777EOF 1780EOF
1778if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1781if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1779 ac_cv_prog_cc_works=yes 1782 ac_cv_prog_cc_works=yes
1780 # If we can't run a trivial program, we are probably using a cross compiler. 1783 # If we can't run a trivial program, we are probably using a cross compiler.
1781 if (./conftest; exit) 2>/dev/null; then 1784 if (./conftest; exit) 2>/dev/null; then
@@ -1801,12 +1804,12 @@ if test $ac_cv_prog_cc_works = no; then
1801 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1804 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1802fi 1805fi
1803echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1806echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1804echo "configure:1805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1807echo "configure:1808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1805echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1808echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1806cross_compiling=$ac_cv_prog_cc_cross 1809cross_compiling=$ac_cv_prog_cc_cross
1807 1810
1808echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1811echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1809echo "configure:1810: checking whether we are using GNU C" >&5 1812echo "configure:1813: checking whether we are using GNU C" >&5
1810if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1813if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6 1814 echo $ac_n "(cached) $ac_c" 1>&6
1812else 1815else
@@ -1815,7 +1818,7 @@ else
1815 yes; 1818 yes;
1816#endif 1819#endif
1817EOF 1820EOF
1818if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1821if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1819 ac_cv_prog_gcc=yes 1822 ac_cv_prog_gcc=yes
1820else 1823else
1821 ac_cv_prog_gcc=no 1824 ac_cv_prog_gcc=no
@@ -1834,7 +1837,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1834ac_save_CFLAGS="$CFLAGS" 1837ac_save_CFLAGS="$CFLAGS"
1835CFLAGS= 1838CFLAGS=
1836echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1839echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1837echo "configure:1838: checking whether ${CC-cc} accepts -g" >&5 1840echo "configure:1841: checking whether ${CC-cc} accepts -g" >&5
1838if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1841if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1839 echo $ac_n "(cached) $ac_c" 1>&6 1842 echo $ac_n "(cached) $ac_c" 1>&6
1840else 1843else
@@ -1914,7 +1917,7 @@ fi
1914#### #undef clause to src/config.h.in for autoconf to modify. 1917#### #undef clause to src/config.h.in for autoconf to modify.
1915 1918
1916echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1919echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1917echo "configure:1918: checking whether ln -s works" >&5 1920echo "configure:1921: checking whether ln -s works" >&5
1918if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1921if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6 1922 echo $ac_n "(cached) $ac_c" 1>&6
1920else 1923else
@@ -1935,7 +1938,7 @@ else
1935fi 1938fi
1936 1939
1937echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1940echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1938echo "configure:1939: checking how to run the C preprocessor" >&5 1941echo "configure:1942: checking how to run the C preprocessor" >&5
1939# On Suns, sometimes $CPP names a directory. 1942# On Suns, sometimes $CPP names a directory.
1940if test -n "$CPP" && test -d "$CPP"; then 1943if test -n "$CPP" && test -d "$CPP"; then
1941 CPP= 1944 CPP=
@@ -1950,13 +1953,13 @@ else
1950 # On the NeXT, cc -E runs the code through the compiler's parser, 1953 # On the NeXT, cc -E runs the code through the compiler's parser,
1951 # not just through cpp. 1954 # not just through cpp.
1952 cat > conftest.$ac_ext <<EOF 1955 cat > conftest.$ac_ext <<EOF
1953#line 1954 "configure" 1956#line 1957 "configure"
1954#include "confdefs.h" 1957#include "confdefs.h"
1955#include <assert.h> 1958#include <assert.h>
1956Syntax Error 1959Syntax Error
1957EOF 1960EOF
1958ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1961ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1959{ (eval echo configure:1960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1962{ (eval echo configure:1963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1960ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1961if test -z "$ac_err"; then 1964if test -z "$ac_err"; then
1962 : 1965 :
@@ -1967,13 +1970,13 @@ else
1967 rm -rf conftest* 1970 rm -rf conftest*
1968 CPP="${CC-cc} -E -traditional-cpp" 1971 CPP="${CC-cc} -E -traditional-cpp"
1969 cat > conftest.$ac_ext <<EOF 1972 cat > conftest.$ac_ext <<EOF
1970#line 1971 "configure" 1973#line 1974 "configure"
1971#include "confdefs.h" 1974#include "confdefs.h"
1972#include <assert.h> 1975#include <assert.h>
1973Syntax Error 1976Syntax Error
1974EOF 1977EOF
1975ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1976{ (eval echo configure:1977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1979{ (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1977ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1980ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1978if test -z "$ac_err"; then 1981if test -z "$ac_err"; then
1979 : 1982 :
@@ -1984,13 +1987,13 @@ else
1984 rm -rf conftest* 1987 rm -rf conftest*
1985 CPP="${CC-cc} -nologo -E" 1988 CPP="${CC-cc} -nologo -E"
1986 cat > conftest.$ac_ext <<EOF 1989 cat > conftest.$ac_ext <<EOF
1987#line 1988 "configure" 1990#line 1991 "configure"
1988#include "confdefs.h" 1991#include "confdefs.h"
1989#include <assert.h> 1992#include <assert.h>
1990Syntax Error 1993Syntax Error
1991EOF 1994EOF
1992ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1995ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1993{ (eval echo configure:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1996{ (eval echo configure:1997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1994ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1997ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1995if test -z "$ac_err"; then 1998if test -z "$ac_err"; then
1996 : 1999 :
@@ -2026,7 +2029,7 @@ echo "$ac_t""$CPP" 1>&6
2026# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2029# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2027# ./install, which can be erroneously created by make from ./install.sh. 2030# ./install, which can be erroneously created by make from ./install.sh.
2028echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2031echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2029echo "configure:2030: checking for a BSD compatible install" >&5 2032echo "configure:2033: checking for a BSD compatible install" >&5
2030if test -z "$INSTALL"; then 2033if test -z "$INSTALL"; then
2031if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2034if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2032 echo $ac_n "(cached) $ac_c" 1>&6 2035 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2083,7 +2086,7 @@ do
2083# Extract the first word of "$ac_prog", so it can be a program name with args. 2086# Extract the first word of "$ac_prog", so it can be a program name with args.
2084set dummy $ac_prog; ac_word=$2 2087set dummy $ac_prog; ac_word=$2
2085echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2088echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2086echo "configure:2087: checking for $ac_word" >&5 2089echo "configure:2090: checking for $ac_word" >&5
2087if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2090if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2088 echo $ac_n "(cached) $ac_c" 1>&6 2091 echo $ac_n "(cached) $ac_c" 1>&6
2089else 2092else
@@ -2115,9 +2118,9 @@ test -n "$YACC" || YACC="yacc"
2115 2118
2116 2119
2117echo $ac_n "checking for AIX""... $ac_c" 1>&6 2120echo $ac_n "checking for AIX""... $ac_c" 1>&6
2118echo "configure:2119: checking for AIX" >&5 2121echo "configure:2122: checking for AIX" >&5
2119cat > conftest.$ac_ext <<EOF 2122cat > conftest.$ac_ext <<EOF
2120#line 2121 "configure" 2123#line 2124 "configure"
2121#include "confdefs.h" 2124#include "confdefs.h"
2122#ifdef _AIX 2125#ifdef _AIX
2123 yes 2126 yes
@@ -2144,17 +2147,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2144do 2147do
2145ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2148ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2146echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2149echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2147echo "configure:2148: checking for $ac_hdr" >&5 2150echo "configure:2151: checking for $ac_hdr" >&5
2148if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2151if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2149 echo $ac_n "(cached) $ac_c" 1>&6 2152 echo $ac_n "(cached) $ac_c" 1>&6
2150else 2153else
2151 cat > conftest.$ac_ext <<EOF 2154 cat > conftest.$ac_ext <<EOF
2152#line 2153 "configure" 2155#line 2156 "configure"
2153#include "confdefs.h" 2156#include "confdefs.h"
2154#include <$ac_hdr> 2157#include <$ac_hdr>
2155EOF 2158EOF
2156ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2159ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2157{ (eval echo configure:2158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2160{ (eval echo configure:2161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2158ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2161ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2159if test -z "$ac_err"; then 2162if test -z "$ac_err"; then
2160 rm -rf conftest* 2163 rm -rf conftest*
@@ -2185,17 +2188,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h linux/version
2185do 2188do
2186ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2189ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2187echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2190echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2188echo "configure:2189: checking for $ac_hdr" >&5 2191echo "configure:2192: checking for $ac_hdr" >&5
2189if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2192if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2190 echo $ac_n "(cached) $ac_c" 1>&6 2193 echo $ac_n "(cached) $ac_c" 1>&6
2191else 2194else
2192 cat > conftest.$ac_ext <<EOF 2195 cat > conftest.$ac_ext <<EOF
2193#line 2194 "configure" 2196#line 2197 "configure"
2194#include "confdefs.h" 2197#include "confdefs.h"
2195#include <$ac_hdr> 2198#include <$ac_hdr>
2196EOF 2199EOF
2197ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2200ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2198{ (eval echo configure:2199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2201{ (eval echo configure:2202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2199ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2202ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2200if test -z "$ac_err"; then 2203if test -z "$ac_err"; then
2201 rm -rf conftest* 2204 rm -rf conftest*
@@ -2222,12 +2225,12 @@ fi
2222done 2225done
2223 2226
2224echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2227echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2225echo "configure:2226: checking for ANSI C header files" >&5 2228echo "configure:2229: checking for ANSI C header files" >&5
2226if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2229if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2227 echo $ac_n "(cached) $ac_c" 1>&6 2230 echo $ac_n "(cached) $ac_c" 1>&6
2228else 2231else
2229 cat > conftest.$ac_ext <<EOF 2232 cat > conftest.$ac_ext <<EOF
2230#line 2231 "configure" 2233#line 2234 "configure"
2231#include "confdefs.h" 2234#include "confdefs.h"
2232#include <stdlib.h> 2235#include <stdlib.h>
2233#include <stdarg.h> 2236#include <stdarg.h>
@@ -2235,7 +2238,7 @@ else
2235#include <float.h> 2238#include <float.h>
2236EOF 2239EOF
2237ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2240ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2238{ (eval echo configure:2239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2241{ (eval echo configure:2242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2239ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2242ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2240if test -z "$ac_err"; then 2243if test -z "$ac_err"; then
2241 rm -rf conftest* 2244 rm -rf conftest*
@@ -2252,7 +2255,7 @@ rm -f conftest*
2252if test $ac_cv_header_stdc = yes; then 2255if test $ac_cv_header_stdc = yes; then
2253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2256 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2254cat > conftest.$ac_ext <<EOF 2257cat > conftest.$ac_ext <<EOF
2255#line 2256 "configure" 2258#line 2259 "configure"
2256#include "confdefs.h" 2259#include "confdefs.h"
2257#include <string.h> 2260#include <string.h>
2258EOF 2261EOF
@@ -2270,7 +2273,7 @@ fi
2270if test $ac_cv_header_stdc = yes; then 2273if test $ac_cv_header_stdc = yes; then
2271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2274 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2272cat > conftest.$ac_ext <<EOF 2275cat > conftest.$ac_ext <<EOF
2273#line 2274 "configure" 2276#line 2277 "configure"
2274#include "confdefs.h" 2277#include "confdefs.h"
2275#include <stdlib.h> 2278#include <stdlib.h>
2276EOF 2279EOF
@@ -2291,7 +2294,7 @@ if test "$cross_compiling" = yes; then
2291 : 2294 :
2292else 2295else
2293 cat > conftest.$ac_ext <<EOF 2296 cat > conftest.$ac_ext <<EOF
2294#line 2295 "configure" 2297#line 2298 "configure"
2295#include "confdefs.h" 2298#include "confdefs.h"
2296#include <ctype.h> 2299#include <ctype.h>
2297#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2300#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2302,7 +2305,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2302exit (0); } 2305exit (0); }
2303 2306
2304EOF 2307EOF
2305if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2308if { (eval echo configure:2309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2306then 2309then
2307 : 2310 :
2308else 2311else
@@ -2326,12 +2329,12 @@ EOF
2326fi 2329fi
2327 2330
2328echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2331echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2329echo "configure:2330: checking whether time.h and sys/time.h may both be included" >&5 2332echo "configure:2333: checking whether time.h and sys/time.h may both be included" >&5
2330if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2333if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6 2334 echo $ac_n "(cached) $ac_c" 1>&6
2332else 2335else
2333 cat > conftest.$ac_ext <<EOF 2336 cat > conftest.$ac_ext <<EOF
2334#line 2335 "configure" 2337#line 2338 "configure"
2335#include "confdefs.h" 2338#include "confdefs.h"
2336#include <sys/types.h> 2339#include <sys/types.h>
2337#include <sys/time.h> 2340#include <sys/time.h>
@@ -2340,7 +2343,7 @@ int main() {
2340struct tm *tp; 2343struct tm *tp;
2341; return 0; } 2344; return 0; }
2342EOF 2345EOF
2343if { (eval echo configure:2344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2346if { (eval echo configure:2347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2344 rm -rf conftest* 2347 rm -rf conftest*
2345 ac_cv_header_time=yes 2348 ac_cv_header_time=yes
2346else 2349else
@@ -2361,12 +2364,12 @@ EOF
2361fi 2364fi
2362 2365
2363echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2366echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2364echo "configure:2365: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2367echo "configure:2368: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2365if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2368if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2366 echo $ac_n "(cached) $ac_c" 1>&6 2369 echo $ac_n "(cached) $ac_c" 1>&6
2367else 2370else
2368 cat > conftest.$ac_ext <<EOF 2371 cat > conftest.$ac_ext <<EOF
2369#line 2370 "configure" 2372#line 2373 "configure"
2370#include "confdefs.h" 2373#include "confdefs.h"
2371#include <sys/types.h> 2374#include <sys/types.h>
2372#include <signal.h> 2375#include <signal.h>
@@ -2378,7 +2381,7 @@ int main() {
2378char *msg = *(sys_siglist + 1); 2381char *msg = *(sys_siglist + 1);
2379; return 0; } 2382; return 0; }
2380EOF 2383EOF
2381if { (eval echo configure:2382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2384if { (eval echo configure:2385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2382 rm -rf conftest* 2385 rm -rf conftest*
2383 ac_cv_decl_sys_siglist=yes 2386 ac_cv_decl_sys_siglist=yes
2384else 2387else
@@ -2400,12 +2403,12 @@ fi
2400 2403
2401 2404
2402echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2405echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2403echo "configure:2404: checking for struct utimbuf" >&5 2406echo "configure:2407: checking for struct utimbuf" >&5
2404if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2407if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2405 echo $ac_n "(cached) $ac_c" 1>&6 2408 echo $ac_n "(cached) $ac_c" 1>&6
2406else 2409else
2407 cat > conftest.$ac_ext <<EOF 2410 cat > conftest.$ac_ext <<EOF
2408#line 2409 "configure" 2411#line 2412 "configure"
2409#include "confdefs.h" 2412#include "confdefs.h"
2410#ifdef TIME_WITH_SYS_TIME 2413#ifdef TIME_WITH_SYS_TIME
2411#include <sys/time.h> 2414#include <sys/time.h>
@@ -2424,7 +2427,7 @@ int main() {
2424static struct utimbuf x; x.actime = x.modtime; 2427static struct utimbuf x; x.actime = x.modtime;
2425; return 0; } 2428; return 0; }
2426EOF 2429EOF
2427if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2430if { (eval echo configure:2431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2428 rm -rf conftest* 2431 rm -rf conftest*
2429 emacs_cv_struct_utimbuf=yes 2432 emacs_cv_struct_utimbuf=yes
2430else 2433else
@@ -2445,12 +2448,12 @@ EOF
2445fi 2448fi
2446 2449
2447echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2450echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2448echo "configure:2449: checking return type of signal handlers" >&5 2451echo "configure:2452: checking return type of signal handlers" >&5
2449if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2452if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2450 echo $ac_n "(cached) $ac_c" 1>&6 2453 echo $ac_n "(cached) $ac_c" 1>&6
2451else 2454else
2452 cat > conftest.$ac_ext <<EOF 2455 cat > conftest.$ac_ext <<EOF
2453#line 2454 "configure" 2456#line 2457 "configure"
2454#include "confdefs.h" 2457#include "confdefs.h"
2455#include <sys/types.h> 2458#include <sys/types.h>
2456#include <signal.h> 2459#include <signal.h>
@@ -2467,7 +2470,7 @@ int main() {
2467int i; 2470int i;
2468; return 0; } 2471; return 0; }
2469EOF 2472EOF
2470if { (eval echo configure:2471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2473if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2471 rm -rf conftest* 2474 rm -rf conftest*
2472 ac_cv_type_signal=void 2475 ac_cv_type_signal=void
2473else 2476else
@@ -2487,12 +2490,12 @@ EOF
2487 2490
2488 2491
2489echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2492echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2490echo "configure:2491: checking for struct timeval" >&5 2493echo "configure:2494: checking for struct timeval" >&5
2491if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2494if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2492 echo $ac_n "(cached) $ac_c" 1>&6 2495 echo $ac_n "(cached) $ac_c" 1>&6
2493else 2496else
2494 cat > conftest.$ac_ext <<EOF 2497 cat > conftest.$ac_ext <<EOF
2495#line 2496 "configure" 2498#line 2499 "configure"
2496#include "confdefs.h" 2499#include "confdefs.h"
2497#ifdef TIME_WITH_SYS_TIME 2500#ifdef TIME_WITH_SYS_TIME
2498#include <sys/time.h> 2501#include <sys/time.h>
@@ -2508,7 +2511,7 @@ int main() {
2508static struct timeval x; x.tv_sec = x.tv_usec; 2511static struct timeval x; x.tv_sec = x.tv_usec;
2509; return 0; } 2512; return 0; }
2510EOF 2513EOF
2511if { (eval echo configure:2512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2514if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2512 rm -rf conftest* 2515 rm -rf conftest*
2513 emacs_cv_struct_timeval=yes 2516 emacs_cv_struct_timeval=yes
2514else 2517else
@@ -2530,12 +2533,12 @@ EOF
2530fi 2533fi
2531 2534
2532echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2535echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2533echo "configure:2534: checking whether struct tm is in sys/time.h or time.h" >&5 2536echo "configure:2537: checking whether struct tm is in sys/time.h or time.h" >&5
2534if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2537if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2535 echo $ac_n "(cached) $ac_c" 1>&6 2538 echo $ac_n "(cached) $ac_c" 1>&6
2536else 2539else
2537 cat > conftest.$ac_ext <<EOF 2540 cat > conftest.$ac_ext <<EOF
2538#line 2539 "configure" 2541#line 2542 "configure"
2539#include "confdefs.h" 2542#include "confdefs.h"
2540#include <sys/types.h> 2543#include <sys/types.h>
2541#include <time.h> 2544#include <time.h>
@@ -2543,7 +2546,7 @@ int main() {
2543struct tm *tp; tp->tm_sec; 2546struct tm *tp; tp->tm_sec;
2544; return 0; } 2547; return 0; }
2545EOF 2548EOF
2546if { (eval echo configure:2547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2549if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2547 rm -rf conftest* 2550 rm -rf conftest*
2548 ac_cv_struct_tm=time.h 2551 ac_cv_struct_tm=time.h
2549else 2552else
@@ -2564,12 +2567,12 @@ EOF
2564fi 2567fi
2565 2568
2566echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2569echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2567echo "configure:2568: checking for tm_zone in struct tm" >&5 2570echo "configure:2571: checking for tm_zone in struct tm" >&5
2568if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2571if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2569 echo $ac_n "(cached) $ac_c" 1>&6 2572 echo $ac_n "(cached) $ac_c" 1>&6
2570else 2573else
2571 cat > conftest.$ac_ext <<EOF 2574 cat > conftest.$ac_ext <<EOF
2572#line 2573 "configure" 2575#line 2576 "configure"
2573#include "confdefs.h" 2576#include "confdefs.h"
2574#include <sys/types.h> 2577#include <sys/types.h>
2575#include <$ac_cv_struct_tm> 2578#include <$ac_cv_struct_tm>
@@ -2577,7 +2580,7 @@ int main() {
2577struct tm tm; tm.tm_zone; 2580struct tm tm; tm.tm_zone;
2578; return 0; } 2581; return 0; }
2579EOF 2582EOF
2580if { (eval echo configure:2581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2583if { (eval echo configure:2584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2581 rm -rf conftest* 2584 rm -rf conftest*
2582 ac_cv_struct_tm_zone=yes 2585 ac_cv_struct_tm_zone=yes
2583else 2586else
@@ -2597,12 +2600,12 @@ EOF
2597 2600
2598else 2601else
2599 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2602 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2600echo "configure:2601: checking for tzname" >&5 2603echo "configure:2604: checking for tzname" >&5
2601if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2604if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2602 echo $ac_n "(cached) $ac_c" 1>&6 2605 echo $ac_n "(cached) $ac_c" 1>&6
2603else 2606else
2604 cat > conftest.$ac_ext <<EOF 2607 cat > conftest.$ac_ext <<EOF
2605#line 2606 "configure" 2608#line 2609 "configure"
2606#include "confdefs.h" 2609#include "confdefs.h"
2607#include <time.h> 2610#include <time.h>
2608#ifndef tzname /* For SGI. */ 2611#ifndef tzname /* For SGI. */
@@ -2612,7 +2615,7 @@ int main() {
2612atoi(*tzname); 2615atoi(*tzname);
2613; return 0; } 2616; return 0; }
2614EOF 2617EOF
2615if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2618if { (eval echo configure:2619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2616 rm -rf conftest* 2619 rm -rf conftest*
2617 ac_cv_var_tzname=yes 2620 ac_cv_var_tzname=yes
2618else 2621else
@@ -2635,12 +2638,12 @@ fi
2635 2638
2636 2639
2637echo $ac_n "checking for working const""... $ac_c" 1>&6 2640echo $ac_n "checking for working const""... $ac_c" 1>&6
2638echo "configure:2639: checking for working const" >&5 2641echo "configure:2642: checking for working const" >&5
2639if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2642if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2640 echo $ac_n "(cached) $ac_c" 1>&6 2643 echo $ac_n "(cached) $ac_c" 1>&6
2641else 2644else
2642 cat > conftest.$ac_ext <<EOF 2645 cat > conftest.$ac_ext <<EOF
2643#line 2644 "configure" 2646#line 2647 "configure"
2644#include "confdefs.h" 2647#include "confdefs.h"
2645 2648
2646int main() { 2649int main() {
@@ -2689,7 +2692,7 @@ ccp = (char const *const *) p;
2689 2692
2690; return 0; } 2693; return 0; }
2691EOF 2694EOF
2692if { (eval echo configure:2693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2695if { (eval echo configure:2696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2693 rm -rf conftest* 2696 rm -rf conftest*
2694 ac_cv_c_const=yes 2697 ac_cv_c_const=yes
2695else 2698else
@@ -2711,7 +2714,7 @@ fi
2711 2714
2712 2715
2713echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2716echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2714echo "configure:2715: checking whether ${MAKE-make} sets \${MAKE}" >&5 2717echo "configure:2718: checking whether ${MAKE-make} sets \${MAKE}" >&5
2715set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2718set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2716if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2719if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2717 echo $ac_n "(cached) $ac_c" 1>&6 2720 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2739,7 +2742,7 @@ fi
2739 2742
2740 2743
2741echo $ac_n "checking for long file names""... $ac_c" 1>&6 2744echo $ac_n "checking for long file names""... $ac_c" 1>&6
2742echo "configure:2743: checking for long file names" >&5 2745echo "configure:2746: checking for long file names" >&5
2743if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 2746if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2744 echo $ac_n "(cached) $ac_c" 1>&6 2747 echo $ac_n "(cached) $ac_c" 1>&6
2745else 2748else
@@ -2790,7 +2793,7 @@ fi
2790# Uses ac_ vars as temps to allow command line to override cache and checks. 2793# Uses ac_ vars as temps to allow command line to override cache and checks.
2791# --without-x overrides everything else, but does not touch the cache. 2794# --without-x overrides everything else, but does not touch the cache.
2792echo $ac_n "checking for X""... $ac_c" 1>&6 2795echo $ac_n "checking for X""... $ac_c" 1>&6
2793echo "configure:2794: checking for X" >&5 2796echo "configure:2797: checking for X" >&5
2794 2797
2795# Check whether --with-x or --without-x was given. 2798# Check whether --with-x or --without-x was given.
2796if test "${with_x+set}" = set; then 2799if test "${with_x+set}" = set; then
@@ -2852,12 +2855,12 @@ if test "$ac_x_includes" = NO; then
2852 2855
2853 # First, try using that file with no special directory specified. 2856 # First, try using that file with no special directory specified.
2854cat > conftest.$ac_ext <<EOF 2857cat > conftest.$ac_ext <<EOF
2855#line 2856 "configure" 2858#line 2859 "configure"
2856#include "confdefs.h" 2859#include "confdefs.h"
2857#include <$x_direct_test_include> 2860#include <$x_direct_test_include>
2858EOF 2861EOF
2859ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2862ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2860{ (eval echo configure:2861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2863{ (eval echo configure:2864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2861ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2864ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2862if test -z "$ac_err"; then 2865if test -z "$ac_err"; then
2863 rm -rf conftest* 2866 rm -rf conftest*
@@ -2926,14 +2929,14 @@ if test "$ac_x_libraries" = NO; then
2926 ac_save_LIBS="$LIBS" 2929 ac_save_LIBS="$LIBS"
2927 LIBS="-l$x_direct_test_library $LIBS" 2930 LIBS="-l$x_direct_test_library $LIBS"
2928cat > conftest.$ac_ext <<EOF 2931cat > conftest.$ac_ext <<EOF
2929#line 2930 "configure" 2932#line 2933 "configure"
2930#include "confdefs.h" 2933#include "confdefs.h"
2931 2934
2932int main() { 2935int main() {
2933${x_direct_test_function}() 2936${x_direct_test_function}()
2934; return 0; } 2937; return 0; }
2935EOF 2938EOF
2936if { (eval echo configure:2937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2939if { (eval echo configure:2940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2937 rm -rf conftest* 2940 rm -rf conftest*
2938 LIBS="$ac_save_LIBS" 2941 LIBS="$ac_save_LIBS"
2939# We can link X programs with no special library path. 2942# We can link X programs with no special library path.
@@ -3107,7 +3110,7 @@ fi
3107echo "checking the machine- and system-dependent files to find out 3110echo "checking the machine- and system-dependent files to find out
3108 - which libraries the lib-src programs will want, and 3111 - which libraries the lib-src programs will want, and
3109 - whether the GNU malloc routines are usable" 1>&6 3112 - whether the GNU malloc routines are usable" 1>&6
3110echo "configure:3111: checking the machine- and system-dependent files to find out 3113echo "configure:3114: checking the machine- and system-dependent files to find out
3111 - which libraries the lib-src programs will want, and 3114 - which libraries the lib-src programs will want, and
3112 - whether the GNU malloc routines are usable" >&5 3115 - whether the GNU malloc routines are usable" >&5
3113 3116
@@ -3237,12 +3240,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3237GNU_MALLOC=yes 3240GNU_MALLOC=yes
3238doug_lea_malloc=yes 3241doug_lea_malloc=yes
3239echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3242echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3240echo "configure:3241: checking for malloc_get_state" >&5 3243echo "configure:3244: checking for malloc_get_state" >&5
3241if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3244if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3242 echo $ac_n "(cached) $ac_c" 1>&6 3245 echo $ac_n "(cached) $ac_c" 1>&6
3243else 3246else
3244 cat > conftest.$ac_ext <<EOF 3247 cat > conftest.$ac_ext <<EOF
3245#line 3246 "configure" 3248#line 3249 "configure"
3246#include "confdefs.h" 3249#include "confdefs.h"
3247/* System header to define __stub macros and hopefully few prototypes, 3250/* System header to define __stub macros and hopefully few prototypes,
3248 which can conflict with char malloc_get_state(); below. */ 3251 which can conflict with char malloc_get_state(); below. */
@@ -3265,7 +3268,7 @@ malloc_get_state();
3265 3268
3266; return 0; } 3269; return 0; }
3267EOF 3270EOF
3268if { (eval echo configure:3269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3271if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3269 rm -rf conftest* 3272 rm -rf conftest*
3270 eval "ac_cv_func_malloc_get_state=yes" 3273 eval "ac_cv_func_malloc_get_state=yes"
3271else 3274else
@@ -3286,12 +3289,12 @@ doug_lea_malloc=no
3286fi 3289fi
3287 3290
3288echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3291echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3289echo "configure:3290: checking for malloc_set_state" >&5 3292echo "configure:3293: checking for malloc_set_state" >&5
3290if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3293if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3291 echo $ac_n "(cached) $ac_c" 1>&6 3294 echo $ac_n "(cached) $ac_c" 1>&6
3292else 3295else
3293 cat > conftest.$ac_ext <<EOF 3296 cat > conftest.$ac_ext <<EOF
3294#line 3295 "configure" 3297#line 3298 "configure"
3295#include "confdefs.h" 3298#include "confdefs.h"
3296/* System header to define __stub macros and hopefully few prototypes, 3299/* System header to define __stub macros and hopefully few prototypes,
3297 which can conflict with char malloc_set_state(); below. */ 3300 which can conflict with char malloc_set_state(); below. */
@@ -3314,7 +3317,7 @@ malloc_set_state();
3314 3317
3315; return 0; } 3318; return 0; }
3316EOF 3319EOF
3317if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3320if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3318 rm -rf conftest* 3321 rm -rf conftest*
3319 eval "ac_cv_func_malloc_set_state=yes" 3322 eval "ac_cv_func_malloc_set_state=yes"
3320else 3323else
@@ -3335,19 +3338,19 @@ doug_lea_malloc=no
3335fi 3338fi
3336 3339
3337echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3340echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3338echo "configure:3339: checking whether __after_morecore_hook exists" >&5 3341echo "configure:3342: checking whether __after_morecore_hook exists" >&5
3339if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3342if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3340 echo $ac_n "(cached) $ac_c" 1>&6 3343 echo $ac_n "(cached) $ac_c" 1>&6
3341else 3344else
3342 cat > conftest.$ac_ext <<EOF 3345 cat > conftest.$ac_ext <<EOF
3343#line 3344 "configure" 3346#line 3347 "configure"
3344#include "confdefs.h" 3347#include "confdefs.h"
3345extern void (* __after_morecore_hook)(); 3348extern void (* __after_morecore_hook)();
3346int main() { 3349int main() {
3347__after_morecore_hook = 0 3350__after_morecore_hook = 0
3348; return 0; } 3351; return 0; }
3349EOF 3352EOF
3350if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3353if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3351 rm -rf conftest* 3354 rm -rf conftest*
3352 emacs_cv_var___after_morecore_hook=yes 3355 emacs_cv_var___after_morecore_hook=yes
3353else 3356else
@@ -3397,7 +3400,7 @@ fi
3397LIBS="$libsrc_libs $LIBS" 3400LIBS="$libsrc_libs $LIBS"
3398 3401
3399echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3402echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3400echo "configure:3401: checking for dnet_ntoa in -ldnet" >&5 3403echo "configure:3404: checking for dnet_ntoa in -ldnet" >&5
3401ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3404ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3402if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3405if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3403 echo $ac_n "(cached) $ac_c" 1>&6 3406 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3405,7 +3408,7 @@ else
3405 ac_save_LIBS="$LIBS" 3408 ac_save_LIBS="$LIBS"
3406LIBS="-ldnet $LIBS" 3409LIBS="-ldnet $LIBS"
3407cat > conftest.$ac_ext <<EOF 3410cat > conftest.$ac_ext <<EOF
3408#line 3409 "configure" 3411#line 3412 "configure"
3409#include "confdefs.h" 3412#include "confdefs.h"
3410/* Override any gcc2 internal prototype to avoid an error. */ 3413/* Override any gcc2 internal prototype to avoid an error. */
3411/* We use char because int might match the return type of a gcc2 3414/* We use char because int might match the return type of a gcc2
@@ -3416,7 +3419,7 @@ int main() {
3416dnet_ntoa() 3419dnet_ntoa()
3417; return 0; } 3420; return 0; }
3418EOF 3421EOF
3419if { (eval echo configure:3420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3422if { (eval echo configure:3423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3420 rm -rf conftest* 3423 rm -rf conftest*
3421 eval "ac_cv_lib_$ac_lib_var=yes" 3424 eval "ac_cv_lib_$ac_lib_var=yes"
3422else 3425else
@@ -3445,7 +3448,7 @@ fi
3445 3448
3446 3449
3447echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3450echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3448echo "configure:3449: checking for main in -lXbsd" >&5 3451echo "configure:3452: checking for main in -lXbsd" >&5
3449ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3452ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3450if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3453if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3451 echo $ac_n "(cached) $ac_c" 1>&6 3454 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3453,14 +3456,14 @@ else
3453 ac_save_LIBS="$LIBS" 3456 ac_save_LIBS="$LIBS"
3454LIBS="-lXbsd $LIBS" 3457LIBS="-lXbsd $LIBS"
3455cat > conftest.$ac_ext <<EOF 3458cat > conftest.$ac_ext <<EOF
3456#line 3457 "configure" 3459#line 3460 "configure"
3457#include "confdefs.h" 3460#include "confdefs.h"
3458 3461
3459int main() { 3462int main() {
3460main() 3463main()
3461; return 0; } 3464; return 0; }
3462EOF 3465EOF
3463if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3466if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3464 rm -rf conftest* 3467 rm -rf conftest*
3465 eval "ac_cv_lib_$ac_lib_var=yes" 3468 eval "ac_cv_lib_$ac_lib_var=yes"
3466else 3469else
@@ -3482,7 +3485,7 @@ fi
3482 3485
3483 3486
3484echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3487echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3485echo "configure:3486: checking for cma_open in -lpthreads" >&5 3488echo "configure:3489: checking for cma_open in -lpthreads" >&5
3486ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3489ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3487if 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
3488 echo $ac_n "(cached) $ac_c" 1>&6 3491 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3490,7 +3493,7 @@ else
3490 ac_save_LIBS="$LIBS" 3493 ac_save_LIBS="$LIBS"
3491LIBS="-lpthreads $LIBS" 3494LIBS="-lpthreads $LIBS"
3492cat > conftest.$ac_ext <<EOF 3495cat > conftest.$ac_ext <<EOF
3493#line 3494 "configure" 3496#line 3497 "configure"
3494#include "confdefs.h" 3497#include "confdefs.h"
3495/* Override any gcc2 internal prototype to avoid an error. */ 3498/* Override any gcc2 internal prototype to avoid an error. */
3496/* 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
@@ -3501,7 +3504,7 @@ int main() {
3501cma_open() 3504cma_open()
3502; return 0; } 3505; return 0; }
3503EOF 3506EOF
3504if { (eval echo configure:3505: \"$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
3505 rm -rf conftest* 3508 rm -rf conftest*
3506 eval "ac_cv_lib_$ac_lib_var=yes" 3509 eval "ac_cv_lib_$ac_lib_var=yes"
3507else 3510else
@@ -3530,7 +3533,7 @@ fi
3530 3533
3531 3534
3532echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3535echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3533echo "configure:3534: checking for XFree86 in /usr/X386" >&5 3536echo "configure:3537: checking for XFree86 in /usr/X386" >&5
3534if test -d /usr/X386/include; then 3537if test -d /usr/X386/include; then
3535 HAVE_XFREE386=yes 3538 HAVE_XFREE386=yes
3536 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3539 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3559,16 +3562,16 @@ if test "${HAVE_X11}" = "yes"; then
3559 3562
3560 if test "${opsys}" = "gnu-linux"; then 3563 if test "${opsys}" = "gnu-linux"; then
3561 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3564 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3562echo "configure:3563: checking whether X on GNU/Linux needs -b to link" >&5 3565echo "configure:3566: checking whether X on GNU/Linux needs -b to link" >&5
3563 cat > conftest.$ac_ext <<EOF 3566 cat > conftest.$ac_ext <<EOF
3564#line 3565 "configure" 3567#line 3568 "configure"
3565#include "confdefs.h" 3568#include "confdefs.h"
3566 3569
3567int main() { 3570int main() {
3568XOpenDisplay ("foo"); 3571XOpenDisplay ("foo");
3569; return 0; } 3572; return 0; }
3570EOF 3573EOF
3571if { (eval echo configure:3572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3574if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3572 rm -rf conftest* 3575 rm -rf conftest*
3573 xlinux_first_failure=no 3576 xlinux_first_failure=no
3574else 3577else
@@ -3588,14 +3591,14 @@ rm -f conftest*
3588 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3591 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3589 LIBS="$LIBS -b i486-linuxaout" 3592 LIBS="$LIBS -b i486-linuxaout"
3590 cat > conftest.$ac_ext <<EOF 3593 cat > conftest.$ac_ext <<EOF
3591#line 3592 "configure" 3594#line 3595 "configure"
3592#include "confdefs.h" 3595#include "confdefs.h"
3593 3596
3594int main() { 3597int main() {
3595XOpenDisplay ("foo"); 3598XOpenDisplay ("foo");
3596; return 0; } 3599; return 0; }
3597EOF 3600EOF
3598if { (eval echo configure:3599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3601if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3599 rm -rf conftest* 3602 rm -rf conftest*
3600 xlinux_second_failure=no 3603 xlinux_second_failure=no
3601else 3604else
@@ -3625,12 +3628,12 @@ rm -f conftest*
3625XScreenNumberOfScreen XSetWMProtocols 3628XScreenNumberOfScreen XSetWMProtocols
3626do 3629do
3627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3630echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3628echo "configure:3629: checking for $ac_func" >&5 3631echo "configure:3632: checking for $ac_func" >&5
3629if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3632if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3630 echo $ac_n "(cached) $ac_c" 1>&6 3633 echo $ac_n "(cached) $ac_c" 1>&6
3631else 3634else
3632 cat > conftest.$ac_ext <<EOF 3635 cat > conftest.$ac_ext <<EOF
3633#line 3634 "configure" 3636#line 3637 "configure"
3634#include "confdefs.h" 3637#include "confdefs.h"
3635/* System header to define __stub macros and hopefully few prototypes, 3638/* System header to define __stub macros and hopefully few prototypes,
3636 which can conflict with char $ac_func(); below. */ 3639 which can conflict with char $ac_func(); below. */
@@ -3653,7 +3656,7 @@ $ac_func();
3653 3656
3654; return 0; } 3657; return 0; }
3655EOF 3658EOF
3656if { (eval echo configure:3657: \"$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
3657 rm -rf conftest* 3660 rm -rf conftest*
3658 eval "ac_cv_func_$ac_func=yes" 3661 eval "ac_cv_func_$ac_func=yes"
3659else 3662else
@@ -3681,12 +3684,12 @@ fi
3681 3684
3682if test "${window_system}" = "x11"; then 3685if test "${window_system}" = "x11"; then
3683 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3686 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3684echo "configure:3685: checking X11 version 6" >&5 3687echo "configure:3688: checking X11 version 6" >&5
3685 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3688 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3686 echo $ac_n "(cached) $ac_c" 1>&6 3689 echo $ac_n "(cached) $ac_c" 1>&6
3687else 3690else
3688 cat > conftest.$ac_ext <<EOF 3691 cat > conftest.$ac_ext <<EOF
3689#line 3690 "configure" 3692#line 3693 "configure"
3690#include "confdefs.h" 3693#include "confdefs.h"
3691#include <X11/Xlib.h> 3694#include <X11/Xlib.h>
3692int main() { 3695int main() {
@@ -3696,7 +3699,7 @@ fail;
3696 3699
3697; return 0; } 3700; return 0; }
3698EOF 3701EOF
3699if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3702if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3700 rm -rf conftest* 3703 rm -rf conftest*
3701 emacs_cv_x11_version_6=yes 3704 emacs_cv_x11_version_6=yes
3702else 3705else
@@ -3721,12 +3724,12 @@ fi
3721 3724
3722if test "${window_system}" = "x11"; then 3725if test "${window_system}" = "x11"; then
3723 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 3726 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
3724echo "configure:3725: checking X11 version 5" >&5 3727echo "configure:3728: checking X11 version 5" >&5
3725 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 3728 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
3726 echo $ac_n "(cached) $ac_c" 1>&6 3729 echo $ac_n "(cached) $ac_c" 1>&6
3727else 3730else
3728 cat > conftest.$ac_ext <<EOF 3731 cat > conftest.$ac_ext <<EOF
3729#line 3730 "configure" 3732#line 3733 "configure"
3730#include "confdefs.h" 3733#include "confdefs.h"
3731#include <X11/Xlib.h> 3734#include <X11/Xlib.h>
3732int main() { 3735int main() {
@@ -3736,7 +3739,7 @@ fail;
3736 3739
3737; return 0; } 3740; return 0; }
3738EOF 3741EOF
3739if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3742if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3740 rm -rf conftest* 3743 rm -rf conftest*
3741 emacs_cv_x11_version_5=yes 3744 emacs_cv_x11_version_5=yes
3742else 3745else
@@ -3764,12 +3767,12 @@ fi
3764if test x"${USE_X_TOOLKIT}" = xmaybe; then 3767if test x"${USE_X_TOOLKIT}" = xmaybe; then
3765 if test x"${HAVE_X11R5}" = xyes; then 3768 if test x"${HAVE_X11R5}" = xyes; then
3766 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 3769 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
3767echo "configure:3768: checking X11 version 5 with Xaw" >&5 3770echo "configure:3771: checking X11 version 5 with Xaw" >&5
3768 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 3771 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
3769 echo $ac_n "(cached) $ac_c" 1>&6 3772 echo $ac_n "(cached) $ac_c" 1>&6
3770else 3773else
3771 cat > conftest.$ac_ext <<EOF 3774 cat > conftest.$ac_ext <<EOF
3772#line 3773 "configure" 3775#line 3776 "configure"
3773#include "confdefs.h" 3776#include "confdefs.h"
3774 3777
3775#include <X11/Intrinsic.h> 3778#include <X11/Intrinsic.h>
@@ -3778,7 +3781,7 @@ int main() {
3778 3781
3779; return 0; } 3782; return 0; }
3780EOF 3783EOF
3781if { (eval echo configure:3782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3784if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3782 rm -rf conftest* 3785 rm -rf conftest*
3783 emacs_cv_x11_version_5_with_xaw=yes 3786 emacs_cv_x11_version_5_with_xaw=yes
3784else 3787else
@@ -3806,12 +3809,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
3806 3809
3807if test "${USE_X_TOOLKIT}" != "none"; then 3810if test "${USE_X_TOOLKIT}" != "none"; then
3808 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 3811 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
3809echo "configure:3810: checking X11 toolkit version" >&5 3812echo "configure:3813: checking X11 toolkit version" >&5
3810 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 3813 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
3811 echo $ac_n "(cached) $ac_c" 1>&6 3814 echo $ac_n "(cached) $ac_c" 1>&6
3812else 3815else
3813 cat > conftest.$ac_ext <<EOF 3816 cat > conftest.$ac_ext <<EOF
3814#line 3815 "configure" 3817#line 3818 "configure"
3815#include "confdefs.h" 3818#include "confdefs.h"
3816#include <X11/Intrinsic.h> 3819#include <X11/Intrinsic.h>
3817int main() { 3820int main() {
@@ -3821,7 +3824,7 @@ fail;
3821 3824
3822; return 0; } 3825; return 0; }
3823EOF 3826EOF
3824if { (eval echo configure:3825: \"$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
3825 rm -rf conftest* 3828 rm -rf conftest*
3826 emacs_cv_x11_toolkit_version_6=yes 3829 emacs_cv_x11_toolkit_version_6=yes
3827else 3830else
@@ -3851,7 +3854,7 @@ EOF
3851 LIBS="-lXt $LIBS" 3854 LIBS="-lXt $LIBS"
3852 fi 3855 fi
3853 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 3856 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
3854echo "configure:3855: checking for XmuConvertStandardSelection in -lXmu" >&5 3857echo "configure:3858: checking for XmuConvertStandardSelection in -lXmu" >&5
3855ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 3858ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
3856if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3859if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3857 echo $ac_n "(cached) $ac_c" 1>&6 3860 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3859,7 +3862,7 @@ else
3859 ac_save_LIBS="$LIBS" 3862 ac_save_LIBS="$LIBS"
3860LIBS="-lXmu $LIBS" 3863LIBS="-lXmu $LIBS"
3861cat > conftest.$ac_ext <<EOF 3864cat > conftest.$ac_ext <<EOF
3862#line 3863 "configure" 3865#line 3866 "configure"
3863#include "confdefs.h" 3866#include "confdefs.h"
3864/* Override any gcc2 internal prototype to avoid an error. */ 3867/* Override any gcc2 internal prototype to avoid an error. */
3865/* We use char because int might match the return type of a gcc2 3868/* We use char because int might match the return type of a gcc2
@@ -3870,7 +3873,7 @@ int main() {
3870XmuConvertStandardSelection() 3873XmuConvertStandardSelection()
3871; return 0; } 3874; return 0; }
3872EOF 3875EOF
3873if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3876if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3874 rm -rf conftest* 3877 rm -rf conftest*
3875 eval "ac_cv_lib_$ac_lib_var=yes" 3878 eval "ac_cv_lib_$ac_lib_var=yes"
3876else 3879else
@@ -3902,12 +3905,12 @@ fi
3902 3905
3903if test "${USE_X_TOOLKIT}" = "MOTIF"; then 3906if test "${USE_X_TOOLKIT}" = "MOTIF"; then
3904 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 3907 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
3905echo "configure:3906: checking for Motif version 2.1" >&5 3908echo "configure:3909: checking for Motif version 2.1" >&5
3906if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 3909if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
3907 echo $ac_n "(cached) $ac_c" 1>&6 3910 echo $ac_n "(cached) $ac_c" 1>&6
3908else 3911else
3909 cat > conftest.$ac_ext <<EOF 3912 cat > conftest.$ac_ext <<EOF
3910#line 3911 "configure" 3913#line 3914 "configure"
3911#include "confdefs.h" 3914#include "confdefs.h"
3912#include <Xm/Xm.h> 3915#include <Xm/Xm.h>
3913int main() { 3916int main() {
@@ -3918,7 +3921,7 @@ Motif version prior to 2.1.
3918#endif 3921#endif
3919; return 0; } 3922; return 0; }
3920EOF 3923EOF
3921if { (eval echo configure:3922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3924if { (eval echo configure:3925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3922 rm -rf conftest* 3925 rm -rf conftest*
3923 emacs_cv_motif_version_2_1=yes 3926 emacs_cv_motif_version_2_1=yes
3924else 3927else
@@ -3938,7 +3941,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
3938EOF 3941EOF
3939 3942
3940 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 3943 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
3941echo "configure:3942: checking for XpCreateContext in -lXp" >&5 3944echo "configure:3945: checking for XpCreateContext in -lXp" >&5
3942ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 3945ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
3943if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3946if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3944 echo $ac_n "(cached) $ac_c" 1>&6 3947 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3946,7 +3949,7 @@ else
3946 ac_save_LIBS="$LIBS" 3949 ac_save_LIBS="$LIBS"
3947LIBS="-lXp $LIBS" 3950LIBS="-lXp $LIBS"
3948cat > conftest.$ac_ext <<EOF 3951cat > conftest.$ac_ext <<EOF
3949#line 3950 "configure" 3952#line 3953 "configure"
3950#include "confdefs.h" 3953#include "confdefs.h"
3951/* Override any gcc2 internal prototype to avoid an error. */ 3954/* Override any gcc2 internal prototype to avoid an error. */
3952/* We use char because int might match the return type of a gcc2 3955/* We use char because int might match the return type of a gcc2
@@ -3957,7 +3960,7 @@ int main() {
3957XpCreateContext() 3960XpCreateContext()
3958; return 0; } 3961; return 0; }
3959EOF 3962EOF
3960if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3963if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3961 rm -rf conftest* 3964 rm -rf conftest*
3962 eval "ac_cv_lib_$ac_lib_var=yes" 3965 eval "ac_cv_lib_$ac_lib_var=yes"
3963else 3966else
@@ -3995,17 +3998,17 @@ if test "${HAVE_X11}" = "yes"; then
3995 CFLAGS="${LD_SWITCH_X_SITE}" 3998 CFLAGS="${LD_SWITCH_X_SITE}"
3996 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 3999 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
3997echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4000echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
3998echo "configure:3999: checking for X11/Xaw3d/Scrollbar.h" >&5 4001echo "configure:4002: checking for X11/Xaw3d/Scrollbar.h" >&5
3999if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4000 echo $ac_n "(cached) $ac_c" 1>&6 4003 echo $ac_n "(cached) $ac_c" 1>&6
4001else 4004else
4002 cat > conftest.$ac_ext <<EOF 4005 cat > conftest.$ac_ext <<EOF
4003#line 4004 "configure" 4006#line 4007 "configure"
4004#include "confdefs.h" 4007#include "confdefs.h"
4005#include <X11/Xaw3d/Scrollbar.h> 4008#include <X11/Xaw3d/Scrollbar.h>
4006EOF 4009EOF
4007ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4008{ (eval echo configure:4009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4011{ (eval echo configure:4012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4009ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4010if test -z "$ac_err"; then 4013if test -z "$ac_err"; then
4011 rm -rf conftest* 4014 rm -rf conftest*
@@ -4022,7 +4025,7 @@ fi
4022if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4025if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4023 echo "$ac_t""yes" 1>&6 4026 echo "$ac_t""yes" 1>&6
4024 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4027 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4025echo "configure:4026: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4028echo "configure:4029: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4026ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4029ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4027if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4030if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4028 echo $ac_n "(cached) $ac_c" 1>&6 4031 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4030,7 +4033,7 @@ else
4030 ac_save_LIBS="$LIBS" 4033 ac_save_LIBS="$LIBS"
4031LIBS="-lXaw3d -lX11 $LIBS" 4034LIBS="-lXaw3d -lX11 $LIBS"
4032cat > conftest.$ac_ext <<EOF 4035cat > conftest.$ac_ext <<EOF
4033#line 4034 "configure" 4036#line 4037 "configure"
4034#include "confdefs.h" 4037#include "confdefs.h"
4035/* Override any gcc2 internal prototype to avoid an error. */ 4038/* Override any gcc2 internal prototype to avoid an error. */
4036/* We use char because int might match the return type of a gcc2 4039/* We use char because int might match the return type of a gcc2
@@ -4041,7 +4044,7 @@ int main() {
4041XawScrollbarSetThumb() 4044XawScrollbarSetThumb()
4042; return 0; } 4045; return 0; }
4043EOF 4046EOF
4044if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4047if { (eval echo configure:4048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4045 rm -rf conftest* 4048 rm -rf conftest*
4046 eval "ac_cv_lib_$ac_lib_var=yes" 4049 eval "ac_cv_lib_$ac_lib_var=yes"
4047else 4050else
@@ -4105,17 +4108,17 @@ if test "${HAVE_X11}" = "yes"; then
4105 CFLAGS="${LD_SWITCH_X_SITE}" 4108 CFLAGS="${LD_SWITCH_X_SITE}"
4106 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4109 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4107echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4110echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4108echo "configure:4109: checking for X11/xpm.h" >&5 4111echo "configure:4112: checking for X11/xpm.h" >&5
4109if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4112if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4110 echo $ac_n "(cached) $ac_c" 1>&6 4113 echo $ac_n "(cached) $ac_c" 1>&6
4111else 4114else
4112 cat > conftest.$ac_ext <<EOF 4115 cat > conftest.$ac_ext <<EOF
4113#line 4114 "configure" 4116#line 4117 "configure"
4114#include "confdefs.h" 4117#include "confdefs.h"
4115#include <X11/xpm.h> 4118#include <X11/xpm.h>
4116EOF 4119EOF
4117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4120ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4118{ (eval echo configure:4119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4121{ (eval echo configure:4122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4119ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4122ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4120if test -z "$ac_err"; then 4123if test -z "$ac_err"; then
4121 rm -rf conftest* 4124 rm -rf conftest*
@@ -4132,7 +4135,7 @@ fi
4132if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4135if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4133 echo "$ac_t""yes" 1>&6 4136 echo "$ac_t""yes" 1>&6
4134 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4137 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4135echo "configure:4136: checking for XpmReadFileToPixmap in -lXpm" >&5 4138echo "configure:4139: checking for XpmReadFileToPixmap in -lXpm" >&5
4136ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4139ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4137if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4140if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4138 echo $ac_n "(cached) $ac_c" 1>&6 4141 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4140,7 +4143,7 @@ else
4140 ac_save_LIBS="$LIBS" 4143 ac_save_LIBS="$LIBS"
4141LIBS="-lXpm -lX11 $LIBS" 4144LIBS="-lXpm -lX11 $LIBS"
4142cat > conftest.$ac_ext <<EOF 4145cat > conftest.$ac_ext <<EOF
4143#line 4144 "configure" 4146#line 4147 "configure"
4144#include "confdefs.h" 4147#include "confdefs.h"
4145/* Override any gcc2 internal prototype to avoid an error. */ 4148/* Override any gcc2 internal prototype to avoid an error. */
4146/* We use char because int might match the return type of a gcc2 4149/* We use char because int might match the return type of a gcc2
@@ -4151,7 +4154,7 @@ int main() {
4151XpmReadFileToPixmap() 4154XpmReadFileToPixmap()
4152; return 0; } 4155; return 0; }
4153EOF 4156EOF
4154if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4157if { (eval echo configure:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4155 rm -rf conftest* 4158 rm -rf conftest*
4156 eval "ac_cv_lib_$ac_lib_var=yes" 4159 eval "ac_cv_lib_$ac_lib_var=yes"
4157else 4160else
@@ -4193,7 +4196,7 @@ if test "${HAVE_X11}" = "yes"; then
4193 old_c_flags="${CFLAGS}" 4196 old_c_flags="${CFLAGS}"
4194 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4197 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4195 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4198 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4196echo "configure:4197: checking for jpeg_destroy_compress in -ljpeg" >&5 4199echo "configure:4200: checking for jpeg_destroy_compress in -ljpeg" >&5
4197ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4200ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4198if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4201if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4199 echo $ac_n "(cached) $ac_c" 1>&6 4202 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4201,7 +4204,7 @@ else
4201 ac_save_LIBS="$LIBS" 4204 ac_save_LIBS="$LIBS"
4202LIBS="-ljpeg -lX11 $LIBS" 4205LIBS="-ljpeg -lX11 $LIBS"
4203cat > conftest.$ac_ext <<EOF 4206cat > conftest.$ac_ext <<EOF
4204#line 4205 "configure" 4207#line 4208 "configure"
4205#include "confdefs.h" 4208#include "confdefs.h"
4206/* Override any gcc2 internal prototype to avoid an error. */ 4209/* Override any gcc2 internal prototype to avoid an error. */
4207/* We use char because int might match the return type of a gcc2 4210/* We use char because int might match the return type of a gcc2
@@ -4212,7 +4215,7 @@ int main() {
4212jpeg_destroy_compress() 4215jpeg_destroy_compress()
4213; return 0; } 4216; return 0; }
4214EOF 4217EOF
4215if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4218if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4216 rm -rf conftest* 4219 rm -rf conftest*
4217 eval "ac_cv_lib_$ac_lib_var=yes" 4220 eval "ac_cv_lib_$ac_lib_var=yes"
4218else 4221else
@@ -4251,17 +4254,17 @@ if test "${HAVE_X11}" = "yes"; then
4251 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4254 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4252 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4255 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4253echo $ac_n "checking for png.h""... $ac_c" 1>&6 4256echo $ac_n "checking for png.h""... $ac_c" 1>&6
4254echo "configure:4255: checking for png.h" >&5 4257echo "configure:4258: checking for png.h" >&5
4255if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4258if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4256 echo $ac_n "(cached) $ac_c" 1>&6 4259 echo $ac_n "(cached) $ac_c" 1>&6
4257else 4260else
4258 cat > conftest.$ac_ext <<EOF 4261 cat > conftest.$ac_ext <<EOF
4259#line 4260 "configure" 4262#line 4263 "configure"
4260#include "confdefs.h" 4263#include "confdefs.h"
4261#include <png.h> 4264#include <png.h>
4262EOF 4265EOF
4263ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4266ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4264{ (eval echo configure:4265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4267{ (eval echo configure:4268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4265ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4268ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4266if test -z "$ac_err"; then 4269if test -z "$ac_err"; then
4267 rm -rf conftest* 4270 rm -rf conftest*
@@ -4278,7 +4281,7 @@ fi
4278if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4281if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4279 echo "$ac_t""yes" 1>&6 4282 echo "$ac_t""yes" 1>&6
4280 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4283 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4281echo "configure:4282: checking for png_set_expand in -lpng" >&5 4284echo "configure:4285: checking for png_set_expand in -lpng" >&5
4282ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4285ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4283if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4286if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4284 echo $ac_n "(cached) $ac_c" 1>&6 4287 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4286,7 +4289,7 @@ else
4286 ac_save_LIBS="$LIBS" 4289 ac_save_LIBS="$LIBS"
4287LIBS="-lpng -lX11 -lz -lm $LIBS" 4290LIBS="-lpng -lX11 -lz -lm $LIBS"
4288cat > conftest.$ac_ext <<EOF 4291cat > conftest.$ac_ext <<EOF
4289#line 4290 "configure" 4292#line 4293 "configure"
4290#include "confdefs.h" 4293#include "confdefs.h"
4291/* Override any gcc2 internal prototype to avoid an error. */ 4294/* Override any gcc2 internal prototype to avoid an error. */
4292/* We use char because int might match the return type of a gcc2 4295/* We use char because int might match the return type of a gcc2
@@ -4297,7 +4300,7 @@ int main() {
4297png_set_expand() 4300png_set_expand()
4298; return 0; } 4301; return 0; }
4299EOF 4302EOF
4300if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4303if { (eval echo configure:4304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4301 rm -rf conftest* 4304 rm -rf conftest*
4302 eval "ac_cv_lib_$ac_lib_var=yes" 4305 eval "ac_cv_lib_$ac_lib_var=yes"
4303else 4306else
@@ -4340,17 +4343,17 @@ if test "${HAVE_X11}" = "yes"; then
4340 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4343 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4341 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4344 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4342echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4345echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4343echo "configure:4344: checking for tiffio.h" >&5 4346echo "configure:4347: checking for tiffio.h" >&5
4344if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4347if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4345 echo $ac_n "(cached) $ac_c" 1>&6 4348 echo $ac_n "(cached) $ac_c" 1>&6
4346else 4349else
4347 cat > conftest.$ac_ext <<EOF 4350 cat > conftest.$ac_ext <<EOF
4348#line 4349 "configure" 4351#line 4352 "configure"
4349#include "confdefs.h" 4352#include "confdefs.h"
4350#include <tiffio.h> 4353#include <tiffio.h>
4351EOF 4354EOF
4352ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4355ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4353{ (eval echo configure:4354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4356{ (eval echo configure:4357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4354ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4357ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4355if test -z "$ac_err"; then 4358if test -z "$ac_err"; then
4356 rm -rf conftest* 4359 rm -rf conftest*
@@ -4367,7 +4370,7 @@ fi
4367if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4370if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4368 echo "$ac_t""yes" 1>&6 4371 echo "$ac_t""yes" 1>&6
4369 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4372 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4370echo "configure:4371: checking for TIFFGetVersion in -ltiff" >&5 4373echo "configure:4374: checking for TIFFGetVersion in -ltiff" >&5
4371ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4374ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4372if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4375if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4373 echo $ac_n "(cached) $ac_c" 1>&6 4376 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4375,7 +4378,7 @@ else
4375 ac_save_LIBS="$LIBS" 4378 ac_save_LIBS="$LIBS"
4376LIBS="-ltiff -lX11 -lm $LIBS" 4379LIBS="-ltiff -lX11 -lm $LIBS"
4377cat > conftest.$ac_ext <<EOF 4380cat > conftest.$ac_ext <<EOF
4378#line 4379 "configure" 4381#line 4382 "configure"
4379#include "confdefs.h" 4382#include "confdefs.h"
4380/* Override any gcc2 internal prototype to avoid an error. */ 4383/* Override any gcc2 internal prototype to avoid an error. */
4381/* We use char because int might match the return type of a gcc2 4384/* We use char because int might match the return type of a gcc2
@@ -4386,7 +4389,7 @@ int main() {
4386TIFFGetVersion() 4389TIFFGetVersion()
4387; return 0; } 4390; return 0; }
4388EOF 4391EOF
4389if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4392if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4390 rm -rf conftest* 4393 rm -rf conftest*
4391 eval "ac_cv_lib_$ac_lib_var=yes" 4394 eval "ac_cv_lib_$ac_lib_var=yes"
4392else 4395else
@@ -4429,17 +4432,17 @@ if test "${HAVE_X11}" = "yes"; then
4429 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4432 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4430 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4433 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4431echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4434echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4432echo "configure:4433: checking for gif_lib.h" >&5 4435echo "configure:4436: checking for gif_lib.h" >&5
4433if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4436if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4434 echo $ac_n "(cached) $ac_c" 1>&6 4437 echo $ac_n "(cached) $ac_c" 1>&6
4435else 4438else
4436 cat > conftest.$ac_ext <<EOF 4439 cat > conftest.$ac_ext <<EOF
4437#line 4438 "configure" 4440#line 4441 "configure"
4438#include "confdefs.h" 4441#include "confdefs.h"
4439#include <gif_lib.h> 4442#include <gif_lib.h>
4440EOF 4443EOF
4441ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4444ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4442{ (eval echo configure:4443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4445{ (eval echo configure:4446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4443ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4446ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4444if test -z "$ac_err"; then 4447if test -z "$ac_err"; then
4445 rm -rf conftest* 4448 rm -rf conftest*
@@ -4456,7 +4459,7 @@ fi
4456if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4459if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4457 echo "$ac_t""yes" 1>&6 4460 echo "$ac_t""yes" 1>&6
4458 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 4461 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6
4459echo "configure:4460: checking for DGifOpenFileName in -lungif" >&5 4462echo "configure:4463: checking for DGifOpenFileName in -lungif" >&5
4460ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` 4463ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'`
4461if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4464if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4462 echo $ac_n "(cached) $ac_c" 1>&6 4465 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4464,7 +4467,7 @@ else
4464 ac_save_LIBS="$LIBS" 4467 ac_save_LIBS="$LIBS"
4465LIBS="-lungif -lX11 $LIBS" 4468LIBS="-lungif -lX11 $LIBS"
4466cat > conftest.$ac_ext <<EOF 4469cat > conftest.$ac_ext <<EOF
4467#line 4468 "configure" 4470#line 4471 "configure"
4468#include "confdefs.h" 4471#include "confdefs.h"
4469/* Override any gcc2 internal prototype to avoid an error. */ 4472/* Override any gcc2 internal prototype to avoid an error. */
4470/* We use char because int might match the return type of a gcc2 4473/* We use char because int might match the return type of a gcc2
@@ -4475,7 +4478,7 @@ int main() {
4475DGifOpenFileName() 4478DGifOpenFileName()
4476; return 0; } 4479; return 0; }
4477EOF 4480EOF
4478if { (eval echo configure:4479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4481if { (eval echo configure:4482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4479 rm -rf conftest* 4482 rm -rf conftest*
4480 eval "ac_cv_lib_$ac_lib_var=yes" 4483 eval "ac_cv_lib_$ac_lib_var=yes"
4481else 4484else
@@ -4512,19 +4515,19 @@ fi
4512 4515
4513# If netdb.h doesn't declare h_errno, we must declare it by hand. 4516# If netdb.h doesn't declare h_errno, we must declare it by hand.
4514echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4517echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4515echo "configure:4516: checking whether netdb declares h_errno" >&5 4518echo "configure:4519: checking whether netdb declares h_errno" >&5
4516if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4519if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4517 echo $ac_n "(cached) $ac_c" 1>&6 4520 echo $ac_n "(cached) $ac_c" 1>&6
4518else 4521else
4519 cat > conftest.$ac_ext <<EOF 4522 cat > conftest.$ac_ext <<EOF
4520#line 4521 "configure" 4523#line 4524 "configure"
4521#include "confdefs.h" 4524#include "confdefs.h"
4522#include <netdb.h> 4525#include <netdb.h>
4523int main() { 4526int main() {
4524return h_errno; 4527return h_errno;
4525; return 0; } 4528; return 0; }
4526EOF 4529EOF
4527if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4530if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 rm -rf conftest* 4531 rm -rf conftest*
4529 emacs_cv_netdb_declares_h_errno=yes 4532 emacs_cv_netdb_declares_h_errno=yes
4530else 4533else
@@ -4547,19 +4550,19 @@ fi
4547# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4550# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4548# for constant arguments. Useless! 4551# for constant arguments. Useless!
4549echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4552echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4550echo "configure:4551: checking for working alloca.h" >&5 4553echo "configure:4554: checking for working alloca.h" >&5
4551if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4554if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4552 echo $ac_n "(cached) $ac_c" 1>&6 4555 echo $ac_n "(cached) $ac_c" 1>&6
4553else 4556else
4554 cat > conftest.$ac_ext <<EOF 4557 cat > conftest.$ac_ext <<EOF
4555#line 4556 "configure" 4558#line 4559 "configure"
4556#include "confdefs.h" 4559#include "confdefs.h"
4557#include <alloca.h> 4560#include <alloca.h>
4558int main() { 4561int main() {
4559char *p = alloca(2 * sizeof(int)); 4562char *p = alloca(2 * sizeof(int));
4560; return 0; } 4563; return 0; }
4561EOF 4564EOF
4562if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4565if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4563 rm -rf conftest* 4566 rm -rf conftest*
4564 ac_cv_header_alloca_h=yes 4567 ac_cv_header_alloca_h=yes
4565else 4568else
@@ -4580,12 +4583,12 @@ EOF
4580fi 4583fi
4581 4584
4582echo $ac_n "checking for alloca""... $ac_c" 1>&6 4585echo $ac_n "checking for alloca""... $ac_c" 1>&6
4583echo "configure:4584: checking for alloca" >&5 4586echo "configure:4587: checking for alloca" >&5
4584if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4587if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4585 echo $ac_n "(cached) $ac_c" 1>&6 4588 echo $ac_n "(cached) $ac_c" 1>&6
4586else 4589else
4587 cat > conftest.$ac_ext <<EOF 4590 cat > conftest.$ac_ext <<EOF
4588#line 4589 "configure" 4591#line 4592 "configure"
4589#include "confdefs.h" 4592#include "confdefs.h"
4590 4593
4591#ifdef __GNUC__ 4594#ifdef __GNUC__
@@ -4613,7 +4616,7 @@ int main() {
4613char *p = (char *) alloca(1); 4616char *p = (char *) alloca(1);
4614; return 0; } 4617; return 0; }
4615EOF 4618EOF
4616if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4619if { (eval echo configure:4620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4617 rm -rf conftest* 4620 rm -rf conftest*
4618 ac_cv_func_alloca_works=yes 4621 ac_cv_func_alloca_works=yes
4619else 4622else
@@ -4645,12 +4648,12 @@ EOF
4645 4648
4646 4649
4647echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4650echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4648echo "configure:4649: checking whether alloca needs Cray hooks" >&5 4651echo "configure:4652: checking whether alloca needs Cray hooks" >&5
4649if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4652if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4650 echo $ac_n "(cached) $ac_c" 1>&6 4653 echo $ac_n "(cached) $ac_c" 1>&6
4651else 4654else
4652 cat > conftest.$ac_ext <<EOF 4655 cat > conftest.$ac_ext <<EOF
4653#line 4654 "configure" 4656#line 4657 "configure"
4654#include "confdefs.h" 4657#include "confdefs.h"
4655#if defined(CRAY) && ! defined(CRAY2) 4658#if defined(CRAY) && ! defined(CRAY2)
4656webecray 4659webecray
@@ -4675,12 +4678,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4675if test $ac_cv_os_cray = yes; then 4678if test $ac_cv_os_cray = yes; then
4676for ac_func in _getb67 GETB67 getb67; do 4679for ac_func in _getb67 GETB67 getb67; do
4677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4678echo "configure:4679: checking for $ac_func" >&5 4681echo "configure:4682: checking for $ac_func" >&5
4679if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4682if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4680 echo $ac_n "(cached) $ac_c" 1>&6 4683 echo $ac_n "(cached) $ac_c" 1>&6
4681else 4684else
4682 cat > conftest.$ac_ext <<EOF 4685 cat > conftest.$ac_ext <<EOF
4683#line 4684 "configure" 4686#line 4687 "configure"
4684#include "confdefs.h" 4687#include "confdefs.h"
4685/* System header to define __stub macros and hopefully few prototypes, 4688/* System header to define __stub macros and hopefully few prototypes,
4686 which can conflict with char $ac_func(); below. */ 4689 which can conflict with char $ac_func(); below. */
@@ -4703,7 +4706,7 @@ $ac_func();
4703 4706
4704; return 0; } 4707; return 0; }
4705EOF 4708EOF
4706if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4709if { (eval echo configure:4710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4707 rm -rf conftest* 4710 rm -rf conftest*
4708 eval "ac_cv_func_$ac_func=yes" 4711 eval "ac_cv_func_$ac_func=yes"
4709else 4712else
@@ -4730,7 +4733,7 @@ done
4730fi 4733fi
4731 4734
4732echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4735echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4733echo "configure:4734: checking stack direction for C alloca" >&5 4736echo "configure:4737: checking stack direction for C alloca" >&5
4734if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4737if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4735 echo $ac_n "(cached) $ac_c" 1>&6 4738 echo $ac_n "(cached) $ac_c" 1>&6
4736else 4739else
@@ -4738,7 +4741,7 @@ else
4738 ac_cv_c_stack_direction=0 4741 ac_cv_c_stack_direction=0
4739else 4742else
4740 cat > conftest.$ac_ext <<EOF 4743 cat > conftest.$ac_ext <<EOF
4741#line 4742 "configure" 4744#line 4745 "configure"
4742#include "confdefs.h" 4745#include "confdefs.h"
4743find_stack_direction () 4746find_stack_direction ()
4744{ 4747{
@@ -4757,7 +4760,7 @@ main ()
4757 exit (find_stack_direction() < 0); 4760 exit (find_stack_direction() < 0);
4758} 4761}
4759EOF 4762EOF
4760if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4763if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4761then 4764then
4762 ac_cv_c_stack_direction=1 4765 ac_cv_c_stack_direction=1
4763else 4766else
@@ -4782,7 +4785,7 @@ fi
4782# fmod, logb, and frexp are found in -lm on most systems. 4785# fmod, logb, and frexp are found in -lm on most systems.
4783# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4786# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4784echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4787echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4785echo "configure:4786: checking for sqrt in -lm" >&5 4788echo "configure:4789: checking for sqrt in -lm" >&5
4786ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4789ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4787if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4790if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4788 echo $ac_n "(cached) $ac_c" 1>&6 4791 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4790,7 +4793,7 @@ else
4790 ac_save_LIBS="$LIBS" 4793 ac_save_LIBS="$LIBS"
4791LIBS="-lm $LIBS" 4794LIBS="-lm $LIBS"
4792cat > conftest.$ac_ext <<EOF 4795cat > conftest.$ac_ext <<EOF
4793#line 4794 "configure" 4796#line 4797 "configure"
4794#include "confdefs.h" 4797#include "confdefs.h"
4795/* Override any gcc2 internal prototype to avoid an error. */ 4798/* Override any gcc2 internal prototype to avoid an error. */
4796/* We use char because int might match the return type of a gcc2 4799/* We use char because int might match the return type of a gcc2
@@ -4801,7 +4804,7 @@ int main() {
4801sqrt() 4804sqrt()
4802; return 0; } 4805; return 0; }
4803EOF 4806EOF
4804if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4807if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4805 rm -rf conftest* 4808 rm -rf conftest*
4806 eval "ac_cv_lib_$ac_lib_var=yes" 4809 eval "ac_cv_lib_$ac_lib_var=yes"
4807else 4810else
@@ -4831,7 +4834,7 @@ fi
4831 4834
4832# Check for mail-locking functions in a "mail" library 4835# Check for mail-locking functions in a "mail" library
4833echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4836echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4834echo "configure:4835: checking for maillock in -lmail" >&5 4837echo "configure:4838: checking for maillock in -lmail" >&5
4835ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4838ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4836if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4839if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4837 echo $ac_n "(cached) $ac_c" 1>&6 4840 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4839,7 +4842,7 @@ else
4839 ac_save_LIBS="$LIBS" 4842 ac_save_LIBS="$LIBS"
4840LIBS="-lmail $LIBS" 4843LIBS="-lmail $LIBS"
4841cat > conftest.$ac_ext <<EOF 4844cat > conftest.$ac_ext <<EOF
4842#line 4843 "configure" 4845#line 4846 "configure"
4843#include "confdefs.h" 4846#include "confdefs.h"
4844/* Override any gcc2 internal prototype to avoid an error. */ 4847/* Override any gcc2 internal prototype to avoid an error. */
4845/* We use char because int might match the return type of a gcc2 4848/* We use char because int might match the return type of a gcc2
@@ -4850,7 +4853,7 @@ int main() {
4850maillock() 4853maillock()
4851; return 0; } 4854; return 0; }
4852EOF 4855EOF
4853if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4856if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4854 rm -rf conftest* 4857 rm -rf conftest*
4855 eval "ac_cv_lib_$ac_lib_var=yes" 4858 eval "ac_cv_lib_$ac_lib_var=yes"
4856else 4859else
@@ -4878,7 +4881,7 @@ else
4878fi 4881fi
4879 4882
4880echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 4883echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
4881echo "configure:4882: checking for maillock in -llockfile" >&5 4884echo "configure:4885: checking for maillock in -llockfile" >&5
4882ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 4885ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
4883if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4886if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4884 echo $ac_n "(cached) $ac_c" 1>&6 4887 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4886,7 +4889,7 @@ else
4886 ac_save_LIBS="$LIBS" 4889 ac_save_LIBS="$LIBS"
4887LIBS="-llockfile $LIBS" 4890LIBS="-llockfile $LIBS"
4888cat > conftest.$ac_ext <<EOF 4891cat > conftest.$ac_ext <<EOF
4889#line 4890 "configure" 4892#line 4893 "configure"
4890#include "confdefs.h" 4893#include "confdefs.h"
4891/* Override any gcc2 internal prototype to avoid an error. */ 4894/* Override any gcc2 internal prototype to avoid an error. */
4892/* We use char because int might match the return type of a gcc2 4895/* We use char because int might match the return type of a gcc2
@@ -4897,7 +4900,7 @@ int main() {
4897maillock() 4900maillock()
4898; return 0; } 4901; return 0; }
4899EOF 4902EOF
4900if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4903if { (eval echo configure:4904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4901 rm -rf conftest* 4904 rm -rf conftest*
4902 eval "ac_cv_lib_$ac_lib_var=yes" 4905 eval "ac_cv_lib_$ac_lib_var=yes"
4903else 4906else
@@ -4931,7 +4934,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
4931 # Extract the first word of "liblockfile.so", so it can be a program name with args. 4934 # Extract the first word of "liblockfile.so", so it can be a program name with args.
4932set dummy liblockfile.so; ac_word=$2 4935set dummy liblockfile.so; ac_word=$2
4933echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4936echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4934echo "configure:4935: checking for $ac_word" >&5 4937echo "configure:4938: checking for $ac_word" >&5
4935if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 4938if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
4936 echo $ac_n "(cached) $ac_c" 1>&6 4939 echo $ac_n "(cached) $ac_c" 1>&6
4937else 4940else
@@ -4972,12 +4975,12 @@ fi
4972for ac_func in touchlock 4975for ac_func in touchlock
4973do 4976do
4974echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4977echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4975echo "configure:4976: checking for $ac_func" >&5 4978echo "configure:4979: checking for $ac_func" >&5
4976if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4979if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4977 echo $ac_n "(cached) $ac_c" 1>&6 4980 echo $ac_n "(cached) $ac_c" 1>&6
4978else 4981else
4979 cat > conftest.$ac_ext <<EOF 4982 cat > conftest.$ac_ext <<EOF
4980#line 4981 "configure" 4983#line 4984 "configure"
4981#include "confdefs.h" 4984#include "confdefs.h"
4982/* System header to define __stub macros and hopefully few prototypes, 4985/* System header to define __stub macros and hopefully few prototypes,
4983 which can conflict with char $ac_func(); below. */ 4986 which can conflict with char $ac_func(); below. */
@@ -5000,7 +5003,7 @@ $ac_func();
5000 5003
5001; return 0; } 5004; return 0; }
5002EOF 5005EOF
5003if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5006if { (eval echo configure:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5004 rm -rf conftest* 5007 rm -rf conftest*
5005 eval "ac_cv_func_$ac_func=yes" 5008 eval "ac_cv_func_$ac_func=yes"
5006else 5009else
@@ -5028,17 +5031,17 @@ for ac_hdr in maillock.h
5028do 5031do
5029ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5032ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5030echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5033echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5031echo "configure:5032: checking for $ac_hdr" >&5 5034echo "configure:5035: checking for $ac_hdr" >&5
5032if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5035if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5033 echo $ac_n "(cached) $ac_c" 1>&6 5036 echo $ac_n "(cached) $ac_c" 1>&6
5034else 5037else
5035 cat > conftest.$ac_ext <<EOF 5038 cat > conftest.$ac_ext <<EOF
5036#line 5037 "configure" 5039#line 5040 "configure"
5037#include "confdefs.h" 5040#include "confdefs.h"
5038#include <$ac_hdr> 5041#include <$ac_hdr>
5039EOF 5042EOF
5040ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5043ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5041{ (eval echo configure:5042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5044{ (eval echo configure:5045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5042ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5045ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5043if test -z "$ac_err"; then 5046if test -z "$ac_err"; then
5044 rm -rf conftest* 5047 rm -rf conftest*
@@ -5072,12 +5075,12 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5072utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo 5075utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo
5073do 5076do
5074echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5077echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5075echo "configure:5076: checking for $ac_func" >&5 5078echo "configure:5079: checking for $ac_func" >&5
5076if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5079if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5077 echo $ac_n "(cached) $ac_c" 1>&6 5080 echo $ac_n "(cached) $ac_c" 1>&6
5078else 5081else
5079 cat > conftest.$ac_ext <<EOF 5082 cat > conftest.$ac_ext <<EOF
5080#line 5081 "configure" 5083#line 5084 "configure"
5081#include "confdefs.h" 5084#include "confdefs.h"
5082/* System header to define __stub macros and hopefully few prototypes, 5085/* System header to define __stub macros and hopefully few prototypes,
5083 which can conflict with char $ac_func(); below. */ 5086 which can conflict with char $ac_func(); below. */
@@ -5100,7 +5103,7 @@ $ac_func();
5100 5103
5101; return 0; } 5104; return 0; }
5102EOF 5105EOF
5103if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5106if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5104 rm -rf conftest* 5107 rm -rf conftest*
5105 eval "ac_cv_func_$ac_func=yes" 5108 eval "ac_cv_func_$ac_func=yes"
5106else 5109else
@@ -5130,7 +5133,7 @@ done
5130# It's better to believe a function is not available 5133# It's better to believe a function is not available
5131# than to expect to find it in ncurses. 5134# than to expect to find it in ncurses.
5132echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5135echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5133echo "configure:5134: checking for tparm in -lncurses" >&5 5136echo "configure:5137: checking for tparm in -lncurses" >&5
5134ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5137ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5135if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5138if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5136 echo $ac_n "(cached) $ac_c" 1>&6 5139 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5138,7 +5141,7 @@ else
5138 ac_save_LIBS="$LIBS" 5141 ac_save_LIBS="$LIBS"
5139LIBS="-lncurses $LIBS" 5142LIBS="-lncurses $LIBS"
5140cat > conftest.$ac_ext <<EOF 5143cat > conftest.$ac_ext <<EOF
5141#line 5142 "configure" 5144#line 5145 "configure"
5142#include "confdefs.h" 5145#include "confdefs.h"
5143/* Override any gcc2 internal prototype to avoid an error. */ 5146/* Override any gcc2 internal prototype to avoid an error. */
5144/* We use char because int might match the return type of a gcc2 5147/* We use char because int might match the return type of a gcc2
@@ -5149,7 +5152,7 @@ int main() {
5149tparm() 5152tparm()
5150; return 0; } 5153; return 0; }
5151EOF 5154EOF
5152if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5155if { (eval echo configure:5156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5153 rm -rf conftest* 5156 rm -rf conftest*
5154 eval "ac_cv_lib_$ac_lib_var=yes" 5157 eval "ac_cv_lib_$ac_lib_var=yes"
5155else 5158else
@@ -5180,7 +5183,7 @@ fi
5180# Solaris requires -lintl if you want strerror (which calls dgettext) 5183# Solaris requires -lintl if you want strerror (which calls dgettext)
5181# to return localized messages. 5184# to return localized messages.
5182echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 5185echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
5183echo "configure:5184: checking for dgettext in -lintl" >&5 5186echo "configure:5187: checking for dgettext in -lintl" >&5
5184ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 5187ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
5185if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5188if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5186 echo $ac_n "(cached) $ac_c" 1>&6 5189 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5188,7 +5191,7 @@ else
5188 ac_save_LIBS="$LIBS" 5191 ac_save_LIBS="$LIBS"
5189LIBS="-lintl $LIBS" 5192LIBS="-lintl $LIBS"
5190cat > conftest.$ac_ext <<EOF 5193cat > conftest.$ac_ext <<EOF
5191#line 5192 "configure" 5194#line 5195 "configure"
5192#include "confdefs.h" 5195#include "confdefs.h"
5193/* Override any gcc2 internal prototype to avoid an error. */ 5196/* Override any gcc2 internal prototype to avoid an error. */
5194/* We use char because int might match the return type of a gcc2 5197/* We use char because int might match the return type of a gcc2
@@ -5199,7 +5202,7 @@ int main() {
5199dgettext() 5202dgettext()
5200; return 0; } 5203; return 0; }
5201EOF 5204EOF
5202if { (eval echo configure:5203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5205if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5203 rm -rf conftest* 5206 rm -rf conftest*
5204 eval "ac_cv_lib_$ac_lib_var=yes" 5207 eval "ac_cv_lib_$ac_lib_var=yes"
5205else 5208else
@@ -5228,7 +5231,7 @@ fi
5228 5231
5229 5232
5230echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 5233echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
5231echo "configure:5232: checking whether localtime caches TZ" >&5 5234echo "configure:5235: checking whether localtime caches TZ" >&5
5232if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 5235if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
5233 echo $ac_n "(cached) $ac_c" 1>&6 5236 echo $ac_n "(cached) $ac_c" 1>&6
5234else 5237else
@@ -5238,7 +5241,7 @@ if test "$cross_compiling" = yes; then
5238emacs_cv_localtime_cache=yes 5241emacs_cv_localtime_cache=yes
5239else 5242else
5240 cat > conftest.$ac_ext <<EOF 5243 cat > conftest.$ac_ext <<EOF
5241#line 5242 "configure" 5244#line 5245 "configure"
5242#include "confdefs.h" 5245#include "confdefs.h"
5243#include <time.h> 5246#include <time.h>
5244#if STDC_HEADERS 5247#if STDC_HEADERS
@@ -5273,7 +5276,7 @@ main()
5273 exit (0); 5276 exit (0);
5274} 5277}
5275EOF 5278EOF
5276if { (eval echo configure:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5279if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5277then 5280then
5278 emacs_cv_localtime_cache=no 5281 emacs_cv_localtime_cache=no
5279else 5282else
@@ -5301,12 +5304,12 @@ fi
5301 5304
5302if test "x$HAVE_TIMEVAL" = xyes; then 5305if test "x$HAVE_TIMEVAL" = xyes; then
5303echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 5306echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
5304echo "configure:5305: checking whether gettimeofday can accept two arguments" >&5 5307echo "configure:5308: checking whether gettimeofday can accept two arguments" >&5
5305if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 5308if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
5306 echo $ac_n "(cached) $ac_c" 1>&6 5309 echo $ac_n "(cached) $ac_c" 1>&6
5307else 5310else
5308 cat > conftest.$ac_ext <<EOF 5311 cat > conftest.$ac_ext <<EOF
5309#line 5310 "configure" 5312#line 5313 "configure"
5310#include "confdefs.h" 5313#include "confdefs.h"
5311 5314
5312#ifdef TIME_WITH_SYS_TIME 5315#ifdef TIME_WITH_SYS_TIME
@@ -5328,7 +5331,7 @@ int main() {
5328 5331
5329; return 0; } 5332; return 0; }
5330EOF 5333EOF
5331if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5334if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5332 rm -rf conftest* 5335 rm -rf conftest*
5333 emacs_cv_gettimeofday_two_arguments=yes 5336 emacs_cv_gettimeofday_two_arguments=yes
5334else 5337else
@@ -5351,12 +5354,12 @@ fi
5351 5354
5352ok_so_far=yes 5355ok_so_far=yes
5353echo $ac_n "checking for socket""... $ac_c" 1>&6 5356echo $ac_n "checking for socket""... $ac_c" 1>&6
5354echo "configure:5355: checking for socket" >&5 5357echo "configure:5358: checking for socket" >&5
5355if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 5358if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
5356 echo $ac_n "(cached) $ac_c" 1>&6 5359 echo $ac_n "(cached) $ac_c" 1>&6
5357else 5360else
5358 cat > conftest.$ac_ext <<EOF 5361 cat > conftest.$ac_ext <<EOF
5359#line 5360 "configure" 5362#line 5363 "configure"
5360#include "confdefs.h" 5363#include "confdefs.h"
5361/* System header to define __stub macros and hopefully few prototypes, 5364/* System header to define __stub macros and hopefully few prototypes,
5362 which can conflict with char socket(); below. */ 5365 which can conflict with char socket(); below. */
@@ -5379,7 +5382,7 @@ socket();
5379 5382
5380; return 0; } 5383; return 0; }
5381EOF 5384EOF
5382if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5385if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5383 rm -rf conftest* 5386 rm -rf conftest*
5384 eval "ac_cv_func_socket=yes" 5387 eval "ac_cv_func_socket=yes"
5385else 5388else
@@ -5402,17 +5405,17 @@ fi
5402if test $ok_so_far = yes; then 5405if test $ok_so_far = yes; then
5403 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 5406 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
5404echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 5407echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
5405echo "configure:5406: checking for netinet/in.h" >&5 5408echo "configure:5409: checking for netinet/in.h" >&5
5406if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5409if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5407 echo $ac_n "(cached) $ac_c" 1>&6 5410 echo $ac_n "(cached) $ac_c" 1>&6
5408else 5411else
5409 cat > conftest.$ac_ext <<EOF 5412 cat > conftest.$ac_ext <<EOF
5410#line 5411 "configure" 5413#line 5414 "configure"
5411#include "confdefs.h" 5414#include "confdefs.h"
5412#include <netinet/in.h> 5415#include <netinet/in.h>
5413EOF 5416EOF
5414ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5417ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5415{ (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5418{ (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5416ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5419ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5417if test -z "$ac_err"; then 5420if test -z "$ac_err"; then
5418 rm -rf conftest* 5421 rm -rf conftest*
@@ -5438,17 +5441,17 @@ fi
5438if test $ok_so_far = yes; then 5441if test $ok_so_far = yes; then
5439 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 5442 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
5440echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 5443echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
5441echo "configure:5442: checking for arpa/inet.h" >&5 5444echo "configure:5445: checking for arpa/inet.h" >&5
5442if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5445if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5443 echo $ac_n "(cached) $ac_c" 1>&6 5446 echo $ac_n "(cached) $ac_c" 1>&6
5444else 5447else
5445 cat > conftest.$ac_ext <<EOF 5448 cat > conftest.$ac_ext <<EOF
5446#line 5447 "configure" 5449#line 5450 "configure"
5447#include "confdefs.h" 5450#include "confdefs.h"
5448#include <arpa/inet.h> 5451#include <arpa/inet.h>
5449EOF 5452EOF
5450ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5453ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5451{ (eval echo configure:5452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5454{ (eval echo configure:5455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5452ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5455ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5453if test -z "$ac_err"; then 5456if test -z "$ac_err"; then
5454 rm -rf conftest* 5457 rm -rf conftest*