aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-06-02 15:46:19 +0000
committerDave Love2000-06-02 15:46:19 +0000
commitd42122a3a21f5cdc1559e05747399dc0cc9dcd53 (patch)
treee65c1cfd3f1ae57b05a79682bf65fe65fdccbc4e
parentd3eb3bfac8dd59a761ebc3283a44d4dee6cd2d12 (diff)
downloademacs-d42122a3a21f5cdc1559e05747399dc0cc9dcd53.tar.gz
emacs-d42122a3a21f5cdc1559e05747399dc0cc9dcd53.zip
*** empty log message ***
-rw-r--r--ChangeLog9
-rwxr-xr-xconfigure1002
-rw-r--r--src/ChangeLog7
3 files changed, 709 insertions, 309 deletions
diff --git a/ChangeLog b/ChangeLog
index c593d773267..192e5eaadf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
12000-06-02 Dave Love <fx@gnu.org>
2
3 * configure.in: Don't specify -n32 flag for mips-sgi-irix6.5.
4 Check for struct exception. Use AC_SYS_LARGEFILE and move ftello
5 test.
6
7 * aclocal.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES)
8 (AC_SYS_LARGEFILE_MACRO_VALUE, AC_SYS_LARGEFILE): New.
9
12000-05-26 Gerd Moellmann <gerd@gnu.org> 102000-05-26 Gerd Moellmann <gerd@gnu.org>
2 11
3 * configure.in: Add check for speed_t typedef. 12 * configure.in: Add check for speed_t typedef.
diff --git a/configure b/configure
index ce63a29ae25..f75628b0367 100755
--- a/configure
+++ b/configure
@@ -38,6 +38,8 @@ ac_help="$ac_help
38 don't use Motif or Xaw3d scroll bars" 38 don't use Motif or Xaw3d scroll bars"
39ac_help="$ac_help 39ac_help="$ac_help
40 --with-x use the X Window System" 40 --with-x use the X Window System"
41ac_help="$ac_help
42 --disable-largefile omit support for large files"
41 43
42# Initialize some variables set by options. 44# Initialize some variables set by options.
43# The variables have the same names as the options, with 45# The variables have the same names as the options, with
@@ -745,7 +747,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
745fi 747fi
746 748
747echo $ac_n "checking host system type""... $ac_c" 1>&6 749echo $ac_n "checking host system type""... $ac_c" 1>&6
748echo "configure:749: checking host system type" >&5 750echo "configure:751: checking host system type" >&5
749 751
750host_alias=$host 752host_alias=$host
751case "$host_alias" in 753case "$host_alias" in
@@ -1407,13 +1409,14 @@ case "${canonical}" in
1407 # so that, for instance, grepping for `free' in stdlib.h fails and 1409 # so that, for instance, grepping for `free' in stdlib.h fails and
1408 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m). 1410 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
1409 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" 1411 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
1410 NON_GCC_TEST_OPTIONS="-n32 -D_LANGUAGE_C" 1412 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C"
1411 ;; 1413 ;;
1412 mips-sgi-irix6* ) 1414 mips-sgi-irix6* )
1413 machine=iris4d opsys=irix6-0 1415 machine=iris4d opsys=irix6-0
1414 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5, 1416 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
1415 # but presumably it does no harm. 1417 # but presumably it does no harm.
1416 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" 1418 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
1419 # -32 probably isn't necessary in later v.6s -- anyone know which?
1417 NON_GCC_TEST_OPTIONS=-32 1420 NON_GCC_TEST_OPTIONS=-32
1418 ;; 1421 ;;
1419 mips-sgi-irix5.[01]* ) 1422 mips-sgi-irix5.[01]* )
@@ -1710,7 +1713,7 @@ case ${with_gcc} in
1710 * ) # Extract the first word of "gcc", so it can be a program name with args. 1713 * ) # Extract the first word of "gcc", so it can be a program name with args.
1711set dummy gcc; ac_word=$2 1714set dummy gcc; ac_word=$2
1712echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1715echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1713echo "configure:1714: checking for $ac_word" >&5 1716echo "configure:1717: checking for $ac_word" >&5
1714if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1717if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1715 echo $ac_n "(cached) $ac_c" 1>&6 1718 echo $ac_n "(cached) $ac_c" 1>&6
1716else 1719else
@@ -1740,7 +1743,7 @@ if test -z "$CC"; then
1740 # Extract the first word of "cc", so it can be a program name with args. 1743 # Extract the first word of "cc", so it can be a program name with args.
1741set dummy cc; ac_word=$2 1744set dummy cc; ac_word=$2
1742echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1745echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1743echo "configure:1744: checking for $ac_word" >&5 1746echo "configure:1747: checking for $ac_word" >&5
1744if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1747if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1745 echo $ac_n "(cached) $ac_c" 1>&6 1748 echo $ac_n "(cached) $ac_c" 1>&6
1746else 1749else
@@ -1791,7 +1794,7 @@ fi
1791 # Extract the first word of "cl", so it can be a program name with args. 1794 # Extract the first word of "cl", so it can be a program name with args.
1792set dummy cl; ac_word=$2 1795set dummy cl; ac_word=$2
1793echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1796echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1794echo "configure:1795: checking for $ac_word" >&5 1797echo "configure:1798: checking for $ac_word" >&5
1795if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1798if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1796 echo $ac_n "(cached) $ac_c" 1>&6 1799 echo $ac_n "(cached) $ac_c" 1>&6
1797else 1800else
@@ -1823,7 +1826,7 @@ fi
1823fi 1826fi
1824 1827
1825echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1828echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1826echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1829echo "configure:1830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1827 1830
1828ac_ext=c 1831ac_ext=c
1829# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1832# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1834,12 +1837,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1834 1837
1835cat > conftest.$ac_ext << EOF 1838cat > conftest.$ac_ext << EOF
1836 1839
1837#line 1838 "configure" 1840#line 1841 "configure"
1838#include "confdefs.h" 1841#include "confdefs.h"
1839 1842
1840main(){return(0);} 1843main(){return(0);}
1841EOF 1844EOF
1842if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1845if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1843 ac_cv_prog_cc_works=yes 1846 ac_cv_prog_cc_works=yes
1844 # If we can't run a trivial program, we are probably using a cross compiler. 1847 # If we can't run a trivial program, we are probably using a cross compiler.
1845 if (./conftest; exit) 2>/dev/null; then 1848 if (./conftest; exit) 2>/dev/null; then
@@ -1865,12 +1868,12 @@ if test $ac_cv_prog_cc_works = no; then
1865 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1868 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1866fi 1869fi
1867echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1870echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1868echo "configure:1869: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1871echo "configure:1872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1869echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1872echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1870cross_compiling=$ac_cv_prog_cc_cross 1873cross_compiling=$ac_cv_prog_cc_cross
1871 1874
1872echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1875echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1873echo "configure:1874: checking whether we are using GNU C" >&5 1876echo "configure:1877: checking whether we are using GNU C" >&5
1874if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1877if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1875 echo $ac_n "(cached) $ac_c" 1>&6 1878 echo $ac_n "(cached) $ac_c" 1>&6
1876else 1879else
@@ -1879,7 +1882,7 @@ else
1879 yes; 1882 yes;
1880#endif 1883#endif
1881EOF 1884EOF
1882if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 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
1883 ac_cv_prog_gcc=yes 1886 ac_cv_prog_gcc=yes
1884else 1887else
1885 ac_cv_prog_gcc=no 1888 ac_cv_prog_gcc=no
@@ -1898,7 +1901,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1898ac_save_CFLAGS="$CFLAGS" 1901ac_save_CFLAGS="$CFLAGS"
1899CFLAGS= 1902CFLAGS=
1900echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1903echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1901echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 1904echo "configure:1905: checking whether ${CC-cc} accepts -g" >&5
1902if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1905if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1903 echo $ac_n "(cached) $ac_c" 1>&6 1906 echo $ac_n "(cached) $ac_c" 1>&6
1904else 1907else
@@ -1978,7 +1981,7 @@ fi
1978#### #undef clause to src/config.h.in for autoconf to modify. 1981#### #undef clause to src/config.h.in for autoconf to modify.
1979 1982
1980echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1983echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1981echo "configure:1982: checking whether ln -s works" >&5 1984echo "configure:1985: checking whether ln -s works" >&5
1982if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1985if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1983 echo $ac_n "(cached) $ac_c" 1>&6 1986 echo $ac_n "(cached) $ac_c" 1>&6
1984else 1987else
@@ -1999,7 +2002,7 @@ else
1999fi 2002fi
2000 2003
2001echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2004echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2002echo "configure:2003: checking how to run the C preprocessor" >&5 2005echo "configure:2006: checking how to run the C preprocessor" >&5
2003# On Suns, sometimes $CPP names a directory. 2006# On Suns, sometimes $CPP names a directory.
2004if test -n "$CPP" && test -d "$CPP"; then 2007if test -n "$CPP" && test -d "$CPP"; then
2005 CPP= 2008 CPP=
@@ -2014,13 +2017,13 @@ else
2014 # On the NeXT, cc -E runs the code through the compiler's parser, 2017 # On the NeXT, cc -E runs the code through the compiler's parser,
2015 # not just through cpp. 2018 # not just through cpp.
2016 cat > conftest.$ac_ext <<EOF 2019 cat > conftest.$ac_ext <<EOF
2017#line 2018 "configure" 2020#line 2021 "configure"
2018#include "confdefs.h" 2021#include "confdefs.h"
2019#include <assert.h> 2022#include <assert.h>
2020Syntax Error 2023Syntax Error
2021EOF 2024EOF
2022ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2025ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2023{ (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2026{ (eval echo configure:2027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2024ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2027ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2025if test -z "$ac_err"; then 2028if test -z "$ac_err"; then
2026 : 2029 :
@@ -2031,13 +2034,13 @@ else
2031 rm -rf conftest* 2034 rm -rf conftest*
2032 CPP="${CC-cc} -E -traditional-cpp" 2035 CPP="${CC-cc} -E -traditional-cpp"
2033 cat > conftest.$ac_ext <<EOF 2036 cat > conftest.$ac_ext <<EOF
2034#line 2035 "configure" 2037#line 2038 "configure"
2035#include "confdefs.h" 2038#include "confdefs.h"
2036#include <assert.h> 2039#include <assert.h>
2037Syntax Error 2040Syntax Error
2038EOF 2041EOF
2039ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2042ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2040{ (eval echo configure:2041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2043{ (eval echo configure:2044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2041ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2044ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2042if test -z "$ac_err"; then 2045if test -z "$ac_err"; then
2043 : 2046 :
@@ -2048,13 +2051,13 @@ else
2048 rm -rf conftest* 2051 rm -rf conftest*
2049 CPP="${CC-cc} -nologo -E" 2052 CPP="${CC-cc} -nologo -E"
2050 cat > conftest.$ac_ext <<EOF 2053 cat > conftest.$ac_ext <<EOF
2051#line 2052 "configure" 2054#line 2055 "configure"
2052#include "confdefs.h" 2055#include "confdefs.h"
2053#include <assert.h> 2056#include <assert.h>
2054Syntax Error 2057Syntax Error
2055EOF 2058EOF
2056ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2059ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2057{ (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2060{ (eval echo configure:2061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2058ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2061ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2059if test -z "$ac_err"; then 2062if test -z "$ac_err"; then
2060 : 2063 :
@@ -2090,7 +2093,7 @@ echo "$ac_t""$CPP" 1>&6
2090# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2093# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2091# ./install, which can be erroneously created by make from ./install.sh. 2094# ./install, which can be erroneously created by make from ./install.sh.
2092echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2095echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2093echo "configure:2094: checking for a BSD compatible install" >&5 2096echo "configure:2097: checking for a BSD compatible install" >&5
2094if test -z "$INSTALL"; then 2097if test -z "$INSTALL"; then
2095if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2098if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2096 echo $ac_n "(cached) $ac_c" 1>&6 2099 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2147,7 +2150,7 @@ do
2147# Extract the first word of "$ac_prog", so it can be a program name with args. 2150# Extract the first word of "$ac_prog", so it can be a program name with args.
2148set dummy $ac_prog; ac_word=$2 2151set dummy $ac_prog; ac_word=$2
2149echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2152echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2150echo "configure:2151: checking for $ac_word" >&5 2153echo "configure:2154: checking for $ac_word" >&5
2151if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2154if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2152 echo $ac_n "(cached) $ac_c" 1>&6 2155 echo $ac_n "(cached) $ac_c" 1>&6
2153else 2156else
@@ -2181,7 +2184,7 @@ if test "x$RANLIB" = x; then
2181 # Extract the first word of "ranlib", so it can be a program name with args. 2184 # Extract the first word of "ranlib", so it can be a program name with args.
2182set dummy ranlib; ac_word=$2 2185set dummy ranlib; ac_word=$2
2183echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2186echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2184echo "configure:2185: checking for $ac_word" >&5 2187echo "configure:2188: checking for $ac_word" >&5
2185if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2188if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2186 echo $ac_n "(cached) $ac_c" 1>&6 2189 echo $ac_n "(cached) $ac_c" 1>&6
2187else 2190else
@@ -2211,9 +2214,9 @@ fi
2211fi 2214fi
2212 2215
2213echo $ac_n "checking for AIX""... $ac_c" 1>&6 2216echo $ac_n "checking for AIX""... $ac_c" 1>&6
2214echo "configure:2215: checking for AIX" >&5 2217echo "configure:2218: checking for AIX" >&5
2215cat > conftest.$ac_ext <<EOF 2218cat > conftest.$ac_ext <<EOF
2216#line 2217 "configure" 2219#line 2220 "configure"
2217#include "confdefs.h" 2220#include "confdefs.h"
2218#ifdef _AIX 2221#ifdef _AIX
2219 yes 2222 yes
@@ -2240,17 +2243,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2240do 2243do
2241ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2244ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2242echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2245echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2243echo "configure:2244: checking for $ac_hdr" >&5 2246echo "configure:2247: checking for $ac_hdr" >&5
2244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2247if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2245 echo $ac_n "(cached) $ac_c" 1>&6 2248 echo $ac_n "(cached) $ac_c" 1>&6
2246else 2249else
2247 cat > conftest.$ac_ext <<EOF 2250 cat > conftest.$ac_ext <<EOF
2248#line 2249 "configure" 2251#line 2252 "configure"
2249#include "confdefs.h" 2252#include "confdefs.h"
2250#include <$ac_hdr> 2253#include <$ac_hdr>
2251EOF 2254EOF
2252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2253{ (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2256{ (eval echo configure:2257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2255if test -z "$ac_err"; then 2258if test -z "$ac_err"; then
2256 rm -rf conftest* 2259 rm -rf conftest*
@@ -2283,17 +2286,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2283do 2286do
2284ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2287ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2285echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2288echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2286echo "configure:2287: checking for $ac_hdr" >&5 2289echo "configure:2290: checking for $ac_hdr" >&5
2287if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2290if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2288 echo $ac_n "(cached) $ac_c" 1>&6 2291 echo $ac_n "(cached) $ac_c" 1>&6
2289else 2292else
2290 cat > conftest.$ac_ext <<EOF 2293 cat > conftest.$ac_ext <<EOF
2291#line 2292 "configure" 2294#line 2295 "configure"
2292#include "confdefs.h" 2295#include "confdefs.h"
2293#include <$ac_hdr> 2296#include <$ac_hdr>
2294EOF 2297EOF
2295ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2298ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2296{ (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2299{ (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2297ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2300ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2298if test -z "$ac_err"; then 2301if test -z "$ac_err"; then
2299 rm -rf conftest* 2302 rm -rf conftest*
@@ -2320,12 +2323,12 @@ fi
2320done 2323done
2321 2324
2322echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2325echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2323echo "configure:2324: checking for ANSI C header files" >&5 2326echo "configure:2327: checking for ANSI C header files" >&5
2324if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2327if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2325 echo $ac_n "(cached) $ac_c" 1>&6 2328 echo $ac_n "(cached) $ac_c" 1>&6
2326else 2329else
2327 cat > conftest.$ac_ext <<EOF 2330 cat > conftest.$ac_ext <<EOF
2328#line 2329 "configure" 2331#line 2332 "configure"
2329#include "confdefs.h" 2332#include "confdefs.h"
2330#include <stdlib.h> 2333#include <stdlib.h>
2331#include <stdarg.h> 2334#include <stdarg.h>
@@ -2333,7 +2336,7 @@ else
2333#include <float.h> 2336#include <float.h>
2334EOF 2337EOF
2335ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2338ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2336{ (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2339{ (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2337ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2340ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2338if test -z "$ac_err"; then 2341if test -z "$ac_err"; then
2339 rm -rf conftest* 2342 rm -rf conftest*
@@ -2350,7 +2353,7 @@ rm -f conftest*
2350if test $ac_cv_header_stdc = yes; then 2353if test $ac_cv_header_stdc = yes; then
2351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2352cat > conftest.$ac_ext <<EOF 2355cat > conftest.$ac_ext <<EOF
2353#line 2354 "configure" 2356#line 2357 "configure"
2354#include "confdefs.h" 2357#include "confdefs.h"
2355#include <string.h> 2358#include <string.h>
2356EOF 2359EOF
@@ -2368,7 +2371,7 @@ fi
2368if test $ac_cv_header_stdc = yes; then 2371if test $ac_cv_header_stdc = yes; then
2369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2370cat > conftest.$ac_ext <<EOF 2373cat > conftest.$ac_ext <<EOF
2371#line 2372 "configure" 2374#line 2375 "configure"
2372#include "confdefs.h" 2375#include "confdefs.h"
2373#include <stdlib.h> 2376#include <stdlib.h>
2374EOF 2377EOF
@@ -2389,7 +2392,7 @@ if test "$cross_compiling" = yes; then
2389 : 2392 :
2390else 2393else
2391 cat > conftest.$ac_ext <<EOF 2394 cat > conftest.$ac_ext <<EOF
2392#line 2393 "configure" 2395#line 2396 "configure"
2393#include "confdefs.h" 2396#include "confdefs.h"
2394#include <ctype.h> 2397#include <ctype.h>
2395#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2398#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2400,7 +2403,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2400exit (0); } 2403exit (0); }
2401 2404
2402EOF 2405EOF
2403if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2406if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2404then 2407then
2405 : 2408 :
2406else 2409else
@@ -2424,12 +2427,12 @@ EOF
2424fi 2427fi
2425 2428
2426echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2429echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2427echo "configure:2428: checking whether time.h and sys/time.h may both be included" >&5 2430echo "configure:2431: checking whether time.h and sys/time.h may both be included" >&5
2428if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2431if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2429 echo $ac_n "(cached) $ac_c" 1>&6 2432 echo $ac_n "(cached) $ac_c" 1>&6
2430else 2433else
2431 cat > conftest.$ac_ext <<EOF 2434 cat > conftest.$ac_ext <<EOF
2432#line 2433 "configure" 2435#line 2436 "configure"
2433#include "confdefs.h" 2436#include "confdefs.h"
2434#include <sys/types.h> 2437#include <sys/types.h>
2435#include <sys/time.h> 2438#include <sys/time.h>
@@ -2438,7 +2441,7 @@ int main() {
2438struct tm *tp; 2441struct tm *tp;
2439; return 0; } 2442; return 0; }
2440EOF 2443EOF
2441if { (eval echo configure:2442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2444if { (eval echo configure:2445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2442 rm -rf conftest* 2445 rm -rf conftest*
2443 ac_cv_header_time=yes 2446 ac_cv_header_time=yes
2444else 2447else
@@ -2459,12 +2462,12 @@ EOF
2459fi 2462fi
2460 2463
2461echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2464echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2462echo "configure:2463: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2465echo "configure:2466: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2463if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2466if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2464 echo $ac_n "(cached) $ac_c" 1>&6 2467 echo $ac_n "(cached) $ac_c" 1>&6
2465else 2468else
2466 cat > conftest.$ac_ext <<EOF 2469 cat > conftest.$ac_ext <<EOF
2467#line 2468 "configure" 2470#line 2471 "configure"
2468#include "confdefs.h" 2471#include "confdefs.h"
2469#include <sys/types.h> 2472#include <sys/types.h>
2470#include <signal.h> 2473#include <signal.h>
@@ -2476,7 +2479,7 @@ int main() {
2476char *msg = *(sys_siglist + 1); 2479char *msg = *(sys_siglist + 1);
2477; return 0; } 2480; return 0; }
2478EOF 2481EOF
2479if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2482if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2480 rm -rf conftest* 2483 rm -rf conftest*
2481 ac_cv_decl_sys_siglist=yes 2484 ac_cv_decl_sys_siglist=yes
2482else 2485else
@@ -2498,12 +2501,12 @@ fi
2498 2501
2499 2502
2500echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2503echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2501echo "configure:2502: checking for struct utimbuf" >&5 2504echo "configure:2505: checking for struct utimbuf" >&5
2502if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2505if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2503 echo $ac_n "(cached) $ac_c" 1>&6 2506 echo $ac_n "(cached) $ac_c" 1>&6
2504else 2507else
2505 cat > conftest.$ac_ext <<EOF 2508 cat > conftest.$ac_ext <<EOF
2506#line 2507 "configure" 2509#line 2510 "configure"
2507#include "confdefs.h" 2510#include "confdefs.h"
2508#ifdef TIME_WITH_SYS_TIME 2511#ifdef TIME_WITH_SYS_TIME
2509#include <sys/time.h> 2512#include <sys/time.h>
@@ -2522,7 +2525,7 @@ int main() {
2522static struct utimbuf x; x.actime = x.modtime; 2525static struct utimbuf x; x.actime = x.modtime;
2523; return 0; } 2526; return 0; }
2524EOF 2527EOF
2525if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2528if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2526 rm -rf conftest* 2529 rm -rf conftest*
2527 emacs_cv_struct_utimbuf=yes 2530 emacs_cv_struct_utimbuf=yes
2528else 2531else
@@ -2543,12 +2546,12 @@ EOF
2543fi 2546fi
2544 2547
2545echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2548echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2546echo "configure:2547: checking return type of signal handlers" >&5 2549echo "configure:2550: checking return type of signal handlers" >&5
2547if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2550if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2548 echo $ac_n "(cached) $ac_c" 1>&6 2551 echo $ac_n "(cached) $ac_c" 1>&6
2549else 2552else
2550 cat > conftest.$ac_ext <<EOF 2553 cat > conftest.$ac_ext <<EOF
2551#line 2552 "configure" 2554#line 2555 "configure"
2552#include "confdefs.h" 2555#include "confdefs.h"
2553#include <sys/types.h> 2556#include <sys/types.h>
2554#include <signal.h> 2557#include <signal.h>
@@ -2565,7 +2568,7 @@ int main() {
2565int i; 2568int i;
2566; return 0; } 2569; return 0; }
2567EOF 2570EOF
2568if { (eval echo configure:2569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2571if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2569 rm -rf conftest* 2572 rm -rf conftest*
2570 ac_cv_type_signal=void 2573 ac_cv_type_signal=void
2571else 2574else
@@ -2585,19 +2588,19 @@ EOF
2585 2588
2586 2589
2587echo $ac_n "checking for speed_t""... $ac_c" 1>&6 2590echo $ac_n "checking for speed_t""... $ac_c" 1>&6
2588echo "configure:2589: checking for speed_t" >&5 2591echo "configure:2592: checking for speed_t" >&5
2589if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 2592if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
2590 echo $ac_n "(cached) $ac_c" 1>&6 2593 echo $ac_n "(cached) $ac_c" 1>&6
2591else 2594else
2592 cat > conftest.$ac_ext <<EOF 2595 cat > conftest.$ac_ext <<EOF
2593#line 2594 "configure" 2596#line 2597 "configure"
2594#include "confdefs.h" 2597#include "confdefs.h"
2595#include <termios.h> 2598#include <termios.h>
2596int main() { 2599int main() {
2597speed_t x = 1; 2600speed_t x = 1;
2598; return 0; } 2601; return 0; }
2599EOF 2602EOF
2600if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2603if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2601 rm -rf conftest* 2604 rm -rf conftest*
2602 emacs_cv_speed_t=yes 2605 emacs_cv_speed_t=yes
2603else 2606else
@@ -2616,12 +2619,12 @@ EOF
2616fi 2619fi
2617 2620
2618echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2621echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2619echo "configure:2620: checking for struct timeval" >&5 2622echo "configure:2623: checking for struct timeval" >&5
2620if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2623if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2621 echo $ac_n "(cached) $ac_c" 1>&6 2624 echo $ac_n "(cached) $ac_c" 1>&6
2622else 2625else
2623 cat > conftest.$ac_ext <<EOF 2626 cat > conftest.$ac_ext <<EOF
2624#line 2625 "configure" 2627#line 2628 "configure"
2625#include "confdefs.h" 2628#include "confdefs.h"
2626#ifdef TIME_WITH_SYS_TIME 2629#ifdef TIME_WITH_SYS_TIME
2627#include <sys/time.h> 2630#include <sys/time.h>
@@ -2637,7 +2640,7 @@ int main() {
2637static struct timeval x; x.tv_sec = x.tv_usec; 2640static struct timeval x; x.tv_sec = x.tv_usec;
2638; return 0; } 2641; return 0; }
2639EOF 2642EOF
2640if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2643if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2641 rm -rf conftest* 2644 rm -rf conftest*
2642 emacs_cv_struct_timeval=yes 2645 emacs_cv_struct_timeval=yes
2643else 2646else
@@ -2658,13 +2661,47 @@ EOF
2658 2661
2659fi 2662fi
2660 2663
2664echo $ac_n "checking for struct exception""... $ac_c" 1>&6
2665echo "configure:2666: checking for struct exception" >&5
2666if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
2667 echo $ac_n "(cached) $ac_c" 1>&6
2668else
2669 cat > conftest.$ac_ext <<EOF
2670#line 2671 "configure"
2671#include "confdefs.h"
2672#include <math.h>
2673int main() {
2674static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
2675; return 0; }
2676EOF
2677if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2678 rm -rf conftest*
2679 emacs_cv_struct_exception=yes
2680else
2681 echo "configure: failed program was:" >&5
2682 cat conftest.$ac_ext >&5
2683 rm -rf conftest*
2684 emacs_cv_struct_exception=no
2685fi
2686rm -f conftest*
2687fi
2688
2689echo "$ac_t""$emacs_cv_struct_exception" 1>&6
2690HAVE_EXCEPTION=$emacs_cv_struct_exception
2691if test $emacs_cv_struct_exception != yes; then
2692 cat >> confdefs.h <<\EOF
2693#define NO_MATHERR 1
2694EOF
2695
2696fi
2697
2661echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2698echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2662echo "configure:2663: checking whether struct tm is in sys/time.h or time.h" >&5 2699echo "configure:2700: checking whether struct tm is in sys/time.h or time.h" >&5
2663if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2700if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2664 echo $ac_n "(cached) $ac_c" 1>&6 2701 echo $ac_n "(cached) $ac_c" 1>&6
2665else 2702else
2666 cat > conftest.$ac_ext <<EOF 2703 cat > conftest.$ac_ext <<EOF
2667#line 2668 "configure" 2704#line 2705 "configure"
2668#include "confdefs.h" 2705#include "confdefs.h"
2669#include <sys/types.h> 2706#include <sys/types.h>
2670#include <time.h> 2707#include <time.h>
@@ -2672,7 +2709,7 @@ int main() {
2672struct tm *tp; tp->tm_sec; 2709struct tm *tp; tp->tm_sec;
2673; return 0; } 2710; return 0; }
2674EOF 2711EOF
2675if { (eval echo configure:2676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2712if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2676 rm -rf conftest* 2713 rm -rf conftest*
2677 ac_cv_struct_tm=time.h 2714 ac_cv_struct_tm=time.h
2678else 2715else
@@ -2693,12 +2730,12 @@ EOF
2693fi 2730fi
2694 2731
2695echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2732echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2696echo "configure:2697: checking for tm_zone in struct tm" >&5 2733echo "configure:2734: checking for tm_zone in struct tm" >&5
2697if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2734if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2698 echo $ac_n "(cached) $ac_c" 1>&6 2735 echo $ac_n "(cached) $ac_c" 1>&6
2699else 2736else
2700 cat > conftest.$ac_ext <<EOF 2737 cat > conftest.$ac_ext <<EOF
2701#line 2702 "configure" 2738#line 2739 "configure"
2702#include "confdefs.h" 2739#include "confdefs.h"
2703#include <sys/types.h> 2740#include <sys/types.h>
2704#include <$ac_cv_struct_tm> 2741#include <$ac_cv_struct_tm>
@@ -2706,7 +2743,7 @@ int main() {
2706struct tm tm; tm.tm_zone; 2743struct tm tm; tm.tm_zone;
2707; return 0; } 2744; return 0; }
2708EOF 2745EOF
2709if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2746if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2710 rm -rf conftest* 2747 rm -rf conftest*
2711 ac_cv_struct_tm_zone=yes 2748 ac_cv_struct_tm_zone=yes
2712else 2749else
@@ -2726,12 +2763,12 @@ EOF
2726 2763
2727else 2764else
2728 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2765 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2729echo "configure:2730: checking for tzname" >&5 2766echo "configure:2767: checking for tzname" >&5
2730if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2767if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6 2768 echo $ac_n "(cached) $ac_c" 1>&6
2732else 2769else
2733 cat > conftest.$ac_ext <<EOF 2770 cat > conftest.$ac_ext <<EOF
2734#line 2735 "configure" 2771#line 2772 "configure"
2735#include "confdefs.h" 2772#include "confdefs.h"
2736#include <time.h> 2773#include <time.h>
2737#ifndef tzname /* For SGI. */ 2774#ifndef tzname /* For SGI. */
@@ -2741,7 +2778,7 @@ int main() {
2741atoi(*tzname); 2778atoi(*tzname);
2742; return 0; } 2779; return 0; }
2743EOF 2780EOF
2744if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2781if { (eval echo configure:2782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2745 rm -rf conftest* 2782 rm -rf conftest*
2746 ac_cv_var_tzname=yes 2783 ac_cv_var_tzname=yes
2747else 2784else
@@ -2763,19 +2800,19 @@ EOF
2763fi 2800fi
2764 2801
2765echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2802echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2766echo "configure:2767: checking for tm_gmtoff in struct tm" >&5 2803echo "configure:2804: checking for tm_gmtoff in struct tm" >&5
2767if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2804if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2768 echo $ac_n "(cached) $ac_c" 1>&6 2805 echo $ac_n "(cached) $ac_c" 1>&6
2769else 2806else
2770 cat > conftest.$ac_ext <<EOF 2807 cat > conftest.$ac_ext <<EOF
2771#line 2772 "configure" 2808#line 2809 "configure"
2772#include "confdefs.h" 2809#include "confdefs.h"
2773#include <time.h> 2810#include <time.h>
2774int main() { 2811int main() {
2775struct tm t; t.tm_gmtoff = 0 2812struct tm t; t.tm_gmtoff = 0
2776; return 0; } 2813; return 0; }
2777EOF 2814EOF
2778if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2815if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2779 rm -rf conftest* 2816 rm -rf conftest*
2780 emacs_cv_tm_gmtoff=yes 2817 emacs_cv_tm_gmtoff=yes
2781else 2818else
@@ -2797,7 +2834,7 @@ fi
2797 2834
2798 2835
2799echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2836echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2800echo "configure:2801: checking for ${CC-cc} option to accept ANSI C" >&5 2837echo "configure:2838: checking for ${CC-cc} option to accept ANSI C" >&5
2801if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2838if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2802 echo $ac_n "(cached) $ac_c" 1>&6 2839 echo $ac_n "(cached) $ac_c" 1>&6
2803else 2840else
@@ -2814,7 +2851,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2814do 2851do
2815 CC="$ac_save_CC $ac_arg" 2852 CC="$ac_save_CC $ac_arg"
2816 cat > conftest.$ac_ext <<EOF 2853 cat > conftest.$ac_ext <<EOF
2817#line 2818 "configure" 2854#line 2855 "configure"
2818#include "confdefs.h" 2855#include "confdefs.h"
2819#include <stdarg.h> 2856#include <stdarg.h>
2820#include <stdio.h> 2857#include <stdio.h>
@@ -2848,7 +2885,7 @@ int main() {
2848return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2885return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2849; return 0; } 2886; return 0; }
2850EOF 2887EOF
2851if { (eval echo configure:2852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2888if { (eval echo configure:2889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2852 rm -rf conftest* 2889 rm -rf conftest*
2853 ac_cv_prog_cc_stdc="$ac_arg"; break 2890 ac_cv_prog_cc_stdc="$ac_arg"; break
2854else 2891else
@@ -2870,7 +2907,7 @@ case "x$ac_cv_prog_cc_stdc" in
2870esac 2907esac
2871 2908
2872echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 2909echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2873echo "configure:2874: checking for function prototypes" >&5 2910echo "configure:2911: checking for function prototypes" >&5
2874if test "$ac_cv_prog_cc_stdc" != no; then 2911if test "$ac_cv_prog_cc_stdc" != no; then
2875 echo "$ac_t""yes" 1>&6 2912 echo "$ac_t""yes" 1>&6
2876 cat >> confdefs.h <<\EOF 2913 cat >> confdefs.h <<\EOF
@@ -2882,12 +2919,12 @@ else
2882fi 2919fi
2883 2920
2884echo $ac_n "checking for working volatile""... $ac_c" 1>&6 2921echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2885echo "configure:2886: checking for working volatile" >&5 2922echo "configure:2923: checking for working volatile" >&5
2886if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 2923if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2887 echo $ac_n "(cached) $ac_c" 1>&6 2924 echo $ac_n "(cached) $ac_c" 1>&6
2888else 2925else
2889 cat > conftest.$ac_ext <<EOF 2926 cat > conftest.$ac_ext <<EOF
2890#line 2891 "configure" 2927#line 2928 "configure"
2891#include "confdefs.h" 2928#include "confdefs.h"
2892 2929
2893int main() { 2930int main() {
@@ -2896,7 +2933,7 @@ volatile int x;
2896int * volatile y; 2933int * volatile y;
2897; return 0; } 2934; return 0; }
2898EOF 2935EOF
2899if { (eval echo configure:2900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2936if { (eval echo configure:2937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2900 rm -rf conftest* 2937 rm -rf conftest*
2901 ac_cv_c_volatile=yes 2938 ac_cv_c_volatile=yes
2902else 2939else
@@ -2917,18 +2954,18 @@ EOF
2917fi 2954fi
2918 2955
2919echo $ac_n "checking for working const""... $ac_c" 1>&6 2956echo $ac_n "checking for working const""... $ac_c" 1>&6
2920echo "configure:2921: checking for working const" >&5 2957echo "configure:2958: checking for working const" >&5
2921if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2958if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2922 echo $ac_n "(cached) $ac_c" 1>&6 2959 echo $ac_n "(cached) $ac_c" 1>&6
2923else 2960else
2924 cat > conftest.$ac_ext <<EOF 2961 cat > conftest.$ac_ext <<EOF
2925#line 2926 "configure" 2962#line 2963 "configure"
2926#include "confdefs.h" 2963#include "confdefs.h"
2927 2964
2928int main() { 2965int main() {
2929 2966
2930/* Ultrix mips cc rejects this. */ 2967/* Ultrix mips cc rejects this. */
2931typedef int charset[2]; const charset x; 2968typedef int charset[2]; const charset x = {0,0};
2932/* SunOS 4.1.1 cc rejects this. */ 2969/* SunOS 4.1.1 cc rejects this. */
2933char const *const *ccp; 2970char const *const *ccp;
2934char **p; 2971char **p;
@@ -2971,7 +3008,7 @@ ccp = (char const *const *) p;
2971 3008
2972; return 0; } 3009; return 0; }
2973EOF 3010EOF
2974if { (eval echo configure:2975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3011if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2975 rm -rf conftest* 3012 rm -rf conftest*
2976 ac_cv_c_const=yes 3013 ac_cv_c_const=yes
2977else 3014else
@@ -2992,19 +3029,19 @@ EOF
2992fi 3029fi
2993 3030
2994echo $ac_n "checking for void * support""... $ac_c" 1>&6 3031echo $ac_n "checking for void * support""... $ac_c" 1>&6
2995echo "configure:2996: checking for void * support" >&5 3032echo "configure:3033: checking for void * support" >&5
2996if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3033if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
2997 echo $ac_n "(cached) $ac_c" 1>&6 3034 echo $ac_n "(cached) $ac_c" 1>&6
2998else 3035else
2999 cat > conftest.$ac_ext <<EOF 3036 cat > conftest.$ac_ext <<EOF
3000#line 3001 "configure" 3037#line 3038 "configure"
3001#include "confdefs.h" 3038#include "confdefs.h"
3002 3039
3003int main() { 3040int main() {
3004void * foo; 3041void * foo;
3005; return 0; } 3042; return 0; }
3006EOF 3043EOF
3007if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3044if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3008 rm -rf conftest* 3045 rm -rf conftest*
3009 emacs_cv_void_star=yes 3046 emacs_cv_void_star=yes
3010else 3047else
@@ -3030,7 +3067,7 @@ EOF
3030fi 3067fi
3031 3068
3032echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3069echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3033echo "configure:3034: checking whether ${MAKE-make} sets \${MAKE}" >&5 3070echo "configure:3071: checking whether ${MAKE-make} sets \${MAKE}" >&5
3034set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3071set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3035if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3072if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3036 echo $ac_n "(cached) $ac_c" 1>&6 3073 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3058,7 +3095,7 @@ fi
3058 3095
3059 3096
3060echo $ac_n "checking for long file names""... $ac_c" 1>&6 3097echo $ac_n "checking for long file names""... $ac_c" 1>&6
3061echo "configure:3062: checking for long file names" >&5 3098echo "configure:3099: checking for long file names" >&5
3062if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3099if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3063 echo $ac_n "(cached) $ac_c" 1>&6 3100 echo $ac_n "(cached) $ac_c" 1>&6
3064else 3101else
@@ -3109,7 +3146,7 @@ fi
3109# Uses ac_ vars as temps to allow command line to override cache and checks. 3146# Uses ac_ vars as temps to allow command line to override cache and checks.
3110# --without-x overrides everything else, but does not touch the cache. 3147# --without-x overrides everything else, but does not touch the cache.
3111echo $ac_n "checking for X""... $ac_c" 1>&6 3148echo $ac_n "checking for X""... $ac_c" 1>&6
3112echo "configure:3113: checking for X" >&5 3149echo "configure:3150: checking for X" >&5
3113 3150
3114# Check whether --with-x or --without-x was given. 3151# Check whether --with-x or --without-x was given.
3115if test "${with_x+set}" = set; then 3152if test "${with_x+set}" = set; then
@@ -3171,12 +3208,12 @@ if test "$ac_x_includes" = NO; then
3171 3208
3172 # First, try using that file with no special directory specified. 3209 # First, try using that file with no special directory specified.
3173cat > conftest.$ac_ext <<EOF 3210cat > conftest.$ac_ext <<EOF
3174#line 3175 "configure" 3211#line 3212 "configure"
3175#include "confdefs.h" 3212#include "confdefs.h"
3176#include <$x_direct_test_include> 3213#include <$x_direct_test_include>
3177EOF 3214EOF
3178ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3215ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3179{ (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3216{ (eval echo configure:3217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3180ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3217ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3181if test -z "$ac_err"; then 3218if test -z "$ac_err"; then
3182 rm -rf conftest* 3219 rm -rf conftest*
@@ -3245,14 +3282,14 @@ if test "$ac_x_libraries" = NO; then
3245 ac_save_LIBS="$LIBS" 3282 ac_save_LIBS="$LIBS"
3246 LIBS="-l$x_direct_test_library $LIBS" 3283 LIBS="-l$x_direct_test_library $LIBS"
3247cat > conftest.$ac_ext <<EOF 3284cat > conftest.$ac_ext <<EOF
3248#line 3249 "configure" 3285#line 3286 "configure"
3249#include "confdefs.h" 3286#include "confdefs.h"
3250 3287
3251int main() { 3288int main() {
3252${x_direct_test_function}() 3289${x_direct_test_function}()
3253; return 0; } 3290; return 0; }
3254EOF 3291EOF
3255if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3292if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3256 rm -rf conftest* 3293 rm -rf conftest*
3257 LIBS="$ac_save_LIBS" 3294 LIBS="$ac_save_LIBS"
3258# We can link X programs with no special library path. 3295# We can link X programs with no special library path.
@@ -3427,7 +3464,7 @@ fi
3427echo "checking the machine- and system-dependent files to find out 3464echo "checking the machine- and system-dependent files to find out
3428 - which libraries the lib-src programs will want, and 3465 - which libraries the lib-src programs will want, and
3429 - whether the GNU malloc routines are usable" 1>&6 3466 - whether the GNU malloc routines are usable" 1>&6
3430echo "configure:3431: checking the machine- and system-dependent files to find out 3467echo "configure:3468: checking the machine- and system-dependent files to find out
3431 - which libraries the lib-src programs will want, and 3468 - which libraries the lib-src programs will want, and
3432 - whether the GNU malloc routines are usable" >&5 3469 - whether the GNU malloc routines are usable" >&5
3433 3470
@@ -3561,12 +3598,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3561GNU_MALLOC=yes 3598GNU_MALLOC=yes
3562doug_lea_malloc=yes 3599doug_lea_malloc=yes
3563echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3600echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3564echo "configure:3565: checking for malloc_get_state" >&5 3601echo "configure:3602: checking for malloc_get_state" >&5
3565if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3602if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3566 echo $ac_n "(cached) $ac_c" 1>&6 3603 echo $ac_n "(cached) $ac_c" 1>&6
3567else 3604else
3568 cat > conftest.$ac_ext <<EOF 3605 cat > conftest.$ac_ext <<EOF
3569#line 3570 "configure" 3606#line 3607 "configure"
3570#include "confdefs.h" 3607#include "confdefs.h"
3571/* System header to define __stub macros and hopefully few prototypes, 3608/* System header to define __stub macros and hopefully few prototypes,
3572 which can conflict with char malloc_get_state(); below. */ 3609 which can conflict with char malloc_get_state(); below. */
@@ -3589,7 +3626,7 @@ malloc_get_state();
3589 3626
3590; return 0; } 3627; return 0; }
3591EOF 3628EOF
3592if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3629if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3593 rm -rf conftest* 3630 rm -rf conftest*
3594 eval "ac_cv_func_malloc_get_state=yes" 3631 eval "ac_cv_func_malloc_get_state=yes"
3595else 3632else
@@ -3610,12 +3647,12 @@ doug_lea_malloc=no
3610fi 3647fi
3611 3648
3612echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3649echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3613echo "configure:3614: checking for malloc_set_state" >&5 3650echo "configure:3651: checking for malloc_set_state" >&5
3614if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3651if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3615 echo $ac_n "(cached) $ac_c" 1>&6 3652 echo $ac_n "(cached) $ac_c" 1>&6
3616else 3653else
3617 cat > conftest.$ac_ext <<EOF 3654 cat > conftest.$ac_ext <<EOF
3618#line 3619 "configure" 3655#line 3656 "configure"
3619#include "confdefs.h" 3656#include "confdefs.h"
3620/* System header to define __stub macros and hopefully few prototypes, 3657/* System header to define __stub macros and hopefully few prototypes,
3621 which can conflict with char malloc_set_state(); below. */ 3658 which can conflict with char malloc_set_state(); below. */
@@ -3638,7 +3675,7 @@ malloc_set_state();
3638 3675
3639; return 0; } 3676; return 0; }
3640EOF 3677EOF
3641if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3678if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3642 rm -rf conftest* 3679 rm -rf conftest*
3643 eval "ac_cv_func_malloc_set_state=yes" 3680 eval "ac_cv_func_malloc_set_state=yes"
3644else 3681else
@@ -3659,19 +3696,19 @@ doug_lea_malloc=no
3659fi 3696fi
3660 3697
3661echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3698echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3662echo "configure:3663: checking whether __after_morecore_hook exists" >&5 3699echo "configure:3700: checking whether __after_morecore_hook exists" >&5
3663if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3700if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3664 echo $ac_n "(cached) $ac_c" 1>&6 3701 echo $ac_n "(cached) $ac_c" 1>&6
3665else 3702else
3666 cat > conftest.$ac_ext <<EOF 3703 cat > conftest.$ac_ext <<EOF
3667#line 3668 "configure" 3704#line 3705 "configure"
3668#include "confdefs.h" 3705#include "confdefs.h"
3669extern void (* __after_morecore_hook)(); 3706extern void (* __after_morecore_hook)();
3670int main() { 3707int main() {
3671__after_morecore_hook = 0 3708__after_morecore_hook = 0
3672; return 0; } 3709; return 0; }
3673EOF 3710EOF
3674if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3711if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3675 rm -rf conftest* 3712 rm -rf conftest*
3676 emacs_cv_var___after_morecore_hook=yes 3713 emacs_cv_var___after_morecore_hook=yes
3677else 3714else
@@ -3718,7 +3755,7 @@ fi
3718LIBS="$libsrc_libs $LIBS" 3755LIBS="$libsrc_libs $LIBS"
3719 3756
3720echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3757echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3721echo "configure:3722: checking for dnet_ntoa in -ldnet" >&5 3758echo "configure:3759: checking for dnet_ntoa in -ldnet" >&5
3722ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3759ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3723if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3760if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3724 echo $ac_n "(cached) $ac_c" 1>&6 3761 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3726,7 +3763,7 @@ else
3726 ac_save_LIBS="$LIBS" 3763 ac_save_LIBS="$LIBS"
3727LIBS="-ldnet $LIBS" 3764LIBS="-ldnet $LIBS"
3728cat > conftest.$ac_ext <<EOF 3765cat > conftest.$ac_ext <<EOF
3729#line 3730 "configure" 3766#line 3767 "configure"
3730#include "confdefs.h" 3767#include "confdefs.h"
3731/* Override any gcc2 internal prototype to avoid an error. */ 3768/* Override any gcc2 internal prototype to avoid an error. */
3732/* We use char because int might match the return type of a gcc2 3769/* We use char because int might match the return type of a gcc2
@@ -3737,7 +3774,7 @@ int main() {
3737dnet_ntoa() 3774dnet_ntoa()
3738; return 0; } 3775; return 0; }
3739EOF 3776EOF
3740if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3777if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3741 rm -rf conftest* 3778 rm -rf conftest*
3742 eval "ac_cv_lib_$ac_lib_var=yes" 3779 eval "ac_cv_lib_$ac_lib_var=yes"
3743else 3780else
@@ -3766,7 +3803,7 @@ fi
3766 3803
3767 3804
3768echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3805echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3769echo "configure:3770: checking for main in -lXbsd" >&5 3806echo "configure:3807: checking for main in -lXbsd" >&5
3770ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3807ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3771if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3808if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3772 echo $ac_n "(cached) $ac_c" 1>&6 3809 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3774,14 +3811,14 @@ else
3774 ac_save_LIBS="$LIBS" 3811 ac_save_LIBS="$LIBS"
3775LIBS="-lXbsd $LIBS" 3812LIBS="-lXbsd $LIBS"
3776cat > conftest.$ac_ext <<EOF 3813cat > conftest.$ac_ext <<EOF
3777#line 3778 "configure" 3814#line 3815 "configure"
3778#include "confdefs.h" 3815#include "confdefs.h"
3779 3816
3780int main() { 3817int main() {
3781main() 3818main()
3782; return 0; } 3819; return 0; }
3783EOF 3820EOF
3784if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3821if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3785 rm -rf conftest* 3822 rm -rf conftest*
3786 eval "ac_cv_lib_$ac_lib_var=yes" 3823 eval "ac_cv_lib_$ac_lib_var=yes"
3787else 3824else
@@ -3803,7 +3840,7 @@ fi
3803 3840
3804 3841
3805echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3842echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3806echo "configure:3807: checking for cma_open in -lpthreads" >&5 3843echo "configure:3844: checking for cma_open in -lpthreads" >&5
3807ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3844ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3808if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3809 echo $ac_n "(cached) $ac_c" 1>&6 3846 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3811,7 +3848,7 @@ else
3811 ac_save_LIBS="$LIBS" 3848 ac_save_LIBS="$LIBS"
3812LIBS="-lpthreads $LIBS" 3849LIBS="-lpthreads $LIBS"
3813cat > conftest.$ac_ext <<EOF 3850cat > conftest.$ac_ext <<EOF
3814#line 3815 "configure" 3851#line 3852 "configure"
3815#include "confdefs.h" 3852#include "confdefs.h"
3816/* Override any gcc2 internal prototype to avoid an error. */ 3853/* Override any gcc2 internal prototype to avoid an error. */
3817/* We use char because int might match the return type of a gcc2 3854/* We use char because int might match the return type of a gcc2
@@ -3822,7 +3859,7 @@ int main() {
3822cma_open() 3859cma_open()
3823; return 0; } 3860; return 0; }
3824EOF 3861EOF
3825if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3862if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3826 rm -rf conftest* 3863 rm -rf conftest*
3827 eval "ac_cv_lib_$ac_lib_var=yes" 3864 eval "ac_cv_lib_$ac_lib_var=yes"
3828else 3865else
@@ -3851,7 +3888,7 @@ fi
3851 3888
3852 3889
3853echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3890echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3854echo "configure:3855: checking for XFree86 in /usr/X386" >&5 3891echo "configure:3892: checking for XFree86 in /usr/X386" >&5
3855if test -d /usr/X386/include; then 3892if test -d /usr/X386/include; then
3856 HAVE_XFREE386=yes 3893 HAVE_XFREE386=yes
3857 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3894 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3880,16 +3917,16 @@ if test "${HAVE_X11}" = "yes"; then
3880 3917
3881 if test "${opsys}" = "gnu-linux"; then 3918 if test "${opsys}" = "gnu-linux"; then
3882 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3919 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3883echo "configure:3884: checking whether X on GNU/Linux needs -b to link" >&5 3920echo "configure:3921: checking whether X on GNU/Linux needs -b to link" >&5
3884 cat > conftest.$ac_ext <<EOF 3921 cat > conftest.$ac_ext <<EOF
3885#line 3886 "configure" 3922#line 3923 "configure"
3886#include "confdefs.h" 3923#include "confdefs.h"
3887 3924
3888int main() { 3925int main() {
3889XOpenDisplay ("foo"); 3926XOpenDisplay ("foo");
3890; return 0; } 3927; return 0; }
3891EOF 3928EOF
3892if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3929if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3893 rm -rf conftest* 3930 rm -rf conftest*
3894 xlinux_first_failure=no 3931 xlinux_first_failure=no
3895else 3932else
@@ -3909,14 +3946,14 @@ rm -f conftest*
3909 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3946 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3910 LIBS="$LIBS -b i486-linuxaout" 3947 LIBS="$LIBS -b i486-linuxaout"
3911 cat > conftest.$ac_ext <<EOF 3948 cat > conftest.$ac_ext <<EOF
3912#line 3913 "configure" 3949#line 3950 "configure"
3913#include "confdefs.h" 3950#include "confdefs.h"
3914 3951
3915int main() { 3952int main() {
3916XOpenDisplay ("foo"); 3953XOpenDisplay ("foo");
3917; return 0; } 3954; return 0; }
3918EOF 3955EOF
3919if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3956if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3920 rm -rf conftest* 3957 rm -rf conftest*
3921 xlinux_second_failure=no 3958 xlinux_second_failure=no
3922else 3959else
@@ -3946,12 +3983,12 @@ rm -f conftest*
3946XScreenNumberOfScreen XSetWMProtocols 3983XScreenNumberOfScreen XSetWMProtocols
3947do 3984do
3948echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3985echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3949echo "configure:3950: checking for $ac_func" >&5 3986echo "configure:3987: checking for $ac_func" >&5
3950if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3987if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3951 echo $ac_n "(cached) $ac_c" 1>&6 3988 echo $ac_n "(cached) $ac_c" 1>&6
3952else 3989else
3953 cat > conftest.$ac_ext <<EOF 3990 cat > conftest.$ac_ext <<EOF
3954#line 3955 "configure" 3991#line 3992 "configure"
3955#include "confdefs.h" 3992#include "confdefs.h"
3956/* System header to define __stub macros and hopefully few prototypes, 3993/* System header to define __stub macros and hopefully few prototypes,
3957 which can conflict with char $ac_func(); below. */ 3994 which can conflict with char $ac_func(); below. */
@@ -3974,7 +4011,7 @@ $ac_func();
3974 4011
3975; return 0; } 4012; return 0; }
3976EOF 4013EOF
3977if { (eval echo configure:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4014if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3978 rm -rf conftest* 4015 rm -rf conftest*
3979 eval "ac_cv_func_$ac_func=yes" 4016 eval "ac_cv_func_$ac_func=yes"
3980else 4017else
@@ -4002,12 +4039,12 @@ fi
4002 4039
4003if test "${window_system}" = "x11"; then 4040if test "${window_system}" = "x11"; then
4004 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4041 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4005echo "configure:4006: checking X11 version 6" >&5 4042echo "configure:4043: checking X11 version 6" >&5
4006 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4043 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4007 echo $ac_n "(cached) $ac_c" 1>&6 4044 echo $ac_n "(cached) $ac_c" 1>&6
4008else 4045else
4009 cat > conftest.$ac_ext <<EOF 4046 cat > conftest.$ac_ext <<EOF
4010#line 4011 "configure" 4047#line 4048 "configure"
4011#include "confdefs.h" 4048#include "confdefs.h"
4012#include <X11/Xlib.h> 4049#include <X11/Xlib.h>
4013int main() { 4050int main() {
@@ -4017,7 +4054,7 @@ fail;
4017 4054
4018; return 0; } 4055; return 0; }
4019EOF 4056EOF
4020if { (eval echo configure:4021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4057if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4021 rm -rf conftest* 4058 rm -rf conftest*
4022 emacs_cv_x11_version_6=yes 4059 emacs_cv_x11_version_6=yes
4023else 4060else
@@ -4042,12 +4079,12 @@ fi
4042 4079
4043if test "${window_system}" = "x11"; then 4080if test "${window_system}" = "x11"; then
4044 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4081 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4045echo "configure:4046: checking X11 version 5" >&5 4082echo "configure:4083: checking X11 version 5" >&5
4046 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4083 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4047 echo $ac_n "(cached) $ac_c" 1>&6 4084 echo $ac_n "(cached) $ac_c" 1>&6
4048else 4085else
4049 cat > conftest.$ac_ext <<EOF 4086 cat > conftest.$ac_ext <<EOF
4050#line 4051 "configure" 4087#line 4088 "configure"
4051#include "confdefs.h" 4088#include "confdefs.h"
4052#include <X11/Xlib.h> 4089#include <X11/Xlib.h>
4053int main() { 4090int main() {
@@ -4057,7 +4094,7 @@ fail;
4057 4094
4058; return 0; } 4095; return 0; }
4059EOF 4096EOF
4060if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4097if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4061 rm -rf conftest* 4098 rm -rf conftest*
4062 emacs_cv_x11_version_5=yes 4099 emacs_cv_x11_version_5=yes
4063else 4100else
@@ -4085,12 +4122,12 @@ fi
4085if test x"${USE_X_TOOLKIT}" = xmaybe; then 4122if test x"${USE_X_TOOLKIT}" = xmaybe; then
4086 if test x"${HAVE_X11R5}" = xyes; then 4123 if test x"${HAVE_X11R5}" = xyes; then
4087 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4124 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4088echo "configure:4089: checking X11 version 5 with Xaw" >&5 4125echo "configure:4126: checking X11 version 5 with Xaw" >&5
4089 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4126 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4090 echo $ac_n "(cached) $ac_c" 1>&6 4127 echo $ac_n "(cached) $ac_c" 1>&6
4091else 4128else
4092 cat > conftest.$ac_ext <<EOF 4129 cat > conftest.$ac_ext <<EOF
4093#line 4094 "configure" 4130#line 4131 "configure"
4094#include "confdefs.h" 4131#include "confdefs.h"
4095 4132
4096#include <X11/Intrinsic.h> 4133#include <X11/Intrinsic.h>
@@ -4099,7 +4136,7 @@ int main() {
4099 4136
4100; return 0; } 4137; return 0; }
4101EOF 4138EOF
4102if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4139if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4103 rm -rf conftest* 4140 rm -rf conftest*
4104 emacs_cv_x11_version_5_with_xaw=yes 4141 emacs_cv_x11_version_5_with_xaw=yes
4105else 4142else
@@ -4127,12 +4164,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4127 4164
4128if test "${USE_X_TOOLKIT}" != "none"; then 4165if test "${USE_X_TOOLKIT}" != "none"; then
4129 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4166 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4130echo "configure:4131: checking X11 toolkit version" >&5 4167echo "configure:4168: checking X11 toolkit version" >&5
4131 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4168 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4132 echo $ac_n "(cached) $ac_c" 1>&6 4169 echo $ac_n "(cached) $ac_c" 1>&6
4133else 4170else
4134 cat > conftest.$ac_ext <<EOF 4171 cat > conftest.$ac_ext <<EOF
4135#line 4136 "configure" 4172#line 4173 "configure"
4136#include "confdefs.h" 4173#include "confdefs.h"
4137#include <X11/Intrinsic.h> 4174#include <X11/Intrinsic.h>
4138int main() { 4175int main() {
@@ -4142,7 +4179,7 @@ fail;
4142 4179
4143; return 0; } 4180; return 0; }
4144EOF 4181EOF
4145if { (eval echo configure:4146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4182if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4146 rm -rf conftest* 4183 rm -rf conftest*
4147 emacs_cv_x11_toolkit_version_6=yes 4184 emacs_cv_x11_toolkit_version_6=yes
4148else 4185else
@@ -4172,7 +4209,7 @@ EOF
4172 LIBS="-lXt $LIBS" 4209 LIBS="-lXt $LIBS"
4173 fi 4210 fi
4174 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4211 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4175echo "configure:4176: checking for XmuConvertStandardSelection in -lXmu" >&5 4212echo "configure:4213: checking for XmuConvertStandardSelection in -lXmu" >&5
4176ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4213ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4177if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4214if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4178 echo $ac_n "(cached) $ac_c" 1>&6 4215 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4180,7 +4217,7 @@ else
4180 ac_save_LIBS="$LIBS" 4217 ac_save_LIBS="$LIBS"
4181LIBS="-lXmu $LIBS" 4218LIBS="-lXmu $LIBS"
4182cat > conftest.$ac_ext <<EOF 4219cat > conftest.$ac_ext <<EOF
4183#line 4184 "configure" 4220#line 4221 "configure"
4184#include "confdefs.h" 4221#include "confdefs.h"
4185/* Override any gcc2 internal prototype to avoid an error. */ 4222/* Override any gcc2 internal prototype to avoid an error. */
4186/* We use char because int might match the return type of a gcc2 4223/* We use char because int might match the return type of a gcc2
@@ -4191,7 +4228,7 @@ int main() {
4191XmuConvertStandardSelection() 4228XmuConvertStandardSelection()
4192; return 0; } 4229; return 0; }
4193EOF 4230EOF
4194if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4231if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4195 rm -rf conftest* 4232 rm -rf conftest*
4196 eval "ac_cv_lib_$ac_lib_var=yes" 4233 eval "ac_cv_lib_$ac_lib_var=yes"
4197else 4234else
@@ -4223,12 +4260,12 @@ fi
4223 4260
4224if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4261if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4225 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4262 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4226echo "configure:4227: checking for Motif version 2.1" >&5 4263echo "configure:4264: checking for Motif version 2.1" >&5
4227if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4264if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4228 echo $ac_n "(cached) $ac_c" 1>&6 4265 echo $ac_n "(cached) $ac_c" 1>&6
4229else 4266else
4230 cat > conftest.$ac_ext <<EOF 4267 cat > conftest.$ac_ext <<EOF
4231#line 4232 "configure" 4268#line 4269 "configure"
4232#include "confdefs.h" 4269#include "confdefs.h"
4233#include <Xm/Xm.h> 4270#include <Xm/Xm.h>
4234int main() { 4271int main() {
@@ -4239,7 +4276,7 @@ Motif version prior to 2.1.
4239#endif 4276#endif
4240; return 0; } 4277; return 0; }
4241EOF 4278EOF
4242if { (eval echo configure:4243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4279if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4243 rm -rf conftest* 4280 rm -rf conftest*
4244 emacs_cv_motif_version_2_1=yes 4281 emacs_cv_motif_version_2_1=yes
4245else 4282else
@@ -4259,7 +4296,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4259EOF 4296EOF
4260 4297
4261 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4298 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4262echo "configure:4263: checking for XpCreateContext in -lXp" >&5 4299echo "configure:4300: checking for XpCreateContext in -lXp" >&5
4263ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4300ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4264if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4301if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4265 echo $ac_n "(cached) $ac_c" 1>&6 4302 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4267,7 +4304,7 @@ else
4267 ac_save_LIBS="$LIBS" 4304 ac_save_LIBS="$LIBS"
4268LIBS="-lXp $LIBS" 4305LIBS="-lXp $LIBS"
4269cat > conftest.$ac_ext <<EOF 4306cat > conftest.$ac_ext <<EOF
4270#line 4271 "configure" 4307#line 4308 "configure"
4271#include "confdefs.h" 4308#include "confdefs.h"
4272/* Override any gcc2 internal prototype to avoid an error. */ 4309/* Override any gcc2 internal prototype to avoid an error. */
4273/* We use char because int might match the return type of a gcc2 4310/* We use char because int might match the return type of a gcc2
@@ -4278,7 +4315,7 @@ int main() {
4278XpCreateContext() 4315XpCreateContext()
4279; return 0; } 4316; return 0; }
4280EOF 4317EOF
4281if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4318if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4282 rm -rf conftest* 4319 rm -rf conftest*
4283 eval "ac_cv_lib_$ac_lib_var=yes" 4320 eval "ac_cv_lib_$ac_lib_var=yes"
4284else 4321else
@@ -4316,17 +4353,17 @@ if test "${HAVE_X11}" = "yes"; then
4316 CFLAGS="${LD_SWITCH_X_SITE}" 4353 CFLAGS="${LD_SWITCH_X_SITE}"
4317 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4354 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4318echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4355echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4319echo "configure:4320: checking for X11/Xaw3d/Scrollbar.h" >&5 4356echo "configure:4357: checking for X11/Xaw3d/Scrollbar.h" >&5
4320if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4357if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4321 echo $ac_n "(cached) $ac_c" 1>&6 4358 echo $ac_n "(cached) $ac_c" 1>&6
4322else 4359else
4323 cat > conftest.$ac_ext <<EOF 4360 cat > conftest.$ac_ext <<EOF
4324#line 4325 "configure" 4361#line 4362 "configure"
4325#include "confdefs.h" 4362#include "confdefs.h"
4326#include <X11/Xaw3d/Scrollbar.h> 4363#include <X11/Xaw3d/Scrollbar.h>
4327EOF 4364EOF
4328ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4365ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4329{ (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4366{ (eval echo configure:4367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4330ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4367ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4331if test -z "$ac_err"; then 4368if test -z "$ac_err"; then
4332 rm -rf conftest* 4369 rm -rf conftest*
@@ -4343,7 +4380,7 @@ fi
4343if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4380if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4344 echo "$ac_t""yes" 1>&6 4381 echo "$ac_t""yes" 1>&6
4345 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4382 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4346echo "configure:4347: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4383echo "configure:4384: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4347ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4384ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4348if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4385if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4349 echo $ac_n "(cached) $ac_c" 1>&6 4386 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4351,7 +4388,7 @@ else
4351 ac_save_LIBS="$LIBS" 4388 ac_save_LIBS="$LIBS"
4352LIBS="-lXaw3d -lX11 $LIBS" 4389LIBS="-lXaw3d -lX11 $LIBS"
4353cat > conftest.$ac_ext <<EOF 4390cat > conftest.$ac_ext <<EOF
4354#line 4355 "configure" 4391#line 4392 "configure"
4355#include "confdefs.h" 4392#include "confdefs.h"
4356/* Override any gcc2 internal prototype to avoid an error. */ 4393/* Override any gcc2 internal prototype to avoid an error. */
4357/* We use char because int might match the return type of a gcc2 4394/* We use char because int might match the return type of a gcc2
@@ -4362,7 +4399,7 @@ int main() {
4362XawScrollbarSetThumb() 4399XawScrollbarSetThumb()
4363; return 0; } 4400; return 0; }
4364EOF 4401EOF
4365if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4402if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4366 rm -rf conftest* 4403 rm -rf conftest*
4367 eval "ac_cv_lib_$ac_lib_var=yes" 4404 eval "ac_cv_lib_$ac_lib_var=yes"
4368else 4405else
@@ -4426,17 +4463,17 @@ if test "${HAVE_X11}" = "yes"; then
4426 CFLAGS="${LD_SWITCH_X_SITE}" 4463 CFLAGS="${LD_SWITCH_X_SITE}"
4427 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4464 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4428echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4465echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4429echo "configure:4430: checking for X11/xpm.h" >&5 4466echo "configure:4467: checking for X11/xpm.h" >&5
4430if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4467if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4431 echo $ac_n "(cached) $ac_c" 1>&6 4468 echo $ac_n "(cached) $ac_c" 1>&6
4432else 4469else
4433 cat > conftest.$ac_ext <<EOF 4470 cat > conftest.$ac_ext <<EOF
4434#line 4435 "configure" 4471#line 4472 "configure"
4435#include "confdefs.h" 4472#include "confdefs.h"
4436#include <X11/xpm.h> 4473#include <X11/xpm.h>
4437EOF 4474EOF
4438ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4475ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4439{ (eval echo configure:4440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4476{ (eval echo configure:4477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4440ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4477ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4441if test -z "$ac_err"; then 4478if test -z "$ac_err"; then
4442 rm -rf conftest* 4479 rm -rf conftest*
@@ -4453,7 +4490,7 @@ fi
4453if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4490if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4454 echo "$ac_t""yes" 1>&6 4491 echo "$ac_t""yes" 1>&6
4455 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4492 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4456echo "configure:4457: checking for XpmReadFileToPixmap in -lXpm" >&5 4493echo "configure:4494: checking for XpmReadFileToPixmap in -lXpm" >&5
4457ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4494ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4458if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4495if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4459 echo $ac_n "(cached) $ac_c" 1>&6 4496 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4461,7 +4498,7 @@ else
4461 ac_save_LIBS="$LIBS" 4498 ac_save_LIBS="$LIBS"
4462LIBS="-lXpm -lX11 $LIBS" 4499LIBS="-lXpm -lX11 $LIBS"
4463cat > conftest.$ac_ext <<EOF 4500cat > conftest.$ac_ext <<EOF
4464#line 4465 "configure" 4501#line 4502 "configure"
4465#include "confdefs.h" 4502#include "confdefs.h"
4466/* Override any gcc2 internal prototype to avoid an error. */ 4503/* Override any gcc2 internal prototype to avoid an error. */
4467/* We use char because int might match the return type of a gcc2 4504/* We use char because int might match the return type of a gcc2
@@ -4472,7 +4509,7 @@ int main() {
4472XpmReadFileToPixmap() 4509XpmReadFileToPixmap()
4473; return 0; } 4510; return 0; }
4474EOF 4511EOF
4475if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4512if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4476 rm -rf conftest* 4513 rm -rf conftest*
4477 eval "ac_cv_lib_$ac_lib_var=yes" 4514 eval "ac_cv_lib_$ac_lib_var=yes"
4478else 4515else
@@ -4515,17 +4552,17 @@ if test "${HAVE_X11}" = "yes"; then
4515 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4552 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4516 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4553 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4517echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4554echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4518echo "configure:4519: checking for jerror.h" >&5 4555echo "configure:4556: checking for jerror.h" >&5
4519if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4556if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4520 echo $ac_n "(cached) $ac_c" 1>&6 4557 echo $ac_n "(cached) $ac_c" 1>&6
4521else 4558else
4522 cat > conftest.$ac_ext <<EOF 4559 cat > conftest.$ac_ext <<EOF
4523#line 4524 "configure" 4560#line 4561 "configure"
4524#include "confdefs.h" 4561#include "confdefs.h"
4525#include <jerror.h> 4562#include <jerror.h>
4526EOF 4563EOF
4527ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4564ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4528{ (eval echo configure:4529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4565{ (eval echo configure:4566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4529ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4566ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4530if test -z "$ac_err"; then 4567if test -z "$ac_err"; then
4531 rm -rf conftest* 4568 rm -rf conftest*
@@ -4542,7 +4579,7 @@ fi
4542if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4579if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4543 echo "$ac_t""yes" 1>&6 4580 echo "$ac_t""yes" 1>&6
4544 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4581 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4545echo "configure:4546: checking for jpeg_destroy_compress in -ljpeg" >&5 4582echo "configure:4583: checking for jpeg_destroy_compress in -ljpeg" >&5
4546ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4583ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4547if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4548 echo $ac_n "(cached) $ac_c" 1>&6 4585 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4550,7 +4587,7 @@ else
4550 ac_save_LIBS="$LIBS" 4587 ac_save_LIBS="$LIBS"
4551LIBS="-ljpeg -lX11 $LIBS" 4588LIBS="-ljpeg -lX11 $LIBS"
4552cat > conftest.$ac_ext <<EOF 4589cat > conftest.$ac_ext <<EOF
4553#line 4554 "configure" 4590#line 4591 "configure"
4554#include "confdefs.h" 4591#include "confdefs.h"
4555/* Override any gcc2 internal prototype to avoid an error. */ 4592/* Override any gcc2 internal prototype to avoid an error. */
4556/* We use char because int might match the return type of a gcc2 4593/* We use char because int might match the return type of a gcc2
@@ -4561,7 +4598,7 @@ int main() {
4561jpeg_destroy_compress() 4598jpeg_destroy_compress()
4562; return 0; } 4599; return 0; }
4563EOF 4600EOF
4564if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4601if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4565 rm -rf conftest* 4602 rm -rf conftest*
4566 eval "ac_cv_lib_$ac_lib_var=yes" 4603 eval "ac_cv_lib_$ac_lib_var=yes"
4567else 4604else
@@ -4604,17 +4641,17 @@ if test "${HAVE_X11}" = "yes"; then
4604 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4641 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4605 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4642 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4606echo $ac_n "checking for png.h""... $ac_c" 1>&6 4643echo $ac_n "checking for png.h""... $ac_c" 1>&6
4607echo "configure:4608: checking for png.h" >&5 4644echo "configure:4645: checking for png.h" >&5
4608if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4645if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4609 echo $ac_n "(cached) $ac_c" 1>&6 4646 echo $ac_n "(cached) $ac_c" 1>&6
4610else 4647else
4611 cat > conftest.$ac_ext <<EOF 4648 cat > conftest.$ac_ext <<EOF
4612#line 4613 "configure" 4649#line 4650 "configure"
4613#include "confdefs.h" 4650#include "confdefs.h"
4614#include <png.h> 4651#include <png.h>
4615EOF 4652EOF
4616ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4653ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4617{ (eval echo configure:4618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4654{ (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4618ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4655ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4619if test -z "$ac_err"; then 4656if test -z "$ac_err"; then
4620 rm -rf conftest* 4657 rm -rf conftest*
@@ -4631,7 +4668,7 @@ fi
4631if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4668if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4632 echo "$ac_t""yes" 1>&6 4669 echo "$ac_t""yes" 1>&6
4633 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4670 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4634echo "configure:4635: checking for png_set_expand in -lpng" >&5 4671echo "configure:4672: checking for png_set_expand in -lpng" >&5
4635ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4672ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4636if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4673if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4637 echo $ac_n "(cached) $ac_c" 1>&6 4674 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4639,7 +4676,7 @@ else
4639 ac_save_LIBS="$LIBS" 4676 ac_save_LIBS="$LIBS"
4640LIBS="-lpng -lX11 -lz -lm $LIBS" 4677LIBS="-lpng -lX11 -lz -lm $LIBS"
4641cat > conftest.$ac_ext <<EOF 4678cat > conftest.$ac_ext <<EOF
4642#line 4643 "configure" 4679#line 4680 "configure"
4643#include "confdefs.h" 4680#include "confdefs.h"
4644/* Override any gcc2 internal prototype to avoid an error. */ 4681/* Override any gcc2 internal prototype to avoid an error. */
4645/* We use char because int might match the return type of a gcc2 4682/* We use char because int might match the return type of a gcc2
@@ -4650,7 +4687,7 @@ int main() {
4650png_set_expand() 4687png_set_expand()
4651; return 0; } 4688; return 0; }
4652EOF 4689EOF
4653if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4690if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4654 rm -rf conftest* 4691 rm -rf conftest*
4655 eval "ac_cv_lib_$ac_lib_var=yes" 4692 eval "ac_cv_lib_$ac_lib_var=yes"
4656else 4693else
@@ -4693,17 +4730,17 @@ if test "${HAVE_X11}" = "yes"; then
4693 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4730 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4694 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4731 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4695echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4732echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4696echo "configure:4697: checking for tiffio.h" >&5 4733echo "configure:4734: checking for tiffio.h" >&5
4697if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4734if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4698 echo $ac_n "(cached) $ac_c" 1>&6 4735 echo $ac_n "(cached) $ac_c" 1>&6
4699else 4736else
4700 cat > conftest.$ac_ext <<EOF 4737 cat > conftest.$ac_ext <<EOF
4701#line 4702 "configure" 4738#line 4739 "configure"
4702#include "confdefs.h" 4739#include "confdefs.h"
4703#include <tiffio.h> 4740#include <tiffio.h>
4704EOF 4741EOF
4705ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4742ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4706{ (eval echo configure:4707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4743{ (eval echo configure:4744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4707ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4744ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4708if test -z "$ac_err"; then 4745if test -z "$ac_err"; then
4709 rm -rf conftest* 4746 rm -rf conftest*
@@ -4723,7 +4760,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4723 # At least one tiff package requires the jpeg library. 4760 # At least one tiff package requires the jpeg library.
4724 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4761 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4725 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4762 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4726echo "configure:4727: checking for TIFFGetVersion in -ltiff" >&5 4763echo "configure:4764: checking for TIFFGetVersion in -ltiff" >&5
4727ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4764ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4728if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4765if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4729 echo $ac_n "(cached) $ac_c" 1>&6 4766 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4731,7 +4768,7 @@ else
4731 ac_save_LIBS="$LIBS" 4768 ac_save_LIBS="$LIBS"
4732LIBS="-ltiff $tifflibs $LIBS" 4769LIBS="-ltiff $tifflibs $LIBS"
4733cat > conftest.$ac_ext <<EOF 4770cat > conftest.$ac_ext <<EOF
4734#line 4735 "configure" 4771#line 4772 "configure"
4735#include "confdefs.h" 4772#include "confdefs.h"
4736/* Override any gcc2 internal prototype to avoid an error. */ 4773/* Override any gcc2 internal prototype to avoid an error. */
4737/* We use char because int might match the return type of a gcc2 4774/* We use char because int might match the return type of a gcc2
@@ -4742,7 +4779,7 @@ int main() {
4742TIFFGetVersion() 4779TIFFGetVersion()
4743; return 0; } 4780; return 0; }
4744EOF 4781EOF
4745if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4782if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4746 rm -rf conftest* 4783 rm -rf conftest*
4747 eval "ac_cv_lib_$ac_lib_var=yes" 4784 eval "ac_cv_lib_$ac_lib_var=yes"
4748else 4785else
@@ -4785,17 +4822,17 @@ if test "${HAVE_X11}" = "yes"; then
4785 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4822 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4786 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4823 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4787echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4824echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4788echo "configure:4789: checking for gif_lib.h" >&5 4825echo "configure:4826: checking for gif_lib.h" >&5
4789if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4826if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4790 echo $ac_n "(cached) $ac_c" 1>&6 4827 echo $ac_n "(cached) $ac_c" 1>&6
4791else 4828else
4792 cat > conftest.$ac_ext <<EOF 4829 cat > conftest.$ac_ext <<EOF
4793#line 4794 "configure" 4830#line 4831 "configure"
4794#include "confdefs.h" 4831#include "confdefs.h"
4795#include <gif_lib.h> 4832#include <gif_lib.h>
4796EOF 4833EOF
4797ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4834ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4798{ (eval echo configure:4799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4835{ (eval echo configure:4836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4799ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4836ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4800if test -z "$ac_err"; then 4837if test -z "$ac_err"; then
4801 rm -rf conftest* 4838 rm -rf conftest*
@@ -4812,7 +4849,7 @@ fi
4812if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4849if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4813 echo "$ac_t""yes" 1>&6 4850 echo "$ac_t""yes" 1>&6
4814 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4851 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4815echo "configure:4816: checking for DGifOpen in -lungif" >&5 4852echo "configure:4853: checking for DGifOpen in -lungif" >&5
4816ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4853ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4817if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4854if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4818 echo $ac_n "(cached) $ac_c" 1>&6 4855 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4820,7 +4857,7 @@ else
4820 ac_save_LIBS="$LIBS" 4857 ac_save_LIBS="$LIBS"
4821LIBS="-lungif -lX11 $LIBS" 4858LIBS="-lungif -lX11 $LIBS"
4822cat > conftest.$ac_ext <<EOF 4859cat > conftest.$ac_ext <<EOF
4823#line 4824 "configure" 4860#line 4861 "configure"
4824#include "confdefs.h" 4861#include "confdefs.h"
4825/* Override any gcc2 internal prototype to avoid an error. */ 4862/* Override any gcc2 internal prototype to avoid an error. */
4826/* We use char because int might match the return type of a gcc2 4863/* We use char because int might match the return type of a gcc2
@@ -4831,7 +4868,7 @@ int main() {
4831DGifOpen() 4868DGifOpen()
4832; return 0; } 4869; return 0; }
4833EOF 4870EOF
4834if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4871if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4835 rm -rf conftest* 4872 rm -rf conftest*
4836 eval "ac_cv_lib_$ac_lib_var=yes" 4873 eval "ac_cv_lib_$ac_lib_var=yes"
4837else 4874else
@@ -4868,19 +4905,19 @@ fi
4868 4905
4869# If netdb.h doesn't declare h_errno, we must declare it by hand. 4906# If netdb.h doesn't declare h_errno, we must declare it by hand.
4870echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4907echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4871echo "configure:4872: checking whether netdb declares h_errno" >&5 4908echo "configure:4909: checking whether netdb declares h_errno" >&5
4872if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4909if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4873 echo $ac_n "(cached) $ac_c" 1>&6 4910 echo $ac_n "(cached) $ac_c" 1>&6
4874else 4911else
4875 cat > conftest.$ac_ext <<EOF 4912 cat > conftest.$ac_ext <<EOF
4876#line 4877 "configure" 4913#line 4914 "configure"
4877#include "confdefs.h" 4914#include "confdefs.h"
4878#include <netdb.h> 4915#include <netdb.h>
4879int main() { 4916int main() {
4880return h_errno; 4917return h_errno;
4881; return 0; } 4918; return 0; }
4882EOF 4919EOF
4883if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4920if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4884 rm -rf conftest* 4921 rm -rf conftest*
4885 emacs_cv_netdb_declares_h_errno=yes 4922 emacs_cv_netdb_declares_h_errno=yes
4886else 4923else
@@ -4903,19 +4940,19 @@ fi
4903# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4940# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4904# for constant arguments. Useless! 4941# for constant arguments. Useless!
4905echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4942echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4906echo "configure:4907: checking for working alloca.h" >&5 4943echo "configure:4944: checking for working alloca.h" >&5
4907if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4944if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4908 echo $ac_n "(cached) $ac_c" 1>&6 4945 echo $ac_n "(cached) $ac_c" 1>&6
4909else 4946else
4910 cat > conftest.$ac_ext <<EOF 4947 cat > conftest.$ac_ext <<EOF
4911#line 4912 "configure" 4948#line 4949 "configure"
4912#include "confdefs.h" 4949#include "confdefs.h"
4913#include <alloca.h> 4950#include <alloca.h>
4914int main() { 4951int main() {
4915char *p = alloca(2 * sizeof(int)); 4952void *p = alloca(2 * sizeof(int));
4916; return 0; } 4953; return 0; }
4917EOF 4954EOF
4918if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4955if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4919 rm -rf conftest* 4956 rm -rf conftest*
4920 ac_cv_header_alloca_h=yes 4957 ac_cv_header_alloca_h=yes
4921else 4958else
@@ -4936,12 +4973,12 @@ EOF
4936fi 4973fi
4937 4974
4938echo $ac_n "checking for alloca""... $ac_c" 1>&6 4975echo $ac_n "checking for alloca""... $ac_c" 1>&6
4939echo "configure:4940: checking for alloca" >&5 4976echo "configure:4977: checking for alloca" >&5
4940if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4977if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4941 echo $ac_n "(cached) $ac_c" 1>&6 4978 echo $ac_n "(cached) $ac_c" 1>&6
4942else 4979else
4943 cat > conftest.$ac_ext <<EOF 4980 cat > conftest.$ac_ext <<EOF
4944#line 4945 "configure" 4981#line 4982 "configure"
4945#include "confdefs.h" 4982#include "confdefs.h"
4946 4983
4947#ifdef __GNUC__ 4984#ifdef __GNUC__
@@ -4969,7 +5006,7 @@ int main() {
4969char *p = (char *) alloca(1); 5006char *p = (char *) alloca(1);
4970; return 0; } 5007; return 0; }
4971EOF 5008EOF
4972if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5009if { (eval echo configure:5010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4973 rm -rf conftest* 5010 rm -rf conftest*
4974 ac_cv_func_alloca_works=yes 5011 ac_cv_func_alloca_works=yes
4975else 5012else
@@ -5001,12 +5038,12 @@ EOF
5001 5038
5002 5039
5003echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5040echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5004echo "configure:5005: checking whether alloca needs Cray hooks" >&5 5041echo "configure:5042: checking whether alloca needs Cray hooks" >&5
5005if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5042if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5006 echo $ac_n "(cached) $ac_c" 1>&6 5043 echo $ac_n "(cached) $ac_c" 1>&6
5007else 5044else
5008 cat > conftest.$ac_ext <<EOF 5045 cat > conftest.$ac_ext <<EOF
5009#line 5010 "configure" 5046#line 5047 "configure"
5010#include "confdefs.h" 5047#include "confdefs.h"
5011#if defined(CRAY) && ! defined(CRAY2) 5048#if defined(CRAY) && ! defined(CRAY2)
5012webecray 5049webecray
@@ -5031,12 +5068,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5031if test $ac_cv_os_cray = yes; then 5068if test $ac_cv_os_cray = yes; then
5032for ac_func in _getb67 GETB67 getb67; do 5069for ac_func in _getb67 GETB67 getb67; do
5033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5034echo "configure:5035: checking for $ac_func" >&5 5071echo "configure:5072: checking for $ac_func" >&5
5035if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5072if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5036 echo $ac_n "(cached) $ac_c" 1>&6 5073 echo $ac_n "(cached) $ac_c" 1>&6
5037else 5074else
5038 cat > conftest.$ac_ext <<EOF 5075 cat > conftest.$ac_ext <<EOF
5039#line 5040 "configure" 5076#line 5077 "configure"
5040#include "confdefs.h" 5077#include "confdefs.h"
5041/* System header to define __stub macros and hopefully few prototypes, 5078/* System header to define __stub macros and hopefully few prototypes,
5042 which can conflict with char $ac_func(); below. */ 5079 which can conflict with char $ac_func(); below. */
@@ -5059,7 +5096,7 @@ $ac_func();
5059 5096
5060; return 0; } 5097; return 0; }
5061EOF 5098EOF
5062if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5099if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5063 rm -rf conftest* 5100 rm -rf conftest*
5064 eval "ac_cv_func_$ac_func=yes" 5101 eval "ac_cv_func_$ac_func=yes"
5065else 5102else
@@ -5086,7 +5123,7 @@ done
5086fi 5123fi
5087 5124
5088echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5125echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5089echo "configure:5090: checking stack direction for C alloca" >&5 5126echo "configure:5127: checking stack direction for C alloca" >&5
5090if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5127if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5091 echo $ac_n "(cached) $ac_c" 1>&6 5128 echo $ac_n "(cached) $ac_c" 1>&6
5092else 5129else
@@ -5094,7 +5131,7 @@ else
5094 ac_cv_c_stack_direction=0 5131 ac_cv_c_stack_direction=0
5095else 5132else
5096 cat > conftest.$ac_ext <<EOF 5133 cat > conftest.$ac_ext <<EOF
5097#line 5098 "configure" 5134#line 5135 "configure"
5098#include "confdefs.h" 5135#include "confdefs.h"
5099find_stack_direction () 5136find_stack_direction ()
5100{ 5137{
@@ -5113,7 +5150,7 @@ main ()
5113 exit (find_stack_direction() < 0); 5150 exit (find_stack_direction() < 0);
5114} 5151}
5115EOF 5152EOF
5116if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5153if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5117then 5154then
5118 ac_cv_c_stack_direction=1 5155 ac_cv_c_stack_direction=1
5119else 5156else
@@ -5138,7 +5175,7 @@ fi
5138# fmod, logb, and frexp are found in -lm on most systems. 5175# fmod, logb, and frexp are found in -lm on most systems.
5139# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5176# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5140echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5177echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5141echo "configure:5142: checking for sqrt in -lm" >&5 5178echo "configure:5179: checking for sqrt in -lm" >&5
5142ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5179ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5143if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5180if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5144 echo $ac_n "(cached) $ac_c" 1>&6 5181 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5146,7 +5183,7 @@ else
5146 ac_save_LIBS="$LIBS" 5183 ac_save_LIBS="$LIBS"
5147LIBS="-lm $LIBS" 5184LIBS="-lm $LIBS"
5148cat > conftest.$ac_ext <<EOF 5185cat > conftest.$ac_ext <<EOF
5149#line 5150 "configure" 5186#line 5187 "configure"
5150#include "confdefs.h" 5187#include "confdefs.h"
5151/* Override any gcc2 internal prototype to avoid an error. */ 5188/* Override any gcc2 internal prototype to avoid an error. */
5152/* We use char because int might match the return type of a gcc2 5189/* We use char because int might match the return type of a gcc2
@@ -5157,7 +5194,7 @@ int main() {
5157sqrt() 5194sqrt()
5158; return 0; } 5195; return 0; }
5159EOF 5196EOF
5160if { (eval echo configure:5161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5197if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5161 rm -rf conftest* 5198 rm -rf conftest*
5162 eval "ac_cv_lib_$ac_lib_var=yes" 5199 eval "ac_cv_lib_$ac_lib_var=yes"
5163else 5200else
@@ -5187,7 +5224,7 @@ fi
5187 5224
5188# Check for mail-locking functions in a "mail" library 5225# Check for mail-locking functions in a "mail" library
5189echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5226echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5190echo "configure:5191: checking for maillock in -lmail" >&5 5227echo "configure:5228: checking for maillock in -lmail" >&5
5191ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5228ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5192if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5229if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5193 echo $ac_n "(cached) $ac_c" 1>&6 5230 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5195,7 +5232,7 @@ else
5195 ac_save_LIBS="$LIBS" 5232 ac_save_LIBS="$LIBS"
5196LIBS="-lmail $LIBS" 5233LIBS="-lmail $LIBS"
5197cat > conftest.$ac_ext <<EOF 5234cat > conftest.$ac_ext <<EOF
5198#line 5199 "configure" 5235#line 5236 "configure"
5199#include "confdefs.h" 5236#include "confdefs.h"
5200/* Override any gcc2 internal prototype to avoid an error. */ 5237/* Override any gcc2 internal prototype to avoid an error. */
5201/* We use char because int might match the return type of a gcc2 5238/* We use char because int might match the return type of a gcc2
@@ -5206,7 +5243,7 @@ int main() {
5206maillock() 5243maillock()
5207; return 0; } 5244; return 0; }
5208EOF 5245EOF
5209if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5246if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5210 rm -rf conftest* 5247 rm -rf conftest*
5211 eval "ac_cv_lib_$ac_lib_var=yes" 5248 eval "ac_cv_lib_$ac_lib_var=yes"
5212else 5249else
@@ -5234,7 +5271,7 @@ else
5234fi 5271fi
5235 5272
5236echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5273echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5237echo "configure:5238: checking for maillock in -llockfile" >&5 5274echo "configure:5275: checking for maillock in -llockfile" >&5
5238ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5275ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5239if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5276if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5240 echo $ac_n "(cached) $ac_c" 1>&6 5277 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5242,7 +5279,7 @@ else
5242 ac_save_LIBS="$LIBS" 5279 ac_save_LIBS="$LIBS"
5243LIBS="-llockfile $LIBS" 5280LIBS="-llockfile $LIBS"
5244cat > conftest.$ac_ext <<EOF 5281cat > conftest.$ac_ext <<EOF
5245#line 5246 "configure" 5282#line 5283 "configure"
5246#include "confdefs.h" 5283#include "confdefs.h"
5247/* Override any gcc2 internal prototype to avoid an error. */ 5284/* Override any gcc2 internal prototype to avoid an error. */
5248/* We use char because int might match the return type of a gcc2 5285/* We use char because int might match the return type of a gcc2
@@ -5253,7 +5290,7 @@ int main() {
5253maillock() 5290maillock()
5254; return 0; } 5291; return 0; }
5255EOF 5292EOF
5256if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5293if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5257 rm -rf conftest* 5294 rm -rf conftest*
5258 eval "ac_cv_lib_$ac_lib_var=yes" 5295 eval "ac_cv_lib_$ac_lib_var=yes"
5259else 5296else
@@ -5287,7 +5324,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5287 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5324 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5288set dummy liblockfile.so; ac_word=$2 5325set dummy liblockfile.so; ac_word=$2
5289echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5326echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5290echo "configure:5291: checking for $ac_word" >&5 5327echo "configure:5328: checking for $ac_word" >&5
5291if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5328if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5292 echo $ac_n "(cached) $ac_c" 1>&6 5329 echo $ac_n "(cached) $ac_c" 1>&6
5293else 5330else
@@ -5328,12 +5365,12 @@ fi
5328for ac_func in touchlock 5365for ac_func in touchlock
5329do 5366do
5330echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5367echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5331echo "configure:5332: checking for $ac_func" >&5 5368echo "configure:5369: checking for $ac_func" >&5
5332if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5369if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5333 echo $ac_n "(cached) $ac_c" 1>&6 5370 echo $ac_n "(cached) $ac_c" 1>&6
5334else 5371else
5335 cat > conftest.$ac_ext <<EOF 5372 cat > conftest.$ac_ext <<EOF
5336#line 5337 "configure" 5373#line 5374 "configure"
5337#include "confdefs.h" 5374#include "confdefs.h"
5338/* System header to define __stub macros and hopefully few prototypes, 5375/* System header to define __stub macros and hopefully few prototypes,
5339 which can conflict with char $ac_func(); below. */ 5376 which can conflict with char $ac_func(); below. */
@@ -5356,7 +5393,7 @@ $ac_func();
5356 5393
5357; return 0; } 5394; return 0; }
5358EOF 5395EOF
5359if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5396if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5360 rm -rf conftest* 5397 rm -rf conftest*
5361 eval "ac_cv_func_$ac_func=yes" 5398 eval "ac_cv_func_$ac_func=yes"
5362else 5399else
@@ -5384,17 +5421,17 @@ for ac_hdr in maillock.h
5384do 5421do
5385ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5422ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5386echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5423echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5387echo "configure:5388: checking for $ac_hdr" >&5 5424echo "configure:5425: checking for $ac_hdr" >&5
5388if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5425if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5389 echo $ac_n "(cached) $ac_c" 1>&6 5426 echo $ac_n "(cached) $ac_c" 1>&6
5390else 5427else
5391 cat > conftest.$ac_ext <<EOF 5428 cat > conftest.$ac_ext <<EOF
5392#line 5393 "configure" 5429#line 5430 "configure"
5393#include "confdefs.h" 5430#include "confdefs.h"
5394#include <$ac_hdr> 5431#include <$ac_hdr>
5395EOF 5432EOF
5396ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5433ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5397{ (eval echo configure:5398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5434{ (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5398ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5435ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5399if test -z "$ac_err"; then 5436if test -z "$ac_err"; then
5400 rm -rf conftest* 5437 rm -rf conftest*
@@ -5426,15 +5463,15 @@ rename closedir mkdir rmdir sysinfo \
5426random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 5463random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
5427strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 5464strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5428utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 5465utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5429__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5466__fpending getloadavg mblen mbrlen strsignal setitimer ualarm
5430do 5467do
5431echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5468echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5432echo "configure:5433: checking for $ac_func" >&5 5469echo "configure:5470: checking for $ac_func" >&5
5433if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5470if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5434 echo $ac_n "(cached) $ac_c" 1>&6 5471 echo $ac_n "(cached) $ac_c" 1>&6
5435else 5472else
5436 cat > conftest.$ac_ext <<EOF 5473 cat > conftest.$ac_ext <<EOF
5437#line 5438 "configure" 5474#line 5475 "configure"
5438#include "confdefs.h" 5475#include "confdefs.h"
5439/* System header to define __stub macros and hopefully few prototypes, 5476/* System header to define __stub macros and hopefully few prototypes,
5440 which can conflict with char $ac_func(); below. */ 5477 which can conflict with char $ac_func(); below. */
@@ -5457,7 +5494,7 @@ $ac_func();
5457 5494
5458; return 0; } 5495; return 0; }
5459EOF 5496EOF
5460if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5497if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5461 rm -rf conftest* 5498 rm -rf conftest*
5462 eval "ac_cv_func_$ac_func=yes" 5499 eval "ac_cv_func_$ac_func=yes"
5463else 5500else
@@ -5486,17 +5523,17 @@ for ac_hdr in sys/time.h unistd.h
5486do 5523do
5487ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5524ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5488echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5525echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5489echo "configure:5490: checking for $ac_hdr" >&5 5526echo "configure:5527: checking for $ac_hdr" >&5
5490if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5527if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5491 echo $ac_n "(cached) $ac_c" 1>&6 5528 echo $ac_n "(cached) $ac_c" 1>&6
5492else 5529else
5493 cat > conftest.$ac_ext <<EOF 5530 cat > conftest.$ac_ext <<EOF
5494#line 5495 "configure" 5531#line 5532 "configure"
5495#include "confdefs.h" 5532#include "confdefs.h"
5496#include <$ac_hdr> 5533#include <$ac_hdr>
5497EOF 5534EOF
5498ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5535ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5499{ (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5536{ (eval echo configure:5537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5500ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5537ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5501if test -z "$ac_err"; then 5538if test -z "$ac_err"; then
5502 rm -rf conftest* 5539 rm -rf conftest*
@@ -5525,12 +5562,12 @@ done
5525for ac_func in alarm 5562for ac_func in alarm
5526do 5563do
5527echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5564echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5528echo "configure:5529: checking for $ac_func" >&5 5565echo "configure:5566: checking for $ac_func" >&5
5529if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5566if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5530 echo $ac_n "(cached) $ac_c" 1>&6 5567 echo $ac_n "(cached) $ac_c" 1>&6
5531else 5568else
5532 cat > conftest.$ac_ext <<EOF 5569 cat > conftest.$ac_ext <<EOF
5533#line 5534 "configure" 5570#line 5571 "configure"
5534#include "confdefs.h" 5571#include "confdefs.h"
5535/* System header to define __stub macros and hopefully few prototypes, 5572/* System header to define __stub macros and hopefully few prototypes,
5536 which can conflict with char $ac_func(); below. */ 5573 which can conflict with char $ac_func(); below. */
@@ -5553,7 +5590,7 @@ $ac_func();
5553 5590
5554; return 0; } 5591; return 0; }
5555EOF 5592EOF
5556if { (eval echo configure:5557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5593if { (eval echo configure:5594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5557 rm -rf conftest* 5594 rm -rf conftest*
5558 eval "ac_cv_func_$ac_func=yes" 5595 eval "ac_cv_func_$ac_func=yes"
5559else 5596else
@@ -5578,7 +5615,7 @@ fi
5578done 5615done
5579 5616
5580echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5617echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5581echo "configure:5582: checking for working mktime" >&5 5618echo "configure:5619: checking for working mktime" >&5
5582if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5619if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5583 echo $ac_n "(cached) $ac_c" 1>&6 5620 echo $ac_n "(cached) $ac_c" 1>&6
5584else 5621else
@@ -5586,7 +5623,7 @@ else
5586 ac_cv_func_working_mktime=no 5623 ac_cv_func_working_mktime=no
5587else 5624else
5588 cat > conftest.$ac_ext <<EOF 5625 cat > conftest.$ac_ext <<EOF
5589#line 5590 "configure" 5626#line 5627 "configure"
5590#include "confdefs.h" 5627#include "confdefs.h"
5591/* Test program from Paul Eggert (eggert@twinsun.com) 5628/* Test program from Paul Eggert (eggert@twinsun.com)
5592 and Tony Leneis (tony@plaza.ds.adp.com). */ 5629 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5735,7 +5772,7 @@ main ()
5735 exit (0); 5772 exit (0);
5736} 5773}
5737EOF 5774EOF
5738if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5775if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5739then 5776then
5740 ac_cv_func_working_mktime=yes 5777 ac_cv_func_working_mktime=yes
5741else 5778else
@@ -5761,16 +5798,363 @@ EOF
5761 5798
5762fi 5799fi
5763 5800
5764# UNIX98 PTYs. 5801# Check whether --enable-largefile or --disable-largefile was given.
5802if test "${enable_largefile+set}" = set; then
5803 enableval="$enable_largefile"
5804 :
5805fi
5806
5807 if test "$enable_largefile" != no; then
5808
5809 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
5811if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
5812 echo $ac_n "(cached) $ac_c" 1>&6
5813else
5814 ac_cv_sys_largefile_CC=no
5815 if test "$GCC" != yes; then
5816 # 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 cat > conftest.$ac_ext <<EOF
5819#line 5820 "configure"
5820#include "confdefs.h"
5821#include <sys/types.h>
5822 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5823
5824int main() {
5825
5826; return 0; }
5827EOF
5828if { (eval echo configure:5829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5829 :
5830else
5831 echo "configure: failed program was:" >&5
5832 cat conftest.$ac_ext >&5
5833 rm -rf conftest*
5834 ac_save_CC="$CC"
5835 CC="$CC -n32"
5836 cat > conftest.$ac_ext <<EOF
5837#line 5838 "configure"
5838#include "confdefs.h"
5839#include <sys/types.h>
5840 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5841
5842int main() {
5843
5844; return 0; }
5845EOF
5846if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5847 rm -rf conftest*
5848 ac_cv_sys_largefile_CC=' -n32'
5849else
5850 echo "configure: failed program was:" >&5
5851 cat conftest.$ac_ext >&5
5852fi
5853rm -f conftest*
5854 CC="$ac_save_CC"
5855fi
5856rm -f conftest*
5857 fi
5858fi
5859
5860echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
5861 if test "$ac_cv_sys_largefile_CC" != no; then
5862 CC="$CC$ac_cv_sys_largefile_CC"
5863 fi
5864
5865 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
5867if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
5868 echo $ac_n "(cached) $ac_c" 1>&6
5869else
5870 ac_cv_sys_file_offset_bits=no
5871 cat > conftest.$ac_ext <<EOF
5872#line 5873 "configure"
5873#include "confdefs.h"
5874#include <sys/types.h>
5875 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5876
5877
5878
5879int main() {
5880
5881; return 0; }
5882EOF
5883if { (eval echo configure:5884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5884 :
5885else
5886 echo "configure: failed program was:" >&5
5887 cat conftest.$ac_ext >&5
5888 rm -rf conftest*
5889 cat > conftest.$ac_ext <<EOF
5890#line 5891 "configure"
5891#include "confdefs.h"
5892#define _FILE_OFFSET_BITS 64
5893#include <sys/types.h>
5894 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5895
5896
5897
5898int main() {
5899
5900; return 0; }
5901EOF
5902if { (eval echo configure:5903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5903 rm -rf conftest*
5904 ac_cv_sys_file_offset_bits=64
5905else
5906 echo "configure: failed program was:" >&5
5907 cat conftest.$ac_ext >&5
5908fi
5909rm -f conftest*
5910fi
5911rm -f conftest*
5912fi
5913
5914echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
5915 if test "$ac_cv_sys_file_offset_bits" != no; then
5916 cat >> confdefs.h <<EOF
5917#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5918EOF
5919
5920 fi
5921 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
5923if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6
5925else
5926 ac_cv_sys_largefile_source=no
5927 cat > conftest.$ac_ext <<EOF
5928#line 5929 "configure"
5929#include "confdefs.h"
5930#include <sys/types.h>
5931 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5932
5933#include <stdio.h>
5934
5935int main() {
5936return !ftello;
5937; return 0; }
5938EOF
5939if { (eval echo configure:5940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5940 :
5941else
5942 echo "configure: failed program was:" >&5
5943 cat conftest.$ac_ext >&5
5944 rm -rf conftest*
5945 cat > conftest.$ac_ext <<EOF
5946#line 5947 "configure"
5947#include "confdefs.h"
5948#define _LARGEFILE_SOURCE 1
5949#include <sys/types.h>
5950 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5951
5952#include <stdio.h>
5953
5954int main() {
5955return !ftello;
5956; return 0; }
5957EOF
5958if { (eval echo configure:5959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5959 rm -rf conftest*
5960 ac_cv_sys_largefile_source=1
5961else
5962 echo "configure: failed program was:" >&5
5963 cat conftest.$ac_ext >&5
5964fi
5965rm -f conftest*
5966fi
5967rm -f conftest*
5968fi
5969
5970echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6
5971 if test "$ac_cv_sys_largefile_source" != no; then
5972 cat >> confdefs.h <<EOF
5973#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
5974EOF
5975
5976 fi
5977 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
5979if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
5980 echo $ac_n "(cached) $ac_c" 1>&6
5981else
5982 ac_cv_sys_large_files=no
5983 cat > conftest.$ac_ext <<EOF
5984#line 5985 "configure"
5985#include "confdefs.h"
5986#include <sys/types.h>
5987 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
5988
5989
5990
5991int main() {
5992
5993; return 0; }
5994EOF
5995if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5996 :
5997else
5998 echo "configure: failed program was:" >&5
5999 cat conftest.$ac_ext >&5
6000 rm -rf conftest*
6001 cat > conftest.$ac_ext <<EOF
6002#line 6003 "configure"
6003#include "confdefs.h"
6004#define _LARGE_FILES 1
6005#include <sys/types.h>
6006 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
6007
6008
6009
6010int main() {
6011
6012; return 0; }
6013EOF
6014if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6015 rm -rf conftest*
6016 ac_cv_sys_large_files=1
6017else
6018 echo "configure: failed program was:" >&5
6019 cat conftest.$ac_ext >&5
6020fi
6021rm -f conftest*
6022fi
6023rm -f conftest*
6024fi
6025
6026echo "$ac_t""$ac_cv_sys_large_files" 1>&6
6027 if test "$ac_cv_sys_large_files" != no; then
6028 cat >> confdefs.h <<EOF
6029#define _LARGE_FILES $ac_cv_sys_large_files
6030EOF
6031
6032 fi
6033 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
6035if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6
6037else
6038 ac_cv_sys_xopen_source=no
6039 cat > conftest.$ac_ext <<EOF
6040#line 6041 "configure"
6041#include "confdefs.h"
6042#include <sys/types.h>
6043 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
6044
6045#include <stdio.h>
6046
6047int main() {
6048return !ftello;
6049; return 0; }
6050EOF
6051if { (eval echo configure:6052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6052 :
6053else
6054 echo "configure: failed program was:" >&5
6055 cat conftest.$ac_ext >&5
6056 rm -rf conftest*
6057 cat > conftest.$ac_ext <<EOF
6058#line 6059 "configure"
6059#include "confdefs.h"
6060#define _XOPEN_SOURCE 500
6061#include <sys/types.h>
6062 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
6063
6064#include <stdio.h>
6065
6066int main() {
6067return !ftello;
6068; return 0; }
6069EOF
6070if { (eval echo configure:6071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6071 rm -rf conftest*
6072 ac_cv_sys_xopen_source=500
6073else
6074 echo "configure: failed program was:" >&5
6075 cat conftest.$ac_ext >&5
6076fi
6077rm -f conftest*
6078fi
6079rm -f conftest*
6080fi
6081
6082echo "$ac_t""$ac_cv_sys_xopen_source" 1>&6
6083 if test "$ac_cv_sys_xopen_source" != no; then
6084 cat >> confdefs.h <<EOF
6085#define _XOPEN_SOURCE $ac_cv_sys_xopen_source
6086EOF
6087
6088 fi
6089 fi
6090
6091for ac_func in ftello
6092do
6093echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6094echo "configure:6095: checking for $ac_func" >&5
6095if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6096 echo $ac_n "(cached) $ac_c" 1>&6
6097else
6098 cat > conftest.$ac_ext <<EOF
6099#line 6100 "configure"
6100#include "confdefs.h"
6101/* System header to define __stub macros and hopefully few prototypes,
6102 which can conflict with char $ac_func(); below. */
6103#include <assert.h>
6104/* Override any gcc2 internal prototype to avoid an error. */
6105/* We use char because int might match the return type of a gcc2
6106 builtin and then its argument prototype would still apply. */
6107char $ac_func();
6108
6109int main() {
6110
6111/* The GNU C library defines this for functions which it implements
6112 to always fail with ENOSYS. Some functions are actually named
6113 something starting with __ and the normal name is an alias. */
6114#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6115choke me
6116#else
6117$ac_func();
6118#endif
6119
6120; return 0; }
6121EOF
6122if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6123 rm -rf conftest*
6124 eval "ac_cv_func_$ac_func=yes"
6125else
6126 echo "configure: failed program was:" >&5
6127 cat conftest.$ac_ext >&5
6128 rm -rf conftest*
6129 eval "ac_cv_func_$ac_func=no"
6130fi
6131rm -f conftest*
6132fi
6133
6134if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6135 echo "$ac_t""yes" 1>&6
6136 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6137 cat >> confdefs.h <<EOF
6138#define $ac_tr_func 1
6139EOF
6140
6141else
6142 echo "$ac_t""no" 1>&6
6143fi
6144done
6145
6146
6147# UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE
6148# if we need it.
5765for ac_func in grantpt 6149for ac_func in grantpt
5766do 6150do
5767echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6151echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5768echo "configure:5769: checking for $ac_func" >&5 6152echo "configure:6153: checking for $ac_func" >&5
5769if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6153if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5770 echo $ac_n "(cached) $ac_c" 1>&6 6154 echo $ac_n "(cached) $ac_c" 1>&6
5771else 6155else
5772 cat > conftest.$ac_ext <<EOF 6156 cat > conftest.$ac_ext <<EOF
5773#line 5774 "configure" 6157#line 6158 "configure"
5774#include "confdefs.h" 6158#include "confdefs.h"
5775/* System header to define __stub macros and hopefully few prototypes, 6159/* System header to define __stub macros and hopefully few prototypes,
5776 which can conflict with char $ac_func(); below. */ 6160 which can conflict with char $ac_func(); below. */
@@ -5793,7 +6177,7 @@ $ac_func();
5793 6177
5794; return 0; } 6178; return 0; }
5795EOF 6179EOF
5796if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6180if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5797 rm -rf conftest* 6181 rm -rf conftest*
5798 eval "ac_cv_func_$ac_func=yes" 6182 eval "ac_cv_func_$ac_func=yes"
5799else 6183else
@@ -5822,12 +6206,12 @@ done
5822for ac_func in getpt 6206for ac_func in getpt
5823do 6207do
5824echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6208echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5825echo "configure:5826: checking for $ac_func" >&5 6209echo "configure:6210: checking for $ac_func" >&5
5826if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6210if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5827 echo $ac_n "(cached) $ac_c" 1>&6 6211 echo $ac_n "(cached) $ac_c" 1>&6
5828else 6212else
5829 cat > conftest.$ac_ext <<EOF 6213 cat > conftest.$ac_ext <<EOF
5830#line 5831 "configure" 6214#line 6215 "configure"
5831#include "confdefs.h" 6215#include "confdefs.h"
5832/* System header to define __stub macros and hopefully few prototypes, 6216/* System header to define __stub macros and hopefully few prototypes,
5833 which can conflict with char $ac_func(); below. */ 6217 which can conflict with char $ac_func(); below. */
@@ -5850,7 +6234,7 @@ $ac_func();
5850 6234
5851; return 0; } 6235; return 0; }
5852EOF 6236EOF
5853if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6237if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5854 rm -rf conftest* 6238 rm -rf conftest*
5855 eval "ac_cv_func_$ac_func=yes" 6239 eval "ac_cv_func_$ac_func=yes"
5856else 6240else
@@ -5880,7 +6264,7 @@ done
5880# It's better to believe a function is not available 6264# It's better to believe a function is not available
5881# than to expect to find it in ncurses. 6265# than to expect to find it in ncurses.
5882echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6266echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5883echo "configure:5884: checking for tparm in -lncurses" >&5 6267echo "configure:6268: checking for tparm in -lncurses" >&5
5884ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6268ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5885if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6269if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6 6270 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5888,7 +6272,7 @@ else
5888 ac_save_LIBS="$LIBS" 6272 ac_save_LIBS="$LIBS"
5889LIBS="-lncurses $LIBS" 6273LIBS="-lncurses $LIBS"
5890cat > conftest.$ac_ext <<EOF 6274cat > conftest.$ac_ext <<EOF
5891#line 5892 "configure" 6275#line 6276 "configure"
5892#include "confdefs.h" 6276#include "confdefs.h"
5893/* Override any gcc2 internal prototype to avoid an error. */ 6277/* Override any gcc2 internal prototype to avoid an error. */
5894/* We use char because int might match the return type of a gcc2 6278/* We use char because int might match the return type of a gcc2
@@ -5899,7 +6283,7 @@ int main() {
5899tparm() 6283tparm()
5900; return 0; } 6284; return 0; }
5901EOF 6285EOF
5902if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6286if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5903 rm -rf conftest* 6287 rm -rf conftest*
5904 eval "ac_cv_lib_$ac_lib_var=yes" 6288 eval "ac_cv_lib_$ac_lib_var=yes"
5905else 6289else
@@ -5930,7 +6314,7 @@ fi
5930# These tell us which Kerberos-related libraries to use. 6314# These tell us which Kerberos-related libraries to use.
5931if test "${with_kerberos+set}" = set; then 6315if test "${with_kerberos+set}" = set; then
5932 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 6316 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5933echo "configure:5934: checking for com_err in -lcom_err" >&5 6317echo "configure:6318: checking for com_err in -lcom_err" >&5
5934ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 6318ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5935if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6319if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5936 echo $ac_n "(cached) $ac_c" 1>&6 6320 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5938,7 +6322,7 @@ else
5938 ac_save_LIBS="$LIBS" 6322 ac_save_LIBS="$LIBS"
5939LIBS="-lcom_err $LIBS" 6323LIBS="-lcom_err $LIBS"
5940cat > conftest.$ac_ext <<EOF 6324cat > conftest.$ac_ext <<EOF
5941#line 5942 "configure" 6325#line 6326 "configure"
5942#include "confdefs.h" 6326#include "confdefs.h"
5943/* Override any gcc2 internal prototype to avoid an error. */ 6327/* Override any gcc2 internal prototype to avoid an error. */
5944/* We use char because int might match the return type of a gcc2 6328/* We use char because int might match the return type of a gcc2
@@ -5949,7 +6333,7 @@ int main() {
5949com_err() 6333com_err()
5950; return 0; } 6334; return 0; }
5951EOF 6335EOF
5952if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6336if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5953 rm -rf conftest* 6337 rm -rf conftest*
5954 eval "ac_cv_lib_$ac_lib_var=yes" 6338 eval "ac_cv_lib_$ac_lib_var=yes"
5955else 6339else
@@ -5977,7 +6361,7 @@ else
5977fi 6361fi
5978 6362
5979 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 6363 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5980echo "configure:5981: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 6364echo "configure:6365: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5981ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6365ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5982if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6366if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5983 echo $ac_n "(cached) $ac_c" 1>&6 6367 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5985,7 +6369,7 @@ else
5985 ac_save_LIBS="$LIBS" 6369 ac_save_LIBS="$LIBS"
5986LIBS="-lk5crypto $LIBS" 6370LIBS="-lk5crypto $LIBS"
5987cat > conftest.$ac_ext <<EOF 6371cat > conftest.$ac_ext <<EOF
5988#line 5989 "configure" 6372#line 6373 "configure"
5989#include "confdefs.h" 6373#include "confdefs.h"
5990/* Override any gcc2 internal prototype to avoid an error. */ 6374/* Override any gcc2 internal prototype to avoid an error. */
5991/* We use char because int might match the return type of a gcc2 6375/* We use char because int might match the return type of a gcc2
@@ -5996,7 +6380,7 @@ int main() {
5996mit_des_cbc_encrypt() 6380mit_des_cbc_encrypt()
5997; return 0; } 6381; return 0; }
5998EOF 6382EOF
5999if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6383if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6000 rm -rf conftest* 6384 rm -rf conftest*
6001 eval "ac_cv_lib_$ac_lib_var=yes" 6385 eval "ac_cv_lib_$ac_lib_var=yes"
6002else 6386else
@@ -6024,7 +6408,7 @@ else
6024fi 6408fi
6025 6409
6026 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 6410 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
6027echo "configure:6028: checking for mit_des_cbc_encrypt in -lcrypto" >&5 6411echo "configure:6412: checking for mit_des_cbc_encrypt in -lcrypto" >&5
6028ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6412ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6029if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6413if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6030 echo $ac_n "(cached) $ac_c" 1>&6 6414 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6032,7 +6416,7 @@ else
6032 ac_save_LIBS="$LIBS" 6416 ac_save_LIBS="$LIBS"
6033LIBS="-lcrypto $LIBS" 6417LIBS="-lcrypto $LIBS"
6034cat > conftest.$ac_ext <<EOF 6418cat > conftest.$ac_ext <<EOF
6035#line 6036 "configure" 6419#line 6420 "configure"
6036#include "confdefs.h" 6420#include "confdefs.h"
6037/* Override any gcc2 internal prototype to avoid an error. */ 6421/* Override any gcc2 internal prototype to avoid an error. */
6038/* We use char because int might match the return type of a gcc2 6422/* We use char because int might match the return type of a gcc2
@@ -6043,7 +6427,7 @@ int main() {
6043mit_des_cbc_encrypt() 6427mit_des_cbc_encrypt()
6044; return 0; } 6428; return 0; }
6045EOF 6429EOF
6046if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6430if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6047 rm -rf conftest* 6431 rm -rf conftest*
6048 eval "ac_cv_lib_$ac_lib_var=yes" 6432 eval "ac_cv_lib_$ac_lib_var=yes"
6049else 6433else
@@ -6071,7 +6455,7 @@ else
6071fi 6455fi
6072 6456
6073 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 6457 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
6074echo "configure:6075: checking for krb5_init_context in -lkrb5" >&5 6458echo "configure:6459: checking for krb5_init_context in -lkrb5" >&5
6075ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 6459ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
6076if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6460if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6077 echo $ac_n "(cached) $ac_c" 1>&6 6461 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6079,7 +6463,7 @@ else
6079 ac_save_LIBS="$LIBS" 6463 ac_save_LIBS="$LIBS"
6080LIBS="-lkrb5 $LIBS" 6464LIBS="-lkrb5 $LIBS"
6081cat > conftest.$ac_ext <<EOF 6465cat > conftest.$ac_ext <<EOF
6082#line 6083 "configure" 6466#line 6467 "configure"
6083#include "confdefs.h" 6467#include "confdefs.h"
6084/* Override any gcc2 internal prototype to avoid an error. */ 6468/* Override any gcc2 internal prototype to avoid an error. */
6085/* We use char because int might match the return type of a gcc2 6469/* We use char because int might match the return type of a gcc2
@@ -6090,7 +6474,7 @@ int main() {
6090krb5_init_context() 6474krb5_init_context()
6091; return 0; } 6475; return 0; }
6092EOF 6476EOF
6093if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6477if { (eval echo configure:6478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6094 rm -rf conftest* 6478 rm -rf conftest*
6095 eval "ac_cv_lib_$ac_lib_var=yes" 6479 eval "ac_cv_lib_$ac_lib_var=yes"
6096else 6480else
@@ -6119,7 +6503,7 @@ fi
6119 6503
6120 if test "${with_kerberos5+set}" != set; then 6504 if test "${with_kerberos5+set}" != set; then
6121 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 6505 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
6122echo "configure:6123: checking for des_cbc_encrypt in -ldes425" >&5 6506echo "configure:6507: checking for des_cbc_encrypt in -ldes425" >&5
6123ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6507ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6124if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6508if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6125 echo $ac_n "(cached) $ac_c" 1>&6 6509 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6127,7 +6511,7 @@ else
6127 ac_save_LIBS="$LIBS" 6511 ac_save_LIBS="$LIBS"
6128LIBS="-ldes425 $LIBS" 6512LIBS="-ldes425 $LIBS"
6129cat > conftest.$ac_ext <<EOF 6513cat > conftest.$ac_ext <<EOF
6130#line 6131 "configure" 6514#line 6515 "configure"
6131#include "confdefs.h" 6515#include "confdefs.h"
6132/* Override any gcc2 internal prototype to avoid an error. */ 6516/* Override any gcc2 internal prototype to avoid an error. */
6133/* We use char because int might match the return type of a gcc2 6517/* We use char because int might match the return type of a gcc2
@@ -6138,7 +6522,7 @@ int main() {
6138des_cbc_encrypt() 6522des_cbc_encrypt()
6139; return 0; } 6523; return 0; }
6140EOF 6524EOF
6141if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6525if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6142 rm -rf conftest* 6526 rm -rf conftest*
6143 eval "ac_cv_lib_$ac_lib_var=yes" 6527 eval "ac_cv_lib_$ac_lib_var=yes"
6144else 6528else
@@ -6164,7 +6548,7 @@ EOF
6164else 6548else
6165 echo "$ac_t""no" 1>&6 6549 echo "$ac_t""no" 1>&6
6166echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6550echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
6167echo "configure:6168: checking for des_cbc_encrypt in -ldes" >&5 6551echo "configure:6552: checking for des_cbc_encrypt in -ldes" >&5
6168ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6552ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6169if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6553if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6 6554 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6172,7 +6556,7 @@ else
6172 ac_save_LIBS="$LIBS" 6556 ac_save_LIBS="$LIBS"
6173LIBS="-ldes $LIBS" 6557LIBS="-ldes $LIBS"
6174cat > conftest.$ac_ext <<EOF 6558cat > conftest.$ac_ext <<EOF
6175#line 6176 "configure" 6559#line 6560 "configure"
6176#include "confdefs.h" 6560#include "confdefs.h"
6177/* Override any gcc2 internal prototype to avoid an error. */ 6561/* Override any gcc2 internal prototype to avoid an error. */
6178/* We use char because int might match the return type of a gcc2 6562/* We use char because int might match the return type of a gcc2
@@ -6183,7 +6567,7 @@ int main() {
6183des_cbc_encrypt() 6567des_cbc_encrypt()
6184; return 0; } 6568; return 0; }
6185EOF 6569EOF
6186if { (eval echo configure:6187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6570if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6187 rm -rf conftest* 6571 rm -rf conftest*
6188 eval "ac_cv_lib_$ac_lib_var=yes" 6572 eval "ac_cv_lib_$ac_lib_var=yes"
6189else 6573else
@@ -6213,7 +6597,7 @@ fi
6213fi 6597fi
6214 6598
6215 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6599 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
6216echo "configure:6217: checking for krb_get_cred in -lkrb4" >&5 6600echo "configure:6601: checking for krb_get_cred in -lkrb4" >&5
6217ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6601ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
6218if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6602if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6219 echo $ac_n "(cached) $ac_c" 1>&6 6603 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6221,7 +6605,7 @@ else
6221 ac_save_LIBS="$LIBS" 6605 ac_save_LIBS="$LIBS"
6222LIBS="-lkrb4 $LIBS" 6606LIBS="-lkrb4 $LIBS"
6223cat > conftest.$ac_ext <<EOF 6607cat > conftest.$ac_ext <<EOF
6224#line 6225 "configure" 6608#line 6609 "configure"
6225#include "confdefs.h" 6609#include "confdefs.h"
6226/* Override any gcc2 internal prototype to avoid an error. */ 6610/* Override any gcc2 internal prototype to avoid an error. */
6227/* We use char because int might match the return type of a gcc2 6611/* We use char because int might match the return type of a gcc2
@@ -6232,7 +6616,7 @@ int main() {
6232krb_get_cred() 6616krb_get_cred()
6233; return 0; } 6617; return 0; }
6234EOF 6618EOF
6235if { (eval echo configure:6236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6619if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6236 rm -rf conftest* 6620 rm -rf conftest*
6237 eval "ac_cv_lib_$ac_lib_var=yes" 6621 eval "ac_cv_lib_$ac_lib_var=yes"
6238else 6622else
@@ -6258,7 +6642,7 @@ EOF
6258else 6642else
6259 echo "$ac_t""no" 1>&6 6643 echo "$ac_t""no" 1>&6
6260echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6644echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
6261echo "configure:6262: checking for krb_get_cred in -lkrb" >&5 6645echo "configure:6646: checking for krb_get_cred in -lkrb" >&5
6262ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6646ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
6263if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6647if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6264 echo $ac_n "(cached) $ac_c" 1>&6 6648 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6266,7 +6650,7 @@ else
6266 ac_save_LIBS="$LIBS" 6650 ac_save_LIBS="$LIBS"
6267LIBS="-lkrb $LIBS" 6651LIBS="-lkrb $LIBS"
6268cat > conftest.$ac_ext <<EOF 6652cat > conftest.$ac_ext <<EOF
6269#line 6270 "configure" 6653#line 6654 "configure"
6270#include "confdefs.h" 6654#include "confdefs.h"
6271/* Override any gcc2 internal prototype to avoid an error. */ 6655/* Override any gcc2 internal prototype to avoid an error. */
6272/* We use char because int might match the return type of a gcc2 6656/* We use char because int might match the return type of a gcc2
@@ -6277,7 +6661,7 @@ int main() {
6277krb_get_cred() 6661krb_get_cred()
6278; return 0; } 6662; return 0; }
6279EOF 6663EOF
6280if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6664if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6281 rm -rf conftest* 6665 rm -rf conftest*
6282 eval "ac_cv_lib_$ac_lib_var=yes" 6666 eval "ac_cv_lib_$ac_lib_var=yes"
6283else 6667else
@@ -6313,17 +6697,17 @@ fi
6313do 6697do
6314ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6698ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6315echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6699echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6316echo "configure:6317: checking for $ac_hdr" >&5 6700echo "configure:6701: checking for $ac_hdr" >&5
6317if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6701if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6318 echo $ac_n "(cached) $ac_c" 1>&6 6702 echo $ac_n "(cached) $ac_c" 1>&6
6319else 6703else
6320 cat > conftest.$ac_ext <<EOF 6704 cat > conftest.$ac_ext <<EOF
6321#line 6322 "configure" 6705#line 6706 "configure"
6322#include "confdefs.h" 6706#include "confdefs.h"
6323#include <$ac_hdr> 6707#include <$ac_hdr>
6324EOF 6708EOF
6325ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6709ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6326{ (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6710{ (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6327ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6711ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6328if test -z "$ac_err"; then 6712if test -z "$ac_err"; then
6329 rm -rf conftest* 6713 rm -rf conftest*
@@ -6354,17 +6738,17 @@ done
6354do 6738do
6355ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6739ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6356echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6740echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6357echo "configure:6358: checking for $ac_hdr" >&5 6741echo "configure:6742: checking for $ac_hdr" >&5
6358if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6742if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6359 echo $ac_n "(cached) $ac_c" 1>&6 6743 echo $ac_n "(cached) $ac_c" 1>&6
6360else 6744else
6361 cat > conftest.$ac_ext <<EOF 6745 cat > conftest.$ac_ext <<EOF
6362#line 6363 "configure" 6746#line 6747 "configure"
6363#include "confdefs.h" 6747#include "confdefs.h"
6364#include <$ac_hdr> 6748#include <$ac_hdr>
6365EOF 6749EOF
6366ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6750ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6367{ (eval echo configure:6368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6751{ (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6368ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6752ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6369if test -z "$ac_err"; then 6753if test -z "$ac_err"; then
6370 rm -rf conftest* 6754 rm -rf conftest*
@@ -6391,17 +6775,17 @@ for ac_hdr in kerberosIV/des.h
6391do 6775do
6392ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6776ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6393echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6777echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6394echo "configure:6395: checking for $ac_hdr" >&5 6778echo "configure:6779: checking for $ac_hdr" >&5
6395if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6779if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6 6780 echo $ac_n "(cached) $ac_c" 1>&6
6397else 6781else
6398 cat > conftest.$ac_ext <<EOF 6782 cat > conftest.$ac_ext <<EOF
6399#line 6400 "configure" 6783#line 6784 "configure"
6400#include "confdefs.h" 6784#include "confdefs.h"
6401#include <$ac_hdr> 6785#include <$ac_hdr>
6402EOF 6786EOF
6403ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6787ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6404{ (eval echo configure:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6788{ (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6405ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6789ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6406if test -z "$ac_err"; then 6790if test -z "$ac_err"; then
6407 rm -rf conftest* 6791 rm -rf conftest*
@@ -6428,17 +6812,17 @@ for ac_hdr in kerberos/des.h
6428do 6812do
6429ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6813ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6430echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6814echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6431echo "configure:6432: checking for $ac_hdr" >&5 6815echo "configure:6816: checking for $ac_hdr" >&5
6432if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6816if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6433 echo $ac_n "(cached) $ac_c" 1>&6 6817 echo $ac_n "(cached) $ac_c" 1>&6
6434else 6818else
6435 cat > conftest.$ac_ext <<EOF 6819 cat > conftest.$ac_ext <<EOF
6436#line 6437 "configure" 6820#line 6821 "configure"
6437#include "confdefs.h" 6821#include "confdefs.h"
6438#include <$ac_hdr> 6822#include <$ac_hdr>
6439EOF 6823EOF
6440ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6824ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6441{ (eval echo configure:6442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6825{ (eval echo configure:6826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6442ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6826ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6443if test -z "$ac_err"; then 6827if test -z "$ac_err"; then
6444 rm -rf conftest* 6828 rm -rf conftest*
@@ -6474,17 +6858,17 @@ done
6474do 6858do
6475ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6859ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6476echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6860echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6477echo "configure:6478: checking for $ac_hdr" >&5 6861echo "configure:6862: checking for $ac_hdr" >&5
6478if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6862if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6479 echo $ac_n "(cached) $ac_c" 1>&6 6863 echo $ac_n "(cached) $ac_c" 1>&6
6480else 6864else
6481 cat > conftest.$ac_ext <<EOF 6865 cat > conftest.$ac_ext <<EOF
6482#line 6483 "configure" 6866#line 6867 "configure"
6483#include "confdefs.h" 6867#include "confdefs.h"
6484#include <$ac_hdr> 6868#include <$ac_hdr>
6485EOF 6869EOF
6486ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6870ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6487{ (eval echo configure:6488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6871{ (eval echo configure:6872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6488ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6872ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6489if test -z "$ac_err"; then 6873if test -z "$ac_err"; then
6490 rm -rf conftest* 6874 rm -rf conftest*
@@ -6511,17 +6895,17 @@ for ac_hdr in kerberosIV/krb.h
6511do 6895do
6512ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6896ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6513echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6897echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6514echo "configure:6515: checking for $ac_hdr" >&5 6898echo "configure:6899: checking for $ac_hdr" >&5
6515if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6899if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6516 echo $ac_n "(cached) $ac_c" 1>&6 6900 echo $ac_n "(cached) $ac_c" 1>&6
6517else 6901else
6518 cat > conftest.$ac_ext <<EOF 6902 cat > conftest.$ac_ext <<EOF
6519#line 6520 "configure" 6903#line 6904 "configure"
6520#include "confdefs.h" 6904#include "confdefs.h"
6521#include <$ac_hdr> 6905#include <$ac_hdr>
6522EOF 6906EOF
6523ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6907ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6524{ (eval echo configure:6525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6908{ (eval echo configure:6909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6525ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6909ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6526if test -z "$ac_err"; then 6910if test -z "$ac_err"; then
6527 rm -rf conftest* 6911 rm -rf conftest*
@@ -6548,17 +6932,17 @@ for ac_hdr in kerberos/krb.h
6548do 6932do
6549ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6933ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6550echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6934echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6551echo "configure:6552: checking for $ac_hdr" >&5 6935echo "configure:6936: checking for $ac_hdr" >&5
6552if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6936if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6553 echo $ac_n "(cached) $ac_c" 1>&6 6937 echo $ac_n "(cached) $ac_c" 1>&6
6554else 6938else
6555 cat > conftest.$ac_ext <<EOF 6939 cat > conftest.$ac_ext <<EOF
6556#line 6557 "configure" 6940#line 6941 "configure"
6557#include "confdefs.h" 6941#include "confdefs.h"
6558#include <$ac_hdr> 6942#include <$ac_hdr>
6559EOF 6943EOF
6560ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6944ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6561{ (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6945{ (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6562ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6946ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6563if test -z "$ac_err"; then 6947if test -z "$ac_err"; then
6564 rm -rf conftest* 6948 rm -rf conftest*
@@ -6595,17 +6979,17 @@ done
6595do 6979do
6596ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6980ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6597echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6981echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6598echo "configure:6599: checking for $ac_hdr" >&5 6982echo "configure:6983: checking for $ac_hdr" >&5
6599if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6983if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6600 echo $ac_n "(cached) $ac_c" 1>&6 6984 echo $ac_n "(cached) $ac_c" 1>&6
6601else 6985else
6602 cat > conftest.$ac_ext <<EOF 6986 cat > conftest.$ac_ext <<EOF
6603#line 6604 "configure" 6987#line 6988 "configure"
6604#include "confdefs.h" 6988#include "confdefs.h"
6605#include <$ac_hdr> 6989#include <$ac_hdr>
6606EOF 6990EOF
6607ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6991ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6608{ (eval echo configure:6609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6992{ (eval echo configure:6993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6609ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6993ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6610if test -z "$ac_err"; then 6994if test -z "$ac_err"; then
6611 rm -rf conftest* 6995 rm -rf conftest*
@@ -6636,7 +7020,7 @@ fi
6636# Solaris requires -lintl if you want strerror (which calls dgettext) 7020# Solaris requires -lintl if you want strerror (which calls dgettext)
6637# to return localized messages. 7021# to return localized messages.
6638echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7022echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6639echo "configure:6640: checking for dgettext in -lintl" >&5 7023echo "configure:7024: checking for dgettext in -lintl" >&5
6640ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7024ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6641if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7025if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6642 echo $ac_n "(cached) $ac_c" 1>&6 7026 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6644,7 +7028,7 @@ else
6644 ac_save_LIBS="$LIBS" 7028 ac_save_LIBS="$LIBS"
6645LIBS="-lintl $LIBS" 7029LIBS="-lintl $LIBS"
6646cat > conftest.$ac_ext <<EOF 7030cat > conftest.$ac_ext <<EOF
6647#line 6648 "configure" 7031#line 7032 "configure"
6648#include "confdefs.h" 7032#include "confdefs.h"
6649/* Override any gcc2 internal prototype to avoid an error. */ 7033/* Override any gcc2 internal prototype to avoid an error. */
6650/* We use char because int might match the return type of a gcc2 7034/* We use char because int might match the return type of a gcc2
@@ -6655,7 +7039,7 @@ int main() {
6655dgettext() 7039dgettext()
6656; return 0; } 7040; return 0; }
6657EOF 7041EOF
6658if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7042if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6659 rm -rf conftest* 7043 rm -rf conftest*
6660 eval "ac_cv_lib_$ac_lib_var=yes" 7044 eval "ac_cv_lib_$ac_lib_var=yes"
6661else 7045else
@@ -6684,7 +7068,7 @@ fi
6684 7068
6685 7069
6686echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7070echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6687echo "configure:6688: checking whether localtime caches TZ" >&5 7071echo "configure:7072: checking whether localtime caches TZ" >&5
6688if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7072if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6689 echo $ac_n "(cached) $ac_c" 1>&6 7073 echo $ac_n "(cached) $ac_c" 1>&6
6690else 7074else
@@ -6694,7 +7078,7 @@ if test "$cross_compiling" = yes; then
6694emacs_cv_localtime_cache=yes 7078emacs_cv_localtime_cache=yes
6695else 7079else
6696 cat > conftest.$ac_ext <<EOF 7080 cat > conftest.$ac_ext <<EOF
6697#line 6698 "configure" 7081#line 7082 "configure"
6698#include "confdefs.h" 7082#include "confdefs.h"
6699#include <time.h> 7083#include <time.h>
6700extern char **environ; 7084extern char **environ;
@@ -6726,7 +7110,7 @@ main()
6726 exit (0); 7110 exit (0);
6727} 7111}
6728EOF 7112EOF
6729if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7113if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6730then 7114then
6731 emacs_cv_localtime_cache=no 7115 emacs_cv_localtime_cache=no
6732else 7116else
@@ -6754,12 +7138,12 @@ fi
6754 7138
6755if test "x$HAVE_TIMEVAL" = xyes; then 7139if test "x$HAVE_TIMEVAL" = xyes; then
6756echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7140echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6757echo "configure:6758: checking whether gettimeofday can accept two arguments" >&5 7141echo "configure:7142: checking whether gettimeofday can accept two arguments" >&5
6758if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7142if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6759 echo $ac_n "(cached) $ac_c" 1>&6 7143 echo $ac_n "(cached) $ac_c" 1>&6
6760else 7144else
6761 cat > conftest.$ac_ext <<EOF 7145 cat > conftest.$ac_ext <<EOF
6762#line 6763 "configure" 7146#line 7147 "configure"
6763#include "confdefs.h" 7147#include "confdefs.h"
6764 7148
6765#ifdef TIME_WITH_SYS_TIME 7149#ifdef TIME_WITH_SYS_TIME
@@ -6781,7 +7165,7 @@ int main() {
6781 7165
6782; return 0; } 7166; return 0; }
6783EOF 7167EOF
6784if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7168if { (eval echo configure:7169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6785 rm -rf conftest* 7169 rm -rf conftest*
6786 emacs_cv_gettimeofday_two_arguments=yes 7170 emacs_cv_gettimeofday_two_arguments=yes
6787else 7171else
@@ -6804,12 +7188,12 @@ fi
6804 7188
6805ok_so_far=yes 7189ok_so_far=yes
6806echo $ac_n "checking for socket""... $ac_c" 1>&6 7190echo $ac_n "checking for socket""... $ac_c" 1>&6
6807echo "configure:6808: checking for socket" >&5 7191echo "configure:7192: checking for socket" >&5
6808if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7192if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6809 echo $ac_n "(cached) $ac_c" 1>&6 7193 echo $ac_n "(cached) $ac_c" 1>&6
6810else 7194else
6811 cat > conftest.$ac_ext <<EOF 7195 cat > conftest.$ac_ext <<EOF
6812#line 6813 "configure" 7196#line 7197 "configure"
6813#include "confdefs.h" 7197#include "confdefs.h"
6814/* System header to define __stub macros and hopefully few prototypes, 7198/* System header to define __stub macros and hopefully few prototypes,
6815 which can conflict with char socket(); below. */ 7199 which can conflict with char socket(); below. */
@@ -6832,7 +7216,7 @@ socket();
6832 7216
6833; return 0; } 7217; return 0; }
6834EOF 7218EOF
6835if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7219if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6836 rm -rf conftest* 7220 rm -rf conftest*
6837 eval "ac_cv_func_socket=yes" 7221 eval "ac_cv_func_socket=yes"
6838else 7222else
@@ -6855,17 +7239,17 @@ fi
6855if test $ok_so_far = yes; then 7239if test $ok_so_far = yes; then
6856 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 7240 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6857echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 7241echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6858echo "configure:6859: checking for netinet/in.h" >&5 7242echo "configure:7243: checking for netinet/in.h" >&5
6859if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7243if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6860 echo $ac_n "(cached) $ac_c" 1>&6 7244 echo $ac_n "(cached) $ac_c" 1>&6
6861else 7245else
6862 cat > conftest.$ac_ext <<EOF 7246 cat > conftest.$ac_ext <<EOF
6863#line 6864 "configure" 7247#line 7248 "configure"
6864#include "confdefs.h" 7248#include "confdefs.h"
6865#include <netinet/in.h> 7249#include <netinet/in.h>
6866EOF 7250EOF
6867ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7251ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6868{ (eval echo configure:6869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7252{ (eval echo configure:7253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6869ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7253ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6870if test -z "$ac_err"; then 7254if test -z "$ac_err"; then
6871 rm -rf conftest* 7255 rm -rf conftest*
@@ -6891,17 +7275,17 @@ fi
6891if test $ok_so_far = yes; then 7275if test $ok_so_far = yes; then
6892 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 7276 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6893echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 7277echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6894echo "configure:6895: checking for arpa/inet.h" >&5 7278echo "configure:7279: checking for arpa/inet.h" >&5
6895if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7279if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6896 echo $ac_n "(cached) $ac_c" 1>&6 7280 echo $ac_n "(cached) $ac_c" 1>&6
6897else 7281else
6898 cat > conftest.$ac_ext <<EOF 7282 cat > conftest.$ac_ext <<EOF
6899#line 6900 "configure" 7283#line 7284 "configure"
6900#include "confdefs.h" 7284#include "confdefs.h"
6901#include <arpa/inet.h> 7285#include <arpa/inet.h>
6902EOF 7286EOF
6903ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7287ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6904{ (eval echo configure:6905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7288{ (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6905ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7289ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6906if test -z "$ac_err"; then 7290if test -z "$ac_err"; then
6907 rm -rf conftest* 7291 rm -rf conftest*
@@ -6939,7 +7323,7 @@ EOF
6939fi 7323fi
6940 7324
6941echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 7325echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6942echo "configure:6943: checking whether system supports dynamic ptys" >&5 7326echo "configure:7327: checking whether system supports dynamic ptys" >&5
6943if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 7327if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6944 echo "$ac_t""yes" 1>&6 7328 echo "$ac_t""yes" 1>&6
6945 cat >> confdefs.h <<\EOF 7329 cat >> confdefs.h <<\EOF
@@ -6951,12 +7335,12 @@ else
6951fi 7335fi
6952 7336
6953echo $ac_n "checking for pid_t""... $ac_c" 1>&6 7337echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6954echo "configure:6955: checking for pid_t" >&5 7338echo "configure:7339: checking for pid_t" >&5
6955if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 7339if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6956 echo $ac_n "(cached) $ac_c" 1>&6 7340 echo $ac_n "(cached) $ac_c" 1>&6
6957else 7341else
6958 cat > conftest.$ac_ext <<EOF 7342 cat > conftest.$ac_ext <<EOF
6959#line 6960 "configure" 7343#line 7344 "configure"
6960#include "confdefs.h" 7344#include "confdefs.h"
6961#include <sys/types.h> 7345#include <sys/types.h>
6962#if STDC_HEADERS 7346#if STDC_HEADERS
@@ -6985,17 +7369,17 @@ fi
6985 7369
6986ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7370ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6987echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7371echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6988echo "configure:6989: checking for vfork.h" >&5 7372echo "configure:7373: checking for vfork.h" >&5
6989if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7373if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6990 echo $ac_n "(cached) $ac_c" 1>&6 7374 echo $ac_n "(cached) $ac_c" 1>&6
6991else 7375else
6992 cat > conftest.$ac_ext <<EOF 7376 cat > conftest.$ac_ext <<EOF
6993#line 6994 "configure" 7377#line 7378 "configure"
6994#include "confdefs.h" 7378#include "confdefs.h"
6995#include <vfork.h> 7379#include <vfork.h>
6996EOF 7380EOF
6997ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7381ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6998{ (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7382{ (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6999ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7383ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7000if test -z "$ac_err"; then 7384if test -z "$ac_err"; then
7001 rm -rf conftest* 7385 rm -rf conftest*
@@ -7020,18 +7404,18 @@ else
7020fi 7404fi
7021 7405
7022echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7406echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7023echo "configure:7024: checking for working vfork" >&5 7407echo "configure:7408: checking for working vfork" >&5
7024if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 7408if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
7025 echo $ac_n "(cached) $ac_c" 1>&6 7409 echo $ac_n "(cached) $ac_c" 1>&6
7026else 7410else
7027 if test "$cross_compiling" = yes; then 7411 if test "$cross_compiling" = yes; then
7028 echo $ac_n "checking for vfork""... $ac_c" 1>&6 7412 echo $ac_n "checking for vfork""... $ac_c" 1>&6
7029echo "configure:7030: checking for vfork" >&5 7413echo "configure:7414: checking for vfork" >&5
7030if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 7414if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
7031 echo $ac_n "(cached) $ac_c" 1>&6 7415 echo $ac_n "(cached) $ac_c" 1>&6
7032else 7416else
7033 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7034#line 7035 "configure" 7418#line 7419 "configure"
7035#include "confdefs.h" 7419#include "confdefs.h"
7036/* System header to define __stub macros and hopefully few prototypes, 7420/* System header to define __stub macros and hopefully few prototypes,
7037 which can conflict with char vfork(); below. */ 7421 which can conflict with char vfork(); below. */
@@ -7054,7 +7438,7 @@ vfork();
7054 7438
7055; return 0; } 7439; return 0; }
7056EOF 7440EOF
7057if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7441if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7058 rm -rf conftest* 7442 rm -rf conftest*
7059 eval "ac_cv_func_vfork=yes" 7443 eval "ac_cv_func_vfork=yes"
7060else 7444else
@@ -7076,7 +7460,7 @@ fi
7076ac_cv_func_vfork_works=$ac_cv_func_vfork 7460ac_cv_func_vfork_works=$ac_cv_func_vfork
7077else 7461else
7078 cat > conftest.$ac_ext <<EOF 7462 cat > conftest.$ac_ext <<EOF
7079#line 7080 "configure" 7463#line 7464 "configure"
7080#include "confdefs.h" 7464#include "confdefs.h"
7081/* Thanks to Paul Eggert for this test. */ 7465/* Thanks to Paul Eggert for this test. */
7082#include <stdio.h> 7466#include <stdio.h>
@@ -7171,7 +7555,7 @@ main() {
7171 } 7555 }
7172} 7556}
7173EOF 7557EOF
7174if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7558if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7175then 7559then
7176 ac_cv_func_vfork_works=yes 7560 ac_cv_func_vfork_works=yes
7177else 7561else
diff --git a/src/ChangeLog b/src/ChangeLog
index 5724c1f870a..0794cfba3cc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12000-06-02 Dave Love <fx@gnu.org>
2
3 * sysdep.c: Conditionally include stdlib.h, unistd.h.
4 (VFORK_RETURN_TYPE): Remove.
5
6 * config.in: Add NO_MATHERR.
7
12000-06-01 Dave Love <fx@gnu.org> 82000-06-01 Dave Love <fx@gnu.org>
2 9
3 * cmds.c (internal_self_insert): Don't check 10 * cmds.c (internal_self_insert): Don't check