aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xconfigure675
-rw-r--r--lisp/ChangeLog5
-rw-r--r--src/ChangeLog7
-rw-r--r--src/s/lynxos.h58
5 files changed, 415 insertions, 337 deletions
diff --git a/ChangeLog b/ChangeLog
index c6691ca1550..be2dd36131d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
12000-06-14 Gerd Moellmann <gerd@gnu.org>
2
3 * configure.in: Add support for `*-lynxos*'.
4 Use `cpp' as NON_GNU_CPP for `alpha*-dec-osf[5-9]*', as
5 recommended by <Karen.Dorhamer@compaq.com> to fix problems
6 on Tru64 UNIX v5.0.
7
12000-06-13 Ken Raeburn <raeburn@gnu.org> 82000-06-13 Ken Raeburn <raeburn@gnu.org>
2 9
3 * Makefile.in (install-arch-indep): Don't use "-unset CDPATH" when 10 * Makefile.in (install-arch-indep): Don't use "-unset CDPATH" when
diff --git a/configure b/configure
index f75628b0367..54b398ed5f0 100755
--- a/configure
+++ b/configure
@@ -881,7 +881,7 @@ case "${canonical}" in
881 # This is necessary on 5.0 to avoid mangling src/Makefile. 881 # This is necessary on 5.0 to avoid mangling src/Makefile.
882 # Separated out in case it causes problems on earlier versions. 882 # Separated out in case it causes problems on earlier versions.
883 alpha*-dec-osf[5-9]*) 883 alpha*-dec-osf[5-9]*)
884 NON_GNU_CPP='cc -E -std0' ;; 884 NON_GNU_CPP='cpp' ;;
885 esac 885 esac
886 ;; 886 ;;
887 887
@@ -1601,6 +1601,7 @@ case "${canonical}" in
1601 i[3456]86-*-* ) 1601 i[3456]86-*-* )
1602 machine=intel386 1602 machine=intel386
1603 case "${canonical}" in 1603 case "${canonical}" in
1604 *-lynxos* ) opsys=lynxos ;;
1604 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; 1605 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
1605 *-isc2.2* ) opsys=isc2-2 ;; 1606 *-isc2.2* ) opsys=isc2-2 ;;
1606 *-isc4.0* ) opsys=isc4-0 ;; 1607 *-isc4.0* ) opsys=isc4-0 ;;
@@ -1713,7 +1714,7 @@ case ${with_gcc} in
1713 * ) # Extract the first word of "gcc", so it can be a program name with args. 1714 * ) # Extract the first word of "gcc", so it can be a program name with args.
1714set dummy gcc; ac_word=$2 1715set dummy gcc; ac_word=$2
1715echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1716echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1716echo "configure:1717: checking for $ac_word" >&5 1717echo "configure:1718: checking for $ac_word" >&5
1717if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1718if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1718 echo $ac_n "(cached) $ac_c" 1>&6 1719 echo $ac_n "(cached) $ac_c" 1>&6
1719else 1720else
@@ -1743,7 +1744,7 @@ if test -z "$CC"; then
1743 # Extract the first word of "cc", so it can be a program name with args. 1744 # Extract the first word of "cc", so it can be a program name with args.
1744set dummy cc; ac_word=$2 1745set dummy cc; ac_word=$2
1745echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1746echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1746echo "configure:1747: checking for $ac_word" >&5 1747echo "configure:1748: checking for $ac_word" >&5
1747if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1748if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1748 echo $ac_n "(cached) $ac_c" 1>&6 1749 echo $ac_n "(cached) $ac_c" 1>&6
1749else 1750else
@@ -1794,7 +1795,7 @@ fi
1794 # Extract the first word of "cl", so it can be a program name with args. 1795 # Extract the first word of "cl", so it can be a program name with args.
1795set dummy cl; ac_word=$2 1796set dummy cl; ac_word=$2
1796echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1797echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1797echo "configure:1798: checking for $ac_word" >&5 1798echo "configure:1799: checking for $ac_word" >&5
1798if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1799if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1799 echo $ac_n "(cached) $ac_c" 1>&6 1800 echo $ac_n "(cached) $ac_c" 1>&6
1800else 1801else
@@ -1826,7 +1827,7 @@ fi
1826fi 1827fi
1827 1828
1828echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1829echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1829echo "configure:1830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1830echo "configure:1831: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1830 1831
1831ac_ext=c 1832ac_ext=c
1832# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1833# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1837,12 +1838,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1837 1838
1838cat > conftest.$ac_ext << EOF 1839cat > conftest.$ac_ext << EOF
1839 1840
1840#line 1841 "configure" 1841#line 1842 "configure"
1841#include "confdefs.h" 1842#include "confdefs.h"
1842 1843
1843main(){return(0);} 1844main(){return(0);}
1844EOF 1845EOF
1845if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1846if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1846 ac_cv_prog_cc_works=yes 1847 ac_cv_prog_cc_works=yes
1847 # If we can't run a trivial program, we are probably using a cross compiler. 1848 # If we can't run a trivial program, we are probably using a cross compiler.
1848 if (./conftest; exit) 2>/dev/null; then 1849 if (./conftest; exit) 2>/dev/null; then
@@ -1868,12 +1869,12 @@ if test $ac_cv_prog_cc_works = no; then
1868 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1869 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1869fi 1870fi
1870echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1871echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1871echo "configure:1872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1872echo "configure:1873: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1872echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1873echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1873cross_compiling=$ac_cv_prog_cc_cross 1874cross_compiling=$ac_cv_prog_cc_cross
1874 1875
1875echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1876echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1876echo "configure:1877: checking whether we are using GNU C" >&5 1877echo "configure:1878: checking whether we are using GNU C" >&5
1877if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1878if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1878 echo $ac_n "(cached) $ac_c" 1>&6 1879 echo $ac_n "(cached) $ac_c" 1>&6
1879else 1880else
@@ -1882,7 +1883,7 @@ else
1882 yes; 1883 yes;
1883#endif 1884#endif
1884EOF 1885EOF
1885if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1886if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1886 ac_cv_prog_gcc=yes 1887 ac_cv_prog_gcc=yes
1887else 1888else
1888 ac_cv_prog_gcc=no 1889 ac_cv_prog_gcc=no
@@ -1901,7 +1902,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1901ac_save_CFLAGS="$CFLAGS" 1902ac_save_CFLAGS="$CFLAGS"
1902CFLAGS= 1903CFLAGS=
1903echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1904echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1904echo "configure:1905: checking whether ${CC-cc} accepts -g" >&5 1905echo "configure:1906: checking whether ${CC-cc} accepts -g" >&5
1905if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1906if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1906 echo $ac_n "(cached) $ac_c" 1>&6 1907 echo $ac_n "(cached) $ac_c" 1>&6
1907else 1908else
@@ -1981,7 +1982,7 @@ fi
1981#### #undef clause to src/config.h.in for autoconf to modify. 1982#### #undef clause to src/config.h.in for autoconf to modify.
1982 1983
1983echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1984echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1984echo "configure:1985: checking whether ln -s works" >&5 1985echo "configure:1986: checking whether ln -s works" >&5
1985if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1986if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1986 echo $ac_n "(cached) $ac_c" 1>&6 1987 echo $ac_n "(cached) $ac_c" 1>&6
1987else 1988else
@@ -2002,7 +2003,7 @@ else
2002fi 2003fi
2003 2004
2004echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2005echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2005echo "configure:2006: checking how to run the C preprocessor" >&5 2006echo "configure:2007: checking how to run the C preprocessor" >&5
2006# On Suns, sometimes $CPP names a directory. 2007# On Suns, sometimes $CPP names a directory.
2007if test -n "$CPP" && test -d "$CPP"; then 2008if test -n "$CPP" && test -d "$CPP"; then
2008 CPP= 2009 CPP=
@@ -2017,13 +2018,13 @@ else
2017 # On the NeXT, cc -E runs the code through the compiler's parser, 2018 # On the NeXT, cc -E runs the code through the compiler's parser,
2018 # not just through cpp. 2019 # not just through cpp.
2019 cat > conftest.$ac_ext <<EOF 2020 cat > conftest.$ac_ext <<EOF
2020#line 2021 "configure" 2021#line 2022 "configure"
2021#include "confdefs.h" 2022#include "confdefs.h"
2022#include <assert.h> 2023#include <assert.h>
2023Syntax Error 2024Syntax Error
2024EOF 2025EOF
2025ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2026ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2026{ (eval echo configure:2027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2027{ (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2027ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2028ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2028if test -z "$ac_err"; then 2029if test -z "$ac_err"; then
2029 : 2030 :
@@ -2034,13 +2035,13 @@ else
2034 rm -rf conftest* 2035 rm -rf conftest*
2035 CPP="${CC-cc} -E -traditional-cpp" 2036 CPP="${CC-cc} -E -traditional-cpp"
2036 cat > conftest.$ac_ext <<EOF 2037 cat > conftest.$ac_ext <<EOF
2037#line 2038 "configure" 2038#line 2039 "configure"
2038#include "confdefs.h" 2039#include "confdefs.h"
2039#include <assert.h> 2040#include <assert.h>
2040Syntax Error 2041Syntax Error
2041EOF 2042EOF
2042ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2043ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2043{ (eval echo configure:2044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2044{ (eval echo configure:2045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2044ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2045ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2045if test -z "$ac_err"; then 2046if test -z "$ac_err"; then
2046 : 2047 :
@@ -2051,13 +2052,13 @@ else
2051 rm -rf conftest* 2052 rm -rf conftest*
2052 CPP="${CC-cc} -nologo -E" 2053 CPP="${CC-cc} -nologo -E"
2053 cat > conftest.$ac_ext <<EOF 2054 cat > conftest.$ac_ext <<EOF
2054#line 2055 "configure" 2055#line 2056 "configure"
2055#include "confdefs.h" 2056#include "confdefs.h"
2056#include <assert.h> 2057#include <assert.h>
2057Syntax Error 2058Syntax Error
2058EOF 2059EOF
2059ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2060ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2060{ (eval echo configure:2061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2061{ (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2061ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2062ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2062if test -z "$ac_err"; then 2063if test -z "$ac_err"; then
2063 : 2064 :
@@ -2093,7 +2094,7 @@ echo "$ac_t""$CPP" 1>&6
2093# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2094# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2094# ./install, which can be erroneously created by make from ./install.sh. 2095# ./install, which can be erroneously created by make from ./install.sh.
2095echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2096echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2096echo "configure:2097: checking for a BSD compatible install" >&5 2097echo "configure:2098: checking for a BSD compatible install" >&5
2097if test -z "$INSTALL"; then 2098if test -z "$INSTALL"; then
2098if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2099if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2099 echo $ac_n "(cached) $ac_c" 1>&6 2100 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2150,7 +2151,7 @@ do
2150# Extract the first word of "$ac_prog", so it can be a program name with args. 2151# Extract the first word of "$ac_prog", so it can be a program name with args.
2151set dummy $ac_prog; ac_word=$2 2152set dummy $ac_prog; ac_word=$2
2152echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2153echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2153echo "configure:2154: checking for $ac_word" >&5 2154echo "configure:2155: checking for $ac_word" >&5
2154if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2155if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2155 echo $ac_n "(cached) $ac_c" 1>&6 2156 echo $ac_n "(cached) $ac_c" 1>&6
2156else 2157else
@@ -2184,7 +2185,7 @@ if test "x$RANLIB" = x; then
2184 # Extract the first word of "ranlib", so it can be a program name with args. 2185 # Extract the first word of "ranlib", so it can be a program name with args.
2185set dummy ranlib; ac_word=$2 2186set dummy ranlib; ac_word=$2
2186echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2187echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2187echo "configure:2188: checking for $ac_word" >&5 2188echo "configure:2189: checking for $ac_word" >&5
2188if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2189if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2189 echo $ac_n "(cached) $ac_c" 1>&6 2190 echo $ac_n "(cached) $ac_c" 1>&6
2190else 2191else
@@ -2214,9 +2215,9 @@ fi
2214fi 2215fi
2215 2216
2216echo $ac_n "checking for AIX""... $ac_c" 1>&6 2217echo $ac_n "checking for AIX""... $ac_c" 1>&6
2217echo "configure:2218: checking for AIX" >&5 2218echo "configure:2219: checking for AIX" >&5
2218cat > conftest.$ac_ext <<EOF 2219cat > conftest.$ac_ext <<EOF
2219#line 2220 "configure" 2220#line 2221 "configure"
2220#include "confdefs.h" 2221#include "confdefs.h"
2221#ifdef _AIX 2222#ifdef _AIX
2222 yes 2223 yes
@@ -2243,17 +2244,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2243do 2244do
2244ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2245ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2245echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2246echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2246echo "configure:2247: checking for $ac_hdr" >&5 2247echo "configure:2248: checking for $ac_hdr" >&5
2247if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2248if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6 2249 echo $ac_n "(cached) $ac_c" 1>&6
2249else 2250else
2250 cat > conftest.$ac_ext <<EOF 2251 cat > conftest.$ac_ext <<EOF
2251#line 2252 "configure" 2252#line 2253 "configure"
2252#include "confdefs.h" 2253#include "confdefs.h"
2253#include <$ac_hdr> 2254#include <$ac_hdr>
2254EOF 2255EOF
2255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2256ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2256{ (eval echo configure:2257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2257{ (eval echo configure:2258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2258ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2258if test -z "$ac_err"; then 2259if test -z "$ac_err"; then
2259 rm -rf conftest* 2260 rm -rf conftest*
@@ -2286,17 +2287,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2286do 2287do
2287ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2288ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2288echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2289echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2289echo "configure:2290: checking for $ac_hdr" >&5 2290echo "configure:2291: checking for $ac_hdr" >&5
2290if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2291if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2291 echo $ac_n "(cached) $ac_c" 1>&6 2292 echo $ac_n "(cached) $ac_c" 1>&6
2292else 2293else
2293 cat > conftest.$ac_ext <<EOF 2294 cat > conftest.$ac_ext <<EOF
2294#line 2295 "configure" 2295#line 2296 "configure"
2295#include "confdefs.h" 2296#include "confdefs.h"
2296#include <$ac_hdr> 2297#include <$ac_hdr>
2297EOF 2298EOF
2298ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2299ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2299{ (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2300{ (eval echo configure:2301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2300ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2301ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2301if test -z "$ac_err"; then 2302if test -z "$ac_err"; then
2302 rm -rf conftest* 2303 rm -rf conftest*
@@ -2323,12 +2324,12 @@ fi
2323done 2324done
2324 2325
2325echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2326echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2326echo "configure:2327: checking for ANSI C header files" >&5 2327echo "configure:2328: checking for ANSI C header files" >&5
2327if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2328if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2328 echo $ac_n "(cached) $ac_c" 1>&6 2329 echo $ac_n "(cached) $ac_c" 1>&6
2329else 2330else
2330 cat > conftest.$ac_ext <<EOF 2331 cat > conftest.$ac_ext <<EOF
2331#line 2332 "configure" 2332#line 2333 "configure"
2332#include "confdefs.h" 2333#include "confdefs.h"
2333#include <stdlib.h> 2334#include <stdlib.h>
2334#include <stdarg.h> 2335#include <stdarg.h>
@@ -2336,7 +2337,7 @@ else
2336#include <float.h> 2337#include <float.h>
2337EOF 2338EOF
2338ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2339ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2339{ (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2340{ (eval echo configure:2341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2340ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2341ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2341if test -z "$ac_err"; then 2342if test -z "$ac_err"; then
2342 rm -rf conftest* 2343 rm -rf conftest*
@@ -2353,7 +2354,7 @@ rm -f conftest*
2353if test $ac_cv_header_stdc = yes; then 2354if test $ac_cv_header_stdc = yes; then
2354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2355cat > conftest.$ac_ext <<EOF 2356cat > conftest.$ac_ext <<EOF
2356#line 2357 "configure" 2357#line 2358 "configure"
2357#include "confdefs.h" 2358#include "confdefs.h"
2358#include <string.h> 2359#include <string.h>
2359EOF 2360EOF
@@ -2371,7 +2372,7 @@ fi
2371if test $ac_cv_header_stdc = yes; then 2372if test $ac_cv_header_stdc = yes; then
2372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2373cat > conftest.$ac_ext <<EOF 2374cat > conftest.$ac_ext <<EOF
2374#line 2375 "configure" 2375#line 2376 "configure"
2375#include "confdefs.h" 2376#include "confdefs.h"
2376#include <stdlib.h> 2377#include <stdlib.h>
2377EOF 2378EOF
@@ -2392,7 +2393,7 @@ if test "$cross_compiling" = yes; then
2392 : 2393 :
2393else 2394else
2394 cat > conftest.$ac_ext <<EOF 2395 cat > conftest.$ac_ext <<EOF
2395#line 2396 "configure" 2396#line 2397 "configure"
2396#include "confdefs.h" 2397#include "confdefs.h"
2397#include <ctype.h> 2398#include <ctype.h>
2398#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2399#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2403,7 +2404,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2403exit (0); } 2404exit (0); }
2404 2405
2405EOF 2406EOF
2406if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2407if { (eval echo configure:2408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2407then 2408then
2408 : 2409 :
2409else 2410else
@@ -2427,12 +2428,12 @@ EOF
2427fi 2428fi
2428 2429
2429echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2430echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2430echo "configure:2431: checking whether time.h and sys/time.h may both be included" >&5 2431echo "configure:2432: checking whether time.h and sys/time.h may both be included" >&5
2431if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2432if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2432 echo $ac_n "(cached) $ac_c" 1>&6 2433 echo $ac_n "(cached) $ac_c" 1>&6
2433else 2434else
2434 cat > conftest.$ac_ext <<EOF 2435 cat > conftest.$ac_ext <<EOF
2435#line 2436 "configure" 2436#line 2437 "configure"
2436#include "confdefs.h" 2437#include "confdefs.h"
2437#include <sys/types.h> 2438#include <sys/types.h>
2438#include <sys/time.h> 2439#include <sys/time.h>
@@ -2441,7 +2442,7 @@ int main() {
2441struct tm *tp; 2442struct tm *tp;
2442; return 0; } 2443; return 0; }
2443EOF 2444EOF
2444if { (eval echo configure:2445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2445if { (eval echo configure:2446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2445 rm -rf conftest* 2446 rm -rf conftest*
2446 ac_cv_header_time=yes 2447 ac_cv_header_time=yes
2447else 2448else
@@ -2462,12 +2463,12 @@ EOF
2462fi 2463fi
2463 2464
2464echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2465echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2465echo "configure:2466: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2466echo "configure:2467: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2466if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2467if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2467 echo $ac_n "(cached) $ac_c" 1>&6 2468 echo $ac_n "(cached) $ac_c" 1>&6
2468else 2469else
2469 cat > conftest.$ac_ext <<EOF 2470 cat > conftest.$ac_ext <<EOF
2470#line 2471 "configure" 2471#line 2472 "configure"
2471#include "confdefs.h" 2472#include "confdefs.h"
2472#include <sys/types.h> 2473#include <sys/types.h>
2473#include <signal.h> 2474#include <signal.h>
@@ -2479,7 +2480,7 @@ int main() {
2479char *msg = *(sys_siglist + 1); 2480char *msg = *(sys_siglist + 1);
2480; return 0; } 2481; return 0; }
2481EOF 2482EOF
2482if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2483if { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2483 rm -rf conftest* 2484 rm -rf conftest*
2484 ac_cv_decl_sys_siglist=yes 2485 ac_cv_decl_sys_siglist=yes
2485else 2486else
@@ -2501,12 +2502,12 @@ fi
2501 2502
2502 2503
2503echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2504echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2504echo "configure:2505: checking for struct utimbuf" >&5 2505echo "configure:2506: checking for struct utimbuf" >&5
2505if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2506if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2506 echo $ac_n "(cached) $ac_c" 1>&6 2507 echo $ac_n "(cached) $ac_c" 1>&6
2507else 2508else
2508 cat > conftest.$ac_ext <<EOF 2509 cat > conftest.$ac_ext <<EOF
2509#line 2510 "configure" 2510#line 2511 "configure"
2510#include "confdefs.h" 2511#include "confdefs.h"
2511#ifdef TIME_WITH_SYS_TIME 2512#ifdef TIME_WITH_SYS_TIME
2512#include <sys/time.h> 2513#include <sys/time.h>
@@ -2525,7 +2526,7 @@ int main() {
2525static struct utimbuf x; x.actime = x.modtime; 2526static struct utimbuf x; x.actime = x.modtime;
2526; return 0; } 2527; return 0; }
2527EOF 2528EOF
2528if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2529if { (eval echo configure:2530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2529 rm -rf conftest* 2530 rm -rf conftest*
2530 emacs_cv_struct_utimbuf=yes 2531 emacs_cv_struct_utimbuf=yes
2531else 2532else
@@ -2546,12 +2547,12 @@ EOF
2546fi 2547fi
2547 2548
2548echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2549echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2549echo "configure:2550: checking return type of signal handlers" >&5 2550echo "configure:2551: checking return type of signal handlers" >&5
2550if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2551if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2551 echo $ac_n "(cached) $ac_c" 1>&6 2552 echo $ac_n "(cached) $ac_c" 1>&6
2552else 2553else
2553 cat > conftest.$ac_ext <<EOF 2554 cat > conftest.$ac_ext <<EOF
2554#line 2555 "configure" 2555#line 2556 "configure"
2555#include "confdefs.h" 2556#include "confdefs.h"
2556#include <sys/types.h> 2557#include <sys/types.h>
2557#include <signal.h> 2558#include <signal.h>
@@ -2568,7 +2569,7 @@ int main() {
2568int i; 2569int i;
2569; return 0; } 2570; return 0; }
2570EOF 2571EOF
2571if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2572if { (eval echo configure:2573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2572 rm -rf conftest* 2573 rm -rf conftest*
2573 ac_cv_type_signal=void 2574 ac_cv_type_signal=void
2574else 2575else
@@ -2588,19 +2589,19 @@ EOF
2588 2589
2589 2590
2590echo $ac_n "checking for speed_t""... $ac_c" 1>&6 2591echo $ac_n "checking for speed_t""... $ac_c" 1>&6
2591echo "configure:2592: checking for speed_t" >&5 2592echo "configure:2593: checking for speed_t" >&5
2592if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 2593if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
2593 echo $ac_n "(cached) $ac_c" 1>&6 2594 echo $ac_n "(cached) $ac_c" 1>&6
2594else 2595else
2595 cat > conftest.$ac_ext <<EOF 2596 cat > conftest.$ac_ext <<EOF
2596#line 2597 "configure" 2597#line 2598 "configure"
2597#include "confdefs.h" 2598#include "confdefs.h"
2598#include <termios.h> 2599#include <termios.h>
2599int main() { 2600int main() {
2600speed_t x = 1; 2601speed_t x = 1;
2601; return 0; } 2602; return 0; }
2602EOF 2603EOF
2603if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2604if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2604 rm -rf conftest* 2605 rm -rf conftest*
2605 emacs_cv_speed_t=yes 2606 emacs_cv_speed_t=yes
2606else 2607else
@@ -2619,12 +2620,12 @@ EOF
2619fi 2620fi
2620 2621
2621echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2622echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2622echo "configure:2623: checking for struct timeval" >&5 2623echo "configure:2624: checking for struct timeval" >&5
2623if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2624if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2624 echo $ac_n "(cached) $ac_c" 1>&6 2625 echo $ac_n "(cached) $ac_c" 1>&6
2625else 2626else
2626 cat > conftest.$ac_ext <<EOF 2627 cat > conftest.$ac_ext <<EOF
2627#line 2628 "configure" 2628#line 2629 "configure"
2628#include "confdefs.h" 2629#include "confdefs.h"
2629#ifdef TIME_WITH_SYS_TIME 2630#ifdef TIME_WITH_SYS_TIME
2630#include <sys/time.h> 2631#include <sys/time.h>
@@ -2640,7 +2641,7 @@ int main() {
2640static struct timeval x; x.tv_sec = x.tv_usec; 2641static struct timeval x; x.tv_sec = x.tv_usec;
2641; return 0; } 2642; return 0; }
2642EOF 2643EOF
2643if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2644if { (eval echo configure:2645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2644 rm -rf conftest* 2645 rm -rf conftest*
2645 emacs_cv_struct_timeval=yes 2646 emacs_cv_struct_timeval=yes
2646else 2647else
@@ -2662,19 +2663,19 @@ EOF
2662fi 2663fi
2663 2664
2664echo $ac_n "checking for struct exception""... $ac_c" 1>&6 2665echo $ac_n "checking for struct exception""... $ac_c" 1>&6
2665echo "configure:2666: checking for struct exception" >&5 2666echo "configure:2667: checking for struct exception" >&5
2666if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then 2667if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
2667 echo $ac_n "(cached) $ac_c" 1>&6 2668 echo $ac_n "(cached) $ac_c" 1>&6
2668else 2669else
2669 cat > conftest.$ac_ext <<EOF 2670 cat > conftest.$ac_ext <<EOF
2670#line 2671 "configure" 2671#line 2672 "configure"
2671#include "confdefs.h" 2672#include "confdefs.h"
2672#include <math.h> 2673#include <math.h>
2673int main() { 2674int main() {
2674static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 2675static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
2675; return 0; } 2676; return 0; }
2676EOF 2677EOF
2677if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2678if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2678 rm -rf conftest* 2679 rm -rf conftest*
2679 emacs_cv_struct_exception=yes 2680 emacs_cv_struct_exception=yes
2680else 2681else
@@ -2696,12 +2697,12 @@ EOF
2696fi 2697fi
2697 2698
2698echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2699echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2699echo "configure:2700: checking whether struct tm is in sys/time.h or time.h" >&5 2700echo "configure:2701: checking whether struct tm is in sys/time.h or time.h" >&5
2700if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2701if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2701 echo $ac_n "(cached) $ac_c" 1>&6 2702 echo $ac_n "(cached) $ac_c" 1>&6
2702else 2703else
2703 cat > conftest.$ac_ext <<EOF 2704 cat > conftest.$ac_ext <<EOF
2704#line 2705 "configure" 2705#line 2706 "configure"
2705#include "confdefs.h" 2706#include "confdefs.h"
2706#include <sys/types.h> 2707#include <sys/types.h>
2707#include <time.h> 2708#include <time.h>
@@ -2709,7 +2710,7 @@ int main() {
2709struct tm *tp; tp->tm_sec; 2710struct tm *tp; tp->tm_sec;
2710; return 0; } 2711; return 0; }
2711EOF 2712EOF
2712if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2713if { (eval echo configure:2714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2713 rm -rf conftest* 2714 rm -rf conftest*
2714 ac_cv_struct_tm=time.h 2715 ac_cv_struct_tm=time.h
2715else 2716else
@@ -2730,12 +2731,12 @@ EOF
2730fi 2731fi
2731 2732
2732echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2733echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2733echo "configure:2734: checking for tm_zone in struct tm" >&5 2734echo "configure:2735: checking for tm_zone in struct tm" >&5
2734if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2735if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2735 echo $ac_n "(cached) $ac_c" 1>&6 2736 echo $ac_n "(cached) $ac_c" 1>&6
2736else 2737else
2737 cat > conftest.$ac_ext <<EOF 2738 cat > conftest.$ac_ext <<EOF
2738#line 2739 "configure" 2739#line 2740 "configure"
2739#include "confdefs.h" 2740#include "confdefs.h"
2740#include <sys/types.h> 2741#include <sys/types.h>
2741#include <$ac_cv_struct_tm> 2742#include <$ac_cv_struct_tm>
@@ -2743,7 +2744,7 @@ int main() {
2743struct tm tm; tm.tm_zone; 2744struct tm tm; tm.tm_zone;
2744; return 0; } 2745; return 0; }
2745EOF 2746EOF
2746if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2747if { (eval echo configure:2748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2747 rm -rf conftest* 2748 rm -rf conftest*
2748 ac_cv_struct_tm_zone=yes 2749 ac_cv_struct_tm_zone=yes
2749else 2750else
@@ -2763,12 +2764,12 @@ EOF
2763 2764
2764else 2765else
2765 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2766 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2766echo "configure:2767: checking for tzname" >&5 2767echo "configure:2768: checking for tzname" >&5
2767if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2768if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2768 echo $ac_n "(cached) $ac_c" 1>&6 2769 echo $ac_n "(cached) $ac_c" 1>&6
2769else 2770else
2770 cat > conftest.$ac_ext <<EOF 2771 cat > conftest.$ac_ext <<EOF
2771#line 2772 "configure" 2772#line 2773 "configure"
2772#include "confdefs.h" 2773#include "confdefs.h"
2773#include <time.h> 2774#include <time.h>
2774#ifndef tzname /* For SGI. */ 2775#ifndef tzname /* For SGI. */
@@ -2778,7 +2779,7 @@ int main() {
2778atoi(*tzname); 2779atoi(*tzname);
2779; return 0; } 2780; return 0; }
2780EOF 2781EOF
2781if { (eval echo configure:2782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2782if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2782 rm -rf conftest* 2783 rm -rf conftest*
2783 ac_cv_var_tzname=yes 2784 ac_cv_var_tzname=yes
2784else 2785else
@@ -2800,19 +2801,19 @@ EOF
2800fi 2801fi
2801 2802
2802echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2803echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2803echo "configure:2804: checking for tm_gmtoff in struct tm" >&5 2804echo "configure:2805: checking for tm_gmtoff in struct tm" >&5
2804if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2805if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2805 echo $ac_n "(cached) $ac_c" 1>&6 2806 echo $ac_n "(cached) $ac_c" 1>&6
2806else 2807else
2807 cat > conftest.$ac_ext <<EOF 2808 cat > conftest.$ac_ext <<EOF
2808#line 2809 "configure" 2809#line 2810 "configure"
2809#include "confdefs.h" 2810#include "confdefs.h"
2810#include <time.h> 2811#include <time.h>
2811int main() { 2812int main() {
2812struct tm t; t.tm_gmtoff = 0 2813struct tm t; t.tm_gmtoff = 0
2813; return 0; } 2814; return 0; }
2814EOF 2815EOF
2815if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2816if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2816 rm -rf conftest* 2817 rm -rf conftest*
2817 emacs_cv_tm_gmtoff=yes 2818 emacs_cv_tm_gmtoff=yes
2818else 2819else
@@ -2834,7 +2835,7 @@ fi
2834 2835
2835 2836
2836echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2837echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2837echo "configure:2838: checking for ${CC-cc} option to accept ANSI C" >&5 2838echo "configure:2839: checking for ${CC-cc} option to accept ANSI C" >&5
2838if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2839if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2839 echo $ac_n "(cached) $ac_c" 1>&6 2840 echo $ac_n "(cached) $ac_c" 1>&6
2840else 2841else
@@ -2851,7 +2852,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2851do 2852do
2852 CC="$ac_save_CC $ac_arg" 2853 CC="$ac_save_CC $ac_arg"
2853 cat > conftest.$ac_ext <<EOF 2854 cat > conftest.$ac_ext <<EOF
2854#line 2855 "configure" 2855#line 2856 "configure"
2855#include "confdefs.h" 2856#include "confdefs.h"
2856#include <stdarg.h> 2857#include <stdarg.h>
2857#include <stdio.h> 2858#include <stdio.h>
@@ -2885,7 +2886,7 @@ int main() {
2885return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2886return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2886; return 0; } 2887; return 0; }
2887EOF 2888EOF
2888if { (eval echo configure:2889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2889if { (eval echo configure:2890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2889 rm -rf conftest* 2890 rm -rf conftest*
2890 ac_cv_prog_cc_stdc="$ac_arg"; break 2891 ac_cv_prog_cc_stdc="$ac_arg"; break
2891else 2892else
@@ -2907,7 +2908,7 @@ case "x$ac_cv_prog_cc_stdc" in
2907esac 2908esac
2908 2909
2909echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 2910echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2910echo "configure:2911: checking for function prototypes" >&5 2911echo "configure:2912: checking for function prototypes" >&5
2911if test "$ac_cv_prog_cc_stdc" != no; then 2912if test "$ac_cv_prog_cc_stdc" != no; then
2912 echo "$ac_t""yes" 1>&6 2913 echo "$ac_t""yes" 1>&6
2913 cat >> confdefs.h <<\EOF 2914 cat >> confdefs.h <<\EOF
@@ -2919,12 +2920,12 @@ else
2919fi 2920fi
2920 2921
2921echo $ac_n "checking for working volatile""... $ac_c" 1>&6 2922echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2922echo "configure:2923: checking for working volatile" >&5 2923echo "configure:2924: checking for working volatile" >&5
2923if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 2924if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2924 echo $ac_n "(cached) $ac_c" 1>&6 2925 echo $ac_n "(cached) $ac_c" 1>&6
2925else 2926else
2926 cat > conftest.$ac_ext <<EOF 2927 cat > conftest.$ac_ext <<EOF
2927#line 2928 "configure" 2928#line 2929 "configure"
2928#include "confdefs.h" 2929#include "confdefs.h"
2929 2930
2930int main() { 2931int main() {
@@ -2933,7 +2934,7 @@ volatile int x;
2933int * volatile y; 2934int * volatile y;
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_volatile=yes 2939 ac_cv_c_volatile=yes
2939else 2940else
@@ -2954,18 +2955,18 @@ EOF
2954fi 2955fi
2955 2956
2956echo $ac_n "checking for working const""... $ac_c" 1>&6 2957echo $ac_n "checking for working const""... $ac_c" 1>&6
2957echo "configure:2958: checking for working const" >&5 2958echo "configure:2959: checking for working const" >&5
2958if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2959if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2959 echo $ac_n "(cached) $ac_c" 1>&6 2960 echo $ac_n "(cached) $ac_c" 1>&6
2960else 2961else
2961 cat > conftest.$ac_ext <<EOF 2962 cat > conftest.$ac_ext <<EOF
2962#line 2963 "configure" 2963#line 2964 "configure"
2963#include "confdefs.h" 2964#include "confdefs.h"
2964 2965
2965int main() { 2966int main() {
2966 2967
2967/* Ultrix mips cc rejects this. */ 2968/* Ultrix mips cc rejects this. */
2968typedef int charset[2]; const charset x = {0,0}; 2969typedef int charset[2]; const charset x;
2969/* SunOS 4.1.1 cc rejects this. */ 2970/* SunOS 4.1.1 cc rejects this. */
2970char const *const *ccp; 2971char const *const *ccp;
2971char **p; 2972char **p;
@@ -3008,7 +3009,7 @@ ccp = (char const *const *) p;
3008 3009
3009; return 0; } 3010; return 0; }
3010EOF 3011EOF
3011if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3012if { (eval echo configure:3013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3012 rm -rf conftest* 3013 rm -rf conftest*
3013 ac_cv_c_const=yes 3014 ac_cv_c_const=yes
3014else 3015else
@@ -3029,19 +3030,19 @@ EOF
3029fi 3030fi
3030 3031
3031echo $ac_n "checking for void * support""... $ac_c" 1>&6 3032echo $ac_n "checking for void * support""... $ac_c" 1>&6
3032echo "configure:3033: checking for void * support" >&5 3033echo "configure:3034: checking for void * support" >&5
3033if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3034if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
3034 echo $ac_n "(cached) $ac_c" 1>&6 3035 echo $ac_n "(cached) $ac_c" 1>&6
3035else 3036else
3036 cat > conftest.$ac_ext <<EOF 3037 cat > conftest.$ac_ext <<EOF
3037#line 3038 "configure" 3038#line 3039 "configure"
3038#include "confdefs.h" 3039#include "confdefs.h"
3039 3040
3040int main() { 3041int main() {
3041void * foo; 3042void * foo;
3042; return 0; } 3043; return 0; }
3043EOF 3044EOF
3044if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3045if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3045 rm -rf conftest* 3046 rm -rf conftest*
3046 emacs_cv_void_star=yes 3047 emacs_cv_void_star=yes
3047else 3048else
@@ -3067,7 +3068,7 @@ EOF
3067fi 3068fi
3068 3069
3069echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3070echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3070echo "configure:3071: checking whether ${MAKE-make} sets \${MAKE}" >&5 3071echo "configure:3072: checking whether ${MAKE-make} sets \${MAKE}" >&5
3071set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3072set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3072if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3073if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3073 echo $ac_n "(cached) $ac_c" 1>&6 3074 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3095,7 +3096,7 @@ fi
3095 3096
3096 3097
3097echo $ac_n "checking for long file names""... $ac_c" 1>&6 3098echo $ac_n "checking for long file names""... $ac_c" 1>&6
3098echo "configure:3099: checking for long file names" >&5 3099echo "configure:3100: checking for long file names" >&5
3099if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3100if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3100 echo $ac_n "(cached) $ac_c" 1>&6 3101 echo $ac_n "(cached) $ac_c" 1>&6
3101else 3102else
@@ -3146,7 +3147,7 @@ fi
3146# Uses ac_ vars as temps to allow command line to override cache and checks. 3147# Uses ac_ vars as temps to allow command line to override cache and checks.
3147# --without-x overrides everything else, but does not touch the cache. 3148# --without-x overrides everything else, but does not touch the cache.
3148echo $ac_n "checking for X""... $ac_c" 1>&6 3149echo $ac_n "checking for X""... $ac_c" 1>&6
3149echo "configure:3150: checking for X" >&5 3150echo "configure:3151: checking for X" >&5
3150 3151
3151# Check whether --with-x or --without-x was given. 3152# Check whether --with-x or --without-x was given.
3152if test "${with_x+set}" = set; then 3153if test "${with_x+set}" = set; then
@@ -3208,12 +3209,12 @@ if test "$ac_x_includes" = NO; then
3208 3209
3209 # First, try using that file with no special directory specified. 3210 # First, try using that file with no special directory specified.
3210cat > conftest.$ac_ext <<EOF 3211cat > conftest.$ac_ext <<EOF
3211#line 3212 "configure" 3212#line 3213 "configure"
3212#include "confdefs.h" 3213#include "confdefs.h"
3213#include <$x_direct_test_include> 3214#include <$x_direct_test_include>
3214EOF 3215EOF
3215ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3216{ (eval echo configure:3217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3217{ (eval echo configure:3218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3217ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3218ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3218if test -z "$ac_err"; then 3219if test -z "$ac_err"; then
3219 rm -rf conftest* 3220 rm -rf conftest*
@@ -3282,14 +3283,14 @@ if test "$ac_x_libraries" = NO; then
3282 ac_save_LIBS="$LIBS" 3283 ac_save_LIBS="$LIBS"
3283 LIBS="-l$x_direct_test_library $LIBS" 3284 LIBS="-l$x_direct_test_library $LIBS"
3284cat > conftest.$ac_ext <<EOF 3285cat > conftest.$ac_ext <<EOF
3285#line 3286 "configure" 3286#line 3287 "configure"
3286#include "confdefs.h" 3287#include "confdefs.h"
3287 3288
3288int main() { 3289int main() {
3289${x_direct_test_function}() 3290${x_direct_test_function}()
3290; return 0; } 3291; return 0; }
3291EOF 3292EOF
3292if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3293if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3293 rm -rf conftest* 3294 rm -rf conftest*
3294 LIBS="$ac_save_LIBS" 3295 LIBS="$ac_save_LIBS"
3295# We can link X programs with no special library path. 3296# We can link X programs with no special library path.
@@ -3464,7 +3465,7 @@ fi
3464echo "checking the machine- and system-dependent files to find out 3465echo "checking the machine- and system-dependent files to find out
3465 - which libraries the lib-src programs will want, and 3466 - which libraries the lib-src programs will want, and
3466 - whether the GNU malloc routines are usable" 1>&6 3467 - whether the GNU malloc routines are usable" 1>&6
3467echo "configure:3468: checking the machine- and system-dependent files to find out 3468echo "configure:3469: checking the machine- and system-dependent files to find out
3468 - which libraries the lib-src programs will want, and 3469 - which libraries the lib-src programs will want, and
3469 - whether the GNU malloc routines are usable" >&5 3470 - whether the GNU malloc routines are usable" >&5
3470 3471
@@ -3598,12 +3599,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3598GNU_MALLOC=yes 3599GNU_MALLOC=yes
3599doug_lea_malloc=yes 3600doug_lea_malloc=yes
3600echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3601echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3601echo "configure:3602: checking for malloc_get_state" >&5 3602echo "configure:3603: checking for malloc_get_state" >&5
3602if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3603if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3603 echo $ac_n "(cached) $ac_c" 1>&6 3604 echo $ac_n "(cached) $ac_c" 1>&6
3604else 3605else
3605 cat > conftest.$ac_ext <<EOF 3606 cat > conftest.$ac_ext <<EOF
3606#line 3607 "configure" 3607#line 3608 "configure"
3607#include "confdefs.h" 3608#include "confdefs.h"
3608/* System header to define __stub macros and hopefully few prototypes, 3609/* System header to define __stub macros and hopefully few prototypes,
3609 which can conflict with char malloc_get_state(); below. */ 3610 which can conflict with char malloc_get_state(); below. */
@@ -3626,7 +3627,7 @@ malloc_get_state();
3626 3627
3627; return 0; } 3628; return 0; }
3628EOF 3629EOF
3629if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3630if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3630 rm -rf conftest* 3631 rm -rf conftest*
3631 eval "ac_cv_func_malloc_get_state=yes" 3632 eval "ac_cv_func_malloc_get_state=yes"
3632else 3633else
@@ -3647,12 +3648,12 @@ doug_lea_malloc=no
3647fi 3648fi
3648 3649
3649echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3650echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3650echo "configure:3651: checking for malloc_set_state" >&5 3651echo "configure:3652: checking for malloc_set_state" >&5
3651if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3652if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3652 echo $ac_n "(cached) $ac_c" 1>&6 3653 echo $ac_n "(cached) $ac_c" 1>&6
3653else 3654else
3654 cat > conftest.$ac_ext <<EOF 3655 cat > conftest.$ac_ext <<EOF
3655#line 3656 "configure" 3656#line 3657 "configure"
3656#include "confdefs.h" 3657#include "confdefs.h"
3657/* System header to define __stub macros and hopefully few prototypes, 3658/* System header to define __stub macros and hopefully few prototypes,
3658 which can conflict with char malloc_set_state(); below. */ 3659 which can conflict with char malloc_set_state(); below. */
@@ -3675,7 +3676,7 @@ malloc_set_state();
3675 3676
3676; return 0; } 3677; return 0; }
3677EOF 3678EOF
3678if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3679if { (eval echo configure:3680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3679 rm -rf conftest* 3680 rm -rf conftest*
3680 eval "ac_cv_func_malloc_set_state=yes" 3681 eval "ac_cv_func_malloc_set_state=yes"
3681else 3682else
@@ -3696,19 +3697,19 @@ doug_lea_malloc=no
3696fi 3697fi
3697 3698
3698echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3699echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3699echo "configure:3700: checking whether __after_morecore_hook exists" >&5 3700echo "configure:3701: checking whether __after_morecore_hook exists" >&5
3700if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3701if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3701 echo $ac_n "(cached) $ac_c" 1>&6 3702 echo $ac_n "(cached) $ac_c" 1>&6
3702else 3703else
3703 cat > conftest.$ac_ext <<EOF 3704 cat > conftest.$ac_ext <<EOF
3704#line 3705 "configure" 3705#line 3706 "configure"
3705#include "confdefs.h" 3706#include "confdefs.h"
3706extern void (* __after_morecore_hook)(); 3707extern void (* __after_morecore_hook)();
3707int main() { 3708int main() {
3708__after_morecore_hook = 0 3709__after_morecore_hook = 0
3709; return 0; } 3710; return 0; }
3710EOF 3711EOF
3711if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3712if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3712 rm -rf conftest* 3713 rm -rf conftest*
3713 emacs_cv_var___after_morecore_hook=yes 3714 emacs_cv_var___after_morecore_hook=yes
3714else 3715else
@@ -3755,7 +3756,7 @@ fi
3755LIBS="$libsrc_libs $LIBS" 3756LIBS="$libsrc_libs $LIBS"
3756 3757
3757echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3758echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3758echo "configure:3759: checking for dnet_ntoa in -ldnet" >&5 3759echo "configure:3760: checking for dnet_ntoa in -ldnet" >&5
3759ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3760ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3760if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3761if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3761 echo $ac_n "(cached) $ac_c" 1>&6 3762 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3763,7 +3764,7 @@ else
3763 ac_save_LIBS="$LIBS" 3764 ac_save_LIBS="$LIBS"
3764LIBS="-ldnet $LIBS" 3765LIBS="-ldnet $LIBS"
3765cat > conftest.$ac_ext <<EOF 3766cat > conftest.$ac_ext <<EOF
3766#line 3767 "configure" 3767#line 3768 "configure"
3767#include "confdefs.h" 3768#include "confdefs.h"
3768/* Override any gcc2 internal prototype to avoid an error. */ 3769/* Override any gcc2 internal prototype to avoid an error. */
3769/* We use char because int might match the return type of a gcc2 3770/* We use char because int might match the return type of a gcc2
@@ -3774,7 +3775,7 @@ int main() {
3774dnet_ntoa() 3775dnet_ntoa()
3775; return 0; } 3776; return 0; }
3776EOF 3777EOF
3777if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3778if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3778 rm -rf conftest* 3779 rm -rf conftest*
3779 eval "ac_cv_lib_$ac_lib_var=yes" 3780 eval "ac_cv_lib_$ac_lib_var=yes"
3780else 3781else
@@ -3803,7 +3804,7 @@ fi
3803 3804
3804 3805
3805echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3806echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3806echo "configure:3807: checking for main in -lXbsd" >&5 3807echo "configure:3808: checking for main in -lXbsd" >&5
3807ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3808ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3808if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3809if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3809 echo $ac_n "(cached) $ac_c" 1>&6 3810 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3811,14 +3812,14 @@ else
3811 ac_save_LIBS="$LIBS" 3812 ac_save_LIBS="$LIBS"
3812LIBS="-lXbsd $LIBS" 3813LIBS="-lXbsd $LIBS"
3813cat > conftest.$ac_ext <<EOF 3814cat > conftest.$ac_ext <<EOF
3814#line 3815 "configure" 3815#line 3816 "configure"
3815#include "confdefs.h" 3816#include "confdefs.h"
3816 3817
3817int main() { 3818int main() {
3818main() 3819main()
3819; return 0; } 3820; return 0; }
3820EOF 3821EOF
3821if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3822if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3822 rm -rf conftest* 3823 rm -rf conftest*
3823 eval "ac_cv_lib_$ac_lib_var=yes" 3824 eval "ac_cv_lib_$ac_lib_var=yes"
3824else 3825else
@@ -3840,7 +3841,7 @@ fi
3840 3841
3841 3842
3842echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3843echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3843echo "configure:3844: checking for cma_open in -lpthreads" >&5 3844echo "configure:3845: checking for cma_open in -lpthreads" >&5
3844ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3845ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3846if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3846 echo $ac_n "(cached) $ac_c" 1>&6 3847 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3848,7 +3849,7 @@ else
3848 ac_save_LIBS="$LIBS" 3849 ac_save_LIBS="$LIBS"
3849LIBS="-lpthreads $LIBS" 3850LIBS="-lpthreads $LIBS"
3850cat > conftest.$ac_ext <<EOF 3851cat > conftest.$ac_ext <<EOF
3851#line 3852 "configure" 3852#line 3853 "configure"
3852#include "confdefs.h" 3853#include "confdefs.h"
3853/* Override any gcc2 internal prototype to avoid an error. */ 3854/* Override any gcc2 internal prototype to avoid an error. */
3854/* We use char because int might match the return type of a gcc2 3855/* We use char because int might match the return type of a gcc2
@@ -3859,7 +3860,7 @@ int main() {
3859cma_open() 3860cma_open()
3860; return 0; } 3861; return 0; }
3861EOF 3862EOF
3862if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3863if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3863 rm -rf conftest* 3864 rm -rf conftest*
3864 eval "ac_cv_lib_$ac_lib_var=yes" 3865 eval "ac_cv_lib_$ac_lib_var=yes"
3865else 3866else
@@ -3888,7 +3889,7 @@ fi
3888 3889
3889 3890
3890echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3891echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3891echo "configure:3892: checking for XFree86 in /usr/X386" >&5 3892echo "configure:3893: checking for XFree86 in /usr/X386" >&5
3892if test -d /usr/X386/include; then 3893if test -d /usr/X386/include; then
3893 HAVE_XFREE386=yes 3894 HAVE_XFREE386=yes
3894 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3895 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3917,16 +3918,16 @@ if test "${HAVE_X11}" = "yes"; then
3917 3918
3918 if test "${opsys}" = "gnu-linux"; then 3919 if test "${opsys}" = "gnu-linux"; then
3919 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3920 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3920echo "configure:3921: checking whether X on GNU/Linux needs -b to link" >&5 3921echo "configure:3922: checking whether X on GNU/Linux needs -b to link" >&5
3921 cat > conftest.$ac_ext <<EOF 3922 cat > conftest.$ac_ext <<EOF
3922#line 3923 "configure" 3923#line 3924 "configure"
3923#include "confdefs.h" 3924#include "confdefs.h"
3924 3925
3925int main() { 3926int main() {
3926XOpenDisplay ("foo"); 3927XOpenDisplay ("foo");
3927; return 0; } 3928; return 0; }
3928EOF 3929EOF
3929if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3930if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3930 rm -rf conftest* 3931 rm -rf conftest*
3931 xlinux_first_failure=no 3932 xlinux_first_failure=no
3932else 3933else
@@ -3946,14 +3947,14 @@ rm -f conftest*
3946 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3947 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3947 LIBS="$LIBS -b i486-linuxaout" 3948 LIBS="$LIBS -b i486-linuxaout"
3948 cat > conftest.$ac_ext <<EOF 3949 cat > conftest.$ac_ext <<EOF
3949#line 3950 "configure" 3950#line 3951 "configure"
3950#include "confdefs.h" 3951#include "confdefs.h"
3951 3952
3952int main() { 3953int main() {
3953XOpenDisplay ("foo"); 3954XOpenDisplay ("foo");
3954; return 0; } 3955; return 0; }
3955EOF 3956EOF
3956if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3957if { (eval echo configure:3958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3957 rm -rf conftest* 3958 rm -rf conftest*
3958 xlinux_second_failure=no 3959 xlinux_second_failure=no
3959else 3960else
@@ -3983,12 +3984,12 @@ rm -f conftest*
3983XScreenNumberOfScreen XSetWMProtocols 3984XScreenNumberOfScreen XSetWMProtocols
3984do 3985do
3985echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3986echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3986echo "configure:3987: checking for $ac_func" >&5 3987echo "configure:3988: checking for $ac_func" >&5
3987if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3988if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3988 echo $ac_n "(cached) $ac_c" 1>&6 3989 echo $ac_n "(cached) $ac_c" 1>&6
3989else 3990else
3990 cat > conftest.$ac_ext <<EOF 3991 cat > conftest.$ac_ext <<EOF
3991#line 3992 "configure" 3992#line 3993 "configure"
3992#include "confdefs.h" 3993#include "confdefs.h"
3993/* System header to define __stub macros and hopefully few prototypes, 3994/* System header to define __stub macros and hopefully few prototypes,
3994 which can conflict with char $ac_func(); below. */ 3995 which can conflict with char $ac_func(); below. */
@@ -4011,7 +4012,7 @@ $ac_func();
4011 4012
4012; return 0; } 4013; return 0; }
4013EOF 4014EOF
4014if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4015if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4015 rm -rf conftest* 4016 rm -rf conftest*
4016 eval "ac_cv_func_$ac_func=yes" 4017 eval "ac_cv_func_$ac_func=yes"
4017else 4018else
@@ -4039,12 +4040,12 @@ fi
4039 4040
4040if test "${window_system}" = "x11"; then 4041if test "${window_system}" = "x11"; then
4041 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4042 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4042echo "configure:4043: checking X11 version 6" >&5 4043echo "configure:4044: checking X11 version 6" >&5
4043 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4044 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4044 echo $ac_n "(cached) $ac_c" 1>&6 4045 echo $ac_n "(cached) $ac_c" 1>&6
4045else 4046else
4046 cat > conftest.$ac_ext <<EOF 4047 cat > conftest.$ac_ext <<EOF
4047#line 4048 "configure" 4048#line 4049 "configure"
4048#include "confdefs.h" 4049#include "confdefs.h"
4049#include <X11/Xlib.h> 4050#include <X11/Xlib.h>
4050int main() { 4051int main() {
@@ -4054,7 +4055,7 @@ fail;
4054 4055
4055; return 0; } 4056; return 0; }
4056EOF 4057EOF
4057if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4058if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4058 rm -rf conftest* 4059 rm -rf conftest*
4059 emacs_cv_x11_version_6=yes 4060 emacs_cv_x11_version_6=yes
4060else 4061else
@@ -4079,12 +4080,12 @@ fi
4079 4080
4080if test "${window_system}" = "x11"; then 4081if test "${window_system}" = "x11"; then
4081 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4082 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4082echo "configure:4083: checking X11 version 5" >&5 4083echo "configure:4084: checking X11 version 5" >&5
4083 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4084 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4084 echo $ac_n "(cached) $ac_c" 1>&6 4085 echo $ac_n "(cached) $ac_c" 1>&6
4085else 4086else
4086 cat > conftest.$ac_ext <<EOF 4087 cat > conftest.$ac_ext <<EOF
4087#line 4088 "configure" 4088#line 4089 "configure"
4088#include "confdefs.h" 4089#include "confdefs.h"
4089#include <X11/Xlib.h> 4090#include <X11/Xlib.h>
4090int main() { 4091int main() {
@@ -4094,7 +4095,7 @@ fail;
4094 4095
4095; return 0; } 4096; return 0; }
4096EOF 4097EOF
4097if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4098if { (eval echo configure:4099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4098 rm -rf conftest* 4099 rm -rf conftest*
4099 emacs_cv_x11_version_5=yes 4100 emacs_cv_x11_version_5=yes
4100else 4101else
@@ -4122,12 +4123,12 @@ fi
4122if test x"${USE_X_TOOLKIT}" = xmaybe; then 4123if test x"${USE_X_TOOLKIT}" = xmaybe; then
4123 if test x"${HAVE_X11R5}" = xyes; then 4124 if test x"${HAVE_X11R5}" = xyes; then
4124 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4125 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4125echo "configure:4126: checking X11 version 5 with Xaw" >&5 4126echo "configure:4127: checking X11 version 5 with Xaw" >&5
4126 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4127 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4127 echo $ac_n "(cached) $ac_c" 1>&6 4128 echo $ac_n "(cached) $ac_c" 1>&6
4128else 4129else
4129 cat > conftest.$ac_ext <<EOF 4130 cat > conftest.$ac_ext <<EOF
4130#line 4131 "configure" 4131#line 4132 "configure"
4131#include "confdefs.h" 4132#include "confdefs.h"
4132 4133
4133#include <X11/Intrinsic.h> 4134#include <X11/Intrinsic.h>
@@ -4136,7 +4137,7 @@ int main() {
4136 4137
4137; return 0; } 4138; return 0; }
4138EOF 4139EOF
4139if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4140if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4140 rm -rf conftest* 4141 rm -rf conftest*
4141 emacs_cv_x11_version_5_with_xaw=yes 4142 emacs_cv_x11_version_5_with_xaw=yes
4142else 4143else
@@ -4164,12 +4165,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4164 4165
4165if test "${USE_X_TOOLKIT}" != "none"; then 4166if test "${USE_X_TOOLKIT}" != "none"; then
4166 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4167 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4167echo "configure:4168: checking X11 toolkit version" >&5 4168echo "configure:4169: checking X11 toolkit version" >&5
4168 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4169 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4169 echo $ac_n "(cached) $ac_c" 1>&6 4170 echo $ac_n "(cached) $ac_c" 1>&6
4170else 4171else
4171 cat > conftest.$ac_ext <<EOF 4172 cat > conftest.$ac_ext <<EOF
4172#line 4173 "configure" 4173#line 4174 "configure"
4173#include "confdefs.h" 4174#include "confdefs.h"
4174#include <X11/Intrinsic.h> 4175#include <X11/Intrinsic.h>
4175int main() { 4176int main() {
@@ -4179,7 +4180,7 @@ fail;
4179 4180
4180; return 0; } 4181; return 0; }
4181EOF 4182EOF
4182if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4183if { (eval echo configure:4184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4183 rm -rf conftest* 4184 rm -rf conftest*
4184 emacs_cv_x11_toolkit_version_6=yes 4185 emacs_cv_x11_toolkit_version_6=yes
4185else 4186else
@@ -4209,7 +4210,7 @@ EOF
4209 LIBS="-lXt $LIBS" 4210 LIBS="-lXt $LIBS"
4210 fi 4211 fi
4211 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4212 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4212echo "configure:4213: checking for XmuConvertStandardSelection in -lXmu" >&5 4213echo "configure:4214: checking for XmuConvertStandardSelection in -lXmu" >&5
4213ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4214ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4214if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4215if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4215 echo $ac_n "(cached) $ac_c" 1>&6 4216 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4217,7 +4218,7 @@ else
4217 ac_save_LIBS="$LIBS" 4218 ac_save_LIBS="$LIBS"
4218LIBS="-lXmu $LIBS" 4219LIBS="-lXmu $LIBS"
4219cat > conftest.$ac_ext <<EOF 4220cat > conftest.$ac_ext <<EOF
4220#line 4221 "configure" 4221#line 4222 "configure"
4221#include "confdefs.h" 4222#include "confdefs.h"
4222/* Override any gcc2 internal prototype to avoid an error. */ 4223/* Override any gcc2 internal prototype to avoid an error. */
4223/* We use char because int might match the return type of a gcc2 4224/* We use char because int might match the return type of a gcc2
@@ -4228,7 +4229,7 @@ int main() {
4228XmuConvertStandardSelection() 4229XmuConvertStandardSelection()
4229; return 0; } 4230; return 0; }
4230EOF 4231EOF
4231if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4232if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4232 rm -rf conftest* 4233 rm -rf conftest*
4233 eval "ac_cv_lib_$ac_lib_var=yes" 4234 eval "ac_cv_lib_$ac_lib_var=yes"
4234else 4235else
@@ -4260,12 +4261,12 @@ fi
4260 4261
4261if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4262if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4262 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4263 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4263echo "configure:4264: checking for Motif version 2.1" >&5 4264echo "configure:4265: checking for Motif version 2.1" >&5
4264if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4265if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4265 echo $ac_n "(cached) $ac_c" 1>&6 4266 echo $ac_n "(cached) $ac_c" 1>&6
4266else 4267else
4267 cat > conftest.$ac_ext <<EOF 4268 cat > conftest.$ac_ext <<EOF
4268#line 4269 "configure" 4269#line 4270 "configure"
4269#include "confdefs.h" 4270#include "confdefs.h"
4270#include <Xm/Xm.h> 4271#include <Xm/Xm.h>
4271int main() { 4272int main() {
@@ -4276,7 +4277,7 @@ Motif version prior to 2.1.
4276#endif 4277#endif
4277; return 0; } 4278; return 0; }
4278EOF 4279EOF
4279if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4280if { (eval echo configure:4281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4280 rm -rf conftest* 4281 rm -rf conftest*
4281 emacs_cv_motif_version_2_1=yes 4282 emacs_cv_motif_version_2_1=yes
4282else 4283else
@@ -4296,7 +4297,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4296EOF 4297EOF
4297 4298
4298 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4299 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4299echo "configure:4300: checking for XpCreateContext in -lXp" >&5 4300echo "configure:4301: checking for XpCreateContext in -lXp" >&5
4300ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4301ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4301if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4302if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4302 echo $ac_n "(cached) $ac_c" 1>&6 4303 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4304,7 +4305,7 @@ else
4304 ac_save_LIBS="$LIBS" 4305 ac_save_LIBS="$LIBS"
4305LIBS="-lXp $LIBS" 4306LIBS="-lXp $LIBS"
4306cat > conftest.$ac_ext <<EOF 4307cat > conftest.$ac_ext <<EOF
4307#line 4308 "configure" 4308#line 4309 "configure"
4308#include "confdefs.h" 4309#include "confdefs.h"
4309/* Override any gcc2 internal prototype to avoid an error. */ 4310/* Override any gcc2 internal prototype to avoid an error. */
4310/* We use char because int might match the return type of a gcc2 4311/* We use char because int might match the return type of a gcc2
@@ -4315,7 +4316,7 @@ int main() {
4315XpCreateContext() 4316XpCreateContext()
4316; return 0; } 4317; return 0; }
4317EOF 4318EOF
4318if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4319if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4319 rm -rf conftest* 4320 rm -rf conftest*
4320 eval "ac_cv_lib_$ac_lib_var=yes" 4321 eval "ac_cv_lib_$ac_lib_var=yes"
4321else 4322else
@@ -4353,17 +4354,17 @@ if test "${HAVE_X11}" = "yes"; then
4353 CFLAGS="${LD_SWITCH_X_SITE}" 4354 CFLAGS="${LD_SWITCH_X_SITE}"
4354 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4355 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4355echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4356echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4356echo "configure:4357: checking for X11/Xaw3d/Scrollbar.h" >&5 4357echo "configure:4358: checking for X11/Xaw3d/Scrollbar.h" >&5
4357if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4358if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4358 echo $ac_n "(cached) $ac_c" 1>&6 4359 echo $ac_n "(cached) $ac_c" 1>&6
4359else 4360else
4360 cat > conftest.$ac_ext <<EOF 4361 cat > conftest.$ac_ext <<EOF
4361#line 4362 "configure" 4362#line 4363 "configure"
4362#include "confdefs.h" 4363#include "confdefs.h"
4363#include <X11/Xaw3d/Scrollbar.h> 4364#include <X11/Xaw3d/Scrollbar.h>
4364EOF 4365EOF
4365ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4366ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4366{ (eval echo configure:4367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4367{ (eval echo configure:4368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4367ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4368ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4368if test -z "$ac_err"; then 4369if test -z "$ac_err"; then
4369 rm -rf conftest* 4370 rm -rf conftest*
@@ -4380,7 +4381,7 @@ fi
4380if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4381if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4381 echo "$ac_t""yes" 1>&6 4382 echo "$ac_t""yes" 1>&6
4382 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4383 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4383echo "configure:4384: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4384echo "configure:4385: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4384ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4385ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4385if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4386if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4386 echo $ac_n "(cached) $ac_c" 1>&6 4387 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4388,7 +4389,7 @@ else
4388 ac_save_LIBS="$LIBS" 4389 ac_save_LIBS="$LIBS"
4389LIBS="-lXaw3d -lX11 $LIBS" 4390LIBS="-lXaw3d -lX11 $LIBS"
4390cat > conftest.$ac_ext <<EOF 4391cat > conftest.$ac_ext <<EOF
4391#line 4392 "configure" 4392#line 4393 "configure"
4392#include "confdefs.h" 4393#include "confdefs.h"
4393/* Override any gcc2 internal prototype to avoid an error. */ 4394/* Override any gcc2 internal prototype to avoid an error. */
4394/* We use char because int might match the return type of a gcc2 4395/* We use char because int might match the return type of a gcc2
@@ -4399,7 +4400,7 @@ int main() {
4399XawScrollbarSetThumb() 4400XawScrollbarSetThumb()
4400; return 0; } 4401; return 0; }
4401EOF 4402EOF
4402if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4403if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4403 rm -rf conftest* 4404 rm -rf conftest*
4404 eval "ac_cv_lib_$ac_lib_var=yes" 4405 eval "ac_cv_lib_$ac_lib_var=yes"
4405else 4406else
@@ -4463,17 +4464,17 @@ if test "${HAVE_X11}" = "yes"; then
4463 CFLAGS="${LD_SWITCH_X_SITE}" 4464 CFLAGS="${LD_SWITCH_X_SITE}"
4464 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4465 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4465echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4466echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4466echo "configure:4467: checking for X11/xpm.h" >&5 4467echo "configure:4468: checking for X11/xpm.h" >&5
4467if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4468if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4468 echo $ac_n "(cached) $ac_c" 1>&6 4469 echo $ac_n "(cached) $ac_c" 1>&6
4469else 4470else
4470 cat > conftest.$ac_ext <<EOF 4471 cat > conftest.$ac_ext <<EOF
4471#line 4472 "configure" 4472#line 4473 "configure"
4472#include "confdefs.h" 4473#include "confdefs.h"
4473#include <X11/xpm.h> 4474#include <X11/xpm.h>
4474EOF 4475EOF
4475ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4476ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4476{ (eval echo configure:4477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4477{ (eval echo configure:4478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4477ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4478ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4478if test -z "$ac_err"; then 4479if test -z "$ac_err"; then
4479 rm -rf conftest* 4480 rm -rf conftest*
@@ -4490,7 +4491,7 @@ fi
4490if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4491if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4491 echo "$ac_t""yes" 1>&6 4492 echo "$ac_t""yes" 1>&6
4492 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4493 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4493echo "configure:4494: checking for XpmReadFileToPixmap in -lXpm" >&5 4494echo "configure:4495: checking for XpmReadFileToPixmap in -lXpm" >&5
4494ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4495ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4495if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4496if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4496 echo $ac_n "(cached) $ac_c" 1>&6 4497 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4498,7 +4499,7 @@ else
4498 ac_save_LIBS="$LIBS" 4499 ac_save_LIBS="$LIBS"
4499LIBS="-lXpm -lX11 $LIBS" 4500LIBS="-lXpm -lX11 $LIBS"
4500cat > conftest.$ac_ext <<EOF 4501cat > conftest.$ac_ext <<EOF
4501#line 4502 "configure" 4502#line 4503 "configure"
4502#include "confdefs.h" 4503#include "confdefs.h"
4503/* Override any gcc2 internal prototype to avoid an error. */ 4504/* Override any gcc2 internal prototype to avoid an error. */
4504/* We use char because int might match the return type of a gcc2 4505/* We use char because int might match the return type of a gcc2
@@ -4509,7 +4510,7 @@ int main() {
4509XpmReadFileToPixmap() 4510XpmReadFileToPixmap()
4510; return 0; } 4511; return 0; }
4511EOF 4512EOF
4512if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4513if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4513 rm -rf conftest* 4514 rm -rf conftest*
4514 eval "ac_cv_lib_$ac_lib_var=yes" 4515 eval "ac_cv_lib_$ac_lib_var=yes"
4515else 4516else
@@ -4552,17 +4553,17 @@ if test "${HAVE_X11}" = "yes"; then
4552 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4553 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4553 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4554 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4554echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4555echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4555echo "configure:4556: checking for jerror.h" >&5 4556echo "configure:4557: checking for jerror.h" >&5
4556if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4557if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6 4558 echo $ac_n "(cached) $ac_c" 1>&6
4558else 4559else
4559 cat > conftest.$ac_ext <<EOF 4560 cat > conftest.$ac_ext <<EOF
4560#line 4561 "configure" 4561#line 4562 "configure"
4561#include "confdefs.h" 4562#include "confdefs.h"
4562#include <jerror.h> 4563#include <jerror.h>
4563EOF 4564EOF
4564ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4565ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4565{ (eval echo configure:4566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4566{ (eval echo configure:4567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4566ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4567ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4567if test -z "$ac_err"; then 4568if test -z "$ac_err"; then
4568 rm -rf conftest* 4569 rm -rf conftest*
@@ -4579,7 +4580,7 @@ fi
4579if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4580if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4580 echo "$ac_t""yes" 1>&6 4581 echo "$ac_t""yes" 1>&6
4581 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4582 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4582echo "configure:4583: checking for jpeg_destroy_compress in -ljpeg" >&5 4583echo "configure:4584: checking for jpeg_destroy_compress in -ljpeg" >&5
4583ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4584ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4585if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4585 echo $ac_n "(cached) $ac_c" 1>&6 4586 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4587,7 +4588,7 @@ else
4587 ac_save_LIBS="$LIBS" 4588 ac_save_LIBS="$LIBS"
4588LIBS="-ljpeg -lX11 $LIBS" 4589LIBS="-ljpeg -lX11 $LIBS"
4589cat > conftest.$ac_ext <<EOF 4590cat > conftest.$ac_ext <<EOF
4590#line 4591 "configure" 4591#line 4592 "configure"
4591#include "confdefs.h" 4592#include "confdefs.h"
4592/* Override any gcc2 internal prototype to avoid an error. */ 4593/* Override any gcc2 internal prototype to avoid an error. */
4593/* We use char because int might match the return type of a gcc2 4594/* We use char because int might match the return type of a gcc2
@@ -4598,7 +4599,7 @@ int main() {
4598jpeg_destroy_compress() 4599jpeg_destroy_compress()
4599; return 0; } 4600; return 0; }
4600EOF 4601EOF
4601if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4602if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4602 rm -rf conftest* 4603 rm -rf conftest*
4603 eval "ac_cv_lib_$ac_lib_var=yes" 4604 eval "ac_cv_lib_$ac_lib_var=yes"
4604else 4605else
@@ -4641,17 +4642,17 @@ if test "${HAVE_X11}" = "yes"; then
4641 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4642 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4642 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4643 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4643echo $ac_n "checking for png.h""... $ac_c" 1>&6 4644echo $ac_n "checking for png.h""... $ac_c" 1>&6
4644echo "configure:4645: checking for png.h" >&5 4645echo "configure:4646: checking for png.h" >&5
4645if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4646if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4646 echo $ac_n "(cached) $ac_c" 1>&6 4647 echo $ac_n "(cached) $ac_c" 1>&6
4647else 4648else
4648 cat > conftest.$ac_ext <<EOF 4649 cat > conftest.$ac_ext <<EOF
4649#line 4650 "configure" 4650#line 4651 "configure"
4650#include "confdefs.h" 4651#include "confdefs.h"
4651#include <png.h> 4652#include <png.h>
4652EOF 4653EOF
4653ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4654ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4654{ (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4655{ (eval echo configure:4656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4655ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4656ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4656if test -z "$ac_err"; then 4657if test -z "$ac_err"; then
4657 rm -rf conftest* 4658 rm -rf conftest*
@@ -4668,7 +4669,7 @@ fi
4668if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4669if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4669 echo "$ac_t""yes" 1>&6 4670 echo "$ac_t""yes" 1>&6
4670 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4671 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4671echo "configure:4672: checking for png_set_expand in -lpng" >&5 4672echo "configure:4673: checking for png_set_expand in -lpng" >&5
4672ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4673ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4673if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4674if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4674 echo $ac_n "(cached) $ac_c" 1>&6 4675 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4676,7 +4677,7 @@ else
4676 ac_save_LIBS="$LIBS" 4677 ac_save_LIBS="$LIBS"
4677LIBS="-lpng -lX11 -lz -lm $LIBS" 4678LIBS="-lpng -lX11 -lz -lm $LIBS"
4678cat > conftest.$ac_ext <<EOF 4679cat > conftest.$ac_ext <<EOF
4679#line 4680 "configure" 4680#line 4681 "configure"
4680#include "confdefs.h" 4681#include "confdefs.h"
4681/* Override any gcc2 internal prototype to avoid an error. */ 4682/* Override any gcc2 internal prototype to avoid an error. */
4682/* We use char because int might match the return type of a gcc2 4683/* We use char because int might match the return type of a gcc2
@@ -4687,7 +4688,7 @@ int main() {
4687png_set_expand() 4688png_set_expand()
4688; return 0; } 4689; return 0; }
4689EOF 4690EOF
4690if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4691if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4691 rm -rf conftest* 4692 rm -rf conftest*
4692 eval "ac_cv_lib_$ac_lib_var=yes" 4693 eval "ac_cv_lib_$ac_lib_var=yes"
4693else 4694else
@@ -4730,17 +4731,17 @@ if test "${HAVE_X11}" = "yes"; then
4730 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4731 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4731 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4732 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4732echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4733echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4733echo "configure:4734: checking for tiffio.h" >&5 4734echo "configure:4735: checking for tiffio.h" >&5
4734if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4735if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4735 echo $ac_n "(cached) $ac_c" 1>&6 4736 echo $ac_n "(cached) $ac_c" 1>&6
4736else 4737else
4737 cat > conftest.$ac_ext <<EOF 4738 cat > conftest.$ac_ext <<EOF
4738#line 4739 "configure" 4739#line 4740 "configure"
4739#include "confdefs.h" 4740#include "confdefs.h"
4740#include <tiffio.h> 4741#include <tiffio.h>
4741EOF 4742EOF
4742ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4743ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4743{ (eval echo configure:4744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4744{ (eval echo configure:4745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4744ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4745ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4745if test -z "$ac_err"; then 4746if test -z "$ac_err"; then
4746 rm -rf conftest* 4747 rm -rf conftest*
@@ -4760,7 +4761,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4760 # At least one tiff package requires the jpeg library. 4761 # At least one tiff package requires the jpeg library.
4761 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4762 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4762 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4763 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4763echo "configure:4764: checking for TIFFGetVersion in -ltiff" >&5 4764echo "configure:4765: checking for TIFFGetVersion in -ltiff" >&5
4764ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4765ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4765if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4766if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4766 echo $ac_n "(cached) $ac_c" 1>&6 4767 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4768,7 +4769,7 @@ else
4768 ac_save_LIBS="$LIBS" 4769 ac_save_LIBS="$LIBS"
4769LIBS="-ltiff $tifflibs $LIBS" 4770LIBS="-ltiff $tifflibs $LIBS"
4770cat > conftest.$ac_ext <<EOF 4771cat > conftest.$ac_ext <<EOF
4771#line 4772 "configure" 4772#line 4773 "configure"
4772#include "confdefs.h" 4773#include "confdefs.h"
4773/* Override any gcc2 internal prototype to avoid an error. */ 4774/* Override any gcc2 internal prototype to avoid an error. */
4774/* We use char because int might match the return type of a gcc2 4775/* We use char because int might match the return type of a gcc2
@@ -4779,7 +4780,7 @@ int main() {
4779TIFFGetVersion() 4780TIFFGetVersion()
4780; return 0; } 4781; return 0; }
4781EOF 4782EOF
4782if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4783if { (eval echo configure:4784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4783 rm -rf conftest* 4784 rm -rf conftest*
4784 eval "ac_cv_lib_$ac_lib_var=yes" 4785 eval "ac_cv_lib_$ac_lib_var=yes"
4785else 4786else
@@ -4822,17 +4823,17 @@ if test "${HAVE_X11}" = "yes"; then
4822 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4823 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4823 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4824 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4824echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4825echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4825echo "configure:4826: checking for gif_lib.h" >&5 4826echo "configure:4827: checking for gif_lib.h" >&5
4826if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4827if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4827 echo $ac_n "(cached) $ac_c" 1>&6 4828 echo $ac_n "(cached) $ac_c" 1>&6
4828else 4829else
4829 cat > conftest.$ac_ext <<EOF 4830 cat > conftest.$ac_ext <<EOF
4830#line 4831 "configure" 4831#line 4832 "configure"
4831#include "confdefs.h" 4832#include "confdefs.h"
4832#include <gif_lib.h> 4833#include <gif_lib.h>
4833EOF 4834EOF
4834ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4835ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4835{ (eval echo configure:4836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4836{ (eval echo configure:4837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4836ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4837ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4837if test -z "$ac_err"; then 4838if test -z "$ac_err"; then
4838 rm -rf conftest* 4839 rm -rf conftest*
@@ -4849,7 +4850,7 @@ fi
4849if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4850if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4850 echo "$ac_t""yes" 1>&6 4851 echo "$ac_t""yes" 1>&6
4851 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4852 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4852echo "configure:4853: checking for DGifOpen in -lungif" >&5 4853echo "configure:4854: checking for DGifOpen in -lungif" >&5
4853ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4854ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4854if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4855if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4855 echo $ac_n "(cached) $ac_c" 1>&6 4856 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4857,7 +4858,7 @@ else
4857 ac_save_LIBS="$LIBS" 4858 ac_save_LIBS="$LIBS"
4858LIBS="-lungif -lX11 $LIBS" 4859LIBS="-lungif -lX11 $LIBS"
4859cat > conftest.$ac_ext <<EOF 4860cat > conftest.$ac_ext <<EOF
4860#line 4861 "configure" 4861#line 4862 "configure"
4861#include "confdefs.h" 4862#include "confdefs.h"
4862/* Override any gcc2 internal prototype to avoid an error. */ 4863/* Override any gcc2 internal prototype to avoid an error. */
4863/* We use char because int might match the return type of a gcc2 4864/* We use char because int might match the return type of a gcc2
@@ -4868,7 +4869,7 @@ int main() {
4868DGifOpen() 4869DGifOpen()
4869; return 0; } 4870; return 0; }
4870EOF 4871EOF
4871if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4872if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4872 rm -rf conftest* 4873 rm -rf conftest*
4873 eval "ac_cv_lib_$ac_lib_var=yes" 4874 eval "ac_cv_lib_$ac_lib_var=yes"
4874else 4875else
@@ -4905,19 +4906,19 @@ fi
4905 4906
4906# If netdb.h doesn't declare h_errno, we must declare it by hand. 4907# If netdb.h doesn't declare h_errno, we must declare it by hand.
4907echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4908echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4908echo "configure:4909: checking whether netdb declares h_errno" >&5 4909echo "configure:4910: checking whether netdb declares h_errno" >&5
4909if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4910if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4910 echo $ac_n "(cached) $ac_c" 1>&6 4911 echo $ac_n "(cached) $ac_c" 1>&6
4911else 4912else
4912 cat > conftest.$ac_ext <<EOF 4913 cat > conftest.$ac_ext <<EOF
4913#line 4914 "configure" 4914#line 4915 "configure"
4914#include "confdefs.h" 4915#include "confdefs.h"
4915#include <netdb.h> 4916#include <netdb.h>
4916int main() { 4917int main() {
4917return h_errno; 4918return h_errno;
4918; return 0; } 4919; return 0; }
4919EOF 4920EOF
4920if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4921if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4921 rm -rf conftest* 4922 rm -rf conftest*
4922 emacs_cv_netdb_declares_h_errno=yes 4923 emacs_cv_netdb_declares_h_errno=yes
4923else 4924else
@@ -4940,19 +4941,19 @@ fi
4940# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4941# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4941# for constant arguments. Useless! 4942# for constant arguments. Useless!
4942echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4943echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4943echo "configure:4944: checking for working alloca.h" >&5 4944echo "configure:4945: checking for working alloca.h" >&5
4944if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4945if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4945 echo $ac_n "(cached) $ac_c" 1>&6 4946 echo $ac_n "(cached) $ac_c" 1>&6
4946else 4947else
4947 cat > conftest.$ac_ext <<EOF 4948 cat > conftest.$ac_ext <<EOF
4948#line 4949 "configure" 4949#line 4950 "configure"
4949#include "confdefs.h" 4950#include "confdefs.h"
4950#include <alloca.h> 4951#include <alloca.h>
4951int main() { 4952int main() {
4952void *p = alloca(2 * sizeof(int)); 4953char *p = alloca(2 * sizeof(int));
4953; return 0; } 4954; return 0; }
4954EOF 4955EOF
4955if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4956if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4956 rm -rf conftest* 4957 rm -rf conftest*
4957 ac_cv_header_alloca_h=yes 4958 ac_cv_header_alloca_h=yes
4958else 4959else
@@ -4973,12 +4974,12 @@ EOF
4973fi 4974fi
4974 4975
4975echo $ac_n "checking for alloca""... $ac_c" 1>&6 4976echo $ac_n "checking for alloca""... $ac_c" 1>&6
4976echo "configure:4977: checking for alloca" >&5 4977echo "configure:4978: checking for alloca" >&5
4977if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4978if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4978 echo $ac_n "(cached) $ac_c" 1>&6 4979 echo $ac_n "(cached) $ac_c" 1>&6
4979else 4980else
4980 cat > conftest.$ac_ext <<EOF 4981 cat > conftest.$ac_ext <<EOF
4981#line 4982 "configure" 4982#line 4983 "configure"
4982#include "confdefs.h" 4983#include "confdefs.h"
4983 4984
4984#ifdef __GNUC__ 4985#ifdef __GNUC__
@@ -5006,7 +5007,7 @@ int main() {
5006char *p = (char *) alloca(1); 5007char *p = (char *) alloca(1);
5007; return 0; } 5008; return 0; }
5008EOF 5009EOF
5009if { (eval echo configure:5010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5010if { (eval echo configure:5011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5010 rm -rf conftest* 5011 rm -rf conftest*
5011 ac_cv_func_alloca_works=yes 5012 ac_cv_func_alloca_works=yes
5012else 5013else
@@ -5038,12 +5039,12 @@ EOF
5038 5039
5039 5040
5040echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5041echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5041echo "configure:5042: checking whether alloca needs Cray hooks" >&5 5042echo "configure:5043: checking whether alloca needs Cray hooks" >&5
5042if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5043if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5043 echo $ac_n "(cached) $ac_c" 1>&6 5044 echo $ac_n "(cached) $ac_c" 1>&6
5044else 5045else
5045 cat > conftest.$ac_ext <<EOF 5046 cat > conftest.$ac_ext <<EOF
5046#line 5047 "configure" 5047#line 5048 "configure"
5047#include "confdefs.h" 5048#include "confdefs.h"
5048#if defined(CRAY) && ! defined(CRAY2) 5049#if defined(CRAY) && ! defined(CRAY2)
5049webecray 5050webecray
@@ -5068,12 +5069,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5068if test $ac_cv_os_cray = yes; then 5069if test $ac_cv_os_cray = yes; then
5069for ac_func in _getb67 GETB67 getb67; do 5070for ac_func in _getb67 GETB67 getb67; do
5070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5071echo "configure:5072: checking for $ac_func" >&5 5072echo "configure:5073: checking for $ac_func" >&5
5072if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5073if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5073 echo $ac_n "(cached) $ac_c" 1>&6 5074 echo $ac_n "(cached) $ac_c" 1>&6
5074else 5075else
5075 cat > conftest.$ac_ext <<EOF 5076 cat > conftest.$ac_ext <<EOF
5076#line 5077 "configure" 5077#line 5078 "configure"
5077#include "confdefs.h" 5078#include "confdefs.h"
5078/* System header to define __stub macros and hopefully few prototypes, 5079/* System header to define __stub macros and hopefully few prototypes,
5079 which can conflict with char $ac_func(); below. */ 5080 which can conflict with char $ac_func(); below. */
@@ -5096,7 +5097,7 @@ $ac_func();
5096 5097
5097; return 0; } 5098; return 0; }
5098EOF 5099EOF
5099if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5100if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5100 rm -rf conftest* 5101 rm -rf conftest*
5101 eval "ac_cv_func_$ac_func=yes" 5102 eval "ac_cv_func_$ac_func=yes"
5102else 5103else
@@ -5123,7 +5124,7 @@ done
5123fi 5124fi
5124 5125
5125echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5126echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5126echo "configure:5127: checking stack direction for C alloca" >&5 5127echo "configure:5128: checking stack direction for C alloca" >&5
5127if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5128if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5128 echo $ac_n "(cached) $ac_c" 1>&6 5129 echo $ac_n "(cached) $ac_c" 1>&6
5129else 5130else
@@ -5131,7 +5132,7 @@ else
5131 ac_cv_c_stack_direction=0 5132 ac_cv_c_stack_direction=0
5132else 5133else
5133 cat > conftest.$ac_ext <<EOF 5134 cat > conftest.$ac_ext <<EOF
5134#line 5135 "configure" 5135#line 5136 "configure"
5135#include "confdefs.h" 5136#include "confdefs.h"
5136find_stack_direction () 5137find_stack_direction ()
5137{ 5138{
@@ -5150,7 +5151,7 @@ main ()
5150 exit (find_stack_direction() < 0); 5151 exit (find_stack_direction() < 0);
5151} 5152}
5152EOF 5153EOF
5153if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5154if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5154then 5155then
5155 ac_cv_c_stack_direction=1 5156 ac_cv_c_stack_direction=1
5156else 5157else
@@ -5175,7 +5176,7 @@ fi
5175# fmod, logb, and frexp are found in -lm on most systems. 5176# fmod, logb, and frexp are found in -lm on most systems.
5176# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5177# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5177echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5178echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5178echo "configure:5179: checking for sqrt in -lm" >&5 5179echo "configure:5180: checking for sqrt in -lm" >&5
5179ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5180ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5180if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5181if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5181 echo $ac_n "(cached) $ac_c" 1>&6 5182 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5183,7 +5184,7 @@ else
5183 ac_save_LIBS="$LIBS" 5184 ac_save_LIBS="$LIBS"
5184LIBS="-lm $LIBS" 5185LIBS="-lm $LIBS"
5185cat > conftest.$ac_ext <<EOF 5186cat > conftest.$ac_ext <<EOF
5186#line 5187 "configure" 5187#line 5188 "configure"
5187#include "confdefs.h" 5188#include "confdefs.h"
5188/* Override any gcc2 internal prototype to avoid an error. */ 5189/* Override any gcc2 internal prototype to avoid an error. */
5189/* We use char because int might match the return type of a gcc2 5190/* We use char because int might match the return type of a gcc2
@@ -5194,7 +5195,7 @@ int main() {
5194sqrt() 5195sqrt()
5195; return 0; } 5196; return 0; }
5196EOF 5197EOF
5197if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5198if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5198 rm -rf conftest* 5199 rm -rf conftest*
5199 eval "ac_cv_lib_$ac_lib_var=yes" 5200 eval "ac_cv_lib_$ac_lib_var=yes"
5200else 5201else
@@ -5224,7 +5225,7 @@ fi
5224 5225
5225# Check for mail-locking functions in a "mail" library 5226# Check for mail-locking functions in a "mail" library
5226echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5227echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5227echo "configure:5228: checking for maillock in -lmail" >&5 5228echo "configure:5229: checking for maillock in -lmail" >&5
5228ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5229ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5229if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5230if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5230 echo $ac_n "(cached) $ac_c" 1>&6 5231 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5232,7 +5233,7 @@ else
5232 ac_save_LIBS="$LIBS" 5233 ac_save_LIBS="$LIBS"
5233LIBS="-lmail $LIBS" 5234LIBS="-lmail $LIBS"
5234cat > conftest.$ac_ext <<EOF 5235cat > conftest.$ac_ext <<EOF
5235#line 5236 "configure" 5236#line 5237 "configure"
5236#include "confdefs.h" 5237#include "confdefs.h"
5237/* Override any gcc2 internal prototype to avoid an error. */ 5238/* Override any gcc2 internal prototype to avoid an error. */
5238/* We use char because int might match the return type of a gcc2 5239/* We use char because int might match the return type of a gcc2
@@ -5243,7 +5244,7 @@ int main() {
5243maillock() 5244maillock()
5244; return 0; } 5245; return 0; }
5245EOF 5246EOF
5246if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5247if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5247 rm -rf conftest* 5248 rm -rf conftest*
5248 eval "ac_cv_lib_$ac_lib_var=yes" 5249 eval "ac_cv_lib_$ac_lib_var=yes"
5249else 5250else
@@ -5271,7 +5272,7 @@ else
5271fi 5272fi
5272 5273
5273echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5274echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5274echo "configure:5275: checking for maillock in -llockfile" >&5 5275echo "configure:5276: checking for maillock in -llockfile" >&5
5275ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5276ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5276if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5277if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5277 echo $ac_n "(cached) $ac_c" 1>&6 5278 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5279,7 +5280,7 @@ else
5279 ac_save_LIBS="$LIBS" 5280 ac_save_LIBS="$LIBS"
5280LIBS="-llockfile $LIBS" 5281LIBS="-llockfile $LIBS"
5281cat > conftest.$ac_ext <<EOF 5282cat > conftest.$ac_ext <<EOF
5282#line 5283 "configure" 5283#line 5284 "configure"
5283#include "confdefs.h" 5284#include "confdefs.h"
5284/* Override any gcc2 internal prototype to avoid an error. */ 5285/* Override any gcc2 internal prototype to avoid an error. */
5285/* We use char because int might match the return type of a gcc2 5286/* We use char because int might match the return type of a gcc2
@@ -5290,7 +5291,7 @@ int main() {
5290maillock() 5291maillock()
5291; return 0; } 5292; return 0; }
5292EOF 5293EOF
5293if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5294if { (eval echo configure:5295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5294 rm -rf conftest* 5295 rm -rf conftest*
5295 eval "ac_cv_lib_$ac_lib_var=yes" 5296 eval "ac_cv_lib_$ac_lib_var=yes"
5296else 5297else
@@ -5324,7 +5325,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5324 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5325 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5325set dummy liblockfile.so; ac_word=$2 5326set dummy liblockfile.so; ac_word=$2
5326echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5327echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5327echo "configure:5328: checking for $ac_word" >&5 5328echo "configure:5329: checking for $ac_word" >&5
5328if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5329if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5329 echo $ac_n "(cached) $ac_c" 1>&6 5330 echo $ac_n "(cached) $ac_c" 1>&6
5330else 5331else
@@ -5365,12 +5366,12 @@ fi
5365for ac_func in touchlock 5366for ac_func in touchlock
5366do 5367do
5367echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5368echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5368echo "configure:5369: checking for $ac_func" >&5 5369echo "configure:5370: checking for $ac_func" >&5
5369if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5370if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5370 echo $ac_n "(cached) $ac_c" 1>&6 5371 echo $ac_n "(cached) $ac_c" 1>&6
5371else 5372else
5372 cat > conftest.$ac_ext <<EOF 5373 cat > conftest.$ac_ext <<EOF
5373#line 5374 "configure" 5374#line 5375 "configure"
5374#include "confdefs.h" 5375#include "confdefs.h"
5375/* System header to define __stub macros and hopefully few prototypes, 5376/* System header to define __stub macros and hopefully few prototypes,
5376 which can conflict with char $ac_func(); below. */ 5377 which can conflict with char $ac_func(); below. */
@@ -5393,7 +5394,7 @@ $ac_func();
5393 5394
5394; return 0; } 5395; return 0; }
5395EOF 5396EOF
5396if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5397if { (eval echo configure:5398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 rm -rf conftest* 5398 rm -rf conftest*
5398 eval "ac_cv_func_$ac_func=yes" 5399 eval "ac_cv_func_$ac_func=yes"
5399else 5400else
@@ -5421,17 +5422,17 @@ for ac_hdr in maillock.h
5421do 5422do
5422ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5423ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5423echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5424echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5424echo "configure:5425: checking for $ac_hdr" >&5 5425echo "configure:5426: checking for $ac_hdr" >&5
5425if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5426if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5426 echo $ac_n "(cached) $ac_c" 1>&6 5427 echo $ac_n "(cached) $ac_c" 1>&6
5427else 5428else
5428 cat > conftest.$ac_ext <<EOF 5429 cat > conftest.$ac_ext <<EOF
5429#line 5430 "configure" 5430#line 5431 "configure"
5430#include "confdefs.h" 5431#include "confdefs.h"
5431#include <$ac_hdr> 5432#include <$ac_hdr>
5432EOF 5433EOF
5433ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5434ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5434{ (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5435{ (eval echo configure:5436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5435ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5436ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5436if test -z "$ac_err"; then 5437if test -z "$ac_err"; then
5437 rm -rf conftest* 5438 rm -rf conftest*
@@ -5466,12 +5467,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5466__fpending getloadavg mblen mbrlen strsignal setitimer ualarm 5467__fpending getloadavg mblen mbrlen strsignal setitimer ualarm
5467do 5468do
5468echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5469echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5469echo "configure:5470: checking for $ac_func" >&5 5470echo "configure:5471: checking for $ac_func" >&5
5470if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5471if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5471 echo $ac_n "(cached) $ac_c" 1>&6 5472 echo $ac_n "(cached) $ac_c" 1>&6
5472else 5473else
5473 cat > conftest.$ac_ext <<EOF 5474 cat > conftest.$ac_ext <<EOF
5474#line 5475 "configure" 5475#line 5476 "configure"
5475#include "confdefs.h" 5476#include "confdefs.h"
5476/* System header to define __stub macros and hopefully few prototypes, 5477/* System header to define __stub macros and hopefully few prototypes,
5477 which can conflict with char $ac_func(); below. */ 5478 which can conflict with char $ac_func(); below. */
@@ -5494,7 +5495,7 @@ $ac_func();
5494 5495
5495; return 0; } 5496; return 0; }
5496EOF 5497EOF
5497if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5498if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5498 rm -rf conftest* 5499 rm -rf conftest*
5499 eval "ac_cv_func_$ac_func=yes" 5500 eval "ac_cv_func_$ac_func=yes"
5500else 5501else
@@ -5523,17 +5524,17 @@ for ac_hdr in sys/time.h unistd.h
5523do 5524do
5524ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5525ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5525echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5526echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5526echo "configure:5527: checking for $ac_hdr" >&5 5527echo "configure:5528: checking for $ac_hdr" >&5
5527if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5528if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5528 echo $ac_n "(cached) $ac_c" 1>&6 5529 echo $ac_n "(cached) $ac_c" 1>&6
5529else 5530else
5530 cat > conftest.$ac_ext <<EOF 5531 cat > conftest.$ac_ext <<EOF
5531#line 5532 "configure" 5532#line 5533 "configure"
5532#include "confdefs.h" 5533#include "confdefs.h"
5533#include <$ac_hdr> 5534#include <$ac_hdr>
5534EOF 5535EOF
5535ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5536ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5536{ (eval echo configure:5537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5537{ (eval echo configure:5538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5537ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5538ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5538if test -z "$ac_err"; then 5539if test -z "$ac_err"; then
5539 rm -rf conftest* 5540 rm -rf conftest*
@@ -5562,12 +5563,12 @@ done
5562for ac_func in alarm 5563for ac_func in alarm
5563do 5564do
5564echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5565echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5565echo "configure:5566: checking for $ac_func" >&5 5566echo "configure:5567: checking for $ac_func" >&5
5566if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5567if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5567 echo $ac_n "(cached) $ac_c" 1>&6 5568 echo $ac_n "(cached) $ac_c" 1>&6
5568else 5569else
5569 cat > conftest.$ac_ext <<EOF 5570 cat > conftest.$ac_ext <<EOF
5570#line 5571 "configure" 5571#line 5572 "configure"
5571#include "confdefs.h" 5572#include "confdefs.h"
5572/* System header to define __stub macros and hopefully few prototypes, 5573/* System header to define __stub macros and hopefully few prototypes,
5573 which can conflict with char $ac_func(); below. */ 5574 which can conflict with char $ac_func(); below. */
@@ -5590,7 +5591,7 @@ $ac_func();
5590 5591
5591; return 0; } 5592; return 0; }
5592EOF 5593EOF
5593if { (eval echo configure:5594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5594if { (eval echo configure:5595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5594 rm -rf conftest* 5595 rm -rf conftest*
5595 eval "ac_cv_func_$ac_func=yes" 5596 eval "ac_cv_func_$ac_func=yes"
5596else 5597else
@@ -5615,7 +5616,7 @@ fi
5615done 5616done
5616 5617
5617echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5618echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5618echo "configure:5619: checking for working mktime" >&5 5619echo "configure:5620: checking for working mktime" >&5
5619if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5620if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5620 echo $ac_n "(cached) $ac_c" 1>&6 5621 echo $ac_n "(cached) $ac_c" 1>&6
5621else 5622else
@@ -5623,7 +5624,7 @@ else
5623 ac_cv_func_working_mktime=no 5624 ac_cv_func_working_mktime=no
5624else 5625else
5625 cat > conftest.$ac_ext <<EOF 5626 cat > conftest.$ac_ext <<EOF
5626#line 5627 "configure" 5627#line 5628 "configure"
5627#include "confdefs.h" 5628#include "confdefs.h"
5628/* Test program from Paul Eggert (eggert@twinsun.com) 5629/* Test program from Paul Eggert (eggert@twinsun.com)
5629 and Tony Leneis (tony@plaza.ds.adp.com). */ 5630 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5772,7 +5773,7 @@ main ()
5772 exit (0); 5773 exit (0);
5773} 5774}
5774EOF 5775EOF
5775if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5776if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5776then 5777then
5777 ac_cv_func_working_mktime=yes 5778 ac_cv_func_working_mktime=yes
5778else 5779else
@@ -5807,7 +5808,7 @@ fi
5807 if test "$enable_largefile" != no; then 5808 if test "$enable_largefile" != no; then
5808 5809
5809 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 5810 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
5810echo "configure:5811: checking for special C compiler options needed for large files" >&5 5811echo "configure:5812: checking for special C compiler options needed for large files" >&5
5811if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then 5812if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
5812 echo $ac_n "(cached) $ac_c" 1>&6 5813 echo $ac_n "(cached) $ac_c" 1>&6
5813else 5814else
@@ -5816,7 +5817,7 @@ else
5816 # IRIX 6.2 and later do not support large files by default, 5817 # IRIX 6.2 and later do not support large files by default,
5817 # so use the C compiler's -n32 option if that helps. 5818 # so use the C compiler's -n32 option if that helps.
5818 cat > conftest.$ac_ext <<EOF 5819 cat > conftest.$ac_ext <<EOF
5819#line 5820 "configure" 5820#line 5821 "configure"
5820#include "confdefs.h" 5821#include "confdefs.h"
5821#include <sys/types.h> 5822#include <sys/types.h>
5822 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 5823 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -5825,7 +5826,7 @@ int main() {
5825 5826
5826; return 0; } 5827; return 0; }
5827EOF 5828EOF
5828if { (eval echo configure:5829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5829if { (eval echo configure:5830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5829 : 5830 :
5830else 5831else
5831 echo "configure: failed program was:" >&5 5832 echo "configure: failed program was:" >&5
@@ -5834,7 +5835,7 @@ else
5834 ac_save_CC="$CC" 5835 ac_save_CC="$CC"
5835 CC="$CC -n32" 5836 CC="$CC -n32"
5836 cat > conftest.$ac_ext <<EOF 5837 cat > conftest.$ac_ext <<EOF
5837#line 5838 "configure" 5838#line 5839 "configure"
5838#include "confdefs.h" 5839#include "confdefs.h"
5839#include <sys/types.h> 5840#include <sys/types.h>
5840 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 5841 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -5843,7 +5844,7 @@ int main() {
5843 5844
5844; return 0; } 5845; return 0; }
5845EOF 5846EOF
5846if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5847if { (eval echo configure:5848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5847 rm -rf conftest* 5848 rm -rf conftest*
5848 ac_cv_sys_largefile_CC=' -n32' 5849 ac_cv_sys_largefile_CC=' -n32'
5849else 5850else
@@ -5863,13 +5864,13 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
5863 fi 5864 fi
5864 5865
5865 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 5866 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
5866echo "configure:5867: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5867echo "configure:5868: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5867if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then 5868if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
5868 echo $ac_n "(cached) $ac_c" 1>&6 5869 echo $ac_n "(cached) $ac_c" 1>&6
5869else 5870else
5870 ac_cv_sys_file_offset_bits=no 5871 ac_cv_sys_file_offset_bits=no
5871 cat > conftest.$ac_ext <<EOF 5872 cat > conftest.$ac_ext <<EOF
5872#line 5873 "configure" 5873#line 5874 "configure"
5873#include "confdefs.h" 5874#include "confdefs.h"
5874#include <sys/types.h> 5875#include <sys/types.h>
5875 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 5876 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -5880,14 +5881,14 @@ int main() {
5880 5881
5881; return 0; } 5882; return 0; }
5882EOF 5883EOF
5883if { (eval echo configure:5884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5884if { (eval echo configure:5885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5884 : 5885 :
5885else 5886else
5886 echo "configure: failed program was:" >&5 5887 echo "configure: failed program was:" >&5
5887 cat conftest.$ac_ext >&5 5888 cat conftest.$ac_ext >&5
5888 rm -rf conftest* 5889 rm -rf conftest*
5889 cat > conftest.$ac_ext <<EOF 5890 cat > conftest.$ac_ext <<EOF
5890#line 5891 "configure" 5891#line 5892 "configure"
5891#include "confdefs.h" 5892#include "confdefs.h"
5892#define _FILE_OFFSET_BITS 64 5893#define _FILE_OFFSET_BITS 64
5893#include <sys/types.h> 5894#include <sys/types.h>
@@ -5899,7 +5900,7 @@ int main() {
5899 5900
5900; return 0; } 5901; return 0; }
5901EOF 5902EOF
5902if { (eval echo configure:5903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5903if { (eval echo configure:5904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5903 rm -rf conftest* 5904 rm -rf conftest*
5904 ac_cv_sys_file_offset_bits=64 5905 ac_cv_sys_file_offset_bits=64
5905else 5906else
@@ -5919,13 +5920,13 @@ EOF
5919 5920
5920 fi 5921 fi
5921 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 5922 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
5922echo "configure:5923: checking for _LARGEFILE_SOURCE value needed for large files" >&5 5923echo "configure:5924: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5923if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 5924if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6 5925 echo $ac_n "(cached) $ac_c" 1>&6
5925else 5926else
5926 ac_cv_sys_largefile_source=no 5927 ac_cv_sys_largefile_source=no
5927 cat > conftest.$ac_ext <<EOF 5928 cat > conftest.$ac_ext <<EOF
5928#line 5929 "configure" 5929#line 5930 "configure"
5929#include "confdefs.h" 5930#include "confdefs.h"
5930#include <sys/types.h> 5931#include <sys/types.h>
5931 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 5932 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -5936,14 +5937,14 @@ int main() {
5936return !ftello; 5937return !ftello;
5937; return 0; } 5938; return 0; }
5938EOF 5939EOF
5939if { (eval echo configure:5940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5940if { (eval echo configure:5941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5940 : 5941 :
5941else 5942else
5942 echo "configure: failed program was:" >&5 5943 echo "configure: failed program was:" >&5
5943 cat conftest.$ac_ext >&5 5944 cat conftest.$ac_ext >&5
5944 rm -rf conftest* 5945 rm -rf conftest*
5945 cat > conftest.$ac_ext <<EOF 5946 cat > conftest.$ac_ext <<EOF
5946#line 5947 "configure" 5947#line 5948 "configure"
5947#include "confdefs.h" 5948#include "confdefs.h"
5948#define _LARGEFILE_SOURCE 1 5949#define _LARGEFILE_SOURCE 1
5949#include <sys/types.h> 5950#include <sys/types.h>
@@ -5955,7 +5956,7 @@ int main() {
5955return !ftello; 5956return !ftello;
5956; return 0; } 5957; return 0; }
5957EOF 5958EOF
5958if { (eval echo configure:5959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5959if { (eval echo configure:5960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5959 rm -rf conftest* 5960 rm -rf conftest*
5960 ac_cv_sys_largefile_source=1 5961 ac_cv_sys_largefile_source=1
5961else 5962else
@@ -5975,13 +5976,13 @@ EOF
5975 5976
5976 fi 5977 fi
5977 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 5978 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
5978echo "configure:5979: checking for _LARGE_FILES value needed for large files" >&5 5979echo "configure:5980: checking for _LARGE_FILES value needed for large files" >&5
5979if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then 5980if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
5980 echo $ac_n "(cached) $ac_c" 1>&6 5981 echo $ac_n "(cached) $ac_c" 1>&6
5981else 5982else
5982 ac_cv_sys_large_files=no 5983 ac_cv_sys_large_files=no
5983 cat > conftest.$ac_ext <<EOF 5984 cat > conftest.$ac_ext <<EOF
5984#line 5985 "configure" 5985#line 5986 "configure"
5985#include "confdefs.h" 5986#include "confdefs.h"
5986#include <sys/types.h> 5987#include <sys/types.h>
5987 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 5988 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -5992,14 +5993,14 @@ int main() {
5992 5993
5993; return 0; } 5994; return 0; }
5994EOF 5995EOF
5995if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5996if { (eval echo configure:5997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5996 : 5997 :
5997else 5998else
5998 echo "configure: failed program was:" >&5 5999 echo "configure: failed program was:" >&5
5999 cat conftest.$ac_ext >&5 6000 cat conftest.$ac_ext >&5
6000 rm -rf conftest* 6001 rm -rf conftest*
6001 cat > conftest.$ac_ext <<EOF 6002 cat > conftest.$ac_ext <<EOF
6002#line 6003 "configure" 6003#line 6004 "configure"
6003#include "confdefs.h" 6004#include "confdefs.h"
6004#define _LARGE_FILES 1 6005#define _LARGE_FILES 1
6005#include <sys/types.h> 6006#include <sys/types.h>
@@ -6011,7 +6012,7 @@ int main() {
6011 6012
6012; return 0; } 6013; return 0; }
6013EOF 6014EOF
6014if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6015if { (eval echo configure:6016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6015 rm -rf conftest* 6016 rm -rf conftest*
6016 ac_cv_sys_large_files=1 6017 ac_cv_sys_large_files=1
6017else 6018else
@@ -6031,13 +6032,13 @@ EOF
6031 6032
6032 fi 6033 fi
6033 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 6034 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
6034echo "configure:6035: checking for _XOPEN_SOURCE value needed for large files" >&5 6035echo "configure:6036: checking for _XOPEN_SOURCE value needed for large files" >&5
6035if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then 6036if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6 6037 echo $ac_n "(cached) $ac_c" 1>&6
6037else 6038else
6038 ac_cv_sys_xopen_source=no 6039 ac_cv_sys_xopen_source=no
6039 cat > conftest.$ac_ext <<EOF 6040 cat > conftest.$ac_ext <<EOF
6040#line 6041 "configure" 6041#line 6042 "configure"
6041#include "confdefs.h" 6042#include "confdefs.h"
6042#include <sys/types.h> 6043#include <sys/types.h>
6043 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6044 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6048,14 +6049,14 @@ int main() {
6048return !ftello; 6049return !ftello;
6049; return 0; } 6050; return 0; }
6050EOF 6051EOF
6051if { (eval echo configure:6052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6052if { (eval echo configure:6053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6052 : 6053 :
6053else 6054else
6054 echo "configure: failed program was:" >&5 6055 echo "configure: failed program was:" >&5
6055 cat conftest.$ac_ext >&5 6056 cat conftest.$ac_ext >&5
6056 rm -rf conftest* 6057 rm -rf conftest*
6057 cat > conftest.$ac_ext <<EOF 6058 cat > conftest.$ac_ext <<EOF
6058#line 6059 "configure" 6059#line 6060 "configure"
6059#include "confdefs.h" 6060#include "confdefs.h"
6060#define _XOPEN_SOURCE 500 6061#define _XOPEN_SOURCE 500
6061#include <sys/types.h> 6062#include <sys/types.h>
@@ -6067,7 +6068,7 @@ int main() {
6067return !ftello; 6068return !ftello;
6068; return 0; } 6069; return 0; }
6069EOF 6070EOF
6070if { (eval echo configure:6071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6071if { (eval echo configure:6072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6071 rm -rf conftest* 6072 rm -rf conftest*
6072 ac_cv_sys_xopen_source=500 6073 ac_cv_sys_xopen_source=500
6073else 6074else
@@ -6091,12 +6092,12 @@ EOF
6091for ac_func in ftello 6092for ac_func in ftello
6092do 6093do
6093echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6094echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6094echo "configure:6095: checking for $ac_func" >&5 6095echo "configure:6096: checking for $ac_func" >&5
6095if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6096if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6096 echo $ac_n "(cached) $ac_c" 1>&6 6097 echo $ac_n "(cached) $ac_c" 1>&6
6097else 6098else
6098 cat > conftest.$ac_ext <<EOF 6099 cat > conftest.$ac_ext <<EOF
6099#line 6100 "configure" 6100#line 6101 "configure"
6100#include "confdefs.h" 6101#include "confdefs.h"
6101/* System header to define __stub macros and hopefully few prototypes, 6102/* System header to define __stub macros and hopefully few prototypes,
6102 which can conflict with char $ac_func(); below. */ 6103 which can conflict with char $ac_func(); below. */
@@ -6119,7 +6120,7 @@ $ac_func();
6119 6120
6120; return 0; } 6121; return 0; }
6121EOF 6122EOF
6122if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6123if { (eval echo configure:6124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6123 rm -rf conftest* 6124 rm -rf conftest*
6124 eval "ac_cv_func_$ac_func=yes" 6125 eval "ac_cv_func_$ac_func=yes"
6125else 6126else
@@ -6149,12 +6150,12 @@ done
6149for ac_func in grantpt 6150for ac_func in grantpt
6150do 6151do
6151echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6152echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6152echo "configure:6153: checking for $ac_func" >&5 6153echo "configure:6154: checking for $ac_func" >&5
6153if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6154if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6154 echo $ac_n "(cached) $ac_c" 1>&6 6155 echo $ac_n "(cached) $ac_c" 1>&6
6155else 6156else
6156 cat > conftest.$ac_ext <<EOF 6157 cat > conftest.$ac_ext <<EOF
6157#line 6158 "configure" 6158#line 6159 "configure"
6158#include "confdefs.h" 6159#include "confdefs.h"
6159/* System header to define __stub macros and hopefully few prototypes, 6160/* System header to define __stub macros and hopefully few prototypes,
6160 which can conflict with char $ac_func(); below. */ 6161 which can conflict with char $ac_func(); below. */
@@ -6177,7 +6178,7 @@ $ac_func();
6177 6178
6178; return 0; } 6179; return 0; }
6179EOF 6180EOF
6180if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6181if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6181 rm -rf conftest* 6182 rm -rf conftest*
6182 eval "ac_cv_func_$ac_func=yes" 6183 eval "ac_cv_func_$ac_func=yes"
6183else 6184else
@@ -6206,12 +6207,12 @@ done
6206for ac_func in getpt 6207for ac_func in getpt
6207do 6208do
6208echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6209echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6209echo "configure:6210: checking for $ac_func" >&5 6210echo "configure:6211: checking for $ac_func" >&5
6210if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6211if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6211 echo $ac_n "(cached) $ac_c" 1>&6 6212 echo $ac_n "(cached) $ac_c" 1>&6
6212else 6213else
6213 cat > conftest.$ac_ext <<EOF 6214 cat > conftest.$ac_ext <<EOF
6214#line 6215 "configure" 6215#line 6216 "configure"
6215#include "confdefs.h" 6216#include "confdefs.h"
6216/* System header to define __stub macros and hopefully few prototypes, 6217/* System header to define __stub macros and hopefully few prototypes,
6217 which can conflict with char $ac_func(); below. */ 6218 which can conflict with char $ac_func(); below. */
@@ -6234,7 +6235,7 @@ $ac_func();
6234 6235
6235; return 0; } 6236; return 0; }
6236EOF 6237EOF
6237if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6238if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6238 rm -rf conftest* 6239 rm -rf conftest*
6239 eval "ac_cv_func_$ac_func=yes" 6240 eval "ac_cv_func_$ac_func=yes"
6240else 6241else
@@ -6264,7 +6265,7 @@ done
6264# It's better to believe a function is not available 6265# It's better to believe a function is not available
6265# than to expect to find it in ncurses. 6266# than to expect to find it in ncurses.
6266echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6267echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
6267echo "configure:6268: checking for tparm in -lncurses" >&5 6268echo "configure:6269: checking for tparm in -lncurses" >&5
6268ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6269ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
6269if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6270if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6270 echo $ac_n "(cached) $ac_c" 1>&6 6271 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6272,7 +6273,7 @@ else
6272 ac_save_LIBS="$LIBS" 6273 ac_save_LIBS="$LIBS"
6273LIBS="-lncurses $LIBS" 6274LIBS="-lncurses $LIBS"
6274cat > conftest.$ac_ext <<EOF 6275cat > conftest.$ac_ext <<EOF
6275#line 6276 "configure" 6276#line 6277 "configure"
6276#include "confdefs.h" 6277#include "confdefs.h"
6277/* Override any gcc2 internal prototype to avoid an error. */ 6278/* Override any gcc2 internal prototype to avoid an error. */
6278/* We use char because int might match the return type of a gcc2 6279/* We use char because int might match the return type of a gcc2
@@ -6283,7 +6284,7 @@ int main() {
6283tparm() 6284tparm()
6284; return 0; } 6285; return 0; }
6285EOF 6286EOF
6286if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6287if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6287 rm -rf conftest* 6288 rm -rf conftest*
6288 eval "ac_cv_lib_$ac_lib_var=yes" 6289 eval "ac_cv_lib_$ac_lib_var=yes"
6289else 6290else
@@ -6314,7 +6315,7 @@ fi
6314# These tell us which Kerberos-related libraries to use. 6315# These tell us which Kerberos-related libraries to use.
6315if test "${with_kerberos+set}" = set; then 6316if test "${with_kerberos+set}" = set; then
6316 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 6317 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
6317echo "configure:6318: checking for com_err in -lcom_err" >&5 6318echo "configure:6319: checking for com_err in -lcom_err" >&5
6318ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 6319ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
6319if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6320if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6320 echo $ac_n "(cached) $ac_c" 1>&6 6321 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6322,7 +6323,7 @@ else
6322 ac_save_LIBS="$LIBS" 6323 ac_save_LIBS="$LIBS"
6323LIBS="-lcom_err $LIBS" 6324LIBS="-lcom_err $LIBS"
6324cat > conftest.$ac_ext <<EOF 6325cat > conftest.$ac_ext <<EOF
6325#line 6326 "configure" 6326#line 6327 "configure"
6326#include "confdefs.h" 6327#include "confdefs.h"
6327/* Override any gcc2 internal prototype to avoid an error. */ 6328/* Override any gcc2 internal prototype to avoid an error. */
6328/* We use char because int might match the return type of a gcc2 6329/* We use char because int might match the return type of a gcc2
@@ -6333,7 +6334,7 @@ int main() {
6333com_err() 6334com_err()
6334; return 0; } 6335; return 0; }
6335EOF 6336EOF
6336if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6337if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6337 rm -rf conftest* 6338 rm -rf conftest*
6338 eval "ac_cv_lib_$ac_lib_var=yes" 6339 eval "ac_cv_lib_$ac_lib_var=yes"
6339else 6340else
@@ -6361,7 +6362,7 @@ else
6361fi 6362fi
6362 6363
6363 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 6364 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
6364echo "configure:6365: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 6365echo "configure:6366: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
6365ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6366ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6366if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6367if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6367 echo $ac_n "(cached) $ac_c" 1>&6 6368 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6369,7 +6370,7 @@ else
6369 ac_save_LIBS="$LIBS" 6370 ac_save_LIBS="$LIBS"
6370LIBS="-lk5crypto $LIBS" 6371LIBS="-lk5crypto $LIBS"
6371cat > conftest.$ac_ext <<EOF 6372cat > conftest.$ac_ext <<EOF
6372#line 6373 "configure" 6373#line 6374 "configure"
6373#include "confdefs.h" 6374#include "confdefs.h"
6374/* Override any gcc2 internal prototype to avoid an error. */ 6375/* Override any gcc2 internal prototype to avoid an error. */
6375/* We use char because int might match the return type of a gcc2 6376/* We use char because int might match the return type of a gcc2
@@ -6380,7 +6381,7 @@ int main() {
6380mit_des_cbc_encrypt() 6381mit_des_cbc_encrypt()
6381; return 0; } 6382; return 0; }
6382EOF 6383EOF
6383if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6384if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6384 rm -rf conftest* 6385 rm -rf conftest*
6385 eval "ac_cv_lib_$ac_lib_var=yes" 6386 eval "ac_cv_lib_$ac_lib_var=yes"
6386else 6387else
@@ -6408,7 +6409,7 @@ else
6408fi 6409fi
6409 6410
6410 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 6411 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
6411echo "configure:6412: checking for mit_des_cbc_encrypt in -lcrypto" >&5 6412echo "configure:6413: checking for mit_des_cbc_encrypt in -lcrypto" >&5
6412ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6413ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6413if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6414if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6414 echo $ac_n "(cached) $ac_c" 1>&6 6415 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6416,7 +6417,7 @@ else
6416 ac_save_LIBS="$LIBS" 6417 ac_save_LIBS="$LIBS"
6417LIBS="-lcrypto $LIBS" 6418LIBS="-lcrypto $LIBS"
6418cat > conftest.$ac_ext <<EOF 6419cat > conftest.$ac_ext <<EOF
6419#line 6420 "configure" 6420#line 6421 "configure"
6420#include "confdefs.h" 6421#include "confdefs.h"
6421/* Override any gcc2 internal prototype to avoid an error. */ 6422/* Override any gcc2 internal prototype to avoid an error. */
6422/* We use char because int might match the return type of a gcc2 6423/* We use char because int might match the return type of a gcc2
@@ -6427,7 +6428,7 @@ int main() {
6427mit_des_cbc_encrypt() 6428mit_des_cbc_encrypt()
6428; return 0; } 6429; return 0; }
6429EOF 6430EOF
6430if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6431if { (eval echo configure:6432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6431 rm -rf conftest* 6432 rm -rf conftest*
6432 eval "ac_cv_lib_$ac_lib_var=yes" 6433 eval "ac_cv_lib_$ac_lib_var=yes"
6433else 6434else
@@ -6455,7 +6456,7 @@ else
6455fi 6456fi
6456 6457
6457 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 6458 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
6458echo "configure:6459: checking for krb5_init_context in -lkrb5" >&5 6459echo "configure:6460: checking for krb5_init_context in -lkrb5" >&5
6459ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 6460ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
6460if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6461if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6461 echo $ac_n "(cached) $ac_c" 1>&6 6462 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6463,7 +6464,7 @@ else
6463 ac_save_LIBS="$LIBS" 6464 ac_save_LIBS="$LIBS"
6464LIBS="-lkrb5 $LIBS" 6465LIBS="-lkrb5 $LIBS"
6465cat > conftest.$ac_ext <<EOF 6466cat > conftest.$ac_ext <<EOF
6466#line 6467 "configure" 6467#line 6468 "configure"
6467#include "confdefs.h" 6468#include "confdefs.h"
6468/* Override any gcc2 internal prototype to avoid an error. */ 6469/* Override any gcc2 internal prototype to avoid an error. */
6469/* We use char because int might match the return type of a gcc2 6470/* We use char because int might match the return type of a gcc2
@@ -6474,7 +6475,7 @@ int main() {
6474krb5_init_context() 6475krb5_init_context()
6475; return 0; } 6476; return 0; }
6476EOF 6477EOF
6477if { (eval echo configure:6478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6478if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6478 rm -rf conftest* 6479 rm -rf conftest*
6479 eval "ac_cv_lib_$ac_lib_var=yes" 6480 eval "ac_cv_lib_$ac_lib_var=yes"
6480else 6481else
@@ -6503,7 +6504,7 @@ fi
6503 6504
6504 if test "${with_kerberos5+set}" != set; then 6505 if test "${with_kerberos5+set}" != set; then
6505 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 6506 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
6506echo "configure:6507: checking for des_cbc_encrypt in -ldes425" >&5 6507echo "configure:6508: checking for des_cbc_encrypt in -ldes425" >&5
6507ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6508ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6508if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6509if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6509 echo $ac_n "(cached) $ac_c" 1>&6 6510 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6511,7 +6512,7 @@ else
6511 ac_save_LIBS="$LIBS" 6512 ac_save_LIBS="$LIBS"
6512LIBS="-ldes425 $LIBS" 6513LIBS="-ldes425 $LIBS"
6513cat > conftest.$ac_ext <<EOF 6514cat > conftest.$ac_ext <<EOF
6514#line 6515 "configure" 6515#line 6516 "configure"
6515#include "confdefs.h" 6516#include "confdefs.h"
6516/* Override any gcc2 internal prototype to avoid an error. */ 6517/* Override any gcc2 internal prototype to avoid an error. */
6517/* We use char because int might match the return type of a gcc2 6518/* We use char because int might match the return type of a gcc2
@@ -6522,7 +6523,7 @@ int main() {
6522des_cbc_encrypt() 6523des_cbc_encrypt()
6523; return 0; } 6524; return 0; }
6524EOF 6525EOF
6525if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6526if { (eval echo configure:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6526 rm -rf conftest* 6527 rm -rf conftest*
6527 eval "ac_cv_lib_$ac_lib_var=yes" 6528 eval "ac_cv_lib_$ac_lib_var=yes"
6528else 6529else
@@ -6548,7 +6549,7 @@ EOF
6548else 6549else
6549 echo "$ac_t""no" 1>&6 6550 echo "$ac_t""no" 1>&6
6550echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6551echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
6551echo "configure:6552: checking for des_cbc_encrypt in -ldes" >&5 6552echo "configure:6553: checking for des_cbc_encrypt in -ldes" >&5
6552ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6553ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6553if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6554if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6554 echo $ac_n "(cached) $ac_c" 1>&6 6555 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6556,7 +6557,7 @@ else
6556 ac_save_LIBS="$LIBS" 6557 ac_save_LIBS="$LIBS"
6557LIBS="-ldes $LIBS" 6558LIBS="-ldes $LIBS"
6558cat > conftest.$ac_ext <<EOF 6559cat > conftest.$ac_ext <<EOF
6559#line 6560 "configure" 6560#line 6561 "configure"
6560#include "confdefs.h" 6561#include "confdefs.h"
6561/* Override any gcc2 internal prototype to avoid an error. */ 6562/* Override any gcc2 internal prototype to avoid an error. */
6562/* We use char because int might match the return type of a gcc2 6563/* We use char because int might match the return type of a gcc2
@@ -6567,7 +6568,7 @@ int main() {
6567des_cbc_encrypt() 6568des_cbc_encrypt()
6568; return 0; } 6569; return 0; }
6569EOF 6570EOF
6570if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6571if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6571 rm -rf conftest* 6572 rm -rf conftest*
6572 eval "ac_cv_lib_$ac_lib_var=yes" 6573 eval "ac_cv_lib_$ac_lib_var=yes"
6573else 6574else
@@ -6597,7 +6598,7 @@ fi
6597fi 6598fi
6598 6599
6599 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6600 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
6600echo "configure:6601: checking for krb_get_cred in -lkrb4" >&5 6601echo "configure:6602: checking for krb_get_cred in -lkrb4" >&5
6601ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6602ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
6602if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6603if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6603 echo $ac_n "(cached) $ac_c" 1>&6 6604 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6605,7 +6606,7 @@ else
6605 ac_save_LIBS="$LIBS" 6606 ac_save_LIBS="$LIBS"
6606LIBS="-lkrb4 $LIBS" 6607LIBS="-lkrb4 $LIBS"
6607cat > conftest.$ac_ext <<EOF 6608cat > conftest.$ac_ext <<EOF
6608#line 6609 "configure" 6609#line 6610 "configure"
6609#include "confdefs.h" 6610#include "confdefs.h"
6610/* Override any gcc2 internal prototype to avoid an error. */ 6611/* Override any gcc2 internal prototype to avoid an error. */
6611/* We use char because int might match the return type of a gcc2 6612/* We use char because int might match the return type of a gcc2
@@ -6616,7 +6617,7 @@ int main() {
6616krb_get_cred() 6617krb_get_cred()
6617; return 0; } 6618; return 0; }
6618EOF 6619EOF
6619if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6620if { (eval echo configure:6621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6620 rm -rf conftest* 6621 rm -rf conftest*
6621 eval "ac_cv_lib_$ac_lib_var=yes" 6622 eval "ac_cv_lib_$ac_lib_var=yes"
6622else 6623else
@@ -6642,7 +6643,7 @@ EOF
6642else 6643else
6643 echo "$ac_t""no" 1>&6 6644 echo "$ac_t""no" 1>&6
6644echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6645echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
6645echo "configure:6646: checking for krb_get_cred in -lkrb" >&5 6646echo "configure:6647: checking for krb_get_cred in -lkrb" >&5
6646ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6647ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
6647if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6648if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6648 echo $ac_n "(cached) $ac_c" 1>&6 6649 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6650,7 +6651,7 @@ else
6650 ac_save_LIBS="$LIBS" 6651 ac_save_LIBS="$LIBS"
6651LIBS="-lkrb $LIBS" 6652LIBS="-lkrb $LIBS"
6652cat > conftest.$ac_ext <<EOF 6653cat > conftest.$ac_ext <<EOF
6653#line 6654 "configure" 6654#line 6655 "configure"
6654#include "confdefs.h" 6655#include "confdefs.h"
6655/* Override any gcc2 internal prototype to avoid an error. */ 6656/* Override any gcc2 internal prototype to avoid an error. */
6656/* We use char because int might match the return type of a gcc2 6657/* We use char because int might match the return type of a gcc2
@@ -6661,7 +6662,7 @@ int main() {
6661krb_get_cred() 6662krb_get_cred()
6662; return 0; } 6663; return 0; }
6663EOF 6664EOF
6664if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6665if { (eval echo configure:6666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6665 rm -rf conftest* 6666 rm -rf conftest*
6666 eval "ac_cv_lib_$ac_lib_var=yes" 6667 eval "ac_cv_lib_$ac_lib_var=yes"
6667else 6668else
@@ -6697,17 +6698,17 @@ fi
6697do 6698do
6698ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6699ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6699echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6700echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6700echo "configure:6701: checking for $ac_hdr" >&5 6701echo "configure:6702: checking for $ac_hdr" >&5
6701if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6702if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6702 echo $ac_n "(cached) $ac_c" 1>&6 6703 echo $ac_n "(cached) $ac_c" 1>&6
6703else 6704else
6704 cat > conftest.$ac_ext <<EOF 6705 cat > conftest.$ac_ext <<EOF
6705#line 6706 "configure" 6706#line 6707 "configure"
6706#include "confdefs.h" 6707#include "confdefs.h"
6707#include <$ac_hdr> 6708#include <$ac_hdr>
6708EOF 6709EOF
6709ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6710ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6710{ (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6711{ (eval echo configure:6712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6711ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6712ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6712if test -z "$ac_err"; then 6713if test -z "$ac_err"; then
6713 rm -rf conftest* 6714 rm -rf conftest*
@@ -6738,17 +6739,17 @@ done
6738do 6739do
6739ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6740ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6740echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6741echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6741echo "configure:6742: checking for $ac_hdr" >&5 6742echo "configure:6743: checking for $ac_hdr" >&5
6742if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6743if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6743 echo $ac_n "(cached) $ac_c" 1>&6 6744 echo $ac_n "(cached) $ac_c" 1>&6
6744else 6745else
6745 cat > conftest.$ac_ext <<EOF 6746 cat > conftest.$ac_ext <<EOF
6746#line 6747 "configure" 6747#line 6748 "configure"
6747#include "confdefs.h" 6748#include "confdefs.h"
6748#include <$ac_hdr> 6749#include <$ac_hdr>
6749EOF 6750EOF
6750ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6751ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6751{ (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6752{ (eval echo configure:6753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6752ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6753ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6753if test -z "$ac_err"; then 6754if test -z "$ac_err"; then
6754 rm -rf conftest* 6755 rm -rf conftest*
@@ -6775,17 +6776,17 @@ for ac_hdr in kerberosIV/des.h
6775do 6776do
6776ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6777ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6777echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6778echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6778echo "configure:6779: checking for $ac_hdr" >&5 6779echo "configure:6780: checking for $ac_hdr" >&5
6779if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6780if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6780 echo $ac_n "(cached) $ac_c" 1>&6 6781 echo $ac_n "(cached) $ac_c" 1>&6
6781else 6782else
6782 cat > conftest.$ac_ext <<EOF 6783 cat > conftest.$ac_ext <<EOF
6783#line 6784 "configure" 6784#line 6785 "configure"
6784#include "confdefs.h" 6785#include "confdefs.h"
6785#include <$ac_hdr> 6786#include <$ac_hdr>
6786EOF 6787EOF
6787ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6788ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6788{ (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6789{ (eval echo configure:6790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6789ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6790ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6790if test -z "$ac_err"; then 6791if test -z "$ac_err"; then
6791 rm -rf conftest* 6792 rm -rf conftest*
@@ -6812,17 +6813,17 @@ for ac_hdr in kerberos/des.h
6812do 6813do
6813ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6814ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6814echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6815echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6815echo "configure:6816: checking for $ac_hdr" >&5 6816echo "configure:6817: checking for $ac_hdr" >&5
6816if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6817if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6 6818 echo $ac_n "(cached) $ac_c" 1>&6
6818else 6819else
6819 cat > conftest.$ac_ext <<EOF 6820 cat > conftest.$ac_ext <<EOF
6820#line 6821 "configure" 6821#line 6822 "configure"
6821#include "confdefs.h" 6822#include "confdefs.h"
6822#include <$ac_hdr> 6823#include <$ac_hdr>
6823EOF 6824EOF
6824ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6825ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6825{ (eval echo configure:6826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6826{ (eval echo configure:6827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6826ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6827ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6827if test -z "$ac_err"; then 6828if test -z "$ac_err"; then
6828 rm -rf conftest* 6829 rm -rf conftest*
@@ -6858,17 +6859,17 @@ done
6858do 6859do
6859ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6860ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6860echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6861echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6861echo "configure:6862: checking for $ac_hdr" >&5 6862echo "configure:6863: checking for $ac_hdr" >&5
6862if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6863if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6863 echo $ac_n "(cached) $ac_c" 1>&6 6864 echo $ac_n "(cached) $ac_c" 1>&6
6864else 6865else
6865 cat > conftest.$ac_ext <<EOF 6866 cat > conftest.$ac_ext <<EOF
6866#line 6867 "configure" 6867#line 6868 "configure"
6867#include "confdefs.h" 6868#include "confdefs.h"
6868#include <$ac_hdr> 6869#include <$ac_hdr>
6869EOF 6870EOF
6870ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6871ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6871{ (eval echo configure:6872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6872{ (eval echo configure:6873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6872ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6873ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6873if test -z "$ac_err"; then 6874if test -z "$ac_err"; then
6874 rm -rf conftest* 6875 rm -rf conftest*
@@ -6895,17 +6896,17 @@ for ac_hdr in kerberosIV/krb.h
6895do 6896do
6896ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6897ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6897echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6898echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6898echo "configure:6899: checking for $ac_hdr" >&5 6899echo "configure:6900: checking for $ac_hdr" >&5
6899if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6900if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6900 echo $ac_n "(cached) $ac_c" 1>&6 6901 echo $ac_n "(cached) $ac_c" 1>&6
6901else 6902else
6902 cat > conftest.$ac_ext <<EOF 6903 cat > conftest.$ac_ext <<EOF
6903#line 6904 "configure" 6904#line 6905 "configure"
6904#include "confdefs.h" 6905#include "confdefs.h"
6905#include <$ac_hdr> 6906#include <$ac_hdr>
6906EOF 6907EOF
6907ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6908ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6908{ (eval echo configure:6909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6909{ (eval echo configure:6910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6909ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6910ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6910if test -z "$ac_err"; then 6911if test -z "$ac_err"; then
6911 rm -rf conftest* 6912 rm -rf conftest*
@@ -6932,17 +6933,17 @@ for ac_hdr in kerberos/krb.h
6932do 6933do
6933ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6934ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6934echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6935echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6935echo "configure:6936: checking for $ac_hdr" >&5 6936echo "configure:6937: checking for $ac_hdr" >&5
6936if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6937if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6937 echo $ac_n "(cached) $ac_c" 1>&6 6938 echo $ac_n "(cached) $ac_c" 1>&6
6938else 6939else
6939 cat > conftest.$ac_ext <<EOF 6940 cat > conftest.$ac_ext <<EOF
6940#line 6941 "configure" 6941#line 6942 "configure"
6941#include "confdefs.h" 6942#include "confdefs.h"
6942#include <$ac_hdr> 6943#include <$ac_hdr>
6943EOF 6944EOF
6944ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6945ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6945{ (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6946{ (eval echo configure:6947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6946ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6947ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6947if test -z "$ac_err"; then 6948if test -z "$ac_err"; then
6948 rm -rf conftest* 6949 rm -rf conftest*
@@ -6979,17 +6980,17 @@ done
6979do 6980do
6980ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6981ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6981echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6982echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6982echo "configure:6983: checking for $ac_hdr" >&5 6983echo "configure:6984: checking for $ac_hdr" >&5
6983if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6984if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6984 echo $ac_n "(cached) $ac_c" 1>&6 6985 echo $ac_n "(cached) $ac_c" 1>&6
6985else 6986else
6986 cat > conftest.$ac_ext <<EOF 6987 cat > conftest.$ac_ext <<EOF
6987#line 6988 "configure" 6988#line 6989 "configure"
6988#include "confdefs.h" 6989#include "confdefs.h"
6989#include <$ac_hdr> 6990#include <$ac_hdr>
6990EOF 6991EOF
6991ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6992ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6992{ (eval echo configure:6993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6993{ (eval echo configure:6994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6993ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6994ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6994if test -z "$ac_err"; then 6995if test -z "$ac_err"; then
6995 rm -rf conftest* 6996 rm -rf conftest*
@@ -7020,7 +7021,7 @@ fi
7020# Solaris requires -lintl if you want strerror (which calls dgettext) 7021# Solaris requires -lintl if you want strerror (which calls dgettext)
7021# to return localized messages. 7022# to return localized messages.
7022echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7023echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7023echo "configure:7024: checking for dgettext in -lintl" >&5 7024echo "configure:7025: checking for dgettext in -lintl" >&5
7024ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7025ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7025if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7026if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7026 echo $ac_n "(cached) $ac_c" 1>&6 7027 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7028,7 +7029,7 @@ else
7028 ac_save_LIBS="$LIBS" 7029 ac_save_LIBS="$LIBS"
7029LIBS="-lintl $LIBS" 7030LIBS="-lintl $LIBS"
7030cat > conftest.$ac_ext <<EOF 7031cat > conftest.$ac_ext <<EOF
7031#line 7032 "configure" 7032#line 7033 "configure"
7032#include "confdefs.h" 7033#include "confdefs.h"
7033/* Override any gcc2 internal prototype to avoid an error. */ 7034/* Override any gcc2 internal prototype to avoid an error. */
7034/* We use char because int might match the return type of a gcc2 7035/* We use char because int might match the return type of a gcc2
@@ -7039,7 +7040,7 @@ int main() {
7039dgettext() 7040dgettext()
7040; return 0; } 7041; return 0; }
7041EOF 7042EOF
7042if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7043if { (eval echo configure:7044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7043 rm -rf conftest* 7044 rm -rf conftest*
7044 eval "ac_cv_lib_$ac_lib_var=yes" 7045 eval "ac_cv_lib_$ac_lib_var=yes"
7045else 7046else
@@ -7068,7 +7069,7 @@ fi
7068 7069
7069 7070
7070echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7071echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7071echo "configure:7072: checking whether localtime caches TZ" >&5 7072echo "configure:7073: checking whether localtime caches TZ" >&5
7072if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7073if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
7073 echo $ac_n "(cached) $ac_c" 1>&6 7074 echo $ac_n "(cached) $ac_c" 1>&6
7074else 7075else
@@ -7078,7 +7079,7 @@ if test "$cross_compiling" = yes; then
7078emacs_cv_localtime_cache=yes 7079emacs_cv_localtime_cache=yes
7079else 7080else
7080 cat > conftest.$ac_ext <<EOF 7081 cat > conftest.$ac_ext <<EOF
7081#line 7082 "configure" 7082#line 7083 "configure"
7082#include "confdefs.h" 7083#include "confdefs.h"
7083#include <time.h> 7084#include <time.h>
7084extern char **environ; 7085extern char **environ;
@@ -7110,7 +7111,7 @@ main()
7110 exit (0); 7111 exit (0);
7111} 7112}
7112EOF 7113EOF
7113if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7114if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7114then 7115then
7115 emacs_cv_localtime_cache=no 7116 emacs_cv_localtime_cache=no
7116else 7117else
@@ -7138,12 +7139,12 @@ fi
7138 7139
7139if test "x$HAVE_TIMEVAL" = xyes; then 7140if test "x$HAVE_TIMEVAL" = xyes; then
7140echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7141echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
7141echo "configure:7142: checking whether gettimeofday can accept two arguments" >&5 7142echo "configure:7143: checking whether gettimeofday can accept two arguments" >&5
7142if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7143if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
7143 echo $ac_n "(cached) $ac_c" 1>&6 7144 echo $ac_n "(cached) $ac_c" 1>&6
7144else 7145else
7145 cat > conftest.$ac_ext <<EOF 7146 cat > conftest.$ac_ext <<EOF
7146#line 7147 "configure" 7147#line 7148 "configure"
7147#include "confdefs.h" 7148#include "confdefs.h"
7148 7149
7149#ifdef TIME_WITH_SYS_TIME 7150#ifdef TIME_WITH_SYS_TIME
@@ -7165,7 +7166,7 @@ int main() {
7165 7166
7166; return 0; } 7167; return 0; }
7167EOF 7168EOF
7168if { (eval echo configure:7169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7169if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7169 rm -rf conftest* 7170 rm -rf conftest*
7170 emacs_cv_gettimeofday_two_arguments=yes 7171 emacs_cv_gettimeofday_two_arguments=yes
7171else 7172else
@@ -7188,12 +7189,12 @@ fi
7188 7189
7189ok_so_far=yes 7190ok_so_far=yes
7190echo $ac_n "checking for socket""... $ac_c" 1>&6 7191echo $ac_n "checking for socket""... $ac_c" 1>&6
7191echo "configure:7192: checking for socket" >&5 7192echo "configure:7193: checking for socket" >&5
7192if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7193if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
7193 echo $ac_n "(cached) $ac_c" 1>&6 7194 echo $ac_n "(cached) $ac_c" 1>&6
7194else 7195else
7195 cat > conftest.$ac_ext <<EOF 7196 cat > conftest.$ac_ext <<EOF
7196#line 7197 "configure" 7197#line 7198 "configure"
7197#include "confdefs.h" 7198#include "confdefs.h"
7198/* System header to define __stub macros and hopefully few prototypes, 7199/* System header to define __stub macros and hopefully few prototypes,
7199 which can conflict with char socket(); below. */ 7200 which can conflict with char socket(); below. */
@@ -7216,7 +7217,7 @@ socket();
7216 7217
7217; return 0; } 7218; return 0; }
7218EOF 7219EOF
7219if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7220if { (eval echo configure:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7220 rm -rf conftest* 7221 rm -rf conftest*
7221 eval "ac_cv_func_socket=yes" 7222 eval "ac_cv_func_socket=yes"
7222else 7223else
@@ -7239,17 +7240,17 @@ fi
7239if test $ok_so_far = yes; then 7240if test $ok_so_far = yes; then
7240 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 7241 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
7241echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 7242echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
7242echo "configure:7243: checking for netinet/in.h" >&5 7243echo "configure:7244: checking for netinet/in.h" >&5
7243if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7244 echo $ac_n "(cached) $ac_c" 1>&6 7245 echo $ac_n "(cached) $ac_c" 1>&6
7245else 7246else
7246 cat > conftest.$ac_ext <<EOF 7247 cat > conftest.$ac_ext <<EOF
7247#line 7248 "configure" 7248#line 7249 "configure"
7248#include "confdefs.h" 7249#include "confdefs.h"
7249#include <netinet/in.h> 7250#include <netinet/in.h>
7250EOF 7251EOF
7251ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7252{ (eval echo configure:7253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7253{ (eval echo configure:7254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7253ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7254if test -z "$ac_err"; then 7255if test -z "$ac_err"; then
7255 rm -rf conftest* 7256 rm -rf conftest*
@@ -7275,17 +7276,17 @@ fi
7275if test $ok_so_far = yes; then 7276if test $ok_so_far = yes; then
7276 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 7277 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
7277echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 7278echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
7278echo "configure:7279: checking for arpa/inet.h" >&5 7279echo "configure:7280: checking for arpa/inet.h" >&5
7279if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7280if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7280 echo $ac_n "(cached) $ac_c" 1>&6 7281 echo $ac_n "(cached) $ac_c" 1>&6
7281else 7282else
7282 cat > conftest.$ac_ext <<EOF 7283 cat > conftest.$ac_ext <<EOF
7283#line 7284 "configure" 7284#line 7285 "configure"
7284#include "confdefs.h" 7285#include "confdefs.h"
7285#include <arpa/inet.h> 7286#include <arpa/inet.h>
7286EOF 7287EOF
7287ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7288ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7288{ (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7289{ (eval echo configure:7290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7289ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7290ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7290if test -z "$ac_err"; then 7291if test -z "$ac_err"; then
7291 rm -rf conftest* 7292 rm -rf conftest*
@@ -7323,7 +7324,7 @@ EOF
7323fi 7324fi
7324 7325
7325echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 7326echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
7326echo "configure:7327: checking whether system supports dynamic ptys" >&5 7327echo "configure:7328: checking whether system supports dynamic ptys" >&5
7327if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 7328if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
7328 echo "$ac_t""yes" 1>&6 7329 echo "$ac_t""yes" 1>&6
7329 cat >> confdefs.h <<\EOF 7330 cat >> confdefs.h <<\EOF
@@ -7335,12 +7336,12 @@ else
7335fi 7336fi
7336 7337
7337echo $ac_n "checking for pid_t""... $ac_c" 1>&6 7338echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7338echo "configure:7339: checking for pid_t" >&5 7339echo "configure:7340: checking for pid_t" >&5
7339if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 7340if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7340 echo $ac_n "(cached) $ac_c" 1>&6 7341 echo $ac_n "(cached) $ac_c" 1>&6
7341else 7342else
7342 cat > conftest.$ac_ext <<EOF 7343 cat > conftest.$ac_ext <<EOF
7343#line 7344 "configure" 7344#line 7345 "configure"
7344#include "confdefs.h" 7345#include "confdefs.h"
7345#include <sys/types.h> 7346#include <sys/types.h>
7346#if STDC_HEADERS 7347#if STDC_HEADERS
@@ -7369,17 +7370,17 @@ fi
7369 7370
7370ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7371ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
7371echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7372echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
7372echo "configure:7373: checking for vfork.h" >&5 7373echo "configure:7374: checking for vfork.h" >&5
7373if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7374if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7374 echo $ac_n "(cached) $ac_c" 1>&6 7375 echo $ac_n "(cached) $ac_c" 1>&6
7375else 7376else
7376 cat > conftest.$ac_ext <<EOF 7377 cat > conftest.$ac_ext <<EOF
7377#line 7378 "configure" 7378#line 7379 "configure"
7378#include "confdefs.h" 7379#include "confdefs.h"
7379#include <vfork.h> 7380#include <vfork.h>
7380EOF 7381EOF
7381ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7382ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7382{ (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7383{ (eval echo configure:7384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7383ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7384ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7384if test -z "$ac_err"; then 7385if test -z "$ac_err"; then
7385 rm -rf conftest* 7386 rm -rf conftest*
@@ -7404,18 +7405,18 @@ else
7404fi 7405fi
7405 7406
7406echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7407echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7407echo "configure:7408: checking for working vfork" >&5 7408echo "configure:7409: checking for working vfork" >&5
7408if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 7409if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
7409 echo $ac_n "(cached) $ac_c" 1>&6 7410 echo $ac_n "(cached) $ac_c" 1>&6
7410else 7411else
7411 if test "$cross_compiling" = yes; then 7412 if test "$cross_compiling" = yes; then
7412 echo $ac_n "checking for vfork""... $ac_c" 1>&6 7413 echo $ac_n "checking for vfork""... $ac_c" 1>&6
7413echo "configure:7414: checking for vfork" >&5 7414echo "configure:7415: checking for vfork" >&5
7414if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 7415if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
7415 echo $ac_n "(cached) $ac_c" 1>&6 7416 echo $ac_n "(cached) $ac_c" 1>&6
7416else 7417else
7417 cat > conftest.$ac_ext <<EOF 7418 cat > conftest.$ac_ext <<EOF
7418#line 7419 "configure" 7419#line 7420 "configure"
7419#include "confdefs.h" 7420#include "confdefs.h"
7420/* System header to define __stub macros and hopefully few prototypes, 7421/* System header to define __stub macros and hopefully few prototypes,
7421 which can conflict with char vfork(); below. */ 7422 which can conflict with char vfork(); below. */
@@ -7438,7 +7439,7 @@ vfork();
7438 7439
7439; return 0; } 7440; return 0; }
7440EOF 7441EOF
7441if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7442if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7442 rm -rf conftest* 7443 rm -rf conftest*
7443 eval "ac_cv_func_vfork=yes" 7444 eval "ac_cv_func_vfork=yes"
7444else 7445else
@@ -7460,7 +7461,7 @@ fi
7460ac_cv_func_vfork_works=$ac_cv_func_vfork 7461ac_cv_func_vfork_works=$ac_cv_func_vfork
7461else 7462else
7462 cat > conftest.$ac_ext <<EOF 7463 cat > conftest.$ac_ext <<EOF
7463#line 7464 "configure" 7464#line 7465 "configure"
7464#include "confdefs.h" 7465#include "confdefs.h"
7465/* Thanks to Paul Eggert for this test. */ 7466/* Thanks to Paul Eggert for this test. */
7466#include <stdio.h> 7467#include <stdio.h>
@@ -7555,7 +7556,7 @@ main() {
7555 } 7556 }
7556} 7557}
7557EOF 7558EOF
7558if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7559if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7559then 7560then
7560 ac_cv_func_vfork_works=yes 7561 ac_cv_func_vfork_works=yes
7561else 7562else
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5e7e2f38052..6b853ff7472 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-06-14 Gerd Moellmann <gerd@gnu.org>
2
3 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
4 (goto-address-highlight-keymap): Bind C-c RET.
5
12000-06-14 Kenichi Handa <handa@etl.go.jp> 62000-06-14 Kenichi Handa <handa@etl.go.jp>
2 7
3 * mail/sendmail.el (sendmail-send-it): The temporary buffer 8 * mail/sendmail.el (sendmail-send-it): The temporary buffer
diff --git a/src/ChangeLog b/src/ChangeLog
index 8e98815d8ae..02616d4f83e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12000-06-14 Gerd Moellmann <gerd@gnu.org> 12000-06-14 Gerd Moellmann <gerd@gnu.org>
2 2
3 * unexec.c (toplevel) [COFF]: Include coff.h.
4
5 * s/lynxos.h: New file.
6
7 * keymap.c (Fsingle_key_description): Enclose function key and
8 event symbol names in angle brackets.
9
3 * xdisp.c (setup_echo_area_for_printing): Call 10 * xdisp.c (setup_echo_area_for_printing): Call
4 message_log_maybe_newline if message_buf_print is not set. 11 message_log_maybe_newline if message_buf_print is not set.
5 12
diff --git a/src/s/lynxos.h b/src/s/lynxos.h
new file mode 100644
index 00000000000..841d3b4f4f7
--- /dev/null
+++ b/src/s/lynxos.h
@@ -0,0 +1,58 @@
1/* Definitions file for GNU Emacs running on LynxOS-3.0.1
2 Copyright (C) 2000 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21/* LynxOS is almost a bsd 4.2 system */
22#include "s/bsd4-2.h"
23
24/* SYSTEM_TYPE should indicate the kind of system you are using.
25 It sets the Lisp variable system-type. */
26
27/* override the bsd definition */
28#undef SYSTEM_TYPE
29#define SYSTEM_TYPE "lynxos 3.0.1"
30
31/* System stuff redefined from bsd4-2.h */
32#undef KERNEL_FILE
33#define KERNEL_FILE "/lynx.os"
34#undef LDAV_SYMBOL
35#define LDAV_SYMBOL "load_average"
36/* LynxOS doesn't have vfork */
37#undef HAVE_VFORK
38
39/* misc defines */
40#define GETPGRP_NO_ARG
41#define LNOFLSH 0
42
43/* COFF related */
44#define COFF
45#define NO_REMAP
46#define SECTION_ALIGNMENT 0x1
47#define COFF_BSD_SYMBOLS
48#define etext __etext
49#define edata __edata
50#define _start __text
51
52/* Compilation options */
53#define LIBS_DEBUG
54#define ORDINARY_LINK
55/* we define following to prevent all the lynxos's stupid compilation */
56/* warning messages */
57#define C_SWITCH_SYSTEM -D__NO_INCLUDE_WARN__
58#define LIBS_SYSTEM -lbsd