aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2000-03-30 10:06:34 +0000
committerKen Raeburn2000-03-30 10:06:34 +0000
commit4d6e16b3c3cd7737f5dc372cf0f01deb5bfc4e9b (patch)
tree621470b02e8bb43759eae3af724026d3a9529706
parent8801a864d2f7d9b6a77dfffa606f27f338127582 (diff)
downloademacs-4d6e16b3c3cd7737f5dc372cf0f01deb5bfc4e9b.tar.gz
emacs-4d6e16b3c3cd7737f5dc372cf0f01deb5bfc4e9b.zip
* configure.in: Line up "--help" output a little better.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure621
-rw-r--r--configure.in5
3 files changed, 298 insertions, 332 deletions
diff --git a/ChangeLog b/ChangeLog
index a8d05a83e05..1a6b0a93ae0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12000-03-28 Ken Raeburn <raeburn@gnu.org>
2
3 * configure.in: Line up "--help" output a little better.
4
12000-03-26 Gerd Moellmann <gerd@gnu.org> 52000-03-26 Gerd Moellmann <gerd@gnu.org>
2 6
3 * Makefile.in (bootstrap-lisp-1, bootstrap-list, bootstrap-src): 7 * Makefile.in (bootstrap-lisp-1, bootstrap-list, bootstrap-src):
diff --git a/configure b/configure
index 7f1c21a3228..d798dfbca21 100755
--- a/configure
+++ b/configure
@@ -18,7 +18,7 @@ ac_help="$ac_help
18ac_help="$ac_help 18ac_help="$ac_help
19 --with-kerberos support Kerberos-authenticated POP" 19 --with-kerberos support Kerberos-authenticated POP"
20ac_help="$ac_help 20ac_help="$ac_help
21 --with-kerberos5 support Kerberos version 5 authenticated POP" 21 --with-kerberos5 support Kerberos version 5 authenticated POP"
22ac_help="$ac_help 22ac_help="$ac_help
23 --with-hesiod support Hesiod to get the POP server host" 23 --with-hesiod support Hesiod to get the POP server host"
24ac_help="$ac_help 24ac_help="$ac_help
@@ -34,7 +34,8 @@ ac_help="$ac_help
34ac_help="$ac_help 34ac_help="$ac_help
35 --with-png use -lpng for displaying PNG images" 35 --with-png use -lpng for displaying PNG images"
36ac_help="$ac_help 36ac_help="$ac_help
37 --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars" 37 --without-toolkit-scroll-bars
38 don't use Motif or Xaw3d scroll bars"
38ac_help="$ac_help 39ac_help="$ac_help
39 --with-x use the X Window System" 40 --with-x use the X Window System"
40 41
@@ -744,7 +745,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
744fi 745fi
745 746
746echo $ac_n "checking host system type""... $ac_c" 1>&6 747echo $ac_n "checking host system type""... $ac_c" 1>&6
747echo "configure:748: checking host system type" >&5 748echo "configure:749: checking host system type" >&5
748 749
749host_alias=$host 750host_alias=$host
750case "$host_alias" in 751case "$host_alias" in
@@ -1703,7 +1704,7 @@ case ${with_gcc} in
1703 * ) # Extract the first word of "gcc", so it can be a program name with args. 1704 * ) # Extract the first word of "gcc", so it can be a program name with args.
1704set dummy gcc; ac_word=$2 1705set dummy gcc; ac_word=$2
1705echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1706echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1706echo "configure:1707: checking for $ac_word" >&5 1707echo "configure:1708: checking for $ac_word" >&5
1707if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1708if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1708 echo $ac_n "(cached) $ac_c" 1>&6 1709 echo $ac_n "(cached) $ac_c" 1>&6
1709else 1710else
@@ -1733,7 +1734,7 @@ if test -z "$CC"; then
1733 # Extract the first word of "cc", so it can be a program name with args. 1734 # Extract the first word of "cc", so it can be a program name with args.
1734set dummy cc; ac_word=$2 1735set dummy cc; ac_word=$2
1735echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1736echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1736echo "configure:1737: checking for $ac_word" >&5 1737echo "configure:1738: checking for $ac_word" >&5
1737if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1738if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1738 echo $ac_n "(cached) $ac_c" 1>&6 1739 echo $ac_n "(cached) $ac_c" 1>&6
1739else 1740else
@@ -1784,7 +1785,7 @@ fi
1784 # Extract the first word of "cl", so it can be a program name with args. 1785 # Extract the first word of "cl", so it can be a program name with args.
1785set dummy cl; ac_word=$2 1786set dummy cl; ac_word=$2
1786echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1787echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1787echo "configure:1788: checking for $ac_word" >&5 1788echo "configure:1789: checking for $ac_word" >&5
1788if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1789if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1789 echo $ac_n "(cached) $ac_c" 1>&6 1790 echo $ac_n "(cached) $ac_c" 1>&6
1790else 1791else
@@ -1816,7 +1817,7 @@ fi
1816fi 1817fi
1817 1818
1818echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1819echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1819echo "configure:1820: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1820echo "configure:1821: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1820 1821
1821ac_ext=c 1822ac_ext=c
1822# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1823# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1827,12 +1828,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1827 1828
1828cat > conftest.$ac_ext << EOF 1829cat > conftest.$ac_ext << EOF
1829 1830
1830#line 1831 "configure" 1831#line 1832 "configure"
1831#include "confdefs.h" 1832#include "confdefs.h"
1832 1833
1833main(){return(0);} 1834main(){return(0);}
1834EOF 1835EOF
1835if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1836if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1836 ac_cv_prog_cc_works=yes 1837 ac_cv_prog_cc_works=yes
1837 # If we can't run a trivial program, we are probably using a cross compiler. 1838 # If we can't run a trivial program, we are probably using a cross compiler.
1838 if (./conftest; exit) 2>/dev/null; then 1839 if (./conftest; exit) 2>/dev/null; then
@@ -1858,12 +1859,12 @@ if test $ac_cv_prog_cc_works = no; then
1858 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1859 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1859fi 1860fi
1860echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1861echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1861echo "configure:1862: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1862echo "configure:1863: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1862echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1863echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1863cross_compiling=$ac_cv_prog_cc_cross 1864cross_compiling=$ac_cv_prog_cc_cross
1864 1865
1865echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1866echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1866echo "configure:1867: checking whether we are using GNU C" >&5 1867echo "configure:1868: checking whether we are using GNU C" >&5
1867if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1868if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1868 echo $ac_n "(cached) $ac_c" 1>&6 1869 echo $ac_n "(cached) $ac_c" 1>&6
1869else 1870else
@@ -1872,7 +1873,7 @@ else
1872 yes; 1873 yes;
1873#endif 1874#endif
1874EOF 1875EOF
1875if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1876if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1876 ac_cv_prog_gcc=yes 1877 ac_cv_prog_gcc=yes
1877else 1878else
1878 ac_cv_prog_gcc=no 1879 ac_cv_prog_gcc=no
@@ -1891,7 +1892,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1891ac_save_CFLAGS="$CFLAGS" 1892ac_save_CFLAGS="$CFLAGS"
1892CFLAGS= 1893CFLAGS=
1893echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1894echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1894echo "configure:1895: checking whether ${CC-cc} accepts -g" >&5 1895echo "configure:1896: checking whether ${CC-cc} accepts -g" >&5
1895if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1896if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6 1897 echo $ac_n "(cached) $ac_c" 1>&6
1897else 1898else
@@ -1971,7 +1972,7 @@ fi
1971#### #undef clause to src/config.h.in for autoconf to modify. 1972#### #undef clause to src/config.h.in for autoconf to modify.
1972 1973
1973echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1974echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1974echo "configure:1975: checking whether ln -s works" >&5 1975echo "configure:1976: checking whether ln -s works" >&5
1975if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1976if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1976 echo $ac_n "(cached) $ac_c" 1>&6 1977 echo $ac_n "(cached) $ac_c" 1>&6
1977else 1978else
@@ -1992,7 +1993,7 @@ else
1992fi 1993fi
1993 1994
1994echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1995echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1995echo "configure:1996: checking how to run the C preprocessor" >&5 1996echo "configure:1997: checking how to run the C preprocessor" >&5
1996# On Suns, sometimes $CPP names a directory. 1997# On Suns, sometimes $CPP names a directory.
1997if test -n "$CPP" && test -d "$CPP"; then 1998if test -n "$CPP" && test -d "$CPP"; then
1998 CPP= 1999 CPP=
@@ -2007,13 +2008,13 @@ else
2007 # On the NeXT, cc -E runs the code through the compiler's parser, 2008 # On the NeXT, cc -E runs the code through the compiler's parser,
2008 # not just through cpp. 2009 # not just through cpp.
2009 cat > conftest.$ac_ext <<EOF 2010 cat > conftest.$ac_ext <<EOF
2010#line 2011 "configure" 2011#line 2012 "configure"
2011#include "confdefs.h" 2012#include "confdefs.h"
2012#include <assert.h> 2013#include <assert.h>
2013Syntax Error 2014Syntax Error
2014EOF 2015EOF
2015ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2016ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2016{ (eval echo configure:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2017{ (eval echo configure:2018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2017ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2018ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2018if test -z "$ac_err"; then 2019if test -z "$ac_err"; then
2019 : 2020 :
@@ -2024,13 +2025,13 @@ else
2024 rm -rf conftest* 2025 rm -rf conftest*
2025 CPP="${CC-cc} -E -traditional-cpp" 2026 CPP="${CC-cc} -E -traditional-cpp"
2026 cat > conftest.$ac_ext <<EOF 2027 cat > conftest.$ac_ext <<EOF
2027#line 2028 "configure" 2028#line 2029 "configure"
2028#include "confdefs.h" 2029#include "confdefs.h"
2029#include <assert.h> 2030#include <assert.h>
2030Syntax Error 2031Syntax Error
2031EOF 2032EOF
2032ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2033ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2033{ (eval echo configure:2034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2034{ (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2034ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2035ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2035if test -z "$ac_err"; then 2036if test -z "$ac_err"; then
2036 : 2037 :
@@ -2041,13 +2042,13 @@ else
2041 rm -rf conftest* 2042 rm -rf conftest*
2042 CPP="${CC-cc} -nologo -E" 2043 CPP="${CC-cc} -nologo -E"
2043 cat > conftest.$ac_ext <<EOF 2044 cat > conftest.$ac_ext <<EOF
2044#line 2045 "configure" 2045#line 2046 "configure"
2045#include "confdefs.h" 2046#include "confdefs.h"
2046#include <assert.h> 2047#include <assert.h>
2047Syntax Error 2048Syntax Error
2048EOF 2049EOF
2049ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2050ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2050{ (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2051{ (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2051ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2052ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2052if test -z "$ac_err"; then 2053if test -z "$ac_err"; then
2053 : 2054 :
@@ -2083,7 +2084,7 @@ echo "$ac_t""$CPP" 1>&6
2083# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2084# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2084# ./install, which can be erroneously created by make from ./install.sh. 2085# ./install, which can be erroneously created by make from ./install.sh.
2085echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2086echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2086echo "configure:2087: checking for a BSD compatible install" >&5 2087echo "configure:2088: checking for a BSD compatible install" >&5
2087if test -z "$INSTALL"; then 2088if test -z "$INSTALL"; then
2088if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2089if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2089 echo $ac_n "(cached) $ac_c" 1>&6 2090 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2140,7 +2141,7 @@ do
2140# Extract the first word of "$ac_prog", so it can be a program name with args. 2141# Extract the first word of "$ac_prog", so it can be a program name with args.
2141set dummy $ac_prog; ac_word=$2 2142set dummy $ac_prog; ac_word=$2
2142echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2143echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2143echo "configure:2144: checking for $ac_word" >&5 2144echo "configure:2145: checking for $ac_word" >&5
2144if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2145if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2145 echo $ac_n "(cached) $ac_c" 1>&6 2146 echo $ac_n "(cached) $ac_c" 1>&6
2146else 2147else
@@ -2174,7 +2175,7 @@ if test "x$RANLIB" = x; then
2174 # Extract the first word of "ranlib", so it can be a program name with args. 2175 # Extract the first word of "ranlib", so it can be a program name with args.
2175set dummy ranlib; ac_word=$2 2176set dummy ranlib; ac_word=$2
2176echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2177echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2177echo "configure:2178: checking for $ac_word" >&5 2178echo "configure:2179: checking for $ac_word" >&5
2178if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2179if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6 2180 echo $ac_n "(cached) $ac_c" 1>&6
2180else 2181else
@@ -2204,9 +2205,9 @@ fi
2204fi 2205fi
2205 2206
2206echo $ac_n "checking for AIX""... $ac_c" 1>&6 2207echo $ac_n "checking for AIX""... $ac_c" 1>&6
2207echo "configure:2208: checking for AIX" >&5 2208echo "configure:2209: checking for AIX" >&5
2208cat > conftest.$ac_ext <<EOF 2209cat > conftest.$ac_ext <<EOF
2209#line 2210 "configure" 2210#line 2211 "configure"
2210#include "confdefs.h" 2211#include "confdefs.h"
2211#ifdef _AIX 2212#ifdef _AIX
2212 yes 2213 yes
@@ -2233,17 +2234,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2233do 2234do
2234ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2235ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2235echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2236echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2236echo "configure:2237: checking for $ac_hdr" >&5 2237echo "configure:2238: checking for $ac_hdr" >&5
2237if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2238if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2238 echo $ac_n "(cached) $ac_c" 1>&6 2239 echo $ac_n "(cached) $ac_c" 1>&6
2239else 2240else
2240 cat > conftest.$ac_ext <<EOF 2241 cat > conftest.$ac_ext <<EOF
2241#line 2242 "configure" 2242#line 2243 "configure"
2242#include "confdefs.h" 2243#include "confdefs.h"
2243#include <$ac_hdr> 2244#include <$ac_hdr>
2244EOF 2245EOF
2245ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2246ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2246{ (eval echo configure:2247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2247{ (eval echo configure:2248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2247ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2248ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2248if test -z "$ac_err"; then 2249if test -z "$ac_err"; then
2249 rm -rf conftest* 2250 rm -rf conftest*
@@ -2276,17 +2277,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2276do 2277do
2277ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2278ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2278echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2279echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2279echo "configure:2280: checking for $ac_hdr" >&5 2280echo "configure:2281: checking for $ac_hdr" >&5
2280if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2281if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2281 echo $ac_n "(cached) $ac_c" 1>&6 2282 echo $ac_n "(cached) $ac_c" 1>&6
2282else 2283else
2283 cat > conftest.$ac_ext <<EOF 2284 cat > conftest.$ac_ext <<EOF
2284#line 2285 "configure" 2285#line 2286 "configure"
2285#include "confdefs.h" 2286#include "confdefs.h"
2286#include <$ac_hdr> 2287#include <$ac_hdr>
2287EOF 2288EOF
2288ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2289ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2289{ (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2290{ (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2290ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2291ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2291if test -z "$ac_err"; then 2292if test -z "$ac_err"; then
2292 rm -rf conftest* 2293 rm -rf conftest*
@@ -2313,12 +2314,12 @@ fi
2313done 2314done
2314 2315
2315echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2316echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2316echo "configure:2317: checking for ANSI C header files" >&5 2317echo "configure:2318: checking for ANSI C header files" >&5
2317if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2318if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2318 echo $ac_n "(cached) $ac_c" 1>&6 2319 echo $ac_n "(cached) $ac_c" 1>&6
2319else 2320else
2320 cat > conftest.$ac_ext <<EOF 2321 cat > conftest.$ac_ext <<EOF
2321#line 2322 "configure" 2322#line 2323 "configure"
2322#include "confdefs.h" 2323#include "confdefs.h"
2323#include <stdlib.h> 2324#include <stdlib.h>
2324#include <stdarg.h> 2325#include <stdarg.h>
@@ -2326,7 +2327,7 @@ else
2326#include <float.h> 2327#include <float.h>
2327EOF 2328EOF
2328ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2329ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2329{ (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2330{ (eval echo configure:2331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2330ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2331ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2331if test -z "$ac_err"; then 2332if test -z "$ac_err"; then
2332 rm -rf conftest* 2333 rm -rf conftest*
@@ -2343,7 +2344,7 @@ rm -f conftest*
2343if test $ac_cv_header_stdc = yes; then 2344if test $ac_cv_header_stdc = yes; then
2344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2345cat > conftest.$ac_ext <<EOF 2346cat > conftest.$ac_ext <<EOF
2346#line 2347 "configure" 2347#line 2348 "configure"
2347#include "confdefs.h" 2348#include "confdefs.h"
2348#include <string.h> 2349#include <string.h>
2349EOF 2350EOF
@@ -2361,7 +2362,7 @@ fi
2361if test $ac_cv_header_stdc = yes; then 2362if test $ac_cv_header_stdc = yes; then
2362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2363cat > conftest.$ac_ext <<EOF 2364cat > conftest.$ac_ext <<EOF
2364#line 2365 "configure" 2365#line 2366 "configure"
2365#include "confdefs.h" 2366#include "confdefs.h"
2366#include <stdlib.h> 2367#include <stdlib.h>
2367EOF 2368EOF
@@ -2382,7 +2383,7 @@ if test "$cross_compiling" = yes; then
2382 : 2383 :
2383else 2384else
2384 cat > conftest.$ac_ext <<EOF 2385 cat > conftest.$ac_ext <<EOF
2385#line 2386 "configure" 2386#line 2387 "configure"
2386#include "confdefs.h" 2387#include "confdefs.h"
2387#include <ctype.h> 2388#include <ctype.h>
2388#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2389#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2393,7 +2394,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2393exit (0); } 2394exit (0); }
2394 2395
2395EOF 2396EOF
2396if { (eval echo configure:2397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2397if { (eval echo configure:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2397then 2398then
2398 : 2399 :
2399else 2400else
@@ -2417,12 +2418,12 @@ EOF
2417fi 2418fi
2418 2419
2419echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2420echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2420echo "configure:2421: checking whether time.h and sys/time.h may both be included" >&5 2421echo "configure:2422: checking whether time.h and sys/time.h may both be included" >&5
2421if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2422if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2422 echo $ac_n "(cached) $ac_c" 1>&6 2423 echo $ac_n "(cached) $ac_c" 1>&6
2423else 2424else
2424 cat > conftest.$ac_ext <<EOF 2425 cat > conftest.$ac_ext <<EOF
2425#line 2426 "configure" 2426#line 2427 "configure"
2426#include "confdefs.h" 2427#include "confdefs.h"
2427#include <sys/types.h> 2428#include <sys/types.h>
2428#include <sys/time.h> 2429#include <sys/time.h>
@@ -2431,7 +2432,7 @@ int main() {
2431struct tm *tp; 2432struct tm *tp;
2432; return 0; } 2433; return 0; }
2433EOF 2434EOF
2434if { (eval echo configure:2435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2435if { (eval echo configure:2436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2435 rm -rf conftest* 2436 rm -rf conftest*
2436 ac_cv_header_time=yes 2437 ac_cv_header_time=yes
2437else 2438else
@@ -2452,12 +2453,12 @@ EOF
2452fi 2453fi
2453 2454
2454echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2455echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2455echo "configure:2456: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2456echo "configure:2457: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2456if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2457if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2457 echo $ac_n "(cached) $ac_c" 1>&6 2458 echo $ac_n "(cached) $ac_c" 1>&6
2458else 2459else
2459 cat > conftest.$ac_ext <<EOF 2460 cat > conftest.$ac_ext <<EOF
2460#line 2461 "configure" 2461#line 2462 "configure"
2461#include "confdefs.h" 2462#include "confdefs.h"
2462#include <sys/types.h> 2463#include <sys/types.h>
2463#include <signal.h> 2464#include <signal.h>
@@ -2469,7 +2470,7 @@ int main() {
2469char *msg = *(sys_siglist + 1); 2470char *msg = *(sys_siglist + 1);
2470; return 0; } 2471; return 0; }
2471EOF 2472EOF
2472if { (eval echo configure:2473: \"$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
2473 rm -rf conftest* 2474 rm -rf conftest*
2474 ac_cv_decl_sys_siglist=yes 2475 ac_cv_decl_sys_siglist=yes
2475else 2476else
@@ -2491,12 +2492,12 @@ fi
2491 2492
2492 2493
2493echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2494echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2494echo "configure:2495: checking for struct utimbuf" >&5 2495echo "configure:2496: checking for struct utimbuf" >&5
2495if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2496if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2496 echo $ac_n "(cached) $ac_c" 1>&6 2497 echo $ac_n "(cached) $ac_c" 1>&6
2497else 2498else
2498 cat > conftest.$ac_ext <<EOF 2499 cat > conftest.$ac_ext <<EOF
2499#line 2500 "configure" 2500#line 2501 "configure"
2500#include "confdefs.h" 2501#include "confdefs.h"
2501#ifdef TIME_WITH_SYS_TIME 2502#ifdef TIME_WITH_SYS_TIME
2502#include <sys/time.h> 2503#include <sys/time.h>
@@ -2515,7 +2516,7 @@ int main() {
2515static struct utimbuf x; x.actime = x.modtime; 2516static struct utimbuf x; x.actime = x.modtime;
2516; return 0; } 2517; return 0; }
2517EOF 2518EOF
2518if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2519if { (eval echo configure:2520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2519 rm -rf conftest* 2520 rm -rf conftest*
2520 emacs_cv_struct_utimbuf=yes 2521 emacs_cv_struct_utimbuf=yes
2521else 2522else
@@ -2536,12 +2537,12 @@ EOF
2536fi 2537fi
2537 2538
2538echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2539echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2539echo "configure:2540: checking return type of signal handlers" >&5 2540echo "configure:2541: checking return type of signal handlers" >&5
2540if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2541if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2541 echo $ac_n "(cached) $ac_c" 1>&6 2542 echo $ac_n "(cached) $ac_c" 1>&6
2542else 2543else
2543 cat > conftest.$ac_ext <<EOF 2544 cat > conftest.$ac_ext <<EOF
2544#line 2545 "configure" 2545#line 2546 "configure"
2545#include "confdefs.h" 2546#include "confdefs.h"
2546#include <sys/types.h> 2547#include <sys/types.h>
2547#include <signal.h> 2548#include <signal.h>
@@ -2558,7 +2559,7 @@ int main() {
2558int i; 2559int i;
2559; return 0; } 2560; return 0; }
2560EOF 2561EOF
2561if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2562if { (eval echo configure:2563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2562 rm -rf conftest* 2563 rm -rf conftest*
2563 ac_cv_type_signal=void 2564 ac_cv_type_signal=void
2564else 2565else
@@ -2578,12 +2579,12 @@ EOF
2578 2579
2579 2580
2580echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2581echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2581echo "configure:2582: checking for struct timeval" >&5 2582echo "configure:2583: checking for struct timeval" >&5
2582if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2583if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2583 echo $ac_n "(cached) $ac_c" 1>&6 2584 echo $ac_n "(cached) $ac_c" 1>&6
2584else 2585else
2585 cat > conftest.$ac_ext <<EOF 2586 cat > conftest.$ac_ext <<EOF
2586#line 2587 "configure" 2587#line 2588 "configure"
2587#include "confdefs.h" 2588#include "confdefs.h"
2588#ifdef TIME_WITH_SYS_TIME 2589#ifdef TIME_WITH_SYS_TIME
2589#include <sys/time.h> 2590#include <sys/time.h>
@@ -2599,7 +2600,7 @@ int main() {
2599static struct timeval x; x.tv_sec = x.tv_usec; 2600static struct timeval x; x.tv_sec = x.tv_usec;
2600; return 0; } 2601; return 0; }
2601EOF 2602EOF
2602if { (eval echo configure:2603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2603if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2603 rm -rf conftest* 2604 rm -rf conftest*
2604 emacs_cv_struct_timeval=yes 2605 emacs_cv_struct_timeval=yes
2605else 2606else
@@ -2621,12 +2622,12 @@ EOF
2621fi 2622fi
2622 2623
2623echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2624echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2624echo "configure:2625: checking whether struct tm is in sys/time.h or time.h" >&5 2625echo "configure:2626: checking whether struct tm is in sys/time.h or time.h" >&5
2625if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2626if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2626 echo $ac_n "(cached) $ac_c" 1>&6 2627 echo $ac_n "(cached) $ac_c" 1>&6
2627else 2628else
2628 cat > conftest.$ac_ext <<EOF 2629 cat > conftest.$ac_ext <<EOF
2629#line 2630 "configure" 2630#line 2631 "configure"
2630#include "confdefs.h" 2631#include "confdefs.h"
2631#include <sys/types.h> 2632#include <sys/types.h>
2632#include <time.h> 2633#include <time.h>
@@ -2634,7 +2635,7 @@ int main() {
2634struct tm *tp; tp->tm_sec; 2635struct tm *tp; tp->tm_sec;
2635; return 0; } 2636; return 0; }
2636EOF 2637EOF
2637if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2638if { (eval echo configure:2639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2638 rm -rf conftest* 2639 rm -rf conftest*
2639 ac_cv_struct_tm=time.h 2640 ac_cv_struct_tm=time.h
2640else 2641else
@@ -2655,12 +2656,12 @@ EOF
2655fi 2656fi
2656 2657
2657echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2658echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2658echo "configure:2659: checking for tm_zone in struct tm" >&5 2659echo "configure:2660: checking for tm_zone in struct tm" >&5
2659if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2660if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2660 echo $ac_n "(cached) $ac_c" 1>&6 2661 echo $ac_n "(cached) $ac_c" 1>&6
2661else 2662else
2662 cat > conftest.$ac_ext <<EOF 2663 cat > conftest.$ac_ext <<EOF
2663#line 2664 "configure" 2664#line 2665 "configure"
2664#include "confdefs.h" 2665#include "confdefs.h"
2665#include <sys/types.h> 2666#include <sys/types.h>
2666#include <$ac_cv_struct_tm> 2667#include <$ac_cv_struct_tm>
@@ -2668,7 +2669,7 @@ int main() {
2668struct tm tm; tm.tm_zone; 2669struct tm tm; tm.tm_zone;
2669; return 0; } 2670; return 0; }
2670EOF 2671EOF
2671if { (eval echo configure:2672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2672if { (eval echo configure:2673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2672 rm -rf conftest* 2673 rm -rf conftest*
2673 ac_cv_struct_tm_zone=yes 2674 ac_cv_struct_tm_zone=yes
2674else 2675else
@@ -2688,12 +2689,12 @@ EOF
2688 2689
2689else 2690else
2690 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2691 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2691echo "configure:2692: checking for tzname" >&5 2692echo "configure:2693: checking for tzname" >&5
2692if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2693if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2693 echo $ac_n "(cached) $ac_c" 1>&6 2694 echo $ac_n "(cached) $ac_c" 1>&6
2694else 2695else
2695 cat > conftest.$ac_ext <<EOF 2696 cat > conftest.$ac_ext <<EOF
2696#line 2697 "configure" 2697#line 2698 "configure"
2697#include "confdefs.h" 2698#include "confdefs.h"
2698#include <time.h> 2699#include <time.h>
2699#ifndef tzname /* For SGI. */ 2700#ifndef tzname /* For SGI. */
@@ -2703,7 +2704,7 @@ int main() {
2703atoi(*tzname); 2704atoi(*tzname);
2704; return 0; } 2705; return 0; }
2705EOF 2706EOF
2706if { (eval echo configure:2707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2707if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2707 rm -rf conftest* 2708 rm -rf conftest*
2708 ac_cv_var_tzname=yes 2709 ac_cv_var_tzname=yes
2709else 2710else
@@ -2725,19 +2726,19 @@ EOF
2725fi 2726fi
2726 2727
2727echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2728echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2728echo "configure:2729: checking for tm_gmtoff in struct tm" >&5 2729echo "configure:2730: checking for tm_gmtoff in struct tm" >&5
2729if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2730if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2730 echo $ac_n "(cached) $ac_c" 1>&6 2731 echo $ac_n "(cached) $ac_c" 1>&6
2731else 2732else
2732 cat > conftest.$ac_ext <<EOF 2733 cat > conftest.$ac_ext <<EOF
2733#line 2734 "configure" 2734#line 2735 "configure"
2734#include "confdefs.h" 2735#include "confdefs.h"
2735#include <time.h> 2736#include <time.h>
2736int main() { 2737int main() {
2737struct tm t; t.tm_gmtoff = 0 2738struct tm t; t.tm_gmtoff = 0
2738; return 0; } 2739; return 0; }
2739EOF 2740EOF
2740if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2741if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2741 rm -rf conftest* 2742 rm -rf conftest*
2742 emacs_cv_tm_gmtoff=yes 2743 emacs_cv_tm_gmtoff=yes
2743else 2744else
@@ -2759,7 +2760,7 @@ fi
2759 2760
2760 2761
2761echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2762echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2762echo "configure:2763: checking for ${CC-cc} option to accept ANSI C" >&5 2763echo "configure:2764: checking for ${CC-cc} option to accept ANSI C" >&5
2763if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2764if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2764 echo $ac_n "(cached) $ac_c" 1>&6 2765 echo $ac_n "(cached) $ac_c" 1>&6
2765else 2766else
@@ -2776,7 +2777,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2776do 2777do
2777 CC="$ac_save_CC $ac_arg" 2778 CC="$ac_save_CC $ac_arg"
2778 cat > conftest.$ac_ext <<EOF 2779 cat > conftest.$ac_ext <<EOF
2779#line 2780 "configure" 2780#line 2781 "configure"
2780#include "confdefs.h" 2781#include "confdefs.h"
2781#include <stdarg.h> 2782#include <stdarg.h>
2782#include <stdio.h> 2783#include <stdio.h>
@@ -2810,7 +2811,7 @@ int main() {
2810return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2811return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811; return 0; } 2812; return 0; }
2812EOF 2813EOF
2813if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2814if { (eval echo configure:2815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2814 rm -rf conftest* 2815 rm -rf conftest*
2815 ac_cv_prog_cc_stdc="$ac_arg"; break 2816 ac_cv_prog_cc_stdc="$ac_arg"; break
2816else 2817else
@@ -2832,7 +2833,7 @@ case "x$ac_cv_prog_cc_stdc" in
2832esac 2833esac
2833 2834
2834echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 2835echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2835echo "configure:2836: checking for function prototypes" >&5 2836echo "configure:2837: checking for function prototypes" >&5
2836if test "$ac_cv_prog_cc_stdc" != no; then 2837if test "$ac_cv_prog_cc_stdc" != no; then
2837 echo "$ac_t""yes" 1>&6 2838 echo "$ac_t""yes" 1>&6
2838 cat >> confdefs.h <<\EOF 2839 cat >> confdefs.h <<\EOF
@@ -2844,12 +2845,12 @@ else
2844fi 2845fi
2845 2846
2846echo $ac_n "checking for working volatile""... $ac_c" 1>&6 2847echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2847echo "configure:2848: checking for working volatile" >&5 2848echo "configure:2849: checking for working volatile" >&5
2848if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 2849if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2849 echo $ac_n "(cached) $ac_c" 1>&6 2850 echo $ac_n "(cached) $ac_c" 1>&6
2850else 2851else
2851 cat > conftest.$ac_ext <<EOF 2852 cat > conftest.$ac_ext <<EOF
2852#line 2853 "configure" 2853#line 2854 "configure"
2853#include "confdefs.h" 2854#include "confdefs.h"
2854 2855
2855int main() { 2856int main() {
@@ -2858,7 +2859,7 @@ volatile int x;
2858int * volatile y; 2859int * volatile y;
2859; return 0; } 2860; return 0; }
2860EOF 2861EOF
2861if { (eval echo configure:2862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2862if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2862 rm -rf conftest* 2863 rm -rf conftest*
2863 ac_cv_c_volatile=yes 2864 ac_cv_c_volatile=yes
2864else 2865else
@@ -2879,18 +2880,18 @@ EOF
2879fi 2880fi
2880 2881
2881echo $ac_n "checking for working const""... $ac_c" 1>&6 2882echo $ac_n "checking for working const""... $ac_c" 1>&6
2882echo "configure:2883: checking for working const" >&5 2883echo "configure:2884: checking for working const" >&5
2883if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2884if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2884 echo $ac_n "(cached) $ac_c" 1>&6 2885 echo $ac_n "(cached) $ac_c" 1>&6
2885else 2886else
2886 cat > conftest.$ac_ext <<EOF 2887 cat > conftest.$ac_ext <<EOF
2887#line 2888 "configure" 2888#line 2889 "configure"
2888#include "confdefs.h" 2889#include "confdefs.h"
2889 2890
2890int main() { 2891int main() {
2891 2892
2892/* Ultrix mips cc rejects this. */ 2893/* Ultrix mips cc rejects this. */
2893typedef int charset[2]; const charset x = {0,0}; 2894typedef int charset[2]; const charset x;
2894/* SunOS 4.1.1 cc rejects this. */ 2895/* SunOS 4.1.1 cc rejects this. */
2895char const *const *ccp; 2896char const *const *ccp;
2896char **p; 2897char **p;
@@ -2933,7 +2934,7 @@ ccp = (char const *const *) p;
2933 2934
2934; return 0; } 2935; return 0; }
2935EOF 2936EOF
2936if { (eval echo configure:2937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2937if { (eval echo configure:2938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2937 rm -rf conftest* 2938 rm -rf conftest*
2938 ac_cv_c_const=yes 2939 ac_cv_c_const=yes
2939else 2940else
@@ -2953,60 +2954,20 @@ EOF
2953 2954
2954fi 2955fi
2955 2956
2956echo $ac_n "checking for inline""... $ac_c" 1>&6
2957echo "configure:2958: checking for inline" >&5
2958if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
2959 echo $ac_n "(cached) $ac_c" 1>&6
2960else
2961 ac_cv_c_inline=no
2962for ac_kw in inline __inline__ __inline; do
2963 cat > conftest.$ac_ext <<EOF
2964#line 2965 "configure"
2965#include "confdefs.h"
2966
2967int main() {
2968} int $ac_kw foo() {
2969; return 0; }
2970EOF
2971if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2972 rm -rf conftest*
2973 ac_cv_c_inline=$ac_kw; break
2974else
2975 echo "configure: failed program was:" >&5
2976 cat conftest.$ac_ext >&5
2977fi
2978rm -f conftest*
2979done
2980
2981fi
2982
2983echo "$ac_t""$ac_cv_c_inline" 1>&6
2984case "$ac_cv_c_inline" in
2985 inline | yes) ;;
2986 no) cat >> confdefs.h <<\EOF
2987#define inline
2988EOF
2989 ;;
2990 *) cat >> confdefs.h <<EOF
2991#define inline $ac_cv_c_inline
2992EOF
2993 ;;
2994esac
2995
2996echo $ac_n "checking for void * support""... $ac_c" 1>&6 2957echo $ac_n "checking for void * support""... $ac_c" 1>&6
2997echo "configure:2998: checking for void * support" >&5 2958echo "configure:2959: checking for void * support" >&5
2998if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 2959if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
2999 echo $ac_n "(cached) $ac_c" 1>&6 2960 echo $ac_n "(cached) $ac_c" 1>&6
3000else 2961else
3001 cat > conftest.$ac_ext <<EOF 2962 cat > conftest.$ac_ext <<EOF
3002#line 3003 "configure" 2963#line 2964 "configure"
3003#include "confdefs.h" 2964#include "confdefs.h"
3004 2965
3005int main() { 2966int main() {
3006void * foo; 2967void * foo;
3007; return 0; } 2968; return 0; }
3008EOF 2969EOF
3009if { (eval echo configure:3010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2970if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3010 rm -rf conftest* 2971 rm -rf conftest*
3011 emacs_cv_void_star=yes 2972 emacs_cv_void_star=yes
3012else 2973else
@@ -3032,7 +2993,7 @@ EOF
3032fi 2993fi
3033 2994
3034echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2995echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3035echo "configure:3036: checking whether ${MAKE-make} sets \${MAKE}" >&5 2996echo "configure:2997: checking whether ${MAKE-make} sets \${MAKE}" >&5
3036set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2997set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3037if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2998if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3038 echo $ac_n "(cached) $ac_c" 1>&6 2999 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3060,7 +3021,7 @@ fi
3060 3021
3061 3022
3062echo $ac_n "checking for long file names""... $ac_c" 1>&6 3023echo $ac_n "checking for long file names""... $ac_c" 1>&6
3063echo "configure:3064: checking for long file names" >&5 3024echo "configure:3025: checking for long file names" >&5
3064if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3025if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3065 echo $ac_n "(cached) $ac_c" 1>&6 3026 echo $ac_n "(cached) $ac_c" 1>&6
3066else 3027else
@@ -3111,7 +3072,7 @@ fi
3111# Uses ac_ vars as temps to allow command line to override cache and checks. 3072# Uses ac_ vars as temps to allow command line to override cache and checks.
3112# --without-x overrides everything else, but does not touch the cache. 3073# --without-x overrides everything else, but does not touch the cache.
3113echo $ac_n "checking for X""... $ac_c" 1>&6 3074echo $ac_n "checking for X""... $ac_c" 1>&6
3114echo "configure:3115: checking for X" >&5 3075echo "configure:3076: checking for X" >&5
3115 3076
3116# Check whether --with-x or --without-x was given. 3077# Check whether --with-x or --without-x was given.
3117if test "${with_x+set}" = set; then 3078if test "${with_x+set}" = set; then
@@ -3173,12 +3134,12 @@ if test "$ac_x_includes" = NO; then
3173 3134
3174 # First, try using that file with no special directory specified. 3135 # First, try using that file with no special directory specified.
3175cat > conftest.$ac_ext <<EOF 3136cat > conftest.$ac_ext <<EOF
3176#line 3177 "configure" 3137#line 3138 "configure"
3177#include "confdefs.h" 3138#include "confdefs.h"
3178#include <$x_direct_test_include> 3139#include <$x_direct_test_include>
3179EOF 3140EOF
3180ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3141ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3181{ (eval echo configure:3182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3142{ (eval echo configure:3143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3182ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3143ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3183if test -z "$ac_err"; then 3144if test -z "$ac_err"; then
3184 rm -rf conftest* 3145 rm -rf conftest*
@@ -3247,14 +3208,14 @@ if test "$ac_x_libraries" = NO; then
3247 ac_save_LIBS="$LIBS" 3208 ac_save_LIBS="$LIBS"
3248 LIBS="-l$x_direct_test_library $LIBS" 3209 LIBS="-l$x_direct_test_library $LIBS"
3249cat > conftest.$ac_ext <<EOF 3210cat > conftest.$ac_ext <<EOF
3250#line 3251 "configure" 3211#line 3212 "configure"
3251#include "confdefs.h" 3212#include "confdefs.h"
3252 3213
3253int main() { 3214int main() {
3254${x_direct_test_function}() 3215${x_direct_test_function}()
3255; return 0; } 3216; return 0; }
3256EOF 3217EOF
3257if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3218if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3258 rm -rf conftest* 3219 rm -rf conftest*
3259 LIBS="$ac_save_LIBS" 3220 LIBS="$ac_save_LIBS"
3260# We can link X programs with no special library path. 3221# We can link X programs with no special library path.
@@ -3429,7 +3390,7 @@ fi
3429echo "checking the machine- and system-dependent files to find out 3390echo "checking the machine- and system-dependent files to find out
3430 - which libraries the lib-src programs will want, and 3391 - which libraries the lib-src programs will want, and
3431 - whether the GNU malloc routines are usable" 1>&6 3392 - whether the GNU malloc routines are usable" 1>&6
3432echo "configure:3433: checking the machine- and system-dependent files to find out 3393echo "configure:3394: checking the machine- and system-dependent files to find out
3433 - which libraries the lib-src programs will want, and 3394 - which libraries the lib-src programs will want, and
3434 - whether the GNU malloc routines are usable" >&5 3395 - whether the GNU malloc routines are usable" >&5
3435 3396
@@ -3563,12 +3524,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3563GNU_MALLOC=yes 3524GNU_MALLOC=yes
3564doug_lea_malloc=yes 3525doug_lea_malloc=yes
3565echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3526echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3566echo "configure:3567: checking for malloc_get_state" >&5 3527echo "configure:3528: checking for malloc_get_state" >&5
3567if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3528if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3568 echo $ac_n "(cached) $ac_c" 1>&6 3529 echo $ac_n "(cached) $ac_c" 1>&6
3569else 3530else
3570 cat > conftest.$ac_ext <<EOF 3531 cat > conftest.$ac_ext <<EOF
3571#line 3572 "configure" 3532#line 3533 "configure"
3572#include "confdefs.h" 3533#include "confdefs.h"
3573/* System header to define __stub macros and hopefully few prototypes, 3534/* System header to define __stub macros and hopefully few prototypes,
3574 which can conflict with char malloc_get_state(); below. */ 3535 which can conflict with char malloc_get_state(); below. */
@@ -3591,7 +3552,7 @@ malloc_get_state();
3591 3552
3592; return 0; } 3553; return 0; }
3593EOF 3554EOF
3594if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3555if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3595 rm -rf conftest* 3556 rm -rf conftest*
3596 eval "ac_cv_func_malloc_get_state=yes" 3557 eval "ac_cv_func_malloc_get_state=yes"
3597else 3558else
@@ -3612,12 +3573,12 @@ doug_lea_malloc=no
3612fi 3573fi
3613 3574
3614echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3575echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3615echo "configure:3616: checking for malloc_set_state" >&5 3576echo "configure:3577: checking for malloc_set_state" >&5
3616if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3577if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3617 echo $ac_n "(cached) $ac_c" 1>&6 3578 echo $ac_n "(cached) $ac_c" 1>&6
3618else 3579else
3619 cat > conftest.$ac_ext <<EOF 3580 cat > conftest.$ac_ext <<EOF
3620#line 3621 "configure" 3581#line 3582 "configure"
3621#include "confdefs.h" 3582#include "confdefs.h"
3622/* System header to define __stub macros and hopefully few prototypes, 3583/* System header to define __stub macros and hopefully few prototypes,
3623 which can conflict with char malloc_set_state(); below. */ 3584 which can conflict with char malloc_set_state(); below. */
@@ -3640,7 +3601,7 @@ malloc_set_state();
3640 3601
3641; return 0; } 3602; return 0; }
3642EOF 3603EOF
3643if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3604if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3644 rm -rf conftest* 3605 rm -rf conftest*
3645 eval "ac_cv_func_malloc_set_state=yes" 3606 eval "ac_cv_func_malloc_set_state=yes"
3646else 3607else
@@ -3661,19 +3622,19 @@ doug_lea_malloc=no
3661fi 3622fi
3662 3623
3663echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3624echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3664echo "configure:3665: checking whether __after_morecore_hook exists" >&5 3625echo "configure:3626: checking whether __after_morecore_hook exists" >&5
3665if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3626if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3666 echo $ac_n "(cached) $ac_c" 1>&6 3627 echo $ac_n "(cached) $ac_c" 1>&6
3667else 3628else
3668 cat > conftest.$ac_ext <<EOF 3629 cat > conftest.$ac_ext <<EOF
3669#line 3670 "configure" 3630#line 3631 "configure"
3670#include "confdefs.h" 3631#include "confdefs.h"
3671extern void (* __after_morecore_hook)(); 3632extern void (* __after_morecore_hook)();
3672int main() { 3633int main() {
3673__after_morecore_hook = 0 3634__after_morecore_hook = 0
3674; return 0; } 3635; return 0; }
3675EOF 3636EOF
3676if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3637if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3677 rm -rf conftest* 3638 rm -rf conftest*
3678 emacs_cv_var___after_morecore_hook=yes 3639 emacs_cv_var___after_morecore_hook=yes
3679else 3640else
@@ -3720,7 +3681,7 @@ fi
3720LIBS="$libsrc_libs $LIBS" 3681LIBS="$libsrc_libs $LIBS"
3721 3682
3722echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3683echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3723echo "configure:3724: checking for dnet_ntoa in -ldnet" >&5 3684echo "configure:3685: checking for dnet_ntoa in -ldnet" >&5
3724ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3685ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3725if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3686if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3726 echo $ac_n "(cached) $ac_c" 1>&6 3687 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3728,7 +3689,7 @@ else
3728 ac_save_LIBS="$LIBS" 3689 ac_save_LIBS="$LIBS"
3729LIBS="-ldnet $LIBS" 3690LIBS="-ldnet $LIBS"
3730cat > conftest.$ac_ext <<EOF 3691cat > conftest.$ac_ext <<EOF
3731#line 3732 "configure" 3692#line 3693 "configure"
3732#include "confdefs.h" 3693#include "confdefs.h"
3733/* Override any gcc2 internal prototype to avoid an error. */ 3694/* Override any gcc2 internal prototype to avoid an error. */
3734/* We use char because int might match the return type of a gcc2 3695/* We use char because int might match the return type of a gcc2
@@ -3739,7 +3700,7 @@ int main() {
3739dnet_ntoa() 3700dnet_ntoa()
3740; return 0; } 3701; return 0; }
3741EOF 3702EOF
3742if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3703if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3743 rm -rf conftest* 3704 rm -rf conftest*
3744 eval "ac_cv_lib_$ac_lib_var=yes" 3705 eval "ac_cv_lib_$ac_lib_var=yes"
3745else 3706else
@@ -3768,7 +3729,7 @@ fi
3768 3729
3769 3730
3770echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3731echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3771echo "configure:3772: checking for main in -lXbsd" >&5 3732echo "configure:3733: checking for main in -lXbsd" >&5
3772ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3733ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3773if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3734if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3774 echo $ac_n "(cached) $ac_c" 1>&6 3735 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3776,14 +3737,14 @@ else
3776 ac_save_LIBS="$LIBS" 3737 ac_save_LIBS="$LIBS"
3777LIBS="-lXbsd $LIBS" 3738LIBS="-lXbsd $LIBS"
3778cat > conftest.$ac_ext <<EOF 3739cat > conftest.$ac_ext <<EOF
3779#line 3780 "configure" 3740#line 3741 "configure"
3780#include "confdefs.h" 3741#include "confdefs.h"
3781 3742
3782int main() { 3743int main() {
3783main() 3744main()
3784; return 0; } 3745; return 0; }
3785EOF 3746EOF
3786if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3747if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3787 rm -rf conftest* 3748 rm -rf conftest*
3788 eval "ac_cv_lib_$ac_lib_var=yes" 3749 eval "ac_cv_lib_$ac_lib_var=yes"
3789else 3750else
@@ -3805,7 +3766,7 @@ fi
3805 3766
3806 3767
3807echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3768echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3808echo "configure:3809: checking for cma_open in -lpthreads" >&5 3769echo "configure:3770: checking for cma_open in -lpthreads" >&5
3809ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3770ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3810if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3771if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3811 echo $ac_n "(cached) $ac_c" 1>&6 3772 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3813,7 +3774,7 @@ else
3813 ac_save_LIBS="$LIBS" 3774 ac_save_LIBS="$LIBS"
3814LIBS="-lpthreads $LIBS" 3775LIBS="-lpthreads $LIBS"
3815cat > conftest.$ac_ext <<EOF 3776cat > conftest.$ac_ext <<EOF
3816#line 3817 "configure" 3777#line 3778 "configure"
3817#include "confdefs.h" 3778#include "confdefs.h"
3818/* Override any gcc2 internal prototype to avoid an error. */ 3779/* Override any gcc2 internal prototype to avoid an error. */
3819/* We use char because int might match the return type of a gcc2 3780/* We use char because int might match the return type of a gcc2
@@ -3824,7 +3785,7 @@ int main() {
3824cma_open() 3785cma_open()
3825; return 0; } 3786; return 0; }
3826EOF 3787EOF
3827if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3788if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3828 rm -rf conftest* 3789 rm -rf conftest*
3829 eval "ac_cv_lib_$ac_lib_var=yes" 3790 eval "ac_cv_lib_$ac_lib_var=yes"
3830else 3791else
@@ -3853,7 +3814,7 @@ fi
3853 3814
3854 3815
3855echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3816echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3856echo "configure:3857: checking for XFree86 in /usr/X386" >&5 3817echo "configure:3818: checking for XFree86 in /usr/X386" >&5
3857if test -d /usr/X386/include; then 3818if test -d /usr/X386/include; then
3858 HAVE_XFREE386=yes 3819 HAVE_XFREE386=yes
3859 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3820 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3882,16 +3843,16 @@ if test "${HAVE_X11}" = "yes"; then
3882 3843
3883 if test "${opsys}" = "gnu-linux"; then 3844 if test "${opsys}" = "gnu-linux"; then
3884 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3845 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3885echo "configure:3886: checking whether X on GNU/Linux needs -b to link" >&5 3846echo "configure:3847: checking whether X on GNU/Linux needs -b to link" >&5
3886 cat > conftest.$ac_ext <<EOF 3847 cat > conftest.$ac_ext <<EOF
3887#line 3888 "configure" 3848#line 3849 "configure"
3888#include "confdefs.h" 3849#include "confdefs.h"
3889 3850
3890int main() { 3851int main() {
3891XOpenDisplay ("foo"); 3852XOpenDisplay ("foo");
3892; return 0; } 3853; return 0; }
3893EOF 3854EOF
3894if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3855if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3895 rm -rf conftest* 3856 rm -rf conftest*
3896 xlinux_first_failure=no 3857 xlinux_first_failure=no
3897else 3858else
@@ -3911,14 +3872,14 @@ rm -f conftest*
3911 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3872 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3912 LIBS="$LIBS -b i486-linuxaout" 3873 LIBS="$LIBS -b i486-linuxaout"
3913 cat > conftest.$ac_ext <<EOF 3874 cat > conftest.$ac_ext <<EOF
3914#line 3915 "configure" 3875#line 3876 "configure"
3915#include "confdefs.h" 3876#include "confdefs.h"
3916 3877
3917int main() { 3878int main() {
3918XOpenDisplay ("foo"); 3879XOpenDisplay ("foo");
3919; return 0; } 3880; return 0; }
3920EOF 3881EOF
3921if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3882if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3922 rm -rf conftest* 3883 rm -rf conftest*
3923 xlinux_second_failure=no 3884 xlinux_second_failure=no
3924else 3885else
@@ -3948,12 +3909,12 @@ rm -f conftest*
3948XScreenNumberOfScreen XSetWMProtocols 3909XScreenNumberOfScreen XSetWMProtocols
3949do 3910do
3950echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3911echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3951echo "configure:3952: checking for $ac_func" >&5 3912echo "configure:3913: checking for $ac_func" >&5
3952if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3913if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3953 echo $ac_n "(cached) $ac_c" 1>&6 3914 echo $ac_n "(cached) $ac_c" 1>&6
3954else 3915else
3955 cat > conftest.$ac_ext <<EOF 3916 cat > conftest.$ac_ext <<EOF
3956#line 3957 "configure" 3917#line 3918 "configure"
3957#include "confdefs.h" 3918#include "confdefs.h"
3958/* System header to define __stub macros and hopefully few prototypes, 3919/* System header to define __stub macros and hopefully few prototypes,
3959 which can conflict with char $ac_func(); below. */ 3920 which can conflict with char $ac_func(); below. */
@@ -3976,7 +3937,7 @@ $ac_func();
3976 3937
3977; return 0; } 3938; return 0; }
3978EOF 3939EOF
3979if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3940if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3980 rm -rf conftest* 3941 rm -rf conftest*
3981 eval "ac_cv_func_$ac_func=yes" 3942 eval "ac_cv_func_$ac_func=yes"
3982else 3943else
@@ -4004,12 +3965,12 @@ fi
4004 3965
4005if test "${window_system}" = "x11"; then 3966if test "${window_system}" = "x11"; then
4006 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3967 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4007echo "configure:4008: checking X11 version 6" >&5 3968echo "configure:3969: checking X11 version 6" >&5
4008 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3969 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4009 echo $ac_n "(cached) $ac_c" 1>&6 3970 echo $ac_n "(cached) $ac_c" 1>&6
4010else 3971else
4011 cat > conftest.$ac_ext <<EOF 3972 cat > conftest.$ac_ext <<EOF
4012#line 4013 "configure" 3973#line 3974 "configure"
4013#include "confdefs.h" 3974#include "confdefs.h"
4014#include <X11/Xlib.h> 3975#include <X11/Xlib.h>
4015int main() { 3976int main() {
@@ -4019,7 +3980,7 @@ fail;
4019 3980
4020; return 0; } 3981; return 0; }
4021EOF 3982EOF
4022if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3983if { (eval echo configure:3984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4023 rm -rf conftest* 3984 rm -rf conftest*
4024 emacs_cv_x11_version_6=yes 3985 emacs_cv_x11_version_6=yes
4025else 3986else
@@ -4044,12 +4005,12 @@ fi
4044 4005
4045if test "${window_system}" = "x11"; then 4006if test "${window_system}" = "x11"; then
4046 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4007 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4047echo "configure:4048: checking X11 version 5" >&5 4008echo "configure:4009: checking X11 version 5" >&5
4048 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4009 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4049 echo $ac_n "(cached) $ac_c" 1>&6 4010 echo $ac_n "(cached) $ac_c" 1>&6
4050else 4011else
4051 cat > conftest.$ac_ext <<EOF 4012 cat > conftest.$ac_ext <<EOF
4052#line 4053 "configure" 4013#line 4014 "configure"
4053#include "confdefs.h" 4014#include "confdefs.h"
4054#include <X11/Xlib.h> 4015#include <X11/Xlib.h>
4055int main() { 4016int main() {
@@ -4059,7 +4020,7 @@ fail;
4059 4020
4060; return 0; } 4021; return 0; }
4061EOF 4022EOF
4062if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4023if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4063 rm -rf conftest* 4024 rm -rf conftest*
4064 emacs_cv_x11_version_5=yes 4025 emacs_cv_x11_version_5=yes
4065else 4026else
@@ -4087,12 +4048,12 @@ fi
4087if test x"${USE_X_TOOLKIT}" = xmaybe; then 4048if test x"${USE_X_TOOLKIT}" = xmaybe; then
4088 if test x"${HAVE_X11R5}" = xyes; then 4049 if test x"${HAVE_X11R5}" = xyes; then
4089 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4050 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4090echo "configure:4091: checking X11 version 5 with Xaw" >&5 4051echo "configure:4052: checking X11 version 5 with Xaw" >&5
4091 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4052 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4092 echo $ac_n "(cached) $ac_c" 1>&6 4053 echo $ac_n "(cached) $ac_c" 1>&6
4093else 4054else
4094 cat > conftest.$ac_ext <<EOF 4055 cat > conftest.$ac_ext <<EOF
4095#line 4096 "configure" 4056#line 4057 "configure"
4096#include "confdefs.h" 4057#include "confdefs.h"
4097 4058
4098#include <X11/Intrinsic.h> 4059#include <X11/Intrinsic.h>
@@ -4101,7 +4062,7 @@ int main() {
4101 4062
4102; return 0; } 4063; return 0; }
4103EOF 4064EOF
4104if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4065if { (eval echo configure:4066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4105 rm -rf conftest* 4066 rm -rf conftest*
4106 emacs_cv_x11_version_5_with_xaw=yes 4067 emacs_cv_x11_version_5_with_xaw=yes
4107else 4068else
@@ -4129,12 +4090,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4129 4090
4130if test "${USE_X_TOOLKIT}" != "none"; then 4091if test "${USE_X_TOOLKIT}" != "none"; then
4131 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4092 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4132echo "configure:4133: checking X11 toolkit version" >&5 4093echo "configure:4094: checking X11 toolkit version" >&5
4133 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4094 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4134 echo $ac_n "(cached) $ac_c" 1>&6 4095 echo $ac_n "(cached) $ac_c" 1>&6
4135else 4096else
4136 cat > conftest.$ac_ext <<EOF 4097 cat > conftest.$ac_ext <<EOF
4137#line 4138 "configure" 4098#line 4099 "configure"
4138#include "confdefs.h" 4099#include "confdefs.h"
4139#include <X11/Intrinsic.h> 4100#include <X11/Intrinsic.h>
4140int main() { 4101int main() {
@@ -4144,7 +4105,7 @@ fail;
4144 4105
4145; return 0; } 4106; return 0; }
4146EOF 4107EOF
4147if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4108if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4148 rm -rf conftest* 4109 rm -rf conftest*
4149 emacs_cv_x11_toolkit_version_6=yes 4110 emacs_cv_x11_toolkit_version_6=yes
4150else 4111else
@@ -4174,7 +4135,7 @@ EOF
4174 LIBS="-lXt $LIBS" 4135 LIBS="-lXt $LIBS"
4175 fi 4136 fi
4176 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4137 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4177echo "configure:4178: checking for XmuConvertStandardSelection in -lXmu" >&5 4138echo "configure:4139: checking for XmuConvertStandardSelection in -lXmu" >&5
4178ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4139ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4179if 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
4180 echo $ac_n "(cached) $ac_c" 1>&6 4141 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4182,7 +4143,7 @@ else
4182 ac_save_LIBS="$LIBS" 4143 ac_save_LIBS="$LIBS"
4183LIBS="-lXmu $LIBS" 4144LIBS="-lXmu $LIBS"
4184cat > conftest.$ac_ext <<EOF 4145cat > conftest.$ac_ext <<EOF
4185#line 4186 "configure" 4146#line 4147 "configure"
4186#include "confdefs.h" 4147#include "confdefs.h"
4187/* Override any gcc2 internal prototype to avoid an error. */ 4148/* Override any gcc2 internal prototype to avoid an error. */
4188/* 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
@@ -4193,7 +4154,7 @@ int main() {
4193XmuConvertStandardSelection() 4154XmuConvertStandardSelection()
4194; return 0; } 4155; return 0; }
4195EOF 4156EOF
4196if { (eval echo configure:4197: \"$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
4197 rm -rf conftest* 4158 rm -rf conftest*
4198 eval "ac_cv_lib_$ac_lib_var=yes" 4159 eval "ac_cv_lib_$ac_lib_var=yes"
4199else 4160else
@@ -4225,12 +4186,12 @@ fi
4225 4186
4226if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4187if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4227 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4188 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4228echo "configure:4229: checking for Motif version 2.1" >&5 4189echo "configure:4190: checking for Motif version 2.1" >&5
4229if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4190if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4230 echo $ac_n "(cached) $ac_c" 1>&6 4191 echo $ac_n "(cached) $ac_c" 1>&6
4231else 4192else
4232 cat > conftest.$ac_ext <<EOF 4193 cat > conftest.$ac_ext <<EOF
4233#line 4234 "configure" 4194#line 4195 "configure"
4234#include "confdefs.h" 4195#include "confdefs.h"
4235#include <Xm/Xm.h> 4196#include <Xm/Xm.h>
4236int main() { 4197int main() {
@@ -4241,7 +4202,7 @@ Motif version prior to 2.1.
4241#endif 4202#endif
4242; return 0; } 4203; return 0; }
4243EOF 4204EOF
4244if { (eval echo configure:4245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4205if { (eval echo configure:4206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4245 rm -rf conftest* 4206 rm -rf conftest*
4246 emacs_cv_motif_version_2_1=yes 4207 emacs_cv_motif_version_2_1=yes
4247else 4208else
@@ -4261,7 +4222,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4261EOF 4222EOF
4262 4223
4263 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4224 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4264echo "configure:4265: checking for XpCreateContext in -lXp" >&5 4225echo "configure:4226: checking for XpCreateContext in -lXp" >&5
4265ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4226ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4266if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4267 echo $ac_n "(cached) $ac_c" 1>&6 4228 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4269,7 +4230,7 @@ else
4269 ac_save_LIBS="$LIBS" 4230 ac_save_LIBS="$LIBS"
4270LIBS="-lXp $LIBS" 4231LIBS="-lXp $LIBS"
4271cat > conftest.$ac_ext <<EOF 4232cat > conftest.$ac_ext <<EOF
4272#line 4273 "configure" 4233#line 4234 "configure"
4273#include "confdefs.h" 4234#include "confdefs.h"
4274/* Override any gcc2 internal prototype to avoid an error. */ 4235/* Override any gcc2 internal prototype to avoid an error. */
4275/* We use char because int might match the return type of a gcc2 4236/* We use char because int might match the return type of a gcc2
@@ -4280,7 +4241,7 @@ int main() {
4280XpCreateContext() 4241XpCreateContext()
4281; return 0; } 4242; return 0; }
4282EOF 4243EOF
4283if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4244if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4284 rm -rf conftest* 4245 rm -rf conftest*
4285 eval "ac_cv_lib_$ac_lib_var=yes" 4246 eval "ac_cv_lib_$ac_lib_var=yes"
4286else 4247else
@@ -4318,17 +4279,17 @@ if test "${HAVE_X11}" = "yes"; then
4318 CFLAGS="${LD_SWITCH_X_SITE}" 4279 CFLAGS="${LD_SWITCH_X_SITE}"
4319 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4280 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4320echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4281echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4321echo "configure:4322: checking for X11/Xaw3d/Scrollbar.h" >&5 4282echo "configure:4283: checking for X11/Xaw3d/Scrollbar.h" >&5
4322if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4283if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4323 echo $ac_n "(cached) $ac_c" 1>&6 4284 echo $ac_n "(cached) $ac_c" 1>&6
4324else 4285else
4325 cat > conftest.$ac_ext <<EOF 4286 cat > conftest.$ac_ext <<EOF
4326#line 4327 "configure" 4287#line 4288 "configure"
4327#include "confdefs.h" 4288#include "confdefs.h"
4328#include <X11/Xaw3d/Scrollbar.h> 4289#include <X11/Xaw3d/Scrollbar.h>
4329EOF 4290EOF
4330ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4291ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4331{ (eval echo configure:4332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4292{ (eval echo configure:4293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4332ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4293ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4333if test -z "$ac_err"; then 4294if test -z "$ac_err"; then
4334 rm -rf conftest* 4295 rm -rf conftest*
@@ -4345,7 +4306,7 @@ fi
4345if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4306if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4346 echo "$ac_t""yes" 1>&6 4307 echo "$ac_t""yes" 1>&6
4347 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4308 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4348echo "configure:4349: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4309echo "configure:4310: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4349ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4310ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4350if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4311if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4351 echo $ac_n "(cached) $ac_c" 1>&6 4312 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4353,7 +4314,7 @@ else
4353 ac_save_LIBS="$LIBS" 4314 ac_save_LIBS="$LIBS"
4354LIBS="-lXaw3d -lX11 $LIBS" 4315LIBS="-lXaw3d -lX11 $LIBS"
4355cat > conftest.$ac_ext <<EOF 4316cat > conftest.$ac_ext <<EOF
4356#line 4357 "configure" 4317#line 4318 "configure"
4357#include "confdefs.h" 4318#include "confdefs.h"
4358/* Override any gcc2 internal prototype to avoid an error. */ 4319/* Override any gcc2 internal prototype to avoid an error. */
4359/* We use char because int might match the return type of a gcc2 4320/* We use char because int might match the return type of a gcc2
@@ -4364,7 +4325,7 @@ int main() {
4364XawScrollbarSetThumb() 4325XawScrollbarSetThumb()
4365; return 0; } 4326; return 0; }
4366EOF 4327EOF
4367if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4328if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4368 rm -rf conftest* 4329 rm -rf conftest*
4369 eval "ac_cv_lib_$ac_lib_var=yes" 4330 eval "ac_cv_lib_$ac_lib_var=yes"
4370else 4331else
@@ -4428,17 +4389,17 @@ if test "${HAVE_X11}" = "yes"; then
4428 CFLAGS="${LD_SWITCH_X_SITE}" 4389 CFLAGS="${LD_SWITCH_X_SITE}"
4429 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4390 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4430echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4391echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4431echo "configure:4432: checking for X11/xpm.h" >&5 4392echo "configure:4393: checking for X11/xpm.h" >&5
4432if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4393if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4433 echo $ac_n "(cached) $ac_c" 1>&6 4394 echo $ac_n "(cached) $ac_c" 1>&6
4434else 4395else
4435 cat > conftest.$ac_ext <<EOF 4396 cat > conftest.$ac_ext <<EOF
4436#line 4437 "configure" 4397#line 4398 "configure"
4437#include "confdefs.h" 4398#include "confdefs.h"
4438#include <X11/xpm.h> 4399#include <X11/xpm.h>
4439EOF 4400EOF
4440ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4401ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4441{ (eval echo configure:4442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4402{ (eval echo configure:4403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4442ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4403ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4443if test -z "$ac_err"; then 4404if test -z "$ac_err"; then
4444 rm -rf conftest* 4405 rm -rf conftest*
@@ -4455,7 +4416,7 @@ fi
4455if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4416if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4456 echo "$ac_t""yes" 1>&6 4417 echo "$ac_t""yes" 1>&6
4457 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4418 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4458echo "configure:4459: checking for XpmReadFileToPixmap in -lXpm" >&5 4419echo "configure:4420: checking for XpmReadFileToPixmap in -lXpm" >&5
4459ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4420ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4460if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4421if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4461 echo $ac_n "(cached) $ac_c" 1>&6 4422 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4463,7 +4424,7 @@ else
4463 ac_save_LIBS="$LIBS" 4424 ac_save_LIBS="$LIBS"
4464LIBS="-lXpm -lX11 $LIBS" 4425LIBS="-lXpm -lX11 $LIBS"
4465cat > conftest.$ac_ext <<EOF 4426cat > conftest.$ac_ext <<EOF
4466#line 4467 "configure" 4427#line 4428 "configure"
4467#include "confdefs.h" 4428#include "confdefs.h"
4468/* Override any gcc2 internal prototype to avoid an error. */ 4429/* Override any gcc2 internal prototype to avoid an error. */
4469/* We use char because int might match the return type of a gcc2 4430/* We use char because int might match the return type of a gcc2
@@ -4474,7 +4435,7 @@ int main() {
4474XpmReadFileToPixmap() 4435XpmReadFileToPixmap()
4475; return 0; } 4436; return 0; }
4476EOF 4437EOF
4477if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4438if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4478 rm -rf conftest* 4439 rm -rf conftest*
4479 eval "ac_cv_lib_$ac_lib_var=yes" 4440 eval "ac_cv_lib_$ac_lib_var=yes"
4480else 4441else
@@ -4517,17 +4478,17 @@ if test "${HAVE_X11}" = "yes"; then
4517 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4478 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4518 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4479 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4519echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4480echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4520echo "configure:4521: checking for jerror.h" >&5 4481echo "configure:4482: checking for jerror.h" >&5
4521if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4482if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4522 echo $ac_n "(cached) $ac_c" 1>&6 4483 echo $ac_n "(cached) $ac_c" 1>&6
4523else 4484else
4524 cat > conftest.$ac_ext <<EOF 4485 cat > conftest.$ac_ext <<EOF
4525#line 4526 "configure" 4486#line 4487 "configure"
4526#include "confdefs.h" 4487#include "confdefs.h"
4527#include <jerror.h> 4488#include <jerror.h>
4528EOF 4489EOF
4529ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4490ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4530{ (eval echo configure:4531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4491{ (eval echo configure:4492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4531ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4492ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4532if test -z "$ac_err"; then 4493if test -z "$ac_err"; then
4533 rm -rf conftest* 4494 rm -rf conftest*
@@ -4544,7 +4505,7 @@ fi
4544if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4505if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4545 echo "$ac_t""yes" 1>&6 4506 echo "$ac_t""yes" 1>&6
4546 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4507 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4547echo "configure:4548: checking for jpeg_destroy_compress in -ljpeg" >&5 4508echo "configure:4509: checking for jpeg_destroy_compress in -ljpeg" >&5
4548ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4509ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4549if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4510if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4550 echo $ac_n "(cached) $ac_c" 1>&6 4511 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4552,7 +4513,7 @@ else
4552 ac_save_LIBS="$LIBS" 4513 ac_save_LIBS="$LIBS"
4553LIBS="-ljpeg -lX11 $LIBS" 4514LIBS="-ljpeg -lX11 $LIBS"
4554cat > conftest.$ac_ext <<EOF 4515cat > conftest.$ac_ext <<EOF
4555#line 4556 "configure" 4516#line 4517 "configure"
4556#include "confdefs.h" 4517#include "confdefs.h"
4557/* Override any gcc2 internal prototype to avoid an error. */ 4518/* Override any gcc2 internal prototype to avoid an error. */
4558/* We use char because int might match the return type of a gcc2 4519/* We use char because int might match the return type of a gcc2
@@ -4563,7 +4524,7 @@ int main() {
4563jpeg_destroy_compress() 4524jpeg_destroy_compress()
4564; return 0; } 4525; return 0; }
4565EOF 4526EOF
4566if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4527if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4567 rm -rf conftest* 4528 rm -rf conftest*
4568 eval "ac_cv_lib_$ac_lib_var=yes" 4529 eval "ac_cv_lib_$ac_lib_var=yes"
4569else 4530else
@@ -4606,17 +4567,17 @@ if test "${HAVE_X11}" = "yes"; then
4606 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4567 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4607 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4568 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4608echo $ac_n "checking for png.h""... $ac_c" 1>&6 4569echo $ac_n "checking for png.h""... $ac_c" 1>&6
4609echo "configure:4610: checking for png.h" >&5 4570echo "configure:4571: checking for png.h" >&5
4610if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4571if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4611 echo $ac_n "(cached) $ac_c" 1>&6 4572 echo $ac_n "(cached) $ac_c" 1>&6
4612else 4573else
4613 cat > conftest.$ac_ext <<EOF 4574 cat > conftest.$ac_ext <<EOF
4614#line 4615 "configure" 4575#line 4576 "configure"
4615#include "confdefs.h" 4576#include "confdefs.h"
4616#include <png.h> 4577#include <png.h>
4617EOF 4578EOF
4618ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4579ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4619{ (eval echo configure:4620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4580{ (eval echo configure:4581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4620ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4581ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4621if test -z "$ac_err"; then 4582if test -z "$ac_err"; then
4622 rm -rf conftest* 4583 rm -rf conftest*
@@ -4633,7 +4594,7 @@ fi
4633if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4594if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4634 echo "$ac_t""yes" 1>&6 4595 echo "$ac_t""yes" 1>&6
4635 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4596 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4636echo "configure:4637: checking for png_set_expand in -lpng" >&5 4597echo "configure:4598: checking for png_set_expand in -lpng" >&5
4637ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4598ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4638if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4639 echo $ac_n "(cached) $ac_c" 1>&6 4600 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4641,7 +4602,7 @@ else
4641 ac_save_LIBS="$LIBS" 4602 ac_save_LIBS="$LIBS"
4642LIBS="-lpng -lX11 -lz -lm $LIBS" 4603LIBS="-lpng -lX11 -lz -lm $LIBS"
4643cat > conftest.$ac_ext <<EOF 4604cat > conftest.$ac_ext <<EOF
4644#line 4645 "configure" 4605#line 4606 "configure"
4645#include "confdefs.h" 4606#include "confdefs.h"
4646/* Override any gcc2 internal prototype to avoid an error. */ 4607/* Override any gcc2 internal prototype to avoid an error. */
4647/* We use char because int might match the return type of a gcc2 4608/* We use char because int might match the return type of a gcc2
@@ -4652,7 +4613,7 @@ int main() {
4652png_set_expand() 4613png_set_expand()
4653; return 0; } 4614; return 0; }
4654EOF 4615EOF
4655if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4616if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4656 rm -rf conftest* 4617 rm -rf conftest*
4657 eval "ac_cv_lib_$ac_lib_var=yes" 4618 eval "ac_cv_lib_$ac_lib_var=yes"
4658else 4619else
@@ -4695,17 +4656,17 @@ if test "${HAVE_X11}" = "yes"; then
4695 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4656 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4696 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4657 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4697echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4658echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4698echo "configure:4699: checking for tiffio.h" >&5 4659echo "configure:4660: checking for tiffio.h" >&5
4699if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4660if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4700 echo $ac_n "(cached) $ac_c" 1>&6 4661 echo $ac_n "(cached) $ac_c" 1>&6
4701else 4662else
4702 cat > conftest.$ac_ext <<EOF 4663 cat > conftest.$ac_ext <<EOF
4703#line 4704 "configure" 4664#line 4665 "configure"
4704#include "confdefs.h" 4665#include "confdefs.h"
4705#include <tiffio.h> 4666#include <tiffio.h>
4706EOF 4667EOF
4707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4668ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4708{ (eval echo configure:4709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4669{ (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4709ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4670ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4710if test -z "$ac_err"; then 4671if test -z "$ac_err"; then
4711 rm -rf conftest* 4672 rm -rf conftest*
@@ -4725,7 +4686,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4725 # At least one tiff package requires the jpeg library. 4686 # At least one tiff package requires the jpeg library.
4726 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4687 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4727 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4688 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4728echo "configure:4729: checking for TIFFGetVersion in -ltiff" >&5 4689echo "configure:4690: checking for TIFFGetVersion in -ltiff" >&5
4729ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4690ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4730if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4691if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4731 echo $ac_n "(cached) $ac_c" 1>&6 4692 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4733,7 +4694,7 @@ else
4733 ac_save_LIBS="$LIBS" 4694 ac_save_LIBS="$LIBS"
4734LIBS="-ltiff $tifflibs $LIBS" 4695LIBS="-ltiff $tifflibs $LIBS"
4735cat > conftest.$ac_ext <<EOF 4696cat > conftest.$ac_ext <<EOF
4736#line 4737 "configure" 4697#line 4698 "configure"
4737#include "confdefs.h" 4698#include "confdefs.h"
4738/* Override any gcc2 internal prototype to avoid an error. */ 4699/* Override any gcc2 internal prototype to avoid an error. */
4739/* We use char because int might match the return type of a gcc2 4700/* We use char because int might match the return type of a gcc2
@@ -4744,7 +4705,7 @@ int main() {
4744TIFFGetVersion() 4705TIFFGetVersion()
4745; return 0; } 4706; return 0; }
4746EOF 4707EOF
4747if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4708if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4748 rm -rf conftest* 4709 rm -rf conftest*
4749 eval "ac_cv_lib_$ac_lib_var=yes" 4710 eval "ac_cv_lib_$ac_lib_var=yes"
4750else 4711else
@@ -4787,17 +4748,17 @@ if test "${HAVE_X11}" = "yes"; then
4787 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4748 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4788 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4749 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4789echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4750echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4790echo "configure:4791: checking for gif_lib.h" >&5 4751echo "configure:4752: checking for gif_lib.h" >&5
4791if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4752if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4792 echo $ac_n "(cached) $ac_c" 1>&6 4753 echo $ac_n "(cached) $ac_c" 1>&6
4793else 4754else
4794 cat > conftest.$ac_ext <<EOF 4755 cat > conftest.$ac_ext <<EOF
4795#line 4796 "configure" 4756#line 4757 "configure"
4796#include "confdefs.h" 4757#include "confdefs.h"
4797#include <gif_lib.h> 4758#include <gif_lib.h>
4798EOF 4759EOF
4799ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4760ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4800{ (eval echo configure:4801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4761{ (eval echo configure:4762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4801ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4762ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4802if test -z "$ac_err"; then 4763if test -z "$ac_err"; then
4803 rm -rf conftest* 4764 rm -rf conftest*
@@ -4814,7 +4775,7 @@ fi
4814if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4775if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4815 echo "$ac_t""yes" 1>&6 4776 echo "$ac_t""yes" 1>&6
4816 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4777 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4817echo "configure:4818: checking for DGifOpen in -lungif" >&5 4778echo "configure:4779: checking for DGifOpen in -lungif" >&5
4818ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4779ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4819if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4780if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4820 echo $ac_n "(cached) $ac_c" 1>&6 4781 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4822,7 +4783,7 @@ else
4822 ac_save_LIBS="$LIBS" 4783 ac_save_LIBS="$LIBS"
4823LIBS="-lungif -lX11 $LIBS" 4784LIBS="-lungif -lX11 $LIBS"
4824cat > conftest.$ac_ext <<EOF 4785cat > conftest.$ac_ext <<EOF
4825#line 4826 "configure" 4786#line 4787 "configure"
4826#include "confdefs.h" 4787#include "confdefs.h"
4827/* Override any gcc2 internal prototype to avoid an error. */ 4788/* Override any gcc2 internal prototype to avoid an error. */
4828/* We use char because int might match the return type of a gcc2 4789/* We use char because int might match the return type of a gcc2
@@ -4833,7 +4794,7 @@ int main() {
4833DGifOpen() 4794DGifOpen()
4834; return 0; } 4795; return 0; }
4835EOF 4796EOF
4836if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4797if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4837 rm -rf conftest* 4798 rm -rf conftest*
4838 eval "ac_cv_lib_$ac_lib_var=yes" 4799 eval "ac_cv_lib_$ac_lib_var=yes"
4839else 4800else
@@ -4870,19 +4831,19 @@ fi
4870 4831
4871# If netdb.h doesn't declare h_errno, we must declare it by hand. 4832# If netdb.h doesn't declare h_errno, we must declare it by hand.
4872echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4833echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4873echo "configure:4874: checking whether netdb declares h_errno" >&5 4834echo "configure:4835: checking whether netdb declares h_errno" >&5
4874if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4835if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4875 echo $ac_n "(cached) $ac_c" 1>&6 4836 echo $ac_n "(cached) $ac_c" 1>&6
4876else 4837else
4877 cat > conftest.$ac_ext <<EOF 4838 cat > conftest.$ac_ext <<EOF
4878#line 4879 "configure" 4839#line 4840 "configure"
4879#include "confdefs.h" 4840#include "confdefs.h"
4880#include <netdb.h> 4841#include <netdb.h>
4881int main() { 4842int main() {
4882return h_errno; 4843return h_errno;
4883; return 0; } 4844; return 0; }
4884EOF 4845EOF
4885if { (eval echo configure:4886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4846if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4886 rm -rf conftest* 4847 rm -rf conftest*
4887 emacs_cv_netdb_declares_h_errno=yes 4848 emacs_cv_netdb_declares_h_errno=yes
4888else 4849else
@@ -4905,19 +4866,19 @@ fi
4905# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4866# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4906# for constant arguments. Useless! 4867# for constant arguments. Useless!
4907echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4868echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4908echo "configure:4909: checking for working alloca.h" >&5 4869echo "configure:4870: checking for working alloca.h" >&5
4909if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4870if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4910 echo $ac_n "(cached) $ac_c" 1>&6 4871 echo $ac_n "(cached) $ac_c" 1>&6
4911else 4872else
4912 cat > conftest.$ac_ext <<EOF 4873 cat > conftest.$ac_ext <<EOF
4913#line 4914 "configure" 4874#line 4875 "configure"
4914#include "confdefs.h" 4875#include "confdefs.h"
4915#include <alloca.h> 4876#include <alloca.h>
4916int main() { 4877int main() {
4917void *p = alloca(2 * sizeof(int)); 4878char *p = alloca(2 * sizeof(int));
4918; return 0; } 4879; return 0; }
4919EOF 4880EOF
4920if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4881if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4921 rm -rf conftest* 4882 rm -rf conftest*
4922 ac_cv_header_alloca_h=yes 4883 ac_cv_header_alloca_h=yes
4923else 4884else
@@ -4938,12 +4899,12 @@ EOF
4938fi 4899fi
4939 4900
4940echo $ac_n "checking for alloca""... $ac_c" 1>&6 4901echo $ac_n "checking for alloca""... $ac_c" 1>&6
4941echo "configure:4942: checking for alloca" >&5 4902echo "configure:4903: checking for alloca" >&5
4942if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4903if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4943 echo $ac_n "(cached) $ac_c" 1>&6 4904 echo $ac_n "(cached) $ac_c" 1>&6
4944else 4905else
4945 cat > conftest.$ac_ext <<EOF 4906 cat > conftest.$ac_ext <<EOF
4946#line 4947 "configure" 4907#line 4908 "configure"
4947#include "confdefs.h" 4908#include "confdefs.h"
4948 4909
4949#ifdef __GNUC__ 4910#ifdef __GNUC__
@@ -4971,7 +4932,7 @@ int main() {
4971char *p = (char *) alloca(1); 4932char *p = (char *) alloca(1);
4972; return 0; } 4933; return 0; }
4973EOF 4934EOF
4974if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4935if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4975 rm -rf conftest* 4936 rm -rf conftest*
4976 ac_cv_func_alloca_works=yes 4937 ac_cv_func_alloca_works=yes
4977else 4938else
@@ -5003,12 +4964,12 @@ EOF
5003 4964
5004 4965
5005echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4966echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5006echo "configure:5007: checking whether alloca needs Cray hooks" >&5 4967echo "configure:4968: checking whether alloca needs Cray hooks" >&5
5007if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4968if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5008 echo $ac_n "(cached) $ac_c" 1>&6 4969 echo $ac_n "(cached) $ac_c" 1>&6
5009else 4970else
5010 cat > conftest.$ac_ext <<EOF 4971 cat > conftest.$ac_ext <<EOF
5011#line 5012 "configure" 4972#line 4973 "configure"
5012#include "confdefs.h" 4973#include "confdefs.h"
5013#if defined(CRAY) && ! defined(CRAY2) 4974#if defined(CRAY) && ! defined(CRAY2)
5014webecray 4975webecray
@@ -5033,12 +4994,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5033if test $ac_cv_os_cray = yes; then 4994if test $ac_cv_os_cray = yes; then
5034for ac_func in _getb67 GETB67 getb67; do 4995for ac_func in _getb67 GETB67 getb67; do
5035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5036echo "configure:5037: checking for $ac_func" >&5 4997echo "configure:4998: checking for $ac_func" >&5
5037if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4998if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5038 echo $ac_n "(cached) $ac_c" 1>&6 4999 echo $ac_n "(cached) $ac_c" 1>&6
5039else 5000else
5040 cat > conftest.$ac_ext <<EOF 5001 cat > conftest.$ac_ext <<EOF
5041#line 5042 "configure" 5002#line 5003 "configure"
5042#include "confdefs.h" 5003#include "confdefs.h"
5043/* System header to define __stub macros and hopefully few prototypes, 5004/* System header to define __stub macros and hopefully few prototypes,
5044 which can conflict with char $ac_func(); below. */ 5005 which can conflict with char $ac_func(); below. */
@@ -5061,7 +5022,7 @@ $ac_func();
5061 5022
5062; return 0; } 5023; return 0; }
5063EOF 5024EOF
5064if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5025if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5065 rm -rf conftest* 5026 rm -rf conftest*
5066 eval "ac_cv_func_$ac_func=yes" 5027 eval "ac_cv_func_$ac_func=yes"
5067else 5028else
@@ -5088,7 +5049,7 @@ done
5088fi 5049fi
5089 5050
5090echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5051echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5091echo "configure:5092: checking stack direction for C alloca" >&5 5052echo "configure:5053: checking stack direction for C alloca" >&5
5092if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5053if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5093 echo $ac_n "(cached) $ac_c" 1>&6 5054 echo $ac_n "(cached) $ac_c" 1>&6
5094else 5055else
@@ -5096,7 +5057,7 @@ else
5096 ac_cv_c_stack_direction=0 5057 ac_cv_c_stack_direction=0
5097else 5058else
5098 cat > conftest.$ac_ext <<EOF 5059 cat > conftest.$ac_ext <<EOF
5099#line 5100 "configure" 5060#line 5061 "configure"
5100#include "confdefs.h" 5061#include "confdefs.h"
5101find_stack_direction () 5062find_stack_direction ()
5102{ 5063{
@@ -5115,7 +5076,7 @@ main ()
5115 exit (find_stack_direction() < 0); 5076 exit (find_stack_direction() < 0);
5116} 5077}
5117EOF 5078EOF
5118if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5079if { (eval echo configure:5080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5119then 5080then
5120 ac_cv_c_stack_direction=1 5081 ac_cv_c_stack_direction=1
5121else 5082else
@@ -5140,7 +5101,7 @@ fi
5140# fmod, logb, and frexp are found in -lm on most systems. 5101# fmod, logb, and frexp are found in -lm on most systems.
5141# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5102# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5142echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5103echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5143echo "configure:5144: checking for sqrt in -lm" >&5 5104echo "configure:5105: checking for sqrt in -lm" >&5
5144ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5105ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5145if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5106if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5146 echo $ac_n "(cached) $ac_c" 1>&6 5107 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5148,7 +5109,7 @@ else
5148 ac_save_LIBS="$LIBS" 5109 ac_save_LIBS="$LIBS"
5149LIBS="-lm $LIBS" 5110LIBS="-lm $LIBS"
5150cat > conftest.$ac_ext <<EOF 5111cat > conftest.$ac_ext <<EOF
5151#line 5152 "configure" 5112#line 5113 "configure"
5152#include "confdefs.h" 5113#include "confdefs.h"
5153/* Override any gcc2 internal prototype to avoid an error. */ 5114/* Override any gcc2 internal prototype to avoid an error. */
5154/* We use char because int might match the return type of a gcc2 5115/* We use char because int might match the return type of a gcc2
@@ -5159,7 +5120,7 @@ int main() {
5159sqrt() 5120sqrt()
5160; return 0; } 5121; return 0; }
5161EOF 5122EOF
5162if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5123if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5163 rm -rf conftest* 5124 rm -rf conftest*
5164 eval "ac_cv_lib_$ac_lib_var=yes" 5125 eval "ac_cv_lib_$ac_lib_var=yes"
5165else 5126else
@@ -5189,7 +5150,7 @@ fi
5189 5150
5190# Check for mail-locking functions in a "mail" library 5151# Check for mail-locking functions in a "mail" library
5191echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5152echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5192echo "configure:5193: checking for maillock in -lmail" >&5 5153echo "configure:5154: checking for maillock in -lmail" >&5
5193ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5154ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5194if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5155if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5195 echo $ac_n "(cached) $ac_c" 1>&6 5156 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5197,7 +5158,7 @@ else
5197 ac_save_LIBS="$LIBS" 5158 ac_save_LIBS="$LIBS"
5198LIBS="-lmail $LIBS" 5159LIBS="-lmail $LIBS"
5199cat > conftest.$ac_ext <<EOF 5160cat > conftest.$ac_ext <<EOF
5200#line 5201 "configure" 5161#line 5162 "configure"
5201#include "confdefs.h" 5162#include "confdefs.h"
5202/* Override any gcc2 internal prototype to avoid an error. */ 5163/* Override any gcc2 internal prototype to avoid an error. */
5203/* We use char because int might match the return type of a gcc2 5164/* We use char because int might match the return type of a gcc2
@@ -5208,7 +5169,7 @@ int main() {
5208maillock() 5169maillock()
5209; return 0; } 5170; return 0; }
5210EOF 5171EOF
5211if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5172if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5212 rm -rf conftest* 5173 rm -rf conftest*
5213 eval "ac_cv_lib_$ac_lib_var=yes" 5174 eval "ac_cv_lib_$ac_lib_var=yes"
5214else 5175else
@@ -5236,7 +5197,7 @@ else
5236fi 5197fi
5237 5198
5238echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5199echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5239echo "configure:5240: checking for maillock in -llockfile" >&5 5200echo "configure:5201: checking for maillock in -llockfile" >&5
5240ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5201ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5241if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5202if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5242 echo $ac_n "(cached) $ac_c" 1>&6 5203 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5244,7 +5205,7 @@ else
5244 ac_save_LIBS="$LIBS" 5205 ac_save_LIBS="$LIBS"
5245LIBS="-llockfile $LIBS" 5206LIBS="-llockfile $LIBS"
5246cat > conftest.$ac_ext <<EOF 5207cat > conftest.$ac_ext <<EOF
5247#line 5248 "configure" 5208#line 5209 "configure"
5248#include "confdefs.h" 5209#include "confdefs.h"
5249/* Override any gcc2 internal prototype to avoid an error. */ 5210/* Override any gcc2 internal prototype to avoid an error. */
5250/* We use char because int might match the return type of a gcc2 5211/* We use char because int might match the return type of a gcc2
@@ -5255,7 +5216,7 @@ int main() {
5255maillock() 5216maillock()
5256; return 0; } 5217; return 0; }
5257EOF 5218EOF
5258if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5219if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5259 rm -rf conftest* 5220 rm -rf conftest*
5260 eval "ac_cv_lib_$ac_lib_var=yes" 5221 eval "ac_cv_lib_$ac_lib_var=yes"
5261else 5222else
@@ -5289,7 +5250,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5289 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5250 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5290set dummy liblockfile.so; ac_word=$2 5251set dummy liblockfile.so; ac_word=$2
5291echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5252echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5292echo "configure:5293: checking for $ac_word" >&5 5253echo "configure:5254: checking for $ac_word" >&5
5293if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5254if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5294 echo $ac_n "(cached) $ac_c" 1>&6 5255 echo $ac_n "(cached) $ac_c" 1>&6
5295else 5256else
@@ -5330,12 +5291,12 @@ fi
5330for ac_func in touchlock 5291for ac_func in touchlock
5331do 5292do
5332echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5293echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5333echo "configure:5334: checking for $ac_func" >&5 5294echo "configure:5295: checking for $ac_func" >&5
5334if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5295if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5335 echo $ac_n "(cached) $ac_c" 1>&6 5296 echo $ac_n "(cached) $ac_c" 1>&6
5336else 5297else
5337 cat > conftest.$ac_ext <<EOF 5298 cat > conftest.$ac_ext <<EOF
5338#line 5339 "configure" 5299#line 5300 "configure"
5339#include "confdefs.h" 5300#include "confdefs.h"
5340/* System header to define __stub macros and hopefully few prototypes, 5301/* System header to define __stub macros and hopefully few prototypes,
5341 which can conflict with char $ac_func(); below. */ 5302 which can conflict with char $ac_func(); below. */
@@ -5358,7 +5319,7 @@ $ac_func();
5358 5319
5359; return 0; } 5320; return 0; }
5360EOF 5321EOF
5361if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5322if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5362 rm -rf conftest* 5323 rm -rf conftest*
5363 eval "ac_cv_func_$ac_func=yes" 5324 eval "ac_cv_func_$ac_func=yes"
5364else 5325else
@@ -5386,17 +5347,17 @@ for ac_hdr in maillock.h
5386do 5347do
5387ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5348ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5388echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5349echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5389echo "configure:5390: checking for $ac_hdr" >&5 5350echo "configure:5351: checking for $ac_hdr" >&5
5390if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5351if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5391 echo $ac_n "(cached) $ac_c" 1>&6 5352 echo $ac_n "(cached) $ac_c" 1>&6
5392else 5353else
5393 cat > conftest.$ac_ext <<EOF 5354 cat > conftest.$ac_ext <<EOF
5394#line 5395 "configure" 5355#line 5356 "configure"
5395#include "confdefs.h" 5356#include "confdefs.h"
5396#include <$ac_hdr> 5357#include <$ac_hdr>
5397EOF 5358EOF
5398ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5359ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5399{ (eval echo configure:5400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5360{ (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5400ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5361ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5401if test -z "$ac_err"; then 5362if test -z "$ac_err"; then
5402 rm -rf conftest* 5363 rm -rf conftest*
@@ -5431,12 +5392,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5431__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5392__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5432do 5393do
5433echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5434echo "configure:5435: checking for $ac_func" >&5 5395echo "configure:5396: checking for $ac_func" >&5
5435if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5396if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5436 echo $ac_n "(cached) $ac_c" 1>&6 5397 echo $ac_n "(cached) $ac_c" 1>&6
5437else 5398else
5438 cat > conftest.$ac_ext <<EOF 5399 cat > conftest.$ac_ext <<EOF
5439#line 5440 "configure" 5400#line 5401 "configure"
5440#include "confdefs.h" 5401#include "confdefs.h"
5441/* System header to define __stub macros and hopefully few prototypes, 5402/* System header to define __stub macros and hopefully few prototypes,
5442 which can conflict with char $ac_func(); below. */ 5403 which can conflict with char $ac_func(); below. */
@@ -5459,7 +5420,7 @@ $ac_func();
5459 5420
5460; return 0; } 5421; return 0; }
5461EOF 5422EOF
5462if { (eval echo configure:5463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5423if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5463 rm -rf conftest* 5424 rm -rf conftest*
5464 eval "ac_cv_func_$ac_func=yes" 5425 eval "ac_cv_func_$ac_func=yes"
5465else 5426else
@@ -5489,7 +5450,7 @@ done
5489# It's better to believe a function is not available 5450# It's better to believe a function is not available
5490# than to expect to find it in ncurses. 5451# than to expect to find it in ncurses.
5491echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5452echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5492echo "configure:5493: checking for tparm in -lncurses" >&5 5453echo "configure:5454: checking for tparm in -lncurses" >&5
5493ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5454ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5494if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5455if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5495 echo $ac_n "(cached) $ac_c" 1>&6 5456 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5497,7 +5458,7 @@ else
5497 ac_save_LIBS="$LIBS" 5458 ac_save_LIBS="$LIBS"
5498LIBS="-lncurses $LIBS" 5459LIBS="-lncurses $LIBS"
5499cat > conftest.$ac_ext <<EOF 5460cat > conftest.$ac_ext <<EOF
5500#line 5501 "configure" 5461#line 5462 "configure"
5501#include "confdefs.h" 5462#include "confdefs.h"
5502/* Override any gcc2 internal prototype to avoid an error. */ 5463/* Override any gcc2 internal prototype to avoid an error. */
5503/* We use char because int might match the return type of a gcc2 5464/* We use char because int might match the return type of a gcc2
@@ -5508,7 +5469,7 @@ int main() {
5508tparm() 5469tparm()
5509; return 0; } 5470; return 0; }
5510EOF 5471EOF
5511if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5472if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5512 rm -rf conftest* 5473 rm -rf conftest*
5513 eval "ac_cv_lib_$ac_lib_var=yes" 5474 eval "ac_cv_lib_$ac_lib_var=yes"
5514else 5475else
@@ -5539,7 +5500,7 @@ fi
5539# These tell us which Kerberos-related libraries to use. 5500# These tell us which Kerberos-related libraries to use.
5540if test "${with_kerberos+set}" = set; then 5501if test "${with_kerberos+set}" = set; then
5541 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5502 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5542echo "configure:5543: checking for com_err in -lcom_err" >&5 5503echo "configure:5504: checking for com_err in -lcom_err" >&5
5543ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5504ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5544if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5505if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5545 echo $ac_n "(cached) $ac_c" 1>&6 5506 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5547,7 +5508,7 @@ else
5547 ac_save_LIBS="$LIBS" 5508 ac_save_LIBS="$LIBS"
5548LIBS="-lcom_err $LIBS" 5509LIBS="-lcom_err $LIBS"
5549cat > conftest.$ac_ext <<EOF 5510cat > conftest.$ac_ext <<EOF
5550#line 5551 "configure" 5511#line 5512 "configure"
5551#include "confdefs.h" 5512#include "confdefs.h"
5552/* Override any gcc2 internal prototype to avoid an error. */ 5513/* Override any gcc2 internal prototype to avoid an error. */
5553/* We use char because int might match the return type of a gcc2 5514/* We use char because int might match the return type of a gcc2
@@ -5558,7 +5519,7 @@ int main() {
5558com_err() 5519com_err()
5559; return 0; } 5520; return 0; }
5560EOF 5521EOF
5561if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5522if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5562 rm -rf conftest* 5523 rm -rf conftest*
5563 eval "ac_cv_lib_$ac_lib_var=yes" 5524 eval "ac_cv_lib_$ac_lib_var=yes"
5564else 5525else
@@ -5586,7 +5547,7 @@ else
5586fi 5547fi
5587 5548
5588 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5549 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5589echo "configure:5590: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5550echo "configure:5551: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5590ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5551ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5591if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5552if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5592 echo $ac_n "(cached) $ac_c" 1>&6 5553 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5594,7 +5555,7 @@ else
5594 ac_save_LIBS="$LIBS" 5555 ac_save_LIBS="$LIBS"
5595LIBS="-lk5crypto $LIBS" 5556LIBS="-lk5crypto $LIBS"
5596cat > conftest.$ac_ext <<EOF 5557cat > conftest.$ac_ext <<EOF
5597#line 5598 "configure" 5558#line 5559 "configure"
5598#include "confdefs.h" 5559#include "confdefs.h"
5599/* Override any gcc2 internal prototype to avoid an error. */ 5560/* Override any gcc2 internal prototype to avoid an error. */
5600/* We use char because int might match the return type of a gcc2 5561/* We use char because int might match the return type of a gcc2
@@ -5605,7 +5566,7 @@ int main() {
5605mit_des_cbc_encrypt() 5566mit_des_cbc_encrypt()
5606; return 0; } 5567; return 0; }
5607EOF 5568EOF
5608if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5569if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5609 rm -rf conftest* 5570 rm -rf conftest*
5610 eval "ac_cv_lib_$ac_lib_var=yes" 5571 eval "ac_cv_lib_$ac_lib_var=yes"
5611else 5572else
@@ -5633,7 +5594,7 @@ else
5633fi 5594fi
5634 5595
5635 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5596 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5636echo "configure:5637: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5597echo "configure:5598: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5637ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5598ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5638if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5639 echo $ac_n "(cached) $ac_c" 1>&6 5600 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5641,7 +5602,7 @@ else
5641 ac_save_LIBS="$LIBS" 5602 ac_save_LIBS="$LIBS"
5642LIBS="-lcrypto $LIBS" 5603LIBS="-lcrypto $LIBS"
5643cat > conftest.$ac_ext <<EOF 5604cat > conftest.$ac_ext <<EOF
5644#line 5645 "configure" 5605#line 5606 "configure"
5645#include "confdefs.h" 5606#include "confdefs.h"
5646/* Override any gcc2 internal prototype to avoid an error. */ 5607/* Override any gcc2 internal prototype to avoid an error. */
5647/* We use char because int might match the return type of a gcc2 5608/* We use char because int might match the return type of a gcc2
@@ -5652,7 +5613,7 @@ int main() {
5652mit_des_cbc_encrypt() 5613mit_des_cbc_encrypt()
5653; return 0; } 5614; return 0; }
5654EOF 5615EOF
5655if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5616if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5656 rm -rf conftest* 5617 rm -rf conftest*
5657 eval "ac_cv_lib_$ac_lib_var=yes" 5618 eval "ac_cv_lib_$ac_lib_var=yes"
5658else 5619else
@@ -5680,7 +5641,7 @@ else
5680fi 5641fi
5681 5642
5682 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5643 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5683echo "configure:5684: checking for krb5_init_context in -lkrb5" >&5 5644echo "configure:5645: checking for krb5_init_context in -lkrb5" >&5
5684ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5645ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5685if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5646if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5686 echo $ac_n "(cached) $ac_c" 1>&6 5647 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5688,7 +5649,7 @@ else
5688 ac_save_LIBS="$LIBS" 5649 ac_save_LIBS="$LIBS"
5689LIBS="-lkrb5 $LIBS" 5650LIBS="-lkrb5 $LIBS"
5690cat > conftest.$ac_ext <<EOF 5651cat > conftest.$ac_ext <<EOF
5691#line 5692 "configure" 5652#line 5653 "configure"
5692#include "confdefs.h" 5653#include "confdefs.h"
5693/* Override any gcc2 internal prototype to avoid an error. */ 5654/* Override any gcc2 internal prototype to avoid an error. */
5694/* We use char because int might match the return type of a gcc2 5655/* We use char because int might match the return type of a gcc2
@@ -5699,7 +5660,7 @@ int main() {
5699krb5_init_context() 5660krb5_init_context()
5700; return 0; } 5661; return 0; }
5701EOF 5662EOF
5702if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5663if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5703 rm -rf conftest* 5664 rm -rf conftest*
5704 eval "ac_cv_lib_$ac_lib_var=yes" 5665 eval "ac_cv_lib_$ac_lib_var=yes"
5705else 5666else
@@ -5728,7 +5689,7 @@ fi
5728 5689
5729 if test "${with_kerberos5+set}" != set; then 5690 if test "${with_kerberos5+set}" != set; then
5730 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5691 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5731echo "configure:5732: checking for des_cbc_encrypt in -ldes425" >&5 5692echo "configure:5693: checking for des_cbc_encrypt in -ldes425" >&5
5732ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5693ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5733if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5694if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5734 echo $ac_n "(cached) $ac_c" 1>&6 5695 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5736,7 +5697,7 @@ else
5736 ac_save_LIBS="$LIBS" 5697 ac_save_LIBS="$LIBS"
5737LIBS="-ldes425 $LIBS" 5698LIBS="-ldes425 $LIBS"
5738cat > conftest.$ac_ext <<EOF 5699cat > conftest.$ac_ext <<EOF
5739#line 5740 "configure" 5700#line 5701 "configure"
5740#include "confdefs.h" 5701#include "confdefs.h"
5741/* Override any gcc2 internal prototype to avoid an error. */ 5702/* Override any gcc2 internal prototype to avoid an error. */
5742/* We use char because int might match the return type of a gcc2 5703/* We use char because int might match the return type of a gcc2
@@ -5747,7 +5708,7 @@ int main() {
5747des_cbc_encrypt() 5708des_cbc_encrypt()
5748; return 0; } 5709; return 0; }
5749EOF 5710EOF
5750if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5711if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5751 rm -rf conftest* 5712 rm -rf conftest*
5752 eval "ac_cv_lib_$ac_lib_var=yes" 5713 eval "ac_cv_lib_$ac_lib_var=yes"
5753else 5714else
@@ -5773,7 +5734,7 @@ EOF
5773else 5734else
5774 echo "$ac_t""no" 1>&6 5735 echo "$ac_t""no" 1>&6
5775echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5736echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5776echo "configure:5777: checking for des_cbc_encrypt in -ldes" >&5 5737echo "configure:5738: checking for des_cbc_encrypt in -ldes" >&5
5777ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5738ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5778if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5739if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6 5740 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5781,7 +5742,7 @@ else
5781 ac_save_LIBS="$LIBS" 5742 ac_save_LIBS="$LIBS"
5782LIBS="-ldes $LIBS" 5743LIBS="-ldes $LIBS"
5783cat > conftest.$ac_ext <<EOF 5744cat > conftest.$ac_ext <<EOF
5784#line 5785 "configure" 5745#line 5746 "configure"
5785#include "confdefs.h" 5746#include "confdefs.h"
5786/* Override any gcc2 internal prototype to avoid an error. */ 5747/* Override any gcc2 internal prototype to avoid an error. */
5787/* We use char because int might match the return type of a gcc2 5748/* We use char because int might match the return type of a gcc2
@@ -5792,7 +5753,7 @@ int main() {
5792des_cbc_encrypt() 5753des_cbc_encrypt()
5793; return 0; } 5754; return 0; }
5794EOF 5755EOF
5795if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5756if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5796 rm -rf conftest* 5757 rm -rf conftest*
5797 eval "ac_cv_lib_$ac_lib_var=yes" 5758 eval "ac_cv_lib_$ac_lib_var=yes"
5798else 5759else
@@ -5822,7 +5783,7 @@ fi
5822fi 5783fi
5823 5784
5824 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5785 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5825echo "configure:5826: checking for krb_get_cred in -lkrb4" >&5 5786echo "configure:5787: checking for krb_get_cred in -lkrb4" >&5
5826ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5787ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5827if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5788if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5828 echo $ac_n "(cached) $ac_c" 1>&6 5789 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5830,7 +5791,7 @@ else
5830 ac_save_LIBS="$LIBS" 5791 ac_save_LIBS="$LIBS"
5831LIBS="-lkrb4 $LIBS" 5792LIBS="-lkrb4 $LIBS"
5832cat > conftest.$ac_ext <<EOF 5793cat > conftest.$ac_ext <<EOF
5833#line 5834 "configure" 5794#line 5795 "configure"
5834#include "confdefs.h" 5795#include "confdefs.h"
5835/* Override any gcc2 internal prototype to avoid an error. */ 5796/* Override any gcc2 internal prototype to avoid an error. */
5836/* We use char because int might match the return type of a gcc2 5797/* We use char because int might match the return type of a gcc2
@@ -5841,7 +5802,7 @@ int main() {
5841krb_get_cred() 5802krb_get_cred()
5842; return 0; } 5803; return 0; }
5843EOF 5804EOF
5844if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5805if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5845 rm -rf conftest* 5806 rm -rf conftest*
5846 eval "ac_cv_lib_$ac_lib_var=yes" 5807 eval "ac_cv_lib_$ac_lib_var=yes"
5847else 5808else
@@ -5867,7 +5828,7 @@ EOF
5867else 5828else
5868 echo "$ac_t""no" 1>&6 5829 echo "$ac_t""no" 1>&6
5869echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5830echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5870echo "configure:5871: checking for krb_get_cred in -lkrb" >&5 5831echo "configure:5832: checking for krb_get_cred in -lkrb" >&5
5871ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5832ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5872if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5833if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5873 echo $ac_n "(cached) $ac_c" 1>&6 5834 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5875,7 +5836,7 @@ else
5875 ac_save_LIBS="$LIBS" 5836 ac_save_LIBS="$LIBS"
5876LIBS="-lkrb $LIBS" 5837LIBS="-lkrb $LIBS"
5877cat > conftest.$ac_ext <<EOF 5838cat > conftest.$ac_ext <<EOF
5878#line 5879 "configure" 5839#line 5840 "configure"
5879#include "confdefs.h" 5840#include "confdefs.h"
5880/* Override any gcc2 internal prototype to avoid an error. */ 5841/* Override any gcc2 internal prototype to avoid an error. */
5881/* We use char because int might match the return type of a gcc2 5842/* We use char because int might match the return type of a gcc2
@@ -5886,7 +5847,7 @@ int main() {
5886krb_get_cred() 5847krb_get_cred()
5887; return 0; } 5848; return 0; }
5888EOF 5849EOF
5889if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5850if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5890 rm -rf conftest* 5851 rm -rf conftest*
5891 eval "ac_cv_lib_$ac_lib_var=yes" 5852 eval "ac_cv_lib_$ac_lib_var=yes"
5892else 5853else
@@ -5922,17 +5883,17 @@ fi
5922do 5883do
5923ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5884ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5924echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5885echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5925echo "configure:5926: checking for $ac_hdr" >&5 5886echo "configure:5887: checking for $ac_hdr" >&5
5926if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5887if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5927 echo $ac_n "(cached) $ac_c" 1>&6 5888 echo $ac_n "(cached) $ac_c" 1>&6
5928else 5889else
5929 cat > conftest.$ac_ext <<EOF 5890 cat > conftest.$ac_ext <<EOF
5930#line 5931 "configure" 5891#line 5892 "configure"
5931#include "confdefs.h" 5892#include "confdefs.h"
5932#include <$ac_hdr> 5893#include <$ac_hdr>
5933EOF 5894EOF
5934ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5895ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5935{ (eval echo configure:5936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5896{ (eval echo configure:5897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5936ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5897ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5937if test -z "$ac_err"; then 5898if test -z "$ac_err"; then
5938 rm -rf conftest* 5899 rm -rf conftest*
@@ -5963,17 +5924,17 @@ done
5963do 5924do
5964ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5925ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5965echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5926echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5966echo "configure:5967: checking for $ac_hdr" >&5 5927echo "configure:5928: checking for $ac_hdr" >&5
5967if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5928if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5968 echo $ac_n "(cached) $ac_c" 1>&6 5929 echo $ac_n "(cached) $ac_c" 1>&6
5969else 5930else
5970 cat > conftest.$ac_ext <<EOF 5931 cat > conftest.$ac_ext <<EOF
5971#line 5972 "configure" 5932#line 5933 "configure"
5972#include "confdefs.h" 5933#include "confdefs.h"
5973#include <$ac_hdr> 5934#include <$ac_hdr>
5974EOF 5935EOF
5975ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5936ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5976{ (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5937{ (eval echo configure:5938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5977ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5938ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5978if test -z "$ac_err"; then 5939if test -z "$ac_err"; then
5979 rm -rf conftest* 5940 rm -rf conftest*
@@ -6000,17 +5961,17 @@ for ac_hdr in kerberosIV/des.h
6000do 5961do
6001ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5962ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6002echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5963echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6003echo "configure:6004: checking for $ac_hdr" >&5 5964echo "configure:5965: checking for $ac_hdr" >&5
6004if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5965if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6005 echo $ac_n "(cached) $ac_c" 1>&6 5966 echo $ac_n "(cached) $ac_c" 1>&6
6006else 5967else
6007 cat > conftest.$ac_ext <<EOF 5968 cat > conftest.$ac_ext <<EOF
6008#line 6009 "configure" 5969#line 5970 "configure"
6009#include "confdefs.h" 5970#include "confdefs.h"
6010#include <$ac_hdr> 5971#include <$ac_hdr>
6011EOF 5972EOF
6012ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5973ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6013{ (eval echo configure:6014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5974{ (eval echo configure:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6014ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5975ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6015if test -z "$ac_err"; then 5976if test -z "$ac_err"; then
6016 rm -rf conftest* 5977 rm -rf conftest*
@@ -6037,17 +5998,17 @@ for ac_hdr in kerberos/des.h
6037do 5998do
6038ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5999ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6039echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6000echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6040echo "configure:6041: checking for $ac_hdr" >&5 6001echo "configure:6002: checking for $ac_hdr" >&5
6041if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6 6003 echo $ac_n "(cached) $ac_c" 1>&6
6043else 6004else
6044 cat > conftest.$ac_ext <<EOF 6005 cat > conftest.$ac_ext <<EOF
6045#line 6046 "configure" 6006#line 6007 "configure"
6046#include "confdefs.h" 6007#include "confdefs.h"
6047#include <$ac_hdr> 6008#include <$ac_hdr>
6048EOF 6009EOF
6049ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6050{ (eval echo configure:6051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6011{ (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6051ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6052if test -z "$ac_err"; then 6013if test -z "$ac_err"; then
6053 rm -rf conftest* 6014 rm -rf conftest*
@@ -6083,17 +6044,17 @@ done
6083do 6044do
6084ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6045ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6085echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6046echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6086echo "configure:6087: checking for $ac_hdr" >&5 6047echo "configure:6048: checking for $ac_hdr" >&5
6087if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6048if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6088 echo $ac_n "(cached) $ac_c" 1>&6 6049 echo $ac_n "(cached) $ac_c" 1>&6
6089else 6050else
6090 cat > conftest.$ac_ext <<EOF 6051 cat > conftest.$ac_ext <<EOF
6091#line 6092 "configure" 6052#line 6053 "configure"
6092#include "confdefs.h" 6053#include "confdefs.h"
6093#include <$ac_hdr> 6054#include <$ac_hdr>
6094EOF 6055EOF
6095ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6056ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6096{ (eval echo configure:6097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6057{ (eval echo configure:6058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6097ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6058ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6098if test -z "$ac_err"; then 6059if test -z "$ac_err"; then
6099 rm -rf conftest* 6060 rm -rf conftest*
@@ -6120,17 +6081,17 @@ for ac_hdr in kerberosIV/krb.h
6120do 6081do
6121ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6082ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6122echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6083echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6123echo "configure:6124: checking for $ac_hdr" >&5 6084echo "configure:6085: checking for $ac_hdr" >&5
6124if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6085if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6125 echo $ac_n "(cached) $ac_c" 1>&6 6086 echo $ac_n "(cached) $ac_c" 1>&6
6126else 6087else
6127 cat > conftest.$ac_ext <<EOF 6088 cat > conftest.$ac_ext <<EOF
6128#line 6129 "configure" 6089#line 6090 "configure"
6129#include "confdefs.h" 6090#include "confdefs.h"
6130#include <$ac_hdr> 6091#include <$ac_hdr>
6131EOF 6092EOF
6132ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6093ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6133{ (eval echo configure:6134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6094{ (eval echo configure:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6134ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6095ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6135if test -z "$ac_err"; then 6096if test -z "$ac_err"; then
6136 rm -rf conftest* 6097 rm -rf conftest*
@@ -6157,17 +6118,17 @@ for ac_hdr in kerberos/krb.h
6157do 6118do
6158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6119ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6159echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6120echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6160echo "configure:6161: checking for $ac_hdr" >&5 6121echo "configure:6122: checking for $ac_hdr" >&5
6161if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6122if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6162 echo $ac_n "(cached) $ac_c" 1>&6 6123 echo $ac_n "(cached) $ac_c" 1>&6
6163else 6124else
6164 cat > conftest.$ac_ext <<EOF 6125 cat > conftest.$ac_ext <<EOF
6165#line 6166 "configure" 6126#line 6127 "configure"
6166#include "confdefs.h" 6127#include "confdefs.h"
6167#include <$ac_hdr> 6128#include <$ac_hdr>
6168EOF 6129EOF
6169ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6130ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6170{ (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6131{ (eval echo configure:6132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6171ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6132ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6172if test -z "$ac_err"; then 6133if test -z "$ac_err"; then
6173 rm -rf conftest* 6134 rm -rf conftest*
@@ -6204,17 +6165,17 @@ done
6204do 6165do
6205ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6166ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6206echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6167echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6207echo "configure:6208: checking for $ac_hdr" >&5 6168echo "configure:6169: checking for $ac_hdr" >&5
6208if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6169if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6209 echo $ac_n "(cached) $ac_c" 1>&6 6170 echo $ac_n "(cached) $ac_c" 1>&6
6210else 6171else
6211 cat > conftest.$ac_ext <<EOF 6172 cat > conftest.$ac_ext <<EOF
6212#line 6213 "configure" 6173#line 6174 "configure"
6213#include "confdefs.h" 6174#include "confdefs.h"
6214#include <$ac_hdr> 6175#include <$ac_hdr>
6215EOF 6176EOF
6216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6177ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6217{ (eval echo configure:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6178{ (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6218ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6179ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6219if test -z "$ac_err"; then 6180if test -z "$ac_err"; then
6220 rm -rf conftest* 6181 rm -rf conftest*
@@ -6245,7 +6206,7 @@ fi
6245# Solaris requires -lintl if you want strerror (which calls dgettext) 6206# Solaris requires -lintl if you want strerror (which calls dgettext)
6246# to return localized messages. 6207# to return localized messages.
6247echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6208echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6248echo "configure:6249: checking for dgettext in -lintl" >&5 6209echo "configure:6210: checking for dgettext in -lintl" >&5
6249ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6210ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6250if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6251 echo $ac_n "(cached) $ac_c" 1>&6 6212 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6253,7 +6214,7 @@ else
6253 ac_save_LIBS="$LIBS" 6214 ac_save_LIBS="$LIBS"
6254LIBS="-lintl $LIBS" 6215LIBS="-lintl $LIBS"
6255cat > conftest.$ac_ext <<EOF 6216cat > conftest.$ac_ext <<EOF
6256#line 6257 "configure" 6217#line 6218 "configure"
6257#include "confdefs.h" 6218#include "confdefs.h"
6258/* Override any gcc2 internal prototype to avoid an error. */ 6219/* Override any gcc2 internal prototype to avoid an error. */
6259/* We use char because int might match the return type of a gcc2 6220/* We use char because int might match the return type of a gcc2
@@ -6264,7 +6225,7 @@ int main() {
6264dgettext() 6225dgettext()
6265; return 0; } 6226; return 0; }
6266EOF 6227EOF
6267if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6228if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6268 rm -rf conftest* 6229 rm -rf conftest*
6269 eval "ac_cv_lib_$ac_lib_var=yes" 6230 eval "ac_cv_lib_$ac_lib_var=yes"
6270else 6231else
@@ -6293,7 +6254,7 @@ fi
6293 6254
6294 6255
6295echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6256echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6296echo "configure:6297: checking whether localtime caches TZ" >&5 6257echo "configure:6258: checking whether localtime caches TZ" >&5
6297if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6258if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6298 echo $ac_n "(cached) $ac_c" 1>&6 6259 echo $ac_n "(cached) $ac_c" 1>&6
6299else 6260else
@@ -6303,7 +6264,7 @@ if test "$cross_compiling" = yes; then
6303emacs_cv_localtime_cache=yes 6264emacs_cv_localtime_cache=yes
6304else 6265else
6305 cat > conftest.$ac_ext <<EOF 6266 cat > conftest.$ac_ext <<EOF
6306#line 6307 "configure" 6267#line 6268 "configure"
6307#include "confdefs.h" 6268#include "confdefs.h"
6308#include <time.h> 6269#include <time.h>
6309extern char **environ; 6270extern char **environ;
@@ -6335,7 +6296,7 @@ main()
6335 exit (0); 6296 exit (0);
6336} 6297}
6337EOF 6298EOF
6338if { (eval echo configure:6339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6299if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6339then 6300then
6340 emacs_cv_localtime_cache=no 6301 emacs_cv_localtime_cache=no
6341else 6302else
@@ -6363,12 +6324,12 @@ fi
6363 6324
6364if test "x$HAVE_TIMEVAL" = xyes; then 6325if test "x$HAVE_TIMEVAL" = xyes; then
6365echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6326echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6366echo "configure:6367: checking whether gettimeofday can accept two arguments" >&5 6327echo "configure:6328: checking whether gettimeofday can accept two arguments" >&5
6367if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6328if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6368 echo $ac_n "(cached) $ac_c" 1>&6 6329 echo $ac_n "(cached) $ac_c" 1>&6
6369else 6330else
6370 cat > conftest.$ac_ext <<EOF 6331 cat > conftest.$ac_ext <<EOF
6371#line 6372 "configure" 6332#line 6333 "configure"
6372#include "confdefs.h" 6333#include "confdefs.h"
6373 6334
6374#ifdef TIME_WITH_SYS_TIME 6335#ifdef TIME_WITH_SYS_TIME
@@ -6390,7 +6351,7 @@ int main() {
6390 6351
6391; return 0; } 6352; return 0; }
6392EOF 6353EOF
6393if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6354if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6394 rm -rf conftest* 6355 rm -rf conftest*
6395 emacs_cv_gettimeofday_two_arguments=yes 6356 emacs_cv_gettimeofday_two_arguments=yes
6396else 6357else
@@ -6413,12 +6374,12 @@ fi
6413 6374
6414ok_so_far=yes 6375ok_so_far=yes
6415echo $ac_n "checking for socket""... $ac_c" 1>&6 6376echo $ac_n "checking for socket""... $ac_c" 1>&6
6416echo "configure:6417: checking for socket" >&5 6377echo "configure:6378: checking for socket" >&5
6417if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6378if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6418 echo $ac_n "(cached) $ac_c" 1>&6 6379 echo $ac_n "(cached) $ac_c" 1>&6
6419else 6380else
6420 cat > conftest.$ac_ext <<EOF 6381 cat > conftest.$ac_ext <<EOF
6421#line 6422 "configure" 6382#line 6383 "configure"
6422#include "confdefs.h" 6383#include "confdefs.h"
6423/* System header to define __stub macros and hopefully few prototypes, 6384/* System header to define __stub macros and hopefully few prototypes,
6424 which can conflict with char socket(); below. */ 6385 which can conflict with char socket(); below. */
@@ -6441,7 +6402,7 @@ socket();
6441 6402
6442; return 0; } 6403; return 0; }
6443EOF 6404EOF
6444if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6405if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445 rm -rf conftest* 6406 rm -rf conftest*
6446 eval "ac_cv_func_socket=yes" 6407 eval "ac_cv_func_socket=yes"
6447else 6408else
@@ -6464,17 +6425,17 @@ fi
6464if test $ok_so_far = yes; then 6425if test $ok_so_far = yes; then
6465 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6426 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6466echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6427echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6467echo "configure:6468: checking for netinet/in.h" >&5 6428echo "configure:6429: checking for netinet/in.h" >&5
6468if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6429if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6469 echo $ac_n "(cached) $ac_c" 1>&6 6430 echo $ac_n "(cached) $ac_c" 1>&6
6470else 6431else
6471 cat > conftest.$ac_ext <<EOF 6432 cat > conftest.$ac_ext <<EOF
6472#line 6473 "configure" 6433#line 6434 "configure"
6473#include "confdefs.h" 6434#include "confdefs.h"
6474#include <netinet/in.h> 6435#include <netinet/in.h>
6475EOF 6436EOF
6476ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6437ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6477{ (eval echo configure:6478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6438{ (eval echo configure:6439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6478ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6439ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6479if test -z "$ac_err"; then 6440if test -z "$ac_err"; then
6480 rm -rf conftest* 6441 rm -rf conftest*
@@ -6500,17 +6461,17 @@ fi
6500if test $ok_so_far = yes; then 6461if test $ok_so_far = yes; then
6501 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6462 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6502echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6463echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6503echo "configure:6504: checking for arpa/inet.h" >&5 6464echo "configure:6465: checking for arpa/inet.h" >&5
6504if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6465if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6505 echo $ac_n "(cached) $ac_c" 1>&6 6466 echo $ac_n "(cached) $ac_c" 1>&6
6506else 6467else
6507 cat > conftest.$ac_ext <<EOF 6468 cat > conftest.$ac_ext <<EOF
6508#line 6509 "configure" 6469#line 6470 "configure"
6509#include "confdefs.h" 6470#include "confdefs.h"
6510#include <arpa/inet.h> 6471#include <arpa/inet.h>
6511EOF 6472EOF
6512ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6473ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6513{ (eval echo configure:6514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6474{ (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6514ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6475ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6515if test -z "$ac_err"; then 6476if test -z "$ac_err"; then
6516 rm -rf conftest* 6477 rm -rf conftest*
@@ -6548,7 +6509,7 @@ EOF
6548fi 6509fi
6549 6510
6550echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6511echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6551echo "configure:6552: checking whether system supports dynamic ptys" >&5 6512echo "configure:6513: checking whether system supports dynamic ptys" >&5
6552if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6513if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6553 echo "$ac_t""yes" 1>&6 6514 echo "$ac_t""yes" 1>&6
6554 cat >> confdefs.h <<\EOF 6515 cat >> confdefs.h <<\EOF
@@ -6560,12 +6521,12 @@ else
6560fi 6521fi
6561 6522
6562echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6523echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6563echo "configure:6564: checking for pid_t" >&5 6524echo "configure:6525: checking for pid_t" >&5
6564if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6525if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6565 echo $ac_n "(cached) $ac_c" 1>&6 6526 echo $ac_n "(cached) $ac_c" 1>&6
6566else 6527else
6567 cat > conftest.$ac_ext <<EOF 6528 cat > conftest.$ac_ext <<EOF
6568#line 6569 "configure" 6529#line 6530 "configure"
6569#include "confdefs.h" 6530#include "confdefs.h"
6570#include <sys/types.h> 6531#include <sys/types.h>
6571#if STDC_HEADERS 6532#if STDC_HEADERS
@@ -6594,17 +6555,17 @@ fi
6594 6555
6595ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6556ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6596echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6557echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6597echo "configure:6598: checking for vfork.h" >&5 6558echo "configure:6559: checking for vfork.h" >&5
6598if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6559if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6599 echo $ac_n "(cached) $ac_c" 1>&6 6560 echo $ac_n "(cached) $ac_c" 1>&6
6600else 6561else
6601 cat > conftest.$ac_ext <<EOF 6562 cat > conftest.$ac_ext <<EOF
6602#line 6603 "configure" 6563#line 6564 "configure"
6603#include "confdefs.h" 6564#include "confdefs.h"
6604#include <vfork.h> 6565#include <vfork.h>
6605EOF 6566EOF
6606ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6567ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6607{ (eval echo configure:6608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6568{ (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6608ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6569ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6609if test -z "$ac_err"; then 6570if test -z "$ac_err"; then
6610 rm -rf conftest* 6571 rm -rf conftest*
@@ -6629,18 +6590,18 @@ else
6629fi 6590fi
6630 6591
6631echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6592echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6632echo "configure:6633: checking for working vfork" >&5 6593echo "configure:6594: checking for working vfork" >&5
6633if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6594if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6634 echo $ac_n "(cached) $ac_c" 1>&6 6595 echo $ac_n "(cached) $ac_c" 1>&6
6635else 6596else
6636 if test "$cross_compiling" = yes; then 6597 if test "$cross_compiling" = yes; then
6637 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6598 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6638echo "configure:6639: checking for vfork" >&5 6599echo "configure:6600: checking for vfork" >&5
6639if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6600if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6 6601 echo $ac_n "(cached) $ac_c" 1>&6
6641else 6602else
6642 cat > conftest.$ac_ext <<EOF 6603 cat > conftest.$ac_ext <<EOF
6643#line 6644 "configure" 6604#line 6605 "configure"
6644#include "confdefs.h" 6605#include "confdefs.h"
6645/* System header to define __stub macros and hopefully few prototypes, 6606/* System header to define __stub macros and hopefully few prototypes,
6646 which can conflict with char vfork(); below. */ 6607 which can conflict with char vfork(); below. */
@@ -6663,7 +6624,7 @@ vfork();
6663 6624
6664; return 0; } 6625; return 0; }
6665EOF 6626EOF
6666if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6627if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6667 rm -rf conftest* 6628 rm -rf conftest*
6668 eval "ac_cv_func_vfork=yes" 6629 eval "ac_cv_func_vfork=yes"
6669else 6630else
@@ -6685,7 +6646,7 @@ fi
6685ac_cv_func_vfork_works=$ac_cv_func_vfork 6646ac_cv_func_vfork_works=$ac_cv_func_vfork
6686else 6647else
6687 cat > conftest.$ac_ext <<EOF 6648 cat > conftest.$ac_ext <<EOF
6688#line 6689 "configure" 6649#line 6650 "configure"
6689#include "confdefs.h" 6650#include "confdefs.h"
6690/* Thanks to Paul Eggert for this test. */ 6651/* Thanks to Paul Eggert for this test. */
6691#include <stdio.h> 6652#include <stdio.h>
@@ -6780,7 +6741,7 @@ main() {
6780 } 6741 }
6781} 6742}
6782EOF 6743EOF
6783if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6744if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6784then 6745then
6785 ac_cv_func_vfork_works=yes 6746 ac_cv_func_vfork_works=yes
6786else 6747else
diff --git a/configure.in b/configure.in
index 52ab1e570b0..12676dcbf84 100644
--- a/configure.in
+++ b/configure.in
@@ -47,7 +47,7 @@ AC_ARG_WITH(kerberos,
47[ --with-kerberos support Kerberos-authenticated POP], 47[ --with-kerberos support Kerberos-authenticated POP],
48[AC_DEFINE(KERBEROS)]) 48[AC_DEFINE(KERBEROS)])
49AC_ARG_WITH(kerberos5, 49AC_ARG_WITH(kerberos5,
50[ --with-kerberos5 support Kerberos version 5 authenticated POP], 50[ --with-kerberos5 support Kerberos version 5 authenticated POP],
51[if test "${with_kerberos5+set}" = set; then 51[if test "${with_kerberos5+set}" = set; then
52 if test "${with_kerberos+set}" != set; then 52 if test "${with_kerberos+set}" != set; then
53 with_kerberos=yes 53 with_kerberos=yes
@@ -93,7 +93,8 @@ AC_ARG_WITH(gif,
93AC_ARG_WITH(png, 93AC_ARG_WITH(png,
94[ --with-png use -lpng for displaying PNG images]) 94[ --with-png use -lpng for displaying PNG images])
95AC_ARG_WITH(toolkit-scroll-bars, 95AC_ARG_WITH(toolkit-scroll-bars,
96[ --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars]) 96[ --without-toolkit-scroll-bars
97 don't use Motif or Xaw3d scroll bars])
97 98
98#### Make srcdir absolute, if it isn't already. It's important to 99#### Make srcdir absolute, if it isn't already. It's important to
99#### avoid running the path through pwd unnecessary, since pwd can 100#### avoid running the path through pwd unnecessary, since pwd can