aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-07-05 17:07:14 +0000
committerDave Love2000-07-05 17:07:14 +0000
commit65171e3a7c32453cf448de5d05a23e67402874fd (patch)
treeec3899213a55fa76dad1ea048c0e0e16b0445d79
parentf98d308691a11be13dac0294c08af7840c97db35 (diff)
downloademacs-65171e3a7c32453cf448de5d05a23e67402874fd.tar.gz
emacs-65171e3a7c32453cf448de5d05a23e67402874fd.zip
*** empty log message ***
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure811
-rw-r--r--src/ChangeLog7
3 files changed, 438 insertions, 384 deletions
diff --git a/ChangeLog b/ChangeLog
index ad1cfe15557..a519c55412a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12000-07-05 Dave Love <fx@gnu.org>
2
3 * configure.in: Use AC_HEADER_SYS_WAIT.
4
12000-07-05 Gerd Moellmann <gerd@gnu.org> 52000-07-05 Gerd Moellmann <gerd@gnu.org>
2 6
3 * make-dist: Check DONTCOMPILE in lisp/Makefile.in instead of 7 * make-dist: Check DONTCOMPILE in lisp/Makefile.in instead of
diff --git a/configure b/configure
index 774c6f5ad41..9c8f12b2f6b 100755
--- a/configure
+++ b/configure
@@ -1073,7 +1073,8 @@ case "${canonical}" in
1073 machine=ns16000 opsys=umax 1073 machine=ns16000 opsys=umax
1074 ;; 1074 ;;
1075 1075
1076 ## The GEC 93 - apparently, this port isn't really finished yet. 1076 ## The GEC 63 - apparently, this port isn't really finished yet.
1077 # I'm sure we finished off the last of the machines, though. -- fx
1077 1078
1078 ## Gould Power Node and NP1 1079 ## Gould Power Node and NP1
1079 pn-gould-bsd4.2* ) 1080 pn-gould-bsd4.2* )
@@ -1723,7 +1724,7 @@ case ${with_gcc} in
1723 * ) # Extract the first word of "gcc", so it can be a program name with args. 1724 * ) # Extract the first word of "gcc", so it can be a program name with args.
1724set dummy gcc; ac_word=$2 1725set dummy gcc; ac_word=$2
1725echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1726echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1726echo "configure:1727: checking for $ac_word" >&5 1727echo "configure:1728: checking for $ac_word" >&5
1727if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1728if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1728 echo $ac_n "(cached) $ac_c" 1>&6 1729 echo $ac_n "(cached) $ac_c" 1>&6
1729else 1730else
@@ -1753,7 +1754,7 @@ if test -z "$CC"; then
1753 # Extract the first word of "cc", so it can be a program name with args. 1754 # Extract the first word of "cc", so it can be a program name with args.
1754set dummy cc; ac_word=$2 1755set dummy cc; ac_word=$2
1755echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1756echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1756echo "configure:1757: checking for $ac_word" >&5 1757echo "configure:1758: checking for $ac_word" >&5
1757if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1758if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1758 echo $ac_n "(cached) $ac_c" 1>&6 1759 echo $ac_n "(cached) $ac_c" 1>&6
1759else 1760else
@@ -1804,7 +1805,7 @@ fi
1804 # Extract the first word of "cl", so it can be a program name with args. 1805 # Extract the first word of "cl", so it can be a program name with args.
1805set dummy cl; ac_word=$2 1806set dummy cl; ac_word=$2
1806echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1807echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1807echo "configure:1808: checking for $ac_word" >&5 1808echo "configure:1809: checking for $ac_word" >&5
1808if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1809if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1809 echo $ac_n "(cached) $ac_c" 1>&6 1810 echo $ac_n "(cached) $ac_c" 1>&6
1810else 1811else
@@ -1836,7 +1837,7 @@ fi
1836fi 1837fi
1837 1838
1838echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1839echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1839echo "configure:1840: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1840echo "configure:1841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1840 1841
1841ac_ext=c 1842ac_ext=c
1842# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1843# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1847,12 +1848,12 @@ cross_compiling=$ac_cv_prog_cc_cross
1847 1848
1848cat > conftest.$ac_ext << EOF 1849cat > conftest.$ac_ext << EOF
1849 1850
1850#line 1851 "configure" 1851#line 1852 "configure"
1851#include "confdefs.h" 1852#include "confdefs.h"
1852 1853
1853main(){return(0);} 1854main(){return(0);}
1854EOF 1855EOF
1855if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1856if { (eval echo configure:1857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1856 ac_cv_prog_cc_works=yes 1857 ac_cv_prog_cc_works=yes
1857 # If we can't run a trivial program, we are probably using a cross compiler. 1858 # If we can't run a trivial program, we are probably using a cross compiler.
1858 if (./conftest; exit) 2>/dev/null; then 1859 if (./conftest; exit) 2>/dev/null; then
@@ -1878,12 +1879,12 @@ if test $ac_cv_prog_cc_works = no; then
1878 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1879 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1879fi 1880fi
1880echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1881echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1881echo "configure:1882: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1882echo "configure:1883: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1882echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1883echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1883cross_compiling=$ac_cv_prog_cc_cross 1884cross_compiling=$ac_cv_prog_cc_cross
1884 1885
1885echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1886echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1886echo "configure:1887: checking whether we are using GNU C" >&5 1887echo "configure:1888: checking whether we are using GNU C" >&5
1887if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1888if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1888 echo $ac_n "(cached) $ac_c" 1>&6 1889 echo $ac_n "(cached) $ac_c" 1>&6
1889else 1890else
@@ -1892,7 +1893,7 @@ else
1892 yes; 1893 yes;
1893#endif 1894#endif
1894EOF 1895EOF
1895if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1896if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1896 ac_cv_prog_gcc=yes 1897 ac_cv_prog_gcc=yes
1897else 1898else
1898 ac_cv_prog_gcc=no 1899 ac_cv_prog_gcc=no
@@ -1911,7 +1912,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
1911ac_save_CFLAGS="$CFLAGS" 1912ac_save_CFLAGS="$CFLAGS"
1912CFLAGS= 1913CFLAGS=
1913echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1914echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1914echo "configure:1915: checking whether ${CC-cc} accepts -g" >&5 1915echo "configure:1916: checking whether ${CC-cc} accepts -g" >&5
1915if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1916if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1916 echo $ac_n "(cached) $ac_c" 1>&6 1917 echo $ac_n "(cached) $ac_c" 1>&6
1917else 1918else
@@ -1991,7 +1992,7 @@ fi
1991#### #undef clause to src/config.h.in for autoconf to modify. 1992#### #undef clause to src/config.h.in for autoconf to modify.
1992 1993
1993echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1994echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1994echo "configure:1995: checking whether ln -s works" >&5 1995echo "configure:1996: checking whether ln -s works" >&5
1995if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1996if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1996 echo $ac_n "(cached) $ac_c" 1>&6 1997 echo $ac_n "(cached) $ac_c" 1>&6
1997else 1998else
@@ -2012,7 +2013,7 @@ else
2012fi 2013fi
2013 2014
2014echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2015echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2015echo "configure:2016: checking how to run the C preprocessor" >&5 2016echo "configure:2017: checking how to run the C preprocessor" >&5
2016# On Suns, sometimes $CPP names a directory. 2017# On Suns, sometimes $CPP names a directory.
2017if test -n "$CPP" && test -d "$CPP"; then 2018if test -n "$CPP" && test -d "$CPP"; then
2018 CPP= 2019 CPP=
@@ -2027,13 +2028,13 @@ else
2027 # On the NeXT, cc -E runs the code through the compiler's parser, 2028 # On the NeXT, cc -E runs the code through the compiler's parser,
2028 # not just through cpp. 2029 # not just through cpp.
2029 cat > conftest.$ac_ext <<EOF 2030 cat > conftest.$ac_ext <<EOF
2030#line 2031 "configure" 2031#line 2032 "configure"
2031#include "confdefs.h" 2032#include "confdefs.h"
2032#include <assert.h> 2033#include <assert.h>
2033Syntax Error 2034Syntax Error
2034EOF 2035EOF
2035ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2036ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2036{ (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2037{ (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2037ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2038ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2038if test -z "$ac_err"; then 2039if test -z "$ac_err"; then
2039 : 2040 :
@@ -2044,13 +2045,13 @@ else
2044 rm -rf conftest* 2045 rm -rf conftest*
2045 CPP="${CC-cc} -E -traditional-cpp" 2046 CPP="${CC-cc} -E -traditional-cpp"
2046 cat > conftest.$ac_ext <<EOF 2047 cat > conftest.$ac_ext <<EOF
2047#line 2048 "configure" 2048#line 2049 "configure"
2048#include "confdefs.h" 2049#include "confdefs.h"
2049#include <assert.h> 2050#include <assert.h>
2050Syntax Error 2051Syntax Error
2051EOF 2052EOF
2052ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2053ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2053{ (eval echo configure:2054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2054{ (eval echo configure:2055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2054ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2055ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2055if test -z "$ac_err"; then 2056if test -z "$ac_err"; then
2056 : 2057 :
@@ -2061,13 +2062,13 @@ else
2061 rm -rf conftest* 2062 rm -rf conftest*
2062 CPP="${CC-cc} -nologo -E" 2063 CPP="${CC-cc} -nologo -E"
2063 cat > conftest.$ac_ext <<EOF 2064 cat > conftest.$ac_ext <<EOF
2064#line 2065 "configure" 2065#line 2066 "configure"
2065#include "confdefs.h" 2066#include "confdefs.h"
2066#include <assert.h> 2067#include <assert.h>
2067Syntax Error 2068Syntax Error
2068EOF 2069EOF
2069ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2070ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2070{ (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2071{ (eval echo configure:2072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2071ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2072ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2072if test -z "$ac_err"; then 2073if test -z "$ac_err"; then
2073 : 2074 :
@@ -2103,7 +2104,7 @@ echo "$ac_t""$CPP" 1>&6
2103# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2104# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2104# ./install, which can be erroneously created by make from ./install.sh. 2105# ./install, which can be erroneously created by make from ./install.sh.
2105echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2106echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2106echo "configure:2107: checking for a BSD compatible install" >&5 2107echo "configure:2108: checking for a BSD compatible install" >&5
2107if test -z "$INSTALL"; then 2108if test -z "$INSTALL"; then
2108if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2109if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2109 echo $ac_n "(cached) $ac_c" 1>&6 2110 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2160,7 +2161,7 @@ do
2160# Extract the first word of "$ac_prog", so it can be a program name with args. 2161# Extract the first word of "$ac_prog", so it can be a program name with args.
2161set dummy $ac_prog; ac_word=$2 2162set dummy $ac_prog; ac_word=$2
2162echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2163echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2163echo "configure:2164: checking for $ac_word" >&5 2164echo "configure:2165: checking for $ac_word" >&5
2164if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2165if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2165 echo $ac_n "(cached) $ac_c" 1>&6 2166 echo $ac_n "(cached) $ac_c" 1>&6
2166else 2167else
@@ -2194,7 +2195,7 @@ if test "x$RANLIB" = x; then
2194 # Extract the first word of "ranlib", so it can be a program name with args. 2195 # Extract the first word of "ranlib", so it can be a program name with args.
2195set dummy ranlib; ac_word=$2 2196set dummy ranlib; ac_word=$2
2196echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2197echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2197echo "configure:2198: checking for $ac_word" >&5 2198echo "configure:2199: checking for $ac_word" >&5
2198if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2199if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2199 echo $ac_n "(cached) $ac_c" 1>&6 2200 echo $ac_n "(cached) $ac_c" 1>&6
2200else 2201else
@@ -2224,9 +2225,9 @@ fi
2224fi 2225fi
2225 2226
2226echo $ac_n "checking for AIX""... $ac_c" 1>&6 2227echo $ac_n "checking for AIX""... $ac_c" 1>&6
2227echo "configure:2228: checking for AIX" >&5 2228echo "configure:2229: checking for AIX" >&5
2228cat > conftest.$ac_ext <<EOF 2229cat > conftest.$ac_ext <<EOF
2229#line 2230 "configure" 2230#line 2231 "configure"
2230#include "confdefs.h" 2231#include "confdefs.h"
2231#ifdef _AIX 2232#ifdef _AIX
2232 yes 2233 yes
@@ -2253,17 +2254,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2253do 2254do
2254ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2255ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2255echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2256echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2256echo "configure:2257: checking for $ac_hdr" >&5 2257echo "configure:2258: checking for $ac_hdr" >&5
2257if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2258if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2258 echo $ac_n "(cached) $ac_c" 1>&6 2259 echo $ac_n "(cached) $ac_c" 1>&6
2259else 2260else
2260 cat > conftest.$ac_ext <<EOF 2261 cat > conftest.$ac_ext <<EOF
2261#line 2262 "configure" 2262#line 2263 "configure"
2262#include "confdefs.h" 2263#include "confdefs.h"
2263#include <$ac_hdr> 2264#include <$ac_hdr>
2264EOF 2265EOF
2265ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2266ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2266{ (eval echo configure:2267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2267{ (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2267ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2268ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2268if test -z "$ac_err"; then 2269if test -z "$ac_err"; then
2269 rm -rf conftest* 2270 rm -rf conftest*
@@ -2296,17 +2297,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2296do 2297do
2297ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2298ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2298echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2299echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2299echo "configure:2300: checking for $ac_hdr" >&5 2300echo "configure:2301: checking for $ac_hdr" >&5
2300if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2301if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2301 echo $ac_n "(cached) $ac_c" 1>&6 2302 echo $ac_n "(cached) $ac_c" 1>&6
2302else 2303else
2303 cat > conftest.$ac_ext <<EOF 2304 cat > conftest.$ac_ext <<EOF
2304#line 2305 "configure" 2305#line 2306 "configure"
2305#include "confdefs.h" 2306#include "confdefs.h"
2306#include <$ac_hdr> 2307#include <$ac_hdr>
2307EOF 2308EOF
2308ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2309ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2309{ (eval echo configure:2310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2310{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2310ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2311ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2311if test -z "$ac_err"; then 2312if test -z "$ac_err"; then
2312 rm -rf conftest* 2313 rm -rf conftest*
@@ -2333,12 +2334,12 @@ fi
2333done 2334done
2334 2335
2335echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2336echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2336echo "configure:2337: checking for ANSI C header files" >&5 2337echo "configure:2338: checking for ANSI C header files" >&5
2337if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2338if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2338 echo $ac_n "(cached) $ac_c" 1>&6 2339 echo $ac_n "(cached) $ac_c" 1>&6
2339else 2340else
2340 cat > conftest.$ac_ext <<EOF 2341 cat > conftest.$ac_ext <<EOF
2341#line 2342 "configure" 2342#line 2343 "configure"
2342#include "confdefs.h" 2343#include "confdefs.h"
2343#include <stdlib.h> 2344#include <stdlib.h>
2344#include <stdarg.h> 2345#include <stdarg.h>
@@ -2346,7 +2347,7 @@ else
2346#include <float.h> 2347#include <float.h>
2347EOF 2348EOF
2348ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2349ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2349{ (eval echo configure:2350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2350{ (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2350ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2351ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2351if test -z "$ac_err"; then 2352if test -z "$ac_err"; then
2352 rm -rf conftest* 2353 rm -rf conftest*
@@ -2363,7 +2364,7 @@ rm -f conftest*
2363if test $ac_cv_header_stdc = yes; then 2364if test $ac_cv_header_stdc = yes; then
2364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2365cat > conftest.$ac_ext <<EOF 2366cat > conftest.$ac_ext <<EOF
2366#line 2367 "configure" 2367#line 2368 "configure"
2367#include "confdefs.h" 2368#include "confdefs.h"
2368#include <string.h> 2369#include <string.h>
2369EOF 2370EOF
@@ -2381,7 +2382,7 @@ fi
2381if test $ac_cv_header_stdc = yes; then 2382if test $ac_cv_header_stdc = yes; then
2382 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2383cat > conftest.$ac_ext <<EOF 2384cat > conftest.$ac_ext <<EOF
2384#line 2385 "configure" 2385#line 2386 "configure"
2385#include "confdefs.h" 2386#include "confdefs.h"
2386#include <stdlib.h> 2387#include <stdlib.h>
2387EOF 2388EOF
@@ -2402,7 +2403,7 @@ if test "$cross_compiling" = yes; then
2402 : 2403 :
2403else 2404else
2404 cat > conftest.$ac_ext <<EOF 2405 cat > conftest.$ac_ext <<EOF
2405#line 2406 "configure" 2406#line 2407 "configure"
2406#include "confdefs.h" 2407#include "confdefs.h"
2407#include <ctype.h> 2408#include <ctype.h>
2408#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2409#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2413,7 +2414,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2413exit (0); } 2414exit (0); }
2414 2415
2415EOF 2416EOF
2416if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2417if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2417then 2418then
2418 : 2419 :
2419else 2420else
@@ -2437,12 +2438,12 @@ EOF
2437fi 2438fi
2438 2439
2439echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2440echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2440echo "configure:2441: checking whether time.h and sys/time.h may both be included" >&5 2441echo "configure:2442: checking whether time.h and sys/time.h may both be included" >&5
2441if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2442if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2442 echo $ac_n "(cached) $ac_c" 1>&6 2443 echo $ac_n "(cached) $ac_c" 1>&6
2443else 2444else
2444 cat > conftest.$ac_ext <<EOF 2445 cat > conftest.$ac_ext <<EOF
2445#line 2446 "configure" 2446#line 2447 "configure"
2446#include "confdefs.h" 2447#include "confdefs.h"
2447#include <sys/types.h> 2448#include <sys/types.h>
2448#include <sys/time.h> 2449#include <sys/time.h>
@@ -2451,7 +2452,7 @@ int main() {
2451struct tm *tp; 2452struct tm *tp;
2452; return 0; } 2453; return 0; }
2453EOF 2454EOF
2454if { (eval echo configure:2455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2455if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2455 rm -rf conftest* 2456 rm -rf conftest*
2456 ac_cv_header_time=yes 2457 ac_cv_header_time=yes
2457else 2458else
@@ -2472,12 +2473,12 @@ EOF
2472fi 2473fi
2473 2474
2474echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2475echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2475echo "configure:2476: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2476echo "configure:2477: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2476if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2477if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2477 echo $ac_n "(cached) $ac_c" 1>&6 2478 echo $ac_n "(cached) $ac_c" 1>&6
2478else 2479else
2479 cat > conftest.$ac_ext <<EOF 2480 cat > conftest.$ac_ext <<EOF
2480#line 2481 "configure" 2481#line 2482 "configure"
2481#include "confdefs.h" 2482#include "confdefs.h"
2482#include <sys/types.h> 2483#include <sys/types.h>
2483#include <signal.h> 2484#include <signal.h>
@@ -2489,7 +2490,7 @@ int main() {
2489char *msg = *(sys_siglist + 1); 2490char *msg = *(sys_siglist + 1);
2490; return 0; } 2491; return 0; }
2491EOF 2492EOF
2492if { (eval echo configure:2493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2493if { (eval echo configure:2494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2493 rm -rf conftest* 2494 rm -rf conftest*
2494 ac_cv_decl_sys_siglist=yes 2495 ac_cv_decl_sys_siglist=yes
2495else 2496else
@@ -2509,14 +2510,56 @@ EOF
2509 2510
2510fi 2511fi
2511 2512
2513echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2514echo "configure:2515: checking for sys/wait.h that is POSIX.1 compatible" >&5
2515if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2516 echo $ac_n "(cached) $ac_c" 1>&6
2517else
2518 cat > conftest.$ac_ext <<EOF
2519#line 2520 "configure"
2520#include "confdefs.h"
2521#include <sys/types.h>
2522#include <sys/wait.h>
2523#ifndef WEXITSTATUS
2524#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2525#endif
2526#ifndef WIFEXITED
2527#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2528#endif
2529int main() {
2530int s;
2531wait (&s);
2532s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2533; return 0; }
2534EOF
2535if { (eval echo configure:2536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2536 rm -rf conftest*
2537 ac_cv_header_sys_wait_h=yes
2538else
2539 echo "configure: failed program was:" >&5
2540 cat conftest.$ac_ext >&5
2541 rm -rf conftest*
2542 ac_cv_header_sys_wait_h=no
2543fi
2544rm -f conftest*
2545fi
2546
2547echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2548if test $ac_cv_header_sys_wait_h = yes; then
2549 cat >> confdefs.h <<\EOF
2550#define HAVE_SYS_WAIT_H 1
2551EOF
2552
2553fi
2554
2512 2555
2513echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2556echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2514echo "configure:2515: checking for struct utimbuf" >&5 2557echo "configure:2558: checking for struct utimbuf" >&5
2515if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2558if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2516 echo $ac_n "(cached) $ac_c" 1>&6 2559 echo $ac_n "(cached) $ac_c" 1>&6
2517else 2560else
2518 cat > conftest.$ac_ext <<EOF 2561 cat > conftest.$ac_ext <<EOF
2519#line 2520 "configure" 2562#line 2563 "configure"
2520#include "confdefs.h" 2563#include "confdefs.h"
2521#ifdef TIME_WITH_SYS_TIME 2564#ifdef TIME_WITH_SYS_TIME
2522#include <sys/time.h> 2565#include <sys/time.h>
@@ -2535,7 +2578,7 @@ int main() {
2535static struct utimbuf x; x.actime = x.modtime; 2578static struct utimbuf x; x.actime = x.modtime;
2536; return 0; } 2579; return 0; }
2537EOF 2580EOF
2538if { (eval echo configure:2539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2581if { (eval echo configure:2582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2539 rm -rf conftest* 2582 rm -rf conftest*
2540 emacs_cv_struct_utimbuf=yes 2583 emacs_cv_struct_utimbuf=yes
2541else 2584else
@@ -2556,12 +2599,12 @@ EOF
2556fi 2599fi
2557 2600
2558echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2601echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2559echo "configure:2560: checking return type of signal handlers" >&5 2602echo "configure:2603: checking return type of signal handlers" >&5
2560if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2603if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2561 echo $ac_n "(cached) $ac_c" 1>&6 2604 echo $ac_n "(cached) $ac_c" 1>&6
2562else 2605else
2563 cat > conftest.$ac_ext <<EOF 2606 cat > conftest.$ac_ext <<EOF
2564#line 2565 "configure" 2607#line 2608 "configure"
2565#include "confdefs.h" 2608#include "confdefs.h"
2566#include <sys/types.h> 2609#include <sys/types.h>
2567#include <signal.h> 2610#include <signal.h>
@@ -2578,7 +2621,7 @@ int main() {
2578int i; 2621int i;
2579; return 0; } 2622; return 0; }
2580EOF 2623EOF
2581if { (eval echo configure:2582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2624if { (eval echo configure:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2582 rm -rf conftest* 2625 rm -rf conftest*
2583 ac_cv_type_signal=void 2626 ac_cv_type_signal=void
2584else 2627else
@@ -2598,19 +2641,19 @@ EOF
2598 2641
2599 2642
2600echo $ac_n "checking for speed_t""... $ac_c" 1>&6 2643echo $ac_n "checking for speed_t""... $ac_c" 1>&6
2601echo "configure:2602: checking for speed_t" >&5 2644echo "configure:2645: checking for speed_t" >&5
2602if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 2645if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
2603 echo $ac_n "(cached) $ac_c" 1>&6 2646 echo $ac_n "(cached) $ac_c" 1>&6
2604else 2647else
2605 cat > conftest.$ac_ext <<EOF 2648 cat > conftest.$ac_ext <<EOF
2606#line 2607 "configure" 2649#line 2650 "configure"
2607#include "confdefs.h" 2650#include "confdefs.h"
2608#include <termios.h> 2651#include <termios.h>
2609int main() { 2652int main() {
2610speed_t x = 1; 2653speed_t x = 1;
2611; return 0; } 2654; return 0; }
2612EOF 2655EOF
2613if { (eval echo configure:2614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2656if { (eval echo configure:2657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2614 rm -rf conftest* 2657 rm -rf conftest*
2615 emacs_cv_speed_t=yes 2658 emacs_cv_speed_t=yes
2616else 2659else
@@ -2629,12 +2672,12 @@ EOF
2629fi 2672fi
2630 2673
2631echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2674echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2632echo "configure:2633: checking for struct timeval" >&5 2675echo "configure:2676: checking for struct timeval" >&5
2633if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2676if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2634 echo $ac_n "(cached) $ac_c" 1>&6 2677 echo $ac_n "(cached) $ac_c" 1>&6
2635else 2678else
2636 cat > conftest.$ac_ext <<EOF 2679 cat > conftest.$ac_ext <<EOF
2637#line 2638 "configure" 2680#line 2681 "configure"
2638#include "confdefs.h" 2681#include "confdefs.h"
2639#ifdef TIME_WITH_SYS_TIME 2682#ifdef TIME_WITH_SYS_TIME
2640#include <sys/time.h> 2683#include <sys/time.h>
@@ -2650,7 +2693,7 @@ int main() {
2650static struct timeval x; x.tv_sec = x.tv_usec; 2693static struct timeval x; x.tv_sec = x.tv_usec;
2651; return 0; } 2694; return 0; }
2652EOF 2695EOF
2653if { (eval echo configure:2654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2696if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2654 rm -rf conftest* 2697 rm -rf conftest*
2655 emacs_cv_struct_timeval=yes 2698 emacs_cv_struct_timeval=yes
2656else 2699else
@@ -2672,19 +2715,19 @@ EOF
2672fi 2715fi
2673 2716
2674echo $ac_n "checking for struct exception""... $ac_c" 1>&6 2717echo $ac_n "checking for struct exception""... $ac_c" 1>&6
2675echo "configure:2676: checking for struct exception" >&5 2718echo "configure:2719: checking for struct exception" >&5
2676if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then 2719if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
2677 echo $ac_n "(cached) $ac_c" 1>&6 2720 echo $ac_n "(cached) $ac_c" 1>&6
2678else 2721else
2679 cat > conftest.$ac_ext <<EOF 2722 cat > conftest.$ac_ext <<EOF
2680#line 2681 "configure" 2723#line 2724 "configure"
2681#include "confdefs.h" 2724#include "confdefs.h"
2682#include <math.h> 2725#include <math.h>
2683int main() { 2726int main() {
2684static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 2727static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
2685; return 0; } 2728; return 0; }
2686EOF 2729EOF
2687if { (eval echo configure:2688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2730if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2688 rm -rf conftest* 2731 rm -rf conftest*
2689 emacs_cv_struct_exception=yes 2732 emacs_cv_struct_exception=yes
2690else 2733else
@@ -2706,12 +2749,12 @@ EOF
2706fi 2749fi
2707 2750
2708echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2751echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2709echo "configure:2710: checking whether struct tm is in sys/time.h or time.h" >&5 2752echo "configure:2753: checking whether struct tm is in sys/time.h or time.h" >&5
2710if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2753if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2711 echo $ac_n "(cached) $ac_c" 1>&6 2754 echo $ac_n "(cached) $ac_c" 1>&6
2712else 2755else
2713 cat > conftest.$ac_ext <<EOF 2756 cat > conftest.$ac_ext <<EOF
2714#line 2715 "configure" 2757#line 2758 "configure"
2715#include "confdefs.h" 2758#include "confdefs.h"
2716#include <sys/types.h> 2759#include <sys/types.h>
2717#include <time.h> 2760#include <time.h>
@@ -2719,7 +2762,7 @@ int main() {
2719struct tm *tp; tp->tm_sec; 2762struct tm *tp; tp->tm_sec;
2720; return 0; } 2763; return 0; }
2721EOF 2764EOF
2722if { (eval echo configure:2723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2765if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2723 rm -rf conftest* 2766 rm -rf conftest*
2724 ac_cv_struct_tm=time.h 2767 ac_cv_struct_tm=time.h
2725else 2768else
@@ -2740,12 +2783,12 @@ EOF
2740fi 2783fi
2741 2784
2742echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2785echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2743echo "configure:2744: checking for tm_zone in struct tm" >&5 2786echo "configure:2787: checking for tm_zone in struct tm" >&5
2744if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2787if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2745 echo $ac_n "(cached) $ac_c" 1>&6 2788 echo $ac_n "(cached) $ac_c" 1>&6
2746else 2789else
2747 cat > conftest.$ac_ext <<EOF 2790 cat > conftest.$ac_ext <<EOF
2748#line 2749 "configure" 2791#line 2792 "configure"
2749#include "confdefs.h" 2792#include "confdefs.h"
2750#include <sys/types.h> 2793#include <sys/types.h>
2751#include <$ac_cv_struct_tm> 2794#include <$ac_cv_struct_tm>
@@ -2753,7 +2796,7 @@ int main() {
2753struct tm tm; tm.tm_zone; 2796struct tm tm; tm.tm_zone;
2754; return 0; } 2797; return 0; }
2755EOF 2798EOF
2756if { (eval echo configure:2757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2799if { (eval echo configure:2800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2757 rm -rf conftest* 2800 rm -rf conftest*
2758 ac_cv_struct_tm_zone=yes 2801 ac_cv_struct_tm_zone=yes
2759else 2802else
@@ -2773,12 +2816,12 @@ EOF
2773 2816
2774else 2817else
2775 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2818 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2776echo "configure:2777: checking for tzname" >&5 2819echo "configure:2820: checking for tzname" >&5
2777if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2820if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2778 echo $ac_n "(cached) $ac_c" 1>&6 2821 echo $ac_n "(cached) $ac_c" 1>&6
2779else 2822else
2780 cat > conftest.$ac_ext <<EOF 2823 cat > conftest.$ac_ext <<EOF
2781#line 2782 "configure" 2824#line 2825 "configure"
2782#include "confdefs.h" 2825#include "confdefs.h"
2783#include <time.h> 2826#include <time.h>
2784#ifndef tzname /* For SGI. */ 2827#ifndef tzname /* For SGI. */
@@ -2788,7 +2831,7 @@ int main() {
2788atoi(*tzname); 2831atoi(*tzname);
2789; return 0; } 2832; return 0; }
2790EOF 2833EOF
2791if { (eval echo configure:2792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2834if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2792 rm -rf conftest* 2835 rm -rf conftest*
2793 ac_cv_var_tzname=yes 2836 ac_cv_var_tzname=yes
2794else 2837else
@@ -2810,19 +2853,19 @@ EOF
2810fi 2853fi
2811 2854
2812echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2855echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2813echo "configure:2814: checking for tm_gmtoff in struct tm" >&5 2856echo "configure:2857: checking for tm_gmtoff in struct tm" >&5
2814if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2857if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2815 echo $ac_n "(cached) $ac_c" 1>&6 2858 echo $ac_n "(cached) $ac_c" 1>&6
2816else 2859else
2817 cat > conftest.$ac_ext <<EOF 2860 cat > conftest.$ac_ext <<EOF
2818#line 2819 "configure" 2861#line 2862 "configure"
2819#include "confdefs.h" 2862#include "confdefs.h"
2820#include <time.h> 2863#include <time.h>
2821int main() { 2864int main() {
2822struct tm t; t.tm_gmtoff = 0 2865struct tm t; t.tm_gmtoff = 0
2823; return 0; } 2866; return 0; }
2824EOF 2867EOF
2825if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2868if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2826 rm -rf conftest* 2869 rm -rf conftest*
2827 emacs_cv_tm_gmtoff=yes 2870 emacs_cv_tm_gmtoff=yes
2828else 2871else
@@ -2844,7 +2887,7 @@ fi
2844 2887
2845 2888
2846echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2889echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2847echo "configure:2848: checking for ${CC-cc} option to accept ANSI C" >&5 2890echo "configure:2891: checking for ${CC-cc} option to accept ANSI C" >&5
2848if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2891if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2849 echo $ac_n "(cached) $ac_c" 1>&6 2892 echo $ac_n "(cached) $ac_c" 1>&6
2850else 2893else
@@ -2861,7 +2904,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2861do 2904do
2862 CC="$ac_save_CC $ac_arg" 2905 CC="$ac_save_CC $ac_arg"
2863 cat > conftest.$ac_ext <<EOF 2906 cat > conftest.$ac_ext <<EOF
2864#line 2865 "configure" 2907#line 2908 "configure"
2865#include "confdefs.h" 2908#include "confdefs.h"
2866#include <stdarg.h> 2909#include <stdarg.h>
2867#include <stdio.h> 2910#include <stdio.h>
@@ -2895,7 +2938,7 @@ int main() {
2895return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2938return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2896; return 0; } 2939; return 0; }
2897EOF 2940EOF
2898if { (eval echo configure:2899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2941if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2899 rm -rf conftest* 2942 rm -rf conftest*
2900 ac_cv_prog_cc_stdc="$ac_arg"; break 2943 ac_cv_prog_cc_stdc="$ac_arg"; break
2901else 2944else
@@ -2917,7 +2960,7 @@ case "x$ac_cv_prog_cc_stdc" in
2917esac 2960esac
2918 2961
2919echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 2962echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2920echo "configure:2921: checking for function prototypes" >&5 2963echo "configure:2964: checking for function prototypes" >&5
2921if test "$ac_cv_prog_cc_stdc" != no; then 2964if test "$ac_cv_prog_cc_stdc" != no; then
2922 echo "$ac_t""yes" 1>&6 2965 echo "$ac_t""yes" 1>&6
2923 cat >> confdefs.h <<\EOF 2966 cat >> confdefs.h <<\EOF
@@ -2929,12 +2972,12 @@ else
2929fi 2972fi
2930 2973
2931echo $ac_n "checking for working volatile""... $ac_c" 1>&6 2974echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2932echo "configure:2933: checking for working volatile" >&5 2975echo "configure:2976: checking for working volatile" >&5
2933if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 2976if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2934 echo $ac_n "(cached) $ac_c" 1>&6 2977 echo $ac_n "(cached) $ac_c" 1>&6
2935else 2978else
2936 cat > conftest.$ac_ext <<EOF 2979 cat > conftest.$ac_ext <<EOF
2937#line 2938 "configure" 2980#line 2981 "configure"
2938#include "confdefs.h" 2981#include "confdefs.h"
2939 2982
2940int main() { 2983int main() {
@@ -2943,7 +2986,7 @@ volatile int x;
2943int * volatile y; 2986int * volatile y;
2944; return 0; } 2987; return 0; }
2945EOF 2988EOF
2946if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2989if { (eval echo configure:2990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2947 rm -rf conftest* 2990 rm -rf conftest*
2948 ac_cv_c_volatile=yes 2991 ac_cv_c_volatile=yes
2949else 2992else
@@ -2964,18 +3007,18 @@ EOF
2964fi 3007fi
2965 3008
2966echo $ac_n "checking for working const""... $ac_c" 1>&6 3009echo $ac_n "checking for working const""... $ac_c" 1>&6
2967echo "configure:2968: checking for working const" >&5 3010echo "configure:3011: checking for working const" >&5
2968if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3011if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2969 echo $ac_n "(cached) $ac_c" 1>&6 3012 echo $ac_n "(cached) $ac_c" 1>&6
2970else 3013else
2971 cat > conftest.$ac_ext <<EOF 3014 cat > conftest.$ac_ext <<EOF
2972#line 2973 "configure" 3015#line 3016 "configure"
2973#include "confdefs.h" 3016#include "confdefs.h"
2974 3017
2975int main() { 3018int main() {
2976 3019
2977/* Ultrix mips cc rejects this. */ 3020/* Ultrix mips cc rejects this. */
2978typedef int charset[2]; const charset x; 3021typedef int charset[2]; const charset x = {0,0};
2979/* SunOS 4.1.1 cc rejects this. */ 3022/* SunOS 4.1.1 cc rejects this. */
2980char const *const *ccp; 3023char const *const *ccp;
2981char **p; 3024char **p;
@@ -3018,7 +3061,7 @@ ccp = (char const *const *) p;
3018 3061
3019; return 0; } 3062; return 0; }
3020EOF 3063EOF
3021if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3064if { (eval echo configure:3065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3022 rm -rf conftest* 3065 rm -rf conftest*
3023 ac_cv_c_const=yes 3066 ac_cv_c_const=yes
3024else 3067else
@@ -3039,19 +3082,19 @@ EOF
3039fi 3082fi
3040 3083
3041echo $ac_n "checking for void * support""... $ac_c" 1>&6 3084echo $ac_n "checking for void * support""... $ac_c" 1>&6
3042echo "configure:3043: checking for void * support" >&5 3085echo "configure:3086: checking for void * support" >&5
3043if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3086if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
3044 echo $ac_n "(cached) $ac_c" 1>&6 3087 echo $ac_n "(cached) $ac_c" 1>&6
3045else 3088else
3046 cat > conftest.$ac_ext <<EOF 3089 cat > conftest.$ac_ext <<EOF
3047#line 3048 "configure" 3090#line 3091 "configure"
3048#include "confdefs.h" 3091#include "confdefs.h"
3049 3092
3050int main() { 3093int main() {
3051void * foo; 3094void * foo;
3052; return 0; } 3095; return 0; }
3053EOF 3096EOF
3054if { (eval echo configure:3055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3097if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3055 rm -rf conftest* 3098 rm -rf conftest*
3056 emacs_cv_void_star=yes 3099 emacs_cv_void_star=yes
3057else 3100else
@@ -3077,7 +3120,7 @@ EOF
3077fi 3120fi
3078 3121
3079echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3122echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3080echo "configure:3081: checking whether ${MAKE-make} sets \${MAKE}" >&5 3123echo "configure:3124: checking whether ${MAKE-make} sets \${MAKE}" >&5
3081set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3124set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3082if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3125if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3083 echo $ac_n "(cached) $ac_c" 1>&6 3126 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3105,7 +3148,7 @@ fi
3105 3148
3106 3149
3107echo $ac_n "checking for long file names""... $ac_c" 1>&6 3150echo $ac_n "checking for long file names""... $ac_c" 1>&6
3108echo "configure:3109: checking for long file names" >&5 3151echo "configure:3152: checking for long file names" >&5
3109if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3152if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3110 echo $ac_n "(cached) $ac_c" 1>&6 3153 echo $ac_n "(cached) $ac_c" 1>&6
3111else 3154else
@@ -3156,7 +3199,7 @@ fi
3156# Uses ac_ vars as temps to allow command line to override cache and checks. 3199# Uses ac_ vars as temps to allow command line to override cache and checks.
3157# --without-x overrides everything else, but does not touch the cache. 3200# --without-x overrides everything else, but does not touch the cache.
3158echo $ac_n "checking for X""... $ac_c" 1>&6 3201echo $ac_n "checking for X""... $ac_c" 1>&6
3159echo "configure:3160: checking for X" >&5 3202echo "configure:3203: checking for X" >&5
3160 3203
3161# Check whether --with-x or --without-x was given. 3204# Check whether --with-x or --without-x was given.
3162if test "${with_x+set}" = set; then 3205if test "${with_x+set}" = set; then
@@ -3218,12 +3261,12 @@ if test "$ac_x_includes" = NO; then
3218 3261
3219 # First, try using that file with no special directory specified. 3262 # First, try using that file with no special directory specified.
3220cat > conftest.$ac_ext <<EOF 3263cat > conftest.$ac_ext <<EOF
3221#line 3222 "configure" 3264#line 3265 "configure"
3222#include "confdefs.h" 3265#include "confdefs.h"
3223#include <$x_direct_test_include> 3266#include <$x_direct_test_include>
3224EOF 3267EOF
3225ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3268ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3226{ (eval echo configure:3227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3269{ (eval echo configure:3270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3227ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3270ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3228if test -z "$ac_err"; then 3271if test -z "$ac_err"; then
3229 rm -rf conftest* 3272 rm -rf conftest*
@@ -3292,14 +3335,14 @@ if test "$ac_x_libraries" = NO; then
3292 ac_save_LIBS="$LIBS" 3335 ac_save_LIBS="$LIBS"
3293 LIBS="-l$x_direct_test_library $LIBS" 3336 LIBS="-l$x_direct_test_library $LIBS"
3294cat > conftest.$ac_ext <<EOF 3337cat > conftest.$ac_ext <<EOF
3295#line 3296 "configure" 3338#line 3339 "configure"
3296#include "confdefs.h" 3339#include "confdefs.h"
3297 3340
3298int main() { 3341int main() {
3299${x_direct_test_function}() 3342${x_direct_test_function}()
3300; return 0; } 3343; return 0; }
3301EOF 3344EOF
3302if { (eval echo configure:3303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3345if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3303 rm -rf conftest* 3346 rm -rf conftest*
3304 LIBS="$ac_save_LIBS" 3347 LIBS="$ac_save_LIBS"
3305# We can link X programs with no special library path. 3348# We can link X programs with no special library path.
@@ -3474,7 +3517,7 @@ fi
3474echo "checking the machine- and system-dependent files to find out 3517echo "checking the machine- and system-dependent files to find out
3475 - which libraries the lib-src programs will want, and 3518 - which libraries the lib-src programs will want, and
3476 - whether the GNU malloc routines are usable" 1>&6 3519 - whether the GNU malloc routines are usable" 1>&6
3477echo "configure:3478: checking the machine- and system-dependent files to find out 3520echo "configure:3521: checking the machine- and system-dependent files to find out
3478 - which libraries the lib-src programs will want, and 3521 - which libraries the lib-src programs will want, and
3479 - whether the GNU malloc routines are usable" >&5 3522 - whether the GNU malloc routines are usable" >&5
3480 3523
@@ -3608,12 +3651,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3608GNU_MALLOC=yes 3651GNU_MALLOC=yes
3609doug_lea_malloc=yes 3652doug_lea_malloc=yes
3610echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3653echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3611echo "configure:3612: checking for malloc_get_state" >&5 3654echo "configure:3655: checking for malloc_get_state" >&5
3612if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3655if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3613 echo $ac_n "(cached) $ac_c" 1>&6 3656 echo $ac_n "(cached) $ac_c" 1>&6
3614else 3657else
3615 cat > conftest.$ac_ext <<EOF 3658 cat > conftest.$ac_ext <<EOF
3616#line 3617 "configure" 3659#line 3660 "configure"
3617#include "confdefs.h" 3660#include "confdefs.h"
3618/* System header to define __stub macros and hopefully few prototypes, 3661/* System header to define __stub macros and hopefully few prototypes,
3619 which can conflict with char malloc_get_state(); below. */ 3662 which can conflict with char malloc_get_state(); below. */
@@ -3636,7 +3679,7 @@ malloc_get_state();
3636 3679
3637; return 0; } 3680; return 0; }
3638EOF 3681EOF
3639if { (eval echo configure:3640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3682if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3640 rm -rf conftest* 3683 rm -rf conftest*
3641 eval "ac_cv_func_malloc_get_state=yes" 3684 eval "ac_cv_func_malloc_get_state=yes"
3642else 3685else
@@ -3657,12 +3700,12 @@ doug_lea_malloc=no
3657fi 3700fi
3658 3701
3659echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3702echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3660echo "configure:3661: checking for malloc_set_state" >&5 3703echo "configure:3704: checking for malloc_set_state" >&5
3661if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3704if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3662 echo $ac_n "(cached) $ac_c" 1>&6 3705 echo $ac_n "(cached) $ac_c" 1>&6
3663else 3706else
3664 cat > conftest.$ac_ext <<EOF 3707 cat > conftest.$ac_ext <<EOF
3665#line 3666 "configure" 3708#line 3709 "configure"
3666#include "confdefs.h" 3709#include "confdefs.h"
3667/* System header to define __stub macros and hopefully few prototypes, 3710/* System header to define __stub macros and hopefully few prototypes,
3668 which can conflict with char malloc_set_state(); below. */ 3711 which can conflict with char malloc_set_state(); below. */
@@ -3685,7 +3728,7 @@ malloc_set_state();
3685 3728
3686; return 0; } 3729; return 0; }
3687EOF 3730EOF
3688if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3731if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3689 rm -rf conftest* 3732 rm -rf conftest*
3690 eval "ac_cv_func_malloc_set_state=yes" 3733 eval "ac_cv_func_malloc_set_state=yes"
3691else 3734else
@@ -3706,19 +3749,19 @@ doug_lea_malloc=no
3706fi 3749fi
3707 3750
3708echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3751echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3709echo "configure:3710: checking whether __after_morecore_hook exists" >&5 3752echo "configure:3753: checking whether __after_morecore_hook exists" >&5
3710if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3753if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3711 echo $ac_n "(cached) $ac_c" 1>&6 3754 echo $ac_n "(cached) $ac_c" 1>&6
3712else 3755else
3713 cat > conftest.$ac_ext <<EOF 3756 cat > conftest.$ac_ext <<EOF
3714#line 3715 "configure" 3757#line 3758 "configure"
3715#include "confdefs.h" 3758#include "confdefs.h"
3716extern void (* __after_morecore_hook)(); 3759extern void (* __after_morecore_hook)();
3717int main() { 3760int main() {
3718__after_morecore_hook = 0 3761__after_morecore_hook = 0
3719; return 0; } 3762; return 0; }
3720EOF 3763EOF
3721if { (eval echo configure:3722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3764if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3722 rm -rf conftest* 3765 rm -rf conftest*
3723 emacs_cv_var___after_morecore_hook=yes 3766 emacs_cv_var___after_morecore_hook=yes
3724else 3767else
@@ -3765,7 +3808,7 @@ fi
3765LIBS="$libsrc_libs $LIBS" 3808LIBS="$libsrc_libs $LIBS"
3766 3809
3767echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3810echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3768echo "configure:3769: checking for dnet_ntoa in -ldnet" >&5 3811echo "configure:3812: checking for dnet_ntoa in -ldnet" >&5
3769ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3812ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3770if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3813if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3771 echo $ac_n "(cached) $ac_c" 1>&6 3814 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3773,7 +3816,7 @@ else
3773 ac_save_LIBS="$LIBS" 3816 ac_save_LIBS="$LIBS"
3774LIBS="-ldnet $LIBS" 3817LIBS="-ldnet $LIBS"
3775cat > conftest.$ac_ext <<EOF 3818cat > conftest.$ac_ext <<EOF
3776#line 3777 "configure" 3819#line 3820 "configure"
3777#include "confdefs.h" 3820#include "confdefs.h"
3778/* Override any gcc2 internal prototype to avoid an error. */ 3821/* Override any gcc2 internal prototype to avoid an error. */
3779/* We use char because int might match the return type of a gcc2 3822/* We use char because int might match the return type of a gcc2
@@ -3784,7 +3827,7 @@ int main() {
3784dnet_ntoa() 3827dnet_ntoa()
3785; return 0; } 3828; return 0; }
3786EOF 3829EOF
3787if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3830if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3788 rm -rf conftest* 3831 rm -rf conftest*
3789 eval "ac_cv_lib_$ac_lib_var=yes" 3832 eval "ac_cv_lib_$ac_lib_var=yes"
3790else 3833else
@@ -3813,7 +3856,7 @@ fi
3813 3856
3814 3857
3815echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3858echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3816echo "configure:3817: checking for main in -lXbsd" >&5 3859echo "configure:3860: checking for main in -lXbsd" >&5
3817ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3860ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3818if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3819 echo $ac_n "(cached) $ac_c" 1>&6 3862 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3821,14 +3864,14 @@ else
3821 ac_save_LIBS="$LIBS" 3864 ac_save_LIBS="$LIBS"
3822LIBS="-lXbsd $LIBS" 3865LIBS="-lXbsd $LIBS"
3823cat > conftest.$ac_ext <<EOF 3866cat > conftest.$ac_ext <<EOF
3824#line 3825 "configure" 3867#line 3868 "configure"
3825#include "confdefs.h" 3868#include "confdefs.h"
3826 3869
3827int main() { 3870int main() {
3828main() 3871main()
3829; return 0; } 3872; return 0; }
3830EOF 3873EOF
3831if { (eval echo configure:3832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3874if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3832 rm -rf conftest* 3875 rm -rf conftest*
3833 eval "ac_cv_lib_$ac_lib_var=yes" 3876 eval "ac_cv_lib_$ac_lib_var=yes"
3834else 3877else
@@ -3850,7 +3893,7 @@ fi
3850 3893
3851 3894
3852echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3895echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3853echo "configure:3854: checking for cma_open in -lpthreads" >&5 3896echo "configure:3897: checking for cma_open in -lpthreads" >&5
3854ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3897ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3855if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3898if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3856 echo $ac_n "(cached) $ac_c" 1>&6 3899 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3858,7 +3901,7 @@ else
3858 ac_save_LIBS="$LIBS" 3901 ac_save_LIBS="$LIBS"
3859LIBS="-lpthreads $LIBS" 3902LIBS="-lpthreads $LIBS"
3860cat > conftest.$ac_ext <<EOF 3903cat > conftest.$ac_ext <<EOF
3861#line 3862 "configure" 3904#line 3905 "configure"
3862#include "confdefs.h" 3905#include "confdefs.h"
3863/* Override any gcc2 internal prototype to avoid an error. */ 3906/* Override any gcc2 internal prototype to avoid an error. */
3864/* We use char because int might match the return type of a gcc2 3907/* We use char because int might match the return type of a gcc2
@@ -3869,7 +3912,7 @@ int main() {
3869cma_open() 3912cma_open()
3870; return 0; } 3913; return 0; }
3871EOF 3914EOF
3872if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3915if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3873 rm -rf conftest* 3916 rm -rf conftest*
3874 eval "ac_cv_lib_$ac_lib_var=yes" 3917 eval "ac_cv_lib_$ac_lib_var=yes"
3875else 3918else
@@ -3898,7 +3941,7 @@ fi
3898 3941
3899 3942
3900echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3943echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3901echo "configure:3902: checking for XFree86 in /usr/X386" >&5 3944echo "configure:3945: checking for XFree86 in /usr/X386" >&5
3902if test -d /usr/X386/include; then 3945if test -d /usr/X386/include; then
3903 HAVE_XFREE386=yes 3946 HAVE_XFREE386=yes
3904 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3947 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3930,16 +3973,16 @@ if test "${HAVE_X11}" = "yes"; then
3930 3973
3931 if test "${opsys}" = "gnu-linux"; then 3974 if test "${opsys}" = "gnu-linux"; then
3932 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3975 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3933echo "configure:3934: checking whether X on GNU/Linux needs -b to link" >&5 3976echo "configure:3977: checking whether X on GNU/Linux needs -b to link" >&5
3934 cat > conftest.$ac_ext <<EOF 3977 cat > conftest.$ac_ext <<EOF
3935#line 3936 "configure" 3978#line 3979 "configure"
3936#include "confdefs.h" 3979#include "confdefs.h"
3937 3980
3938int main() { 3981int main() {
3939XOpenDisplay ("foo"); 3982XOpenDisplay ("foo");
3940; return 0; } 3983; return 0; }
3941EOF 3984EOF
3942if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3985if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3943 rm -rf conftest* 3986 rm -rf conftest*
3944 xlinux_first_failure=no 3987 xlinux_first_failure=no
3945else 3988else
@@ -3959,14 +4002,14 @@ rm -f conftest*
3959 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 4002 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3960 LIBS="$LIBS -b i486-linuxaout" 4003 LIBS="$LIBS -b i486-linuxaout"
3961 cat > conftest.$ac_ext <<EOF 4004 cat > conftest.$ac_ext <<EOF
3962#line 3963 "configure" 4005#line 4006 "configure"
3963#include "confdefs.h" 4006#include "confdefs.h"
3964 4007
3965int main() { 4008int main() {
3966XOpenDisplay ("foo"); 4009XOpenDisplay ("foo");
3967; return 0; } 4010; return 0; }
3968EOF 4011EOF
3969if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4012if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3970 rm -rf conftest* 4013 rm -rf conftest*
3971 xlinux_second_failure=no 4014 xlinux_second_failure=no
3972else 4015else
@@ -3996,12 +4039,12 @@ rm -f conftest*
3996XScreenNumberOfScreen XSetWMProtocols 4039XScreenNumberOfScreen XSetWMProtocols
3997do 4040do
3998echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4041echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3999echo "configure:4000: checking for $ac_func" >&5 4042echo "configure:4043: checking for $ac_func" >&5
4000if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4043if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4001 echo $ac_n "(cached) $ac_c" 1>&6 4044 echo $ac_n "(cached) $ac_c" 1>&6
4002else 4045else
4003 cat > conftest.$ac_ext <<EOF 4046 cat > conftest.$ac_ext <<EOF
4004#line 4005 "configure" 4047#line 4048 "configure"
4005#include "confdefs.h" 4048#include "confdefs.h"
4006/* System header to define __stub macros and hopefully few prototypes, 4049/* System header to define __stub macros and hopefully few prototypes,
4007 which can conflict with char $ac_func(); below. */ 4050 which can conflict with char $ac_func(); below. */
@@ -4024,7 +4067,7 @@ $ac_func();
4024 4067
4025; return 0; } 4068; return 0; }
4026EOF 4069EOF
4027if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4070if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4028 rm -rf conftest* 4071 rm -rf conftest*
4029 eval "ac_cv_func_$ac_func=yes" 4072 eval "ac_cv_func_$ac_func=yes"
4030else 4073else
@@ -4052,12 +4095,12 @@ fi
4052 4095
4053if test "${window_system}" = "x11"; then 4096if test "${window_system}" = "x11"; then
4054 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4097 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4055echo "configure:4056: checking X11 version 6" >&5 4098echo "configure:4099: checking X11 version 6" >&5
4056 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4099 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4057 echo $ac_n "(cached) $ac_c" 1>&6 4100 echo $ac_n "(cached) $ac_c" 1>&6
4058else 4101else
4059 cat > conftest.$ac_ext <<EOF 4102 cat > conftest.$ac_ext <<EOF
4060#line 4061 "configure" 4103#line 4104 "configure"
4061#include "confdefs.h" 4104#include "confdefs.h"
4062#include <X11/Xlib.h> 4105#include <X11/Xlib.h>
4063int main() { 4106int main() {
@@ -4067,7 +4110,7 @@ fail;
4067 4110
4068; return 0; } 4111; return 0; }
4069EOF 4112EOF
4070if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4113if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4071 rm -rf conftest* 4114 rm -rf conftest*
4072 emacs_cv_x11_version_6=yes 4115 emacs_cv_x11_version_6=yes
4073else 4116else
@@ -4092,12 +4135,12 @@ fi
4092 4135
4093if test "${window_system}" = "x11"; then 4136if test "${window_system}" = "x11"; then
4094 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4137 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4095echo "configure:4096: checking X11 version 5" >&5 4138echo "configure:4139: checking X11 version 5" >&5
4096 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4139 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4097 echo $ac_n "(cached) $ac_c" 1>&6 4140 echo $ac_n "(cached) $ac_c" 1>&6
4098else 4141else
4099 cat > conftest.$ac_ext <<EOF 4142 cat > conftest.$ac_ext <<EOF
4100#line 4101 "configure" 4143#line 4144 "configure"
4101#include "confdefs.h" 4144#include "confdefs.h"
4102#include <X11/Xlib.h> 4145#include <X11/Xlib.h>
4103int main() { 4146int main() {
@@ -4107,7 +4150,7 @@ fail;
4107 4150
4108; return 0; } 4151; return 0; }
4109EOF 4152EOF
4110if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4153if { (eval echo configure:4154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4111 rm -rf conftest* 4154 rm -rf conftest*
4112 emacs_cv_x11_version_5=yes 4155 emacs_cv_x11_version_5=yes
4113else 4156else
@@ -4135,12 +4178,12 @@ fi
4135if test x"${USE_X_TOOLKIT}" = xmaybe; then 4178if test x"${USE_X_TOOLKIT}" = xmaybe; then
4136 if test x"${HAVE_X11R5}" = xyes; then 4179 if test x"${HAVE_X11R5}" = xyes; then
4137 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4180 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4138echo "configure:4139: checking X11 version 5 with Xaw" >&5 4181echo "configure:4182: checking X11 version 5 with Xaw" >&5
4139 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4182 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4140 echo $ac_n "(cached) $ac_c" 1>&6 4183 echo $ac_n "(cached) $ac_c" 1>&6
4141else 4184else
4142 cat > conftest.$ac_ext <<EOF 4185 cat > conftest.$ac_ext <<EOF
4143#line 4144 "configure" 4186#line 4187 "configure"
4144#include "confdefs.h" 4187#include "confdefs.h"
4145 4188
4146#include <X11/Intrinsic.h> 4189#include <X11/Intrinsic.h>
@@ -4149,7 +4192,7 @@ int main() {
4149 4192
4150; return 0; } 4193; return 0; }
4151EOF 4194EOF
4152if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4195if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4153 rm -rf conftest* 4196 rm -rf conftest*
4154 emacs_cv_x11_version_5_with_xaw=yes 4197 emacs_cv_x11_version_5_with_xaw=yes
4155else 4198else
@@ -4177,12 +4220,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4177 4220
4178if test "${USE_X_TOOLKIT}" != "none"; then 4221if test "${USE_X_TOOLKIT}" != "none"; then
4179 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4222 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4180echo "configure:4181: checking X11 toolkit version" >&5 4223echo "configure:4224: checking X11 toolkit version" >&5
4181 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4224 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4182 echo $ac_n "(cached) $ac_c" 1>&6 4225 echo $ac_n "(cached) $ac_c" 1>&6
4183else 4226else
4184 cat > conftest.$ac_ext <<EOF 4227 cat > conftest.$ac_ext <<EOF
4185#line 4186 "configure" 4228#line 4229 "configure"
4186#include "confdefs.h" 4229#include "confdefs.h"
4187#include <X11/Intrinsic.h> 4230#include <X11/Intrinsic.h>
4188int main() { 4231int main() {
@@ -4192,7 +4235,7 @@ fail;
4192 4235
4193; return 0; } 4236; return 0; }
4194EOF 4237EOF
4195if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4238if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4196 rm -rf conftest* 4239 rm -rf conftest*
4197 emacs_cv_x11_toolkit_version_6=yes 4240 emacs_cv_x11_toolkit_version_6=yes
4198else 4241else
@@ -4222,7 +4265,7 @@ EOF
4222 LIBS="-lXt $LIBS" 4265 LIBS="-lXt $LIBS"
4223 fi 4266 fi
4224 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4267 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4225echo "configure:4226: checking for XmuConvertStandardSelection in -lXmu" >&5 4268echo "configure:4269: checking for XmuConvertStandardSelection in -lXmu" >&5
4226ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4269ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4270if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4228 echo $ac_n "(cached) $ac_c" 1>&6 4271 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4230,7 +4273,7 @@ else
4230 ac_save_LIBS="$LIBS" 4273 ac_save_LIBS="$LIBS"
4231LIBS="-lXmu $LIBS" 4274LIBS="-lXmu $LIBS"
4232cat > conftest.$ac_ext <<EOF 4275cat > conftest.$ac_ext <<EOF
4233#line 4234 "configure" 4276#line 4277 "configure"
4234#include "confdefs.h" 4277#include "confdefs.h"
4235/* Override any gcc2 internal prototype to avoid an error. */ 4278/* Override any gcc2 internal prototype to avoid an error. */
4236/* We use char because int might match the return type of a gcc2 4279/* We use char because int might match the return type of a gcc2
@@ -4241,7 +4284,7 @@ int main() {
4241XmuConvertStandardSelection() 4284XmuConvertStandardSelection()
4242; return 0; } 4285; return 0; }
4243EOF 4286EOF
4244if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4287if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4245 rm -rf conftest* 4288 rm -rf conftest*
4246 eval "ac_cv_lib_$ac_lib_var=yes" 4289 eval "ac_cv_lib_$ac_lib_var=yes"
4247else 4290else
@@ -4273,12 +4316,12 @@ fi
4273 4316
4274if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4317if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4275 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4318 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4276echo "configure:4277: checking for Motif version 2.1" >&5 4319echo "configure:4320: checking for Motif version 2.1" >&5
4277if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4320if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4278 echo $ac_n "(cached) $ac_c" 1>&6 4321 echo $ac_n "(cached) $ac_c" 1>&6
4279else 4322else
4280 cat > conftest.$ac_ext <<EOF 4323 cat > conftest.$ac_ext <<EOF
4281#line 4282 "configure" 4324#line 4325 "configure"
4282#include "confdefs.h" 4325#include "confdefs.h"
4283#include <Xm/Xm.h> 4326#include <Xm/Xm.h>
4284int main() { 4327int main() {
@@ -4289,7 +4332,7 @@ Motif version prior to 2.1.
4289#endif 4332#endif
4290; return 0; } 4333; return 0; }
4291EOF 4334EOF
4292if { (eval echo configure:4293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4335if { (eval echo configure:4336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4293 rm -rf conftest* 4336 rm -rf conftest*
4294 emacs_cv_motif_version_2_1=yes 4337 emacs_cv_motif_version_2_1=yes
4295else 4338else
@@ -4309,7 +4352,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4309EOF 4352EOF
4310 4353
4311 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4354 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4312echo "configure:4313: checking for XpCreateContext in -lXp" >&5 4355echo "configure:4356: checking for XpCreateContext in -lXp" >&5
4313ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4356ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4314if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4357if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4315 echo $ac_n "(cached) $ac_c" 1>&6 4358 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4317,7 +4360,7 @@ else
4317 ac_save_LIBS="$LIBS" 4360 ac_save_LIBS="$LIBS"
4318LIBS="-lXp -lXext $LIBS" 4361LIBS="-lXp -lXext $LIBS"
4319cat > conftest.$ac_ext <<EOF 4362cat > conftest.$ac_ext <<EOF
4320#line 4321 "configure" 4363#line 4364 "configure"
4321#include "confdefs.h" 4364#include "confdefs.h"
4322/* Override any gcc2 internal prototype to avoid an error. */ 4365/* Override any gcc2 internal prototype to avoid an error. */
4323/* We use char because int might match the return type of a gcc2 4366/* We use char because int might match the return type of a gcc2
@@ -4328,7 +4371,7 @@ int main() {
4328XpCreateContext() 4371XpCreateContext()
4329; return 0; } 4372; return 0; }
4330EOF 4373EOF
4331if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4374if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4332 rm -rf conftest* 4375 rm -rf conftest*
4333 eval "ac_cv_lib_$ac_lib_var=yes" 4376 eval "ac_cv_lib_$ac_lib_var=yes"
4334else 4377else
@@ -4365,17 +4408,17 @@ if test "${HAVE_X11}" = "yes"; then
4365 CFLAGS="${LD_SWITCH_X_SITE}" 4408 CFLAGS="${LD_SWITCH_X_SITE}"
4366 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4409 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4367echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4410echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4368echo "configure:4369: checking for X11/Xaw3d/Scrollbar.h" >&5 4411echo "configure:4412: checking for X11/Xaw3d/Scrollbar.h" >&5
4369if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4412if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4370 echo $ac_n "(cached) $ac_c" 1>&6 4413 echo $ac_n "(cached) $ac_c" 1>&6
4371else 4414else
4372 cat > conftest.$ac_ext <<EOF 4415 cat > conftest.$ac_ext <<EOF
4373#line 4374 "configure" 4416#line 4417 "configure"
4374#include "confdefs.h" 4417#include "confdefs.h"
4375#include <X11/Xaw3d/Scrollbar.h> 4418#include <X11/Xaw3d/Scrollbar.h>
4376EOF 4419EOF
4377ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4420ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4378{ (eval echo configure:4379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4421{ (eval echo configure:4422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4379ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4422ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4380if test -z "$ac_err"; then 4423if test -z "$ac_err"; then
4381 rm -rf conftest* 4424 rm -rf conftest*
@@ -4392,7 +4435,7 @@ fi
4392if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4435if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4393 echo "$ac_t""yes" 1>&6 4436 echo "$ac_t""yes" 1>&6
4394 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4437 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4395echo "configure:4396: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4438echo "configure:4439: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4396ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4439ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4397if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4440if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4398 echo $ac_n "(cached) $ac_c" 1>&6 4441 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4400,7 +4443,7 @@ else
4400 ac_save_LIBS="$LIBS" 4443 ac_save_LIBS="$LIBS"
4401LIBS="-lXaw3d -lX11 $LIBS" 4444LIBS="-lXaw3d -lX11 $LIBS"
4402cat > conftest.$ac_ext <<EOF 4445cat > conftest.$ac_ext <<EOF
4403#line 4404 "configure" 4446#line 4447 "configure"
4404#include "confdefs.h" 4447#include "confdefs.h"
4405/* Override any gcc2 internal prototype to avoid an error. */ 4448/* Override any gcc2 internal prototype to avoid an error. */
4406/* We use char because int might match the return type of a gcc2 4449/* We use char because int might match the return type of a gcc2
@@ -4411,7 +4454,7 @@ int main() {
4411XawScrollbarSetThumb() 4454XawScrollbarSetThumb()
4412; return 0; } 4455; return 0; }
4413EOF 4456EOF
4414if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4457if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4415 rm -rf conftest* 4458 rm -rf conftest*
4416 eval "ac_cv_lib_$ac_lib_var=yes" 4459 eval "ac_cv_lib_$ac_lib_var=yes"
4417else 4460else
@@ -4483,17 +4526,17 @@ if test "${HAVE_X11}" = "yes"; then
4483 CFLAGS="${LD_SWITCH_X_SITE}" 4526 CFLAGS="${LD_SWITCH_X_SITE}"
4484 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4527 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4485echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4528echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4486echo "configure:4487: checking for X11/xpm.h" >&5 4529echo "configure:4530: checking for X11/xpm.h" >&5
4487if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4530if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4488 echo $ac_n "(cached) $ac_c" 1>&6 4531 echo $ac_n "(cached) $ac_c" 1>&6
4489else 4532else
4490 cat > conftest.$ac_ext <<EOF 4533 cat > conftest.$ac_ext <<EOF
4491#line 4492 "configure" 4534#line 4535 "configure"
4492#include "confdefs.h" 4535#include "confdefs.h"
4493#include <X11/xpm.h> 4536#include <X11/xpm.h>
4494EOF 4537EOF
4495ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4538ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4496{ (eval echo configure:4497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4539{ (eval echo configure:4540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4497ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4540ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4498if test -z "$ac_err"; then 4541if test -z "$ac_err"; then
4499 rm -rf conftest* 4542 rm -rf conftest*
@@ -4510,7 +4553,7 @@ fi
4510if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4553if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4511 echo "$ac_t""yes" 1>&6 4554 echo "$ac_t""yes" 1>&6
4512 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4555 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4513echo "configure:4514: checking for XpmReadFileToPixmap in -lXpm" >&5 4556echo "configure:4557: checking for XpmReadFileToPixmap in -lXpm" >&5
4514ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4557ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4558if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4516 echo $ac_n "(cached) $ac_c" 1>&6 4559 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4518,7 +4561,7 @@ else
4518 ac_save_LIBS="$LIBS" 4561 ac_save_LIBS="$LIBS"
4519LIBS="-lXpm -lX11 $LIBS" 4562LIBS="-lXpm -lX11 $LIBS"
4520cat > conftest.$ac_ext <<EOF 4563cat > conftest.$ac_ext <<EOF
4521#line 4522 "configure" 4564#line 4565 "configure"
4522#include "confdefs.h" 4565#include "confdefs.h"
4523/* Override any gcc2 internal prototype to avoid an error. */ 4566/* Override any gcc2 internal prototype to avoid an error. */
4524/* We use char because int might match the return type of a gcc2 4567/* We use char because int might match the return type of a gcc2
@@ -4529,7 +4572,7 @@ int main() {
4529XpmReadFileToPixmap() 4572XpmReadFileToPixmap()
4530; return 0; } 4573; return 0; }
4531EOF 4574EOF
4532if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4575if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533 rm -rf conftest* 4576 rm -rf conftest*
4534 eval "ac_cv_lib_$ac_lib_var=yes" 4577 eval "ac_cv_lib_$ac_lib_var=yes"
4535else 4578else
@@ -4572,17 +4615,17 @@ if test "${HAVE_X11}" = "yes"; then
4572 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4615 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4573 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4616 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4574echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4617echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4575echo "configure:4576: checking for jerror.h" >&5 4618echo "configure:4619: checking for jerror.h" >&5
4576if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4619if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4577 echo $ac_n "(cached) $ac_c" 1>&6 4620 echo $ac_n "(cached) $ac_c" 1>&6
4578else 4621else
4579 cat > conftest.$ac_ext <<EOF 4622 cat > conftest.$ac_ext <<EOF
4580#line 4581 "configure" 4623#line 4624 "configure"
4581#include "confdefs.h" 4624#include "confdefs.h"
4582#include <jerror.h> 4625#include <jerror.h>
4583EOF 4626EOF
4584ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4627ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4585{ (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4628{ (eval echo configure:4629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4586ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4629ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4587if test -z "$ac_err"; then 4630if test -z "$ac_err"; then
4588 rm -rf conftest* 4631 rm -rf conftest*
@@ -4599,7 +4642,7 @@ fi
4599if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4642if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4600 echo "$ac_t""yes" 1>&6 4643 echo "$ac_t""yes" 1>&6
4601 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4644 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4602echo "configure:4603: checking for jpeg_destroy_compress in -ljpeg" >&5 4645echo "configure:4646: checking for jpeg_destroy_compress in -ljpeg" >&5
4603ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4646ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4604if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4647if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4605 echo $ac_n "(cached) $ac_c" 1>&6 4648 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4607,7 +4650,7 @@ else
4607 ac_save_LIBS="$LIBS" 4650 ac_save_LIBS="$LIBS"
4608LIBS="-ljpeg -lX11 $LIBS" 4651LIBS="-ljpeg -lX11 $LIBS"
4609cat > conftest.$ac_ext <<EOF 4652cat > conftest.$ac_ext <<EOF
4610#line 4611 "configure" 4653#line 4654 "configure"
4611#include "confdefs.h" 4654#include "confdefs.h"
4612/* Override any gcc2 internal prototype to avoid an error. */ 4655/* Override any gcc2 internal prototype to avoid an error. */
4613/* We use char because int might match the return type of a gcc2 4656/* We use char because int might match the return type of a gcc2
@@ -4618,7 +4661,7 @@ int main() {
4618jpeg_destroy_compress() 4661jpeg_destroy_compress()
4619; return 0; } 4662; return 0; }
4620EOF 4663EOF
4621if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4664if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4622 rm -rf conftest* 4665 rm -rf conftest*
4623 eval "ac_cv_lib_$ac_lib_var=yes" 4666 eval "ac_cv_lib_$ac_lib_var=yes"
4624else 4667else
@@ -4661,17 +4704,17 @@ if test "${HAVE_X11}" = "yes"; then
4661 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4704 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4662 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4705 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4663echo $ac_n "checking for png.h""... $ac_c" 1>&6 4706echo $ac_n "checking for png.h""... $ac_c" 1>&6
4664echo "configure:4665: checking for png.h" >&5 4707echo "configure:4708: checking for png.h" >&5
4665if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4708if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4666 echo $ac_n "(cached) $ac_c" 1>&6 4709 echo $ac_n "(cached) $ac_c" 1>&6
4667else 4710else
4668 cat > conftest.$ac_ext <<EOF 4711 cat > conftest.$ac_ext <<EOF
4669#line 4670 "configure" 4712#line 4713 "configure"
4670#include "confdefs.h" 4713#include "confdefs.h"
4671#include <png.h> 4714#include <png.h>
4672EOF 4715EOF
4673ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4716ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4674{ (eval echo configure:4675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4717{ (eval echo configure:4718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4675ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4718ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4676if test -z "$ac_err"; then 4719if test -z "$ac_err"; then
4677 rm -rf conftest* 4720 rm -rf conftest*
@@ -4688,7 +4731,7 @@ fi
4688if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4731if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4689 echo "$ac_t""yes" 1>&6 4732 echo "$ac_t""yes" 1>&6
4690 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4733 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4691echo "configure:4692: checking for png_set_expand in -lpng" >&5 4734echo "configure:4735: checking for png_set_expand in -lpng" >&5
4692ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4735ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4693if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4736if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4694 echo $ac_n "(cached) $ac_c" 1>&6 4737 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4696,7 +4739,7 @@ else
4696 ac_save_LIBS="$LIBS" 4739 ac_save_LIBS="$LIBS"
4697LIBS="-lpng -lX11 -lz -lm $LIBS" 4740LIBS="-lpng -lX11 -lz -lm $LIBS"
4698cat > conftest.$ac_ext <<EOF 4741cat > conftest.$ac_ext <<EOF
4699#line 4700 "configure" 4742#line 4743 "configure"
4700#include "confdefs.h" 4743#include "confdefs.h"
4701/* Override any gcc2 internal prototype to avoid an error. */ 4744/* Override any gcc2 internal prototype to avoid an error. */
4702/* We use char because int might match the return type of a gcc2 4745/* We use char because int might match the return type of a gcc2
@@ -4707,7 +4750,7 @@ int main() {
4707png_set_expand() 4750png_set_expand()
4708; return 0; } 4751; return 0; }
4709EOF 4752EOF
4710if { (eval echo configure:4711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4753if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4711 rm -rf conftest* 4754 rm -rf conftest*
4712 eval "ac_cv_lib_$ac_lib_var=yes" 4755 eval "ac_cv_lib_$ac_lib_var=yes"
4713else 4756else
@@ -4750,17 +4793,17 @@ if test "${HAVE_X11}" = "yes"; then
4750 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4793 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4751 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4794 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4752echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4795echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4753echo "configure:4754: checking for tiffio.h" >&5 4796echo "configure:4797: checking for tiffio.h" >&5
4754if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4797if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4755 echo $ac_n "(cached) $ac_c" 1>&6 4798 echo $ac_n "(cached) $ac_c" 1>&6
4756else 4799else
4757 cat > conftest.$ac_ext <<EOF 4800 cat > conftest.$ac_ext <<EOF
4758#line 4759 "configure" 4801#line 4802 "configure"
4759#include "confdefs.h" 4802#include "confdefs.h"
4760#include <tiffio.h> 4803#include <tiffio.h>
4761EOF 4804EOF
4762ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4805ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4763{ (eval echo configure:4764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4806{ (eval echo configure:4807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4764ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4807ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4765if test -z "$ac_err"; then 4808if test -z "$ac_err"; then
4766 rm -rf conftest* 4809 rm -rf conftest*
@@ -4780,7 +4823,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4780 # At least one tiff package requires the jpeg library. 4823 # At least one tiff package requires the jpeg library.
4781 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4824 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4782 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4825 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4783echo "configure:4784: checking for TIFFGetVersion in -ltiff" >&5 4826echo "configure:4827: checking for TIFFGetVersion in -ltiff" >&5
4784ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4827ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4785if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4828if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4786 echo $ac_n "(cached) $ac_c" 1>&6 4829 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4788,7 +4831,7 @@ else
4788 ac_save_LIBS="$LIBS" 4831 ac_save_LIBS="$LIBS"
4789LIBS="-ltiff $tifflibs $LIBS" 4832LIBS="-ltiff $tifflibs $LIBS"
4790cat > conftest.$ac_ext <<EOF 4833cat > conftest.$ac_ext <<EOF
4791#line 4792 "configure" 4834#line 4835 "configure"
4792#include "confdefs.h" 4835#include "confdefs.h"
4793/* Override any gcc2 internal prototype to avoid an error. */ 4836/* Override any gcc2 internal prototype to avoid an error. */
4794/* We use char because int might match the return type of a gcc2 4837/* We use char because int might match the return type of a gcc2
@@ -4799,7 +4842,7 @@ int main() {
4799TIFFGetVersion() 4842TIFFGetVersion()
4800; return 0; } 4843; return 0; }
4801EOF 4844EOF
4802if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4845if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4803 rm -rf conftest* 4846 rm -rf conftest*
4804 eval "ac_cv_lib_$ac_lib_var=yes" 4847 eval "ac_cv_lib_$ac_lib_var=yes"
4805else 4848else
@@ -4842,17 +4885,17 @@ if test "${HAVE_X11}" = "yes"; then
4842 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4885 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4843 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4886 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4844echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4887echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4845echo "configure:4846: checking for gif_lib.h" >&5 4888echo "configure:4889: checking for gif_lib.h" >&5
4846if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4889if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4847 echo $ac_n "(cached) $ac_c" 1>&6 4890 echo $ac_n "(cached) $ac_c" 1>&6
4848else 4891else
4849 cat > conftest.$ac_ext <<EOF 4892 cat > conftest.$ac_ext <<EOF
4850#line 4851 "configure" 4893#line 4894 "configure"
4851#include "confdefs.h" 4894#include "confdefs.h"
4852#include <gif_lib.h> 4895#include <gif_lib.h>
4853EOF 4896EOF
4854ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4897ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4855{ (eval echo configure:4856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4898{ (eval echo configure:4899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4856ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4899ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4857if test -z "$ac_err"; then 4900if test -z "$ac_err"; then
4858 rm -rf conftest* 4901 rm -rf conftest*
@@ -4869,7 +4912,7 @@ fi
4869if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4912if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4870 echo "$ac_t""yes" 1>&6 4913 echo "$ac_t""yes" 1>&6
4871 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4914 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4872echo "configure:4873: checking for DGifOpen in -lungif" >&5 4915echo "configure:4916: checking for DGifOpen in -lungif" >&5
4873ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4916ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4874if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4917if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4875 echo $ac_n "(cached) $ac_c" 1>&6 4918 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4877,7 +4920,7 @@ else
4877 ac_save_LIBS="$LIBS" 4920 ac_save_LIBS="$LIBS"
4878LIBS="-lungif -lX11 $LIBS" 4921LIBS="-lungif -lX11 $LIBS"
4879cat > conftest.$ac_ext <<EOF 4922cat > conftest.$ac_ext <<EOF
4880#line 4881 "configure" 4923#line 4924 "configure"
4881#include "confdefs.h" 4924#include "confdefs.h"
4882/* Override any gcc2 internal prototype to avoid an error. */ 4925/* Override any gcc2 internal prototype to avoid an error. */
4883/* We use char because int might match the return type of a gcc2 4926/* We use char because int might match the return type of a gcc2
@@ -4888,7 +4931,7 @@ int main() {
4888DGifOpen() 4931DGifOpen()
4889; return 0; } 4932; return 0; }
4890EOF 4933EOF
4891if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4934if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4892 rm -rf conftest* 4935 rm -rf conftest*
4893 eval "ac_cv_lib_$ac_lib_var=yes" 4936 eval "ac_cv_lib_$ac_lib_var=yes"
4894else 4937else
@@ -4925,19 +4968,19 @@ fi
4925 4968
4926# If netdb.h doesn't declare h_errno, we must declare it by hand. 4969# If netdb.h doesn't declare h_errno, we must declare it by hand.
4927echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4970echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4928echo "configure:4929: checking whether netdb declares h_errno" >&5 4971echo "configure:4972: checking whether netdb declares h_errno" >&5
4929if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4972if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4930 echo $ac_n "(cached) $ac_c" 1>&6 4973 echo $ac_n "(cached) $ac_c" 1>&6
4931else 4974else
4932 cat > conftest.$ac_ext <<EOF 4975 cat > conftest.$ac_ext <<EOF
4933#line 4934 "configure" 4976#line 4977 "configure"
4934#include "confdefs.h" 4977#include "confdefs.h"
4935#include <netdb.h> 4978#include <netdb.h>
4936int main() { 4979int main() {
4937return h_errno; 4980return h_errno;
4938; return 0; } 4981; return 0; }
4939EOF 4982EOF
4940if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4983if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4941 rm -rf conftest* 4984 rm -rf conftest*
4942 emacs_cv_netdb_declares_h_errno=yes 4985 emacs_cv_netdb_declares_h_errno=yes
4943else 4986else
@@ -4960,19 +5003,19 @@ fi
4960# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5003# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4961# for constant arguments. Useless! 5004# for constant arguments. Useless!
4962echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5005echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4963echo "configure:4964: checking for working alloca.h" >&5 5006echo "configure:5007: checking for working alloca.h" >&5
4964if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5007if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4965 echo $ac_n "(cached) $ac_c" 1>&6 5008 echo $ac_n "(cached) $ac_c" 1>&6
4966else 5009else
4967 cat > conftest.$ac_ext <<EOF 5010 cat > conftest.$ac_ext <<EOF
4968#line 4969 "configure" 5011#line 5012 "configure"
4969#include "confdefs.h" 5012#include "confdefs.h"
4970#include <alloca.h> 5013#include <alloca.h>
4971int main() { 5014int main() {
4972char *p = alloca(2 * sizeof(int)); 5015void *p = alloca(2 * sizeof(int));
4973; return 0; } 5016; return 0; }
4974EOF 5017EOF
4975if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5018if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4976 rm -rf conftest* 5019 rm -rf conftest*
4977 ac_cv_header_alloca_h=yes 5020 ac_cv_header_alloca_h=yes
4978else 5021else
@@ -4993,12 +5036,12 @@ EOF
4993fi 5036fi
4994 5037
4995echo $ac_n "checking for alloca""... $ac_c" 1>&6 5038echo $ac_n "checking for alloca""... $ac_c" 1>&6
4996echo "configure:4997: checking for alloca" >&5 5039echo "configure:5040: checking for alloca" >&5
4997if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5040if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4998 echo $ac_n "(cached) $ac_c" 1>&6 5041 echo $ac_n "(cached) $ac_c" 1>&6
4999else 5042else
5000 cat > conftest.$ac_ext <<EOF 5043 cat > conftest.$ac_ext <<EOF
5001#line 5002 "configure" 5044#line 5045 "configure"
5002#include "confdefs.h" 5045#include "confdefs.h"
5003 5046
5004#ifdef __GNUC__ 5047#ifdef __GNUC__
@@ -5026,7 +5069,7 @@ int main() {
5026char *p = (char *) alloca(1); 5069char *p = (char *) alloca(1);
5027; return 0; } 5070; return 0; }
5028EOF 5071EOF
5029if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5072if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5030 rm -rf conftest* 5073 rm -rf conftest*
5031 ac_cv_func_alloca_works=yes 5074 ac_cv_func_alloca_works=yes
5032else 5075else
@@ -5058,12 +5101,12 @@ EOF
5058 5101
5059 5102
5060echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5103echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5061echo "configure:5062: checking whether alloca needs Cray hooks" >&5 5104echo "configure:5105: checking whether alloca needs Cray hooks" >&5
5062if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5105if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5063 echo $ac_n "(cached) $ac_c" 1>&6 5106 echo $ac_n "(cached) $ac_c" 1>&6
5064else 5107else
5065 cat > conftest.$ac_ext <<EOF 5108 cat > conftest.$ac_ext <<EOF
5066#line 5067 "configure" 5109#line 5110 "configure"
5067#include "confdefs.h" 5110#include "confdefs.h"
5068#if defined(CRAY) && ! defined(CRAY2) 5111#if defined(CRAY) && ! defined(CRAY2)
5069webecray 5112webecray
@@ -5088,12 +5131,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5088if test $ac_cv_os_cray = yes; then 5131if test $ac_cv_os_cray = yes; then
5089for ac_func in _getb67 GETB67 getb67; do 5132for ac_func in _getb67 GETB67 getb67; do
5090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5091echo "configure:5092: checking for $ac_func" >&5 5134echo "configure:5135: checking for $ac_func" >&5
5092if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5135if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5093 echo $ac_n "(cached) $ac_c" 1>&6 5136 echo $ac_n "(cached) $ac_c" 1>&6
5094else 5137else
5095 cat > conftest.$ac_ext <<EOF 5138 cat > conftest.$ac_ext <<EOF
5096#line 5097 "configure" 5139#line 5140 "configure"
5097#include "confdefs.h" 5140#include "confdefs.h"
5098/* System header to define __stub macros and hopefully few prototypes, 5141/* System header to define __stub macros and hopefully few prototypes,
5099 which can conflict with char $ac_func(); below. */ 5142 which can conflict with char $ac_func(); below. */
@@ -5116,7 +5159,7 @@ $ac_func();
5116 5159
5117; return 0; } 5160; return 0; }
5118EOF 5161EOF
5119if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5162if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5120 rm -rf conftest* 5163 rm -rf conftest*
5121 eval "ac_cv_func_$ac_func=yes" 5164 eval "ac_cv_func_$ac_func=yes"
5122else 5165else
@@ -5143,7 +5186,7 @@ done
5143fi 5186fi
5144 5187
5145echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5188echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5146echo "configure:5147: checking stack direction for C alloca" >&5 5189echo "configure:5190: checking stack direction for C alloca" >&5
5147if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5190if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5148 echo $ac_n "(cached) $ac_c" 1>&6 5191 echo $ac_n "(cached) $ac_c" 1>&6
5149else 5192else
@@ -5151,7 +5194,7 @@ else
5151 ac_cv_c_stack_direction=0 5194 ac_cv_c_stack_direction=0
5152else 5195else
5153 cat > conftest.$ac_ext <<EOF 5196 cat > conftest.$ac_ext <<EOF
5154#line 5155 "configure" 5197#line 5198 "configure"
5155#include "confdefs.h" 5198#include "confdefs.h"
5156find_stack_direction () 5199find_stack_direction ()
5157{ 5200{
@@ -5170,7 +5213,7 @@ main ()
5170 exit (find_stack_direction() < 0); 5213 exit (find_stack_direction() < 0);
5171} 5214}
5172EOF 5215EOF
5173if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5216if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5174then 5217then
5175 ac_cv_c_stack_direction=1 5218 ac_cv_c_stack_direction=1
5176else 5219else
@@ -5195,7 +5238,7 @@ fi
5195# fmod, logb, and frexp are found in -lm on most systems. 5238# fmod, logb, and frexp are found in -lm on most systems.
5196# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5239# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5197echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5240echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5198echo "configure:5199: checking for sqrt in -lm" >&5 5241echo "configure:5242: checking for sqrt in -lm" >&5
5199ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5242ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5243if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5201 echo $ac_n "(cached) $ac_c" 1>&6 5244 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5203,7 +5246,7 @@ else
5203 ac_save_LIBS="$LIBS" 5246 ac_save_LIBS="$LIBS"
5204LIBS="-lm $LIBS" 5247LIBS="-lm $LIBS"
5205cat > conftest.$ac_ext <<EOF 5248cat > conftest.$ac_ext <<EOF
5206#line 5207 "configure" 5249#line 5250 "configure"
5207#include "confdefs.h" 5250#include "confdefs.h"
5208/* Override any gcc2 internal prototype to avoid an error. */ 5251/* Override any gcc2 internal prototype to avoid an error. */
5209/* We use char because int might match the return type of a gcc2 5252/* We use char because int might match the return type of a gcc2
@@ -5214,7 +5257,7 @@ int main() {
5214sqrt() 5257sqrt()
5215; return 0; } 5258; return 0; }
5216EOF 5259EOF
5217if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5260if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5218 rm -rf conftest* 5261 rm -rf conftest*
5219 eval "ac_cv_lib_$ac_lib_var=yes" 5262 eval "ac_cv_lib_$ac_lib_var=yes"
5220else 5263else
@@ -5244,7 +5287,7 @@ fi
5244 5287
5245# Check for mail-locking functions in a "mail" library 5288# Check for mail-locking functions in a "mail" library
5246echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5289echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5247echo "configure:5248: checking for maillock in -lmail" >&5 5290echo "configure:5291: checking for maillock in -lmail" >&5
5248ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5291ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5249if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5250 echo $ac_n "(cached) $ac_c" 1>&6 5293 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5252,7 +5295,7 @@ else
5252 ac_save_LIBS="$LIBS" 5295 ac_save_LIBS="$LIBS"
5253LIBS="-lmail $LIBS" 5296LIBS="-lmail $LIBS"
5254cat > conftest.$ac_ext <<EOF 5297cat > conftest.$ac_ext <<EOF
5255#line 5256 "configure" 5298#line 5299 "configure"
5256#include "confdefs.h" 5299#include "confdefs.h"
5257/* Override any gcc2 internal prototype to avoid an error. */ 5300/* Override any gcc2 internal prototype to avoid an error. */
5258/* We use char because int might match the return type of a gcc2 5301/* We use char because int might match the return type of a gcc2
@@ -5263,7 +5306,7 @@ int main() {
5263maillock() 5306maillock()
5264; return 0; } 5307; return 0; }
5265EOF 5308EOF
5266if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5309if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5267 rm -rf conftest* 5310 rm -rf conftest*
5268 eval "ac_cv_lib_$ac_lib_var=yes" 5311 eval "ac_cv_lib_$ac_lib_var=yes"
5269else 5312else
@@ -5291,7 +5334,7 @@ else
5291fi 5334fi
5292 5335
5293echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5336echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5294echo "configure:5295: checking for maillock in -llockfile" >&5 5337echo "configure:5338: checking for maillock in -llockfile" >&5
5295ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5338ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5296if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5339if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5297 echo $ac_n "(cached) $ac_c" 1>&6 5340 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5299,7 +5342,7 @@ else
5299 ac_save_LIBS="$LIBS" 5342 ac_save_LIBS="$LIBS"
5300LIBS="-llockfile $LIBS" 5343LIBS="-llockfile $LIBS"
5301cat > conftest.$ac_ext <<EOF 5344cat > conftest.$ac_ext <<EOF
5302#line 5303 "configure" 5345#line 5346 "configure"
5303#include "confdefs.h" 5346#include "confdefs.h"
5304/* Override any gcc2 internal prototype to avoid an error. */ 5347/* Override any gcc2 internal prototype to avoid an error. */
5305/* We use char because int might match the return type of a gcc2 5348/* We use char because int might match the return type of a gcc2
@@ -5310,7 +5353,7 @@ int main() {
5310maillock() 5353maillock()
5311; return 0; } 5354; return 0; }
5312EOF 5355EOF
5313if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5356if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5314 rm -rf conftest* 5357 rm -rf conftest*
5315 eval "ac_cv_lib_$ac_lib_var=yes" 5358 eval "ac_cv_lib_$ac_lib_var=yes"
5316else 5359else
@@ -5344,7 +5387,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5344 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5387 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5345set dummy liblockfile.so; ac_word=$2 5388set dummy liblockfile.so; ac_word=$2
5346echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5389echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5347echo "configure:5348: checking for $ac_word" >&5 5390echo "configure:5391: checking for $ac_word" >&5
5348if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5391if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5349 echo $ac_n "(cached) $ac_c" 1>&6 5392 echo $ac_n "(cached) $ac_c" 1>&6
5350else 5393else
@@ -5385,12 +5428,12 @@ fi
5385for ac_func in touchlock 5428for ac_func in touchlock
5386do 5429do
5387echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5430echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5388echo "configure:5389: checking for $ac_func" >&5 5431echo "configure:5432: checking for $ac_func" >&5
5389if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5432if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5390 echo $ac_n "(cached) $ac_c" 1>&6 5433 echo $ac_n "(cached) $ac_c" 1>&6
5391else 5434else
5392 cat > conftest.$ac_ext <<EOF 5435 cat > conftest.$ac_ext <<EOF
5393#line 5394 "configure" 5436#line 5437 "configure"
5394#include "confdefs.h" 5437#include "confdefs.h"
5395/* System header to define __stub macros and hopefully few prototypes, 5438/* System header to define __stub macros and hopefully few prototypes,
5396 which can conflict with char $ac_func(); below. */ 5439 which can conflict with char $ac_func(); below. */
@@ -5413,7 +5456,7 @@ $ac_func();
5413 5456
5414; return 0; } 5457; return 0; }
5415EOF 5458EOF
5416if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5459if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5417 rm -rf conftest* 5460 rm -rf conftest*
5418 eval "ac_cv_func_$ac_func=yes" 5461 eval "ac_cv_func_$ac_func=yes"
5419else 5462else
@@ -5441,17 +5484,17 @@ for ac_hdr in maillock.h
5441do 5484do
5442ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5485ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5443echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5486echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5444echo "configure:5445: checking for $ac_hdr" >&5 5487echo "configure:5488: checking for $ac_hdr" >&5
5445if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5488if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5446 echo $ac_n "(cached) $ac_c" 1>&6 5489 echo $ac_n "(cached) $ac_c" 1>&6
5447else 5490else
5448 cat > conftest.$ac_ext <<EOF 5491 cat > conftest.$ac_ext <<EOF
5449#line 5450 "configure" 5492#line 5493 "configure"
5450#include "confdefs.h" 5493#include "confdefs.h"
5451#include <$ac_hdr> 5494#include <$ac_hdr>
5452EOF 5495EOF
5453ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5496ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5454{ (eval echo configure:5455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5497{ (eval echo configure:5498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5455ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5498ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5456if test -z "$ac_err"; then 5499if test -z "$ac_err"; then
5457 rm -rf conftest* 5500 rm -rf conftest*
@@ -5486,12 +5529,12 @@ utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
5486__fpending mblen mbrlen strsignal setitimer ualarm 5529__fpending mblen mbrlen strsignal setitimer ualarm
5487do 5530do
5488echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5531echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5489echo "configure:5490: checking for $ac_func" >&5 5532echo "configure:5533: checking for $ac_func" >&5
5490if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5533if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5491 echo $ac_n "(cached) $ac_c" 1>&6 5534 echo $ac_n "(cached) $ac_c" 1>&6
5492else 5535else
5493 cat > conftest.$ac_ext <<EOF 5536 cat > conftest.$ac_ext <<EOF
5494#line 5495 "configure" 5537#line 5538 "configure"
5495#include "confdefs.h" 5538#include "confdefs.h"
5496/* System header to define __stub macros and hopefully few prototypes, 5539/* System header to define __stub macros and hopefully few prototypes,
5497 which can conflict with char $ac_func(); below. */ 5540 which can conflict with char $ac_func(); below. */
@@ -5514,7 +5557,7 @@ $ac_func();
5514 5557
5515; return 0; } 5558; return 0; }
5516EOF 5559EOF
5517if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5560if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5518 rm -rf conftest* 5561 rm -rf conftest*
5519 eval "ac_cv_func_$ac_func=yes" 5562 eval "ac_cv_func_$ac_func=yes"
5520else 5563else
@@ -5543,17 +5586,17 @@ for ac_hdr in sys/time.h unistd.h
5543do 5586do
5544ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5587ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5545echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5588echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5546echo "configure:5547: checking for $ac_hdr" >&5 5589echo "configure:5590: checking for $ac_hdr" >&5
5547if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5590if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5548 echo $ac_n "(cached) $ac_c" 1>&6 5591 echo $ac_n "(cached) $ac_c" 1>&6
5549else 5592else
5550 cat > conftest.$ac_ext <<EOF 5593 cat > conftest.$ac_ext <<EOF
5551#line 5552 "configure" 5594#line 5595 "configure"
5552#include "confdefs.h" 5595#include "confdefs.h"
5553#include <$ac_hdr> 5596#include <$ac_hdr>
5554EOF 5597EOF
5555ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5598ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5556{ (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5599{ (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5557ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5600ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5558if test -z "$ac_err"; then 5601if test -z "$ac_err"; then
5559 rm -rf conftest* 5602 rm -rf conftest*
@@ -5582,12 +5625,12 @@ done
5582for ac_func in alarm 5625for ac_func in alarm
5583do 5626do
5584echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5585echo "configure:5586: checking for $ac_func" >&5 5628echo "configure:5629: checking for $ac_func" >&5
5586if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5629if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5587 echo $ac_n "(cached) $ac_c" 1>&6 5630 echo $ac_n "(cached) $ac_c" 1>&6
5588else 5631else
5589 cat > conftest.$ac_ext <<EOF 5632 cat > conftest.$ac_ext <<EOF
5590#line 5591 "configure" 5633#line 5634 "configure"
5591#include "confdefs.h" 5634#include "confdefs.h"
5592/* System header to define __stub macros and hopefully few prototypes, 5635/* System header to define __stub macros and hopefully few prototypes,
5593 which can conflict with char $ac_func(); below. */ 5636 which can conflict with char $ac_func(); below. */
@@ -5610,7 +5653,7 @@ $ac_func();
5610 5653
5611; return 0; } 5654; return 0; }
5612EOF 5655EOF
5613if { (eval echo configure:5614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5656if { (eval echo configure:5657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5614 rm -rf conftest* 5657 rm -rf conftest*
5615 eval "ac_cv_func_$ac_func=yes" 5658 eval "ac_cv_func_$ac_func=yes"
5616else 5659else
@@ -5635,7 +5678,7 @@ fi
5635done 5678done
5636 5679
5637echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5680echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5638echo "configure:5639: checking for working mktime" >&5 5681echo "configure:5682: checking for working mktime" >&5
5639if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5682if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5640 echo $ac_n "(cached) $ac_c" 1>&6 5683 echo $ac_n "(cached) $ac_c" 1>&6
5641else 5684else
@@ -5643,7 +5686,7 @@ else
5643 ac_cv_func_working_mktime=no 5686 ac_cv_func_working_mktime=no
5644else 5687else
5645 cat > conftest.$ac_ext <<EOF 5688 cat > conftest.$ac_ext <<EOF
5646#line 5647 "configure" 5689#line 5690 "configure"
5647#include "confdefs.h" 5690#include "confdefs.h"
5648/* Test program from Paul Eggert (eggert@twinsun.com) 5691/* Test program from Paul Eggert (eggert@twinsun.com)
5649 and Tony Leneis (tony@plaza.ds.adp.com). */ 5692 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5792,7 +5835,7 @@ main ()
5792 exit (0); 5835 exit (0);
5793} 5836}
5794EOF 5837EOF
5795if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5838if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5796then 5839then
5797 ac_cv_func_working_mktime=yes 5840 ac_cv_func_working_mktime=yes
5798else 5841else
@@ -5824,7 +5867,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
5824# On Solaris, -lkvm requires nlist from -lelf, so check that first 5867# On Solaris, -lkvm requires nlist from -lelf, so check that first
5825# to get the right answer into the cache. 5868# to get the right answer into the cache.
5826echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 5869echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
5827echo "configure:5828: checking for elf_begin in -lelf" >&5 5870echo "configure:5871: checking for elf_begin in -lelf" >&5
5828ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 5871ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
5829if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5872if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5830 echo $ac_n "(cached) $ac_c" 1>&6 5873 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5832,7 +5875,7 @@ else
5832 ac_save_LIBS="$LIBS" 5875 ac_save_LIBS="$LIBS"
5833LIBS="-lelf $LIBS" 5876LIBS="-lelf $LIBS"
5834cat > conftest.$ac_ext <<EOF 5877cat > conftest.$ac_ext <<EOF
5835#line 5836 "configure" 5878#line 5879 "configure"
5836#include "confdefs.h" 5879#include "confdefs.h"
5837/* Override any gcc2 internal prototype to avoid an error. */ 5880/* Override any gcc2 internal prototype to avoid an error. */
5838/* We use char because int might match the return type of a gcc2 5881/* We use char because int might match the return type of a gcc2
@@ -5843,7 +5886,7 @@ int main() {
5843elf_begin() 5886elf_begin()
5844; return 0; } 5887; return 0; }
5845EOF 5888EOF
5846if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5889if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5847 rm -rf conftest* 5890 rm -rf conftest*
5848 eval "ac_cv_lib_$ac_lib_var=yes" 5891 eval "ac_cv_lib_$ac_lib_var=yes"
5849else 5892else
@@ -5864,7 +5907,7 @@ else
5864fi 5907fi
5865 5908
5866echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 5909echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
5867echo "configure:5868: checking for kvm_open in -lkvm" >&5 5910echo "configure:5911: checking for kvm_open in -lkvm" >&5
5868ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 5911ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
5869if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5912if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5870 echo $ac_n "(cached) $ac_c" 1>&6 5913 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5872,7 +5915,7 @@ else
5872 ac_save_LIBS="$LIBS" 5915 ac_save_LIBS="$LIBS"
5873LIBS="-lkvm $LIBS" 5916LIBS="-lkvm $LIBS"
5874cat > conftest.$ac_ext <<EOF 5917cat > conftest.$ac_ext <<EOF
5875#line 5876 "configure" 5918#line 5919 "configure"
5876#include "confdefs.h" 5919#include "confdefs.h"
5877/* Override any gcc2 internal prototype to avoid an error. */ 5920/* Override any gcc2 internal prototype to avoid an error. */
5878/* We use char because int might match the return type of a gcc2 5921/* We use char because int might match the return type of a gcc2
@@ -5883,7 +5926,7 @@ int main() {
5883kvm_open() 5926kvm_open()
5884; return 0; } 5927; return 0; }
5885EOF 5928EOF
5886if { (eval echo configure:5887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5929if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5887 rm -rf conftest* 5930 rm -rf conftest*
5888 eval "ac_cv_lib_$ac_lib_var=yes" 5931 eval "ac_cv_lib_$ac_lib_var=yes"
5889else 5932else
@@ -5905,7 +5948,7 @@ fi
5905 5948
5906# Check for the 4.4BSD definition of getloadavg. 5949# Check for the 4.4BSD definition of getloadavg.
5907echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 5950echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
5908echo "configure:5909: checking for getloadavg in -lutil" >&5 5951echo "configure:5952: checking for getloadavg in -lutil" >&5
5909ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 5952ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
5910if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5953if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5911 echo $ac_n "(cached) $ac_c" 1>&6 5954 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5913,7 +5956,7 @@ else
5913 ac_save_LIBS="$LIBS" 5956 ac_save_LIBS="$LIBS"
5914LIBS="-lutil $LIBS" 5957LIBS="-lutil $LIBS"
5915cat > conftest.$ac_ext <<EOF 5958cat > conftest.$ac_ext <<EOF
5916#line 5917 "configure" 5959#line 5960 "configure"
5917#include "confdefs.h" 5960#include "confdefs.h"
5918/* Override any gcc2 internal prototype to avoid an error. */ 5961/* Override any gcc2 internal prototype to avoid an error. */
5919/* We use char because int might match the return type of a gcc2 5962/* We use char because int might match the return type of a gcc2
@@ -5924,7 +5967,7 @@ int main() {
5924getloadavg() 5967getloadavg()
5925; return 0; } 5968; return 0; }
5926EOF 5969EOF
5927if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5970if { (eval echo configure:5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5928 rm -rf conftest* 5971 rm -rf conftest*
5929 eval "ac_cv_lib_$ac_lib_var=yes" 5972 eval "ac_cv_lib_$ac_lib_var=yes"
5930else 5973else
@@ -5950,7 +5993,7 @@ if test $ac_have_func = no; then
5950 # Since it is not a standard part of AIX, it might be installed locally. 5993 # Since it is not a standard part of AIX, it might be installed locally.
5951 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 5994 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
5952 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 5995 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
5953echo "configure:5954: checking for getloadavg in -lgetloadavg" >&5 5996echo "configure:5997: checking for getloadavg in -lgetloadavg" >&5
5954ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 5997ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
5955if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5998if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5956 echo $ac_n "(cached) $ac_c" 1>&6 5999 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5958,7 +6001,7 @@ else
5958 ac_save_LIBS="$LIBS" 6001 ac_save_LIBS="$LIBS"
5959LIBS="-lgetloadavg $LIBS" 6002LIBS="-lgetloadavg $LIBS"
5960cat > conftest.$ac_ext <<EOF 6003cat > conftest.$ac_ext <<EOF
5961#line 5962 "configure" 6004#line 6005 "configure"
5962#include "confdefs.h" 6005#include "confdefs.h"
5963/* Override any gcc2 internal prototype to avoid an error. */ 6006/* Override any gcc2 internal prototype to avoid an error. */
5964/* We use char because int might match the return type of a gcc2 6007/* We use char because int might match the return type of a gcc2
@@ -5969,7 +6012,7 @@ int main() {
5969getloadavg() 6012getloadavg()
5970; return 0; } 6013; return 0; }
5971EOF 6014EOF
5972if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6015if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5973 rm -rf conftest* 6016 rm -rf conftest*
5974 eval "ac_cv_lib_$ac_lib_var=yes" 6017 eval "ac_cv_lib_$ac_lib_var=yes"
5975else 6018else
@@ -5996,12 +6039,12 @@ fi
5996for ac_func in getloadavg 6039for ac_func in getloadavg
5997do 6040do
5998echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6041echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5999echo "configure:6000: checking for $ac_func" >&5 6042echo "configure:6043: checking for $ac_func" >&5
6000if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6043if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6001 echo $ac_n "(cached) $ac_c" 1>&6 6044 echo $ac_n "(cached) $ac_c" 1>&6
6002else 6045else
6003 cat > conftest.$ac_ext <<EOF 6046 cat > conftest.$ac_ext <<EOF
6004#line 6005 "configure" 6047#line 6048 "configure"
6005#include "confdefs.h" 6048#include "confdefs.h"
6006/* System header to define __stub macros and hopefully few prototypes, 6049/* System header to define __stub macros and hopefully few prototypes,
6007 which can conflict with char $ac_func(); below. */ 6050 which can conflict with char $ac_func(); below. */
@@ -6024,7 +6067,7 @@ $ac_func();
6024 6067
6025; return 0; } 6068; return 0; }
6026EOF 6069EOF
6027if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6070if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6028 rm -rf conftest* 6071 rm -rf conftest*
6029 eval "ac_cv_func_$ac_func=yes" 6072 eval "ac_cv_func_$ac_func=yes"
6030else 6073else
@@ -6062,17 +6105,17 @@ else
6062 ac_have_func=no 6105 ac_have_func=no
6063 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6106 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6064echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6107echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6065echo "configure:6066: checking for sys/dg_sys_info.h" >&5 6108echo "configure:6109: checking for sys/dg_sys_info.h" >&5
6066if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6109if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6067 echo $ac_n "(cached) $ac_c" 1>&6 6110 echo $ac_n "(cached) $ac_c" 1>&6
6068else 6111else
6069 cat > conftest.$ac_ext <<EOF 6112 cat > conftest.$ac_ext <<EOF
6070#line 6071 "configure" 6113#line 6114 "configure"
6071#include "confdefs.h" 6114#include "confdefs.h"
6072#include <sys/dg_sys_info.h> 6115#include <sys/dg_sys_info.h>
6073EOF 6116EOF
6074ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6075{ (eval echo configure:6076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6118{ (eval echo configure:6119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6076ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6119ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6077if test -z "$ac_err"; then 6120if test -z "$ac_err"; then
6078 rm -rf conftest* 6121 rm -rf conftest*
@@ -6093,7 +6136,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6093EOF 6136EOF
6094 6137
6095 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6138 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6096echo "configure:6097: checking for dg_sys_info in -ldgc" >&5 6139echo "configure:6140: checking for dg_sys_info in -ldgc" >&5
6097ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6140ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6098if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6141if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6099 echo $ac_n "(cached) $ac_c" 1>&6 6142 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6101,7 +6144,7 @@ else
6101 ac_save_LIBS="$LIBS" 6144 ac_save_LIBS="$LIBS"
6102LIBS="-ldgc $LIBS" 6145LIBS="-ldgc $LIBS"
6103cat > conftest.$ac_ext <<EOF 6146cat > conftest.$ac_ext <<EOF
6104#line 6105 "configure" 6147#line 6148 "configure"
6105#include "confdefs.h" 6148#include "confdefs.h"
6106/* Override any gcc2 internal prototype to avoid an error. */ 6149/* Override any gcc2 internal prototype to avoid an error. */
6107/* We use char because int might match the return type of a gcc2 6150/* We use char because int might match the return type of a gcc2
@@ -6112,7 +6155,7 @@ int main() {
6112dg_sys_info() 6155dg_sys_info()
6113; return 0; } 6156; return 0; }
6114EOF 6157EOF
6115if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6158if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6116 rm -rf conftest* 6159 rm -rf conftest*
6117 eval "ac_cv_lib_$ac_lib_var=yes" 6160 eval "ac_cv_lib_$ac_lib_var=yes"
6118else 6161else
@@ -6157,17 +6200,17 @@ EOF
6157 if test $ac_have_func = no; then 6200 if test $ac_have_func = no; then
6158 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6201 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6159echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6202echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6160echo "configure:6161: checking for inq_stats/cpustats.h" >&5 6203echo "configure:6204: checking for inq_stats/cpustats.h" >&5
6161if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6162 echo $ac_n "(cached) $ac_c" 1>&6 6205 echo $ac_n "(cached) $ac_c" 1>&6
6163else 6206else
6164 cat > conftest.$ac_ext <<EOF 6207 cat > conftest.$ac_ext <<EOF
6165#line 6166 "configure" 6208#line 6209 "configure"
6166#include "confdefs.h" 6209#include "confdefs.h"
6167#include <inq_stats/cpustats.h> 6210#include <inq_stats/cpustats.h>
6168EOF 6211EOF
6169ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6170{ (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6213{ (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6171ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6172if test -z "$ac_err"; then 6215if test -z "$ac_err"; then
6173 rm -rf conftest* 6216 rm -rf conftest*
@@ -6200,17 +6243,17 @@ fi
6200 if test $ac_have_func = no; then 6243 if test $ac_have_func = no; then
6201 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6244 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6202echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6245echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6203echo "configure:6204: checking for sys/cpustats.h" >&5 6246echo "configure:6247: checking for sys/cpustats.h" >&5
6204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6247if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6205 echo $ac_n "(cached) $ac_c" 1>&6 6248 echo $ac_n "(cached) $ac_c" 1>&6
6206else 6249else
6207 cat > conftest.$ac_ext <<EOF 6250 cat > conftest.$ac_ext <<EOF
6208#line 6209 "configure" 6251#line 6252 "configure"
6209#include "confdefs.h" 6252#include "confdefs.h"
6210#include <sys/cpustats.h> 6253#include <sys/cpustats.h>
6211EOF 6254EOF
6212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6213{ (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6256{ (eval echo configure:6257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6215if test -z "$ac_err"; then 6258if test -z "$ac_err"; then
6216 rm -rf conftest* 6259 rm -rf conftest*
@@ -6241,17 +6284,17 @@ fi
6241do 6284do
6242ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6285ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6243echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6286echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6244echo "configure:6245: checking for $ac_hdr" >&5 6287echo "configure:6288: checking for $ac_hdr" >&5
6245if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6288if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6246 echo $ac_n "(cached) $ac_c" 1>&6 6289 echo $ac_n "(cached) $ac_c" 1>&6
6247else 6290else
6248 cat > conftest.$ac_ext <<EOF 6291 cat > conftest.$ac_ext <<EOF
6249#line 6250 "configure" 6292#line 6293 "configure"
6250#include "confdefs.h" 6293#include "confdefs.h"
6251#include <$ac_hdr> 6294#include <$ac_hdr>
6252EOF 6295EOF
6253ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6296ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6254{ (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6297{ (eval echo configure:6298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6255ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6298ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6256if test -z "$ac_err"; then 6299if test -z "$ac_err"; then
6257 rm -rf conftest* 6300 rm -rf conftest*
@@ -6281,17 +6324,17 @@ done
6281 6324
6282 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6325 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6283echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6326echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6284echo "configure:6285: checking for nlist.h" >&5 6327echo "configure:6328: checking for nlist.h" >&5
6285if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6328if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6286 echo $ac_n "(cached) $ac_c" 1>&6 6329 echo $ac_n "(cached) $ac_c" 1>&6
6287else 6330else
6288 cat > conftest.$ac_ext <<EOF 6331 cat > conftest.$ac_ext <<EOF
6289#line 6290 "configure" 6332#line 6333 "configure"
6290#include "confdefs.h" 6333#include "confdefs.h"
6291#include <nlist.h> 6334#include <nlist.h>
6292EOF 6335EOF
6293ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6336ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6294{ (eval echo configure:6295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6337{ (eval echo configure:6338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6295ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6338ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6296if test -z "$ac_err"; then 6339if test -z "$ac_err"; then
6297 rm -rf conftest* 6340 rm -rf conftest*
@@ -6312,19 +6355,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6312EOF 6355EOF
6313 6356
6314 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6357 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6315echo "configure:6316: checking for n_un in struct nlist" >&5 6358echo "configure:6359: checking for n_un in struct nlist" >&5
6316if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6359if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6317 echo $ac_n "(cached) $ac_c" 1>&6 6360 echo $ac_n "(cached) $ac_c" 1>&6
6318else 6361else
6319 cat > conftest.$ac_ext <<EOF 6362 cat > conftest.$ac_ext <<EOF
6320#line 6321 "configure" 6363#line 6364 "configure"
6321#include "confdefs.h" 6364#include "confdefs.h"
6322#include <nlist.h> 6365#include <nlist.h>
6323int main() { 6366int main() {
6324struct nlist n; n.n_un.n_name = 0; 6367struct nlist n; n.n_un.n_name = 0;
6325; return 0; } 6368; return 0; }
6326EOF 6369EOF
6327if { (eval echo configure:6328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6370if { (eval echo configure:6371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6328 rm -rf conftest* 6371 rm -rf conftest*
6329 ac_cv_struct_nlist_n_un=yes 6372 ac_cv_struct_nlist_n_un=yes
6330else 6373else
@@ -6351,12 +6394,12 @@ fi # Do not have getloadavg in system libraries.
6351 6394
6352# Some definitions of getloadavg require that the program be installed setgid. 6395# Some definitions of getloadavg require that the program be installed setgid.
6353echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6396echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6354echo "configure:6355: checking whether getloadavg requires setgid" >&5 6397echo "configure:6398: checking whether getloadavg requires setgid" >&5
6355if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6398if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6356 echo $ac_n "(cached) $ac_c" 1>&6 6399 echo $ac_n "(cached) $ac_c" 1>&6
6357else 6400else
6358 cat > conftest.$ac_ext <<EOF 6401 cat > conftest.$ac_ext <<EOF
6359#line 6360 "configure" 6402#line 6403 "configure"
6360#include "confdefs.h" 6403#include "confdefs.h"
6361#include "$srcdir/getloadavg.c" 6404#include "$srcdir/getloadavg.c"
6362#ifdef LDAV_PRIVILEGED 6405#ifdef LDAV_PRIVILEGED
@@ -6387,7 +6430,7 @@ fi
6387 6430
6388if test $ac_cv_func_getloadavg_setgid = yes; then 6431if test $ac_cv_func_getloadavg_setgid = yes; then
6389 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 6432 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6390echo "configure:6391: checking group of /dev/kmem" >&5 6433echo "configure:6434: checking group of /dev/kmem" >&5
6391if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 6434if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6392 echo $ac_n "(cached) $ac_c" 1>&6 6435 echo $ac_n "(cached) $ac_c" 1>&6
6393else 6436else
@@ -6416,7 +6459,7 @@ fi
6416 if test "$enable_largefile" != no; then 6459 if test "$enable_largefile" != no; then
6417 6460
6418 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 6461 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
6419echo "configure:6420: checking for special C compiler options needed for large files" >&5 6462echo "configure:6463: checking for special C compiler options needed for large files" >&5
6420if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then 6463if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
6421 echo $ac_n "(cached) $ac_c" 1>&6 6464 echo $ac_n "(cached) $ac_c" 1>&6
6422else 6465else
@@ -6425,7 +6468,7 @@ else
6425 # IRIX 6.2 and later do not support large files by default, 6468 # IRIX 6.2 and later do not support large files by default,
6426 # so use the C compiler's -n32 option if that helps. 6469 # so use the C compiler's -n32 option if that helps.
6427 cat > conftest.$ac_ext <<EOF 6470 cat > conftest.$ac_ext <<EOF
6428#line 6429 "configure" 6471#line 6472 "configure"
6429#include "confdefs.h" 6472#include "confdefs.h"
6430#include <sys/types.h> 6473#include <sys/types.h>
6431 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6474 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6434,7 +6477,7 @@ int main() {
6434 6477
6435; return 0; } 6478; return 0; }
6436EOF 6479EOF
6437if { (eval echo configure:6438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6480if { (eval echo configure:6481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6438 : 6481 :
6439else 6482else
6440 echo "configure: failed program was:" >&5 6483 echo "configure: failed program was:" >&5
@@ -6443,7 +6486,7 @@ else
6443 ac_save_CC="$CC" 6486 ac_save_CC="$CC"
6444 CC="$CC -n32" 6487 CC="$CC -n32"
6445 cat > conftest.$ac_ext <<EOF 6488 cat > conftest.$ac_ext <<EOF
6446#line 6447 "configure" 6489#line 6490 "configure"
6447#include "confdefs.h" 6490#include "confdefs.h"
6448#include <sys/types.h> 6491#include <sys/types.h>
6449 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6492 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6452,7 +6495,7 @@ int main() {
6452 6495
6453; return 0; } 6496; return 0; }
6454EOF 6497EOF
6455if { (eval echo configure:6456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6498if { (eval echo configure:6499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6456 rm -rf conftest* 6499 rm -rf conftest*
6457 ac_cv_sys_largefile_CC=' -n32' 6500 ac_cv_sys_largefile_CC=' -n32'
6458else 6501else
@@ -6472,13 +6515,13 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
6472 fi 6515 fi
6473 6516
6474 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 6517 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
6475echo "configure:6476: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6518echo "configure:6519: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6476if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then 6519if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
6477 echo $ac_n "(cached) $ac_c" 1>&6 6520 echo $ac_n "(cached) $ac_c" 1>&6
6478else 6521else
6479 ac_cv_sys_file_offset_bits=no 6522 ac_cv_sys_file_offset_bits=no
6480 cat > conftest.$ac_ext <<EOF 6523 cat > conftest.$ac_ext <<EOF
6481#line 6482 "configure" 6524#line 6525 "configure"
6482#include "confdefs.h" 6525#include "confdefs.h"
6483#include <sys/types.h> 6526#include <sys/types.h>
6484 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6527 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6489,14 +6532,14 @@ int main() {
6489 6532
6490; return 0; } 6533; return 0; }
6491EOF 6534EOF
6492if { (eval echo configure:6493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6535if { (eval echo configure:6536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6493 : 6536 :
6494else 6537else
6495 echo "configure: failed program was:" >&5 6538 echo "configure: failed program was:" >&5
6496 cat conftest.$ac_ext >&5 6539 cat conftest.$ac_ext >&5
6497 rm -rf conftest* 6540 rm -rf conftest*
6498 cat > conftest.$ac_ext <<EOF 6541 cat > conftest.$ac_ext <<EOF
6499#line 6500 "configure" 6542#line 6543 "configure"
6500#include "confdefs.h" 6543#include "confdefs.h"
6501#define _FILE_OFFSET_BITS 64 6544#define _FILE_OFFSET_BITS 64
6502#include <sys/types.h> 6545#include <sys/types.h>
@@ -6508,7 +6551,7 @@ int main() {
6508 6551
6509; return 0; } 6552; return 0; }
6510EOF 6553EOF
6511if { (eval echo configure:6512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6554if { (eval echo configure:6555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6512 rm -rf conftest* 6555 rm -rf conftest*
6513 ac_cv_sys_file_offset_bits=64 6556 ac_cv_sys_file_offset_bits=64
6514else 6557else
@@ -6528,13 +6571,13 @@ EOF
6528 6571
6529 fi 6572 fi
6530 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 6573 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
6531echo "configure:6532: checking for _LARGEFILE_SOURCE value needed for large files" >&5 6574echo "configure:6575: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6532if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 6575if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
6533 echo $ac_n "(cached) $ac_c" 1>&6 6576 echo $ac_n "(cached) $ac_c" 1>&6
6534else 6577else
6535 ac_cv_sys_largefile_source=no 6578 ac_cv_sys_largefile_source=no
6536 cat > conftest.$ac_ext <<EOF 6579 cat > conftest.$ac_ext <<EOF
6537#line 6538 "configure" 6580#line 6581 "configure"
6538#include "confdefs.h" 6581#include "confdefs.h"
6539#include <sys/types.h> 6582#include <sys/types.h>
6540 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6583 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6545,14 +6588,14 @@ int main() {
6545return !ftello; 6588return !ftello;
6546; return 0; } 6589; return 0; }
6547EOF 6590EOF
6548if { (eval echo configure:6549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6591if { (eval echo configure:6592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6549 : 6592 :
6550else 6593else
6551 echo "configure: failed program was:" >&5 6594 echo "configure: failed program was:" >&5
6552 cat conftest.$ac_ext >&5 6595 cat conftest.$ac_ext >&5
6553 rm -rf conftest* 6596 rm -rf conftest*
6554 cat > conftest.$ac_ext <<EOF 6597 cat > conftest.$ac_ext <<EOF
6555#line 6556 "configure" 6598#line 6599 "configure"
6556#include "confdefs.h" 6599#include "confdefs.h"
6557#define _LARGEFILE_SOURCE 1 6600#define _LARGEFILE_SOURCE 1
6558#include <sys/types.h> 6601#include <sys/types.h>
@@ -6564,7 +6607,7 @@ int main() {
6564return !ftello; 6607return !ftello;
6565; return 0; } 6608; return 0; }
6566EOF 6609EOF
6567if { (eval echo configure:6568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6610if { (eval echo configure:6611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6568 rm -rf conftest* 6611 rm -rf conftest*
6569 ac_cv_sys_largefile_source=1 6612 ac_cv_sys_largefile_source=1
6570else 6613else
@@ -6584,13 +6627,13 @@ EOF
6584 6627
6585 fi 6628 fi
6586 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 6629 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
6587echo "configure:6588: checking for _LARGE_FILES value needed for large files" >&5 6630echo "configure:6631: checking for _LARGE_FILES value needed for large files" >&5
6588if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then 6631if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
6589 echo $ac_n "(cached) $ac_c" 1>&6 6632 echo $ac_n "(cached) $ac_c" 1>&6
6590else 6633else
6591 ac_cv_sys_large_files=no 6634 ac_cv_sys_large_files=no
6592 cat > conftest.$ac_ext <<EOF 6635 cat > conftest.$ac_ext <<EOF
6593#line 6594 "configure" 6636#line 6637 "configure"
6594#include "confdefs.h" 6637#include "confdefs.h"
6595#include <sys/types.h> 6638#include <sys/types.h>
6596 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6639 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6601,14 +6644,14 @@ int main() {
6601 6644
6602; return 0; } 6645; return 0; }
6603EOF 6646EOF
6604if { (eval echo configure:6605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6647if { (eval echo configure:6648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6605 : 6648 :
6606else 6649else
6607 echo "configure: failed program was:" >&5 6650 echo "configure: failed program was:" >&5
6608 cat conftest.$ac_ext >&5 6651 cat conftest.$ac_ext >&5
6609 rm -rf conftest* 6652 rm -rf conftest*
6610 cat > conftest.$ac_ext <<EOF 6653 cat > conftest.$ac_ext <<EOF
6611#line 6612 "configure" 6654#line 6655 "configure"
6612#include "confdefs.h" 6655#include "confdefs.h"
6613#define _LARGE_FILES 1 6656#define _LARGE_FILES 1
6614#include <sys/types.h> 6657#include <sys/types.h>
@@ -6620,7 +6663,7 @@ int main() {
6620 6663
6621; return 0; } 6664; return 0; }
6622EOF 6665EOF
6623if { (eval echo configure:6624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6666if { (eval echo configure:6667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6624 rm -rf conftest* 6667 rm -rf conftest*
6625 ac_cv_sys_large_files=1 6668 ac_cv_sys_large_files=1
6626else 6669else
@@ -6640,13 +6683,13 @@ EOF
6640 6683
6641 fi 6684 fi
6642 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 6685 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
6643echo "configure:6644: checking for _XOPEN_SOURCE value needed for large files" >&5 6686echo "configure:6687: checking for _XOPEN_SOURCE value needed for large files" >&5
6644if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then 6687if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
6645 echo $ac_n "(cached) $ac_c" 1>&6 6688 echo $ac_n "(cached) $ac_c" 1>&6
6646else 6689else
6647 ac_cv_sys_xopen_source=no 6690 ac_cv_sys_xopen_source=no
6648 cat > conftest.$ac_ext <<EOF 6691 cat > conftest.$ac_ext <<EOF
6649#line 6650 "configure" 6692#line 6693 "configure"
6650#include "confdefs.h" 6693#include "confdefs.h"
6651#include <sys/types.h> 6694#include <sys/types.h>
6652 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6695 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6657,14 +6700,14 @@ int main() {
6657return !ftello; 6700return !ftello;
6658; return 0; } 6701; return 0; }
6659EOF 6702EOF
6660if { (eval echo configure:6661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6703if { (eval echo configure:6704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6661 : 6704 :
6662else 6705else
6663 echo "configure: failed program was:" >&5 6706 echo "configure: failed program was:" >&5
6664 cat conftest.$ac_ext >&5 6707 cat conftest.$ac_ext >&5
6665 rm -rf conftest* 6708 rm -rf conftest*
6666 cat > conftest.$ac_ext <<EOF 6709 cat > conftest.$ac_ext <<EOF
6667#line 6668 "configure" 6710#line 6711 "configure"
6668#include "confdefs.h" 6711#include "confdefs.h"
6669#define _XOPEN_SOURCE 500 6712#define _XOPEN_SOURCE 500
6670#include <sys/types.h> 6713#include <sys/types.h>
@@ -6676,7 +6719,7 @@ int main() {
6676return !ftello; 6719return !ftello;
6677; return 0; } 6720; return 0; }
6678EOF 6721EOF
6679if { (eval echo configure:6680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6722if { (eval echo configure:6723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6680 rm -rf conftest* 6723 rm -rf conftest*
6681 ac_cv_sys_xopen_source=500 6724 ac_cv_sys_xopen_source=500
6682else 6725else
@@ -6700,12 +6743,12 @@ EOF
6700for ac_func in ftello 6743for ac_func in ftello
6701do 6744do
6702echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6745echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6703echo "configure:6704: checking for $ac_func" >&5 6746echo "configure:6747: checking for $ac_func" >&5
6704if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6747if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6705 echo $ac_n "(cached) $ac_c" 1>&6 6748 echo $ac_n "(cached) $ac_c" 1>&6
6706else 6749else
6707 cat > conftest.$ac_ext <<EOF 6750 cat > conftest.$ac_ext <<EOF
6708#line 6709 "configure" 6751#line 6752 "configure"
6709#include "confdefs.h" 6752#include "confdefs.h"
6710/* System header to define __stub macros and hopefully few prototypes, 6753/* System header to define __stub macros and hopefully few prototypes,
6711 which can conflict with char $ac_func(); below. */ 6754 which can conflict with char $ac_func(); below. */
@@ -6728,7 +6771,7 @@ $ac_func();
6728 6771
6729; return 0; } 6772; return 0; }
6730EOF 6773EOF
6731if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6774if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6732 rm -rf conftest* 6775 rm -rf conftest*
6733 eval "ac_cv_func_$ac_func=yes" 6776 eval "ac_cv_func_$ac_func=yes"
6734else 6777else
@@ -6758,12 +6801,12 @@ done
6758for ac_func in grantpt 6801for ac_func in grantpt
6759do 6802do
6760echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6803echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6761echo "configure:6762: checking for $ac_func" >&5 6804echo "configure:6805: checking for $ac_func" >&5
6762if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6805if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6763 echo $ac_n "(cached) $ac_c" 1>&6 6806 echo $ac_n "(cached) $ac_c" 1>&6
6764else 6807else
6765 cat > conftest.$ac_ext <<EOF 6808 cat > conftest.$ac_ext <<EOF
6766#line 6767 "configure" 6809#line 6810 "configure"
6767#include "confdefs.h" 6810#include "confdefs.h"
6768/* System header to define __stub macros and hopefully few prototypes, 6811/* System header to define __stub macros and hopefully few prototypes,
6769 which can conflict with char $ac_func(); below. */ 6812 which can conflict with char $ac_func(); below. */
@@ -6786,7 +6829,7 @@ $ac_func();
6786 6829
6787; return 0; } 6830; return 0; }
6788EOF 6831EOF
6789if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6832if { (eval echo configure:6833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6790 rm -rf conftest* 6833 rm -rf conftest*
6791 eval "ac_cv_func_$ac_func=yes" 6834 eval "ac_cv_func_$ac_func=yes"
6792else 6835else
@@ -6815,12 +6858,12 @@ done
6815for ac_func in getpt 6858for ac_func in getpt
6816do 6859do
6817echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6860echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6818echo "configure:6819: checking for $ac_func" >&5 6861echo "configure:6862: checking for $ac_func" >&5
6819if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6862if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6820 echo $ac_n "(cached) $ac_c" 1>&6 6863 echo $ac_n "(cached) $ac_c" 1>&6
6821else 6864else
6822 cat > conftest.$ac_ext <<EOF 6865 cat > conftest.$ac_ext <<EOF
6823#line 6824 "configure" 6866#line 6867 "configure"
6824#include "confdefs.h" 6867#include "confdefs.h"
6825/* System header to define __stub macros and hopefully few prototypes, 6868/* System header to define __stub macros and hopefully few prototypes,
6826 which can conflict with char $ac_func(); below. */ 6869 which can conflict with char $ac_func(); below. */
@@ -6843,7 +6886,7 @@ $ac_func();
6843 6886
6844; return 0; } 6887; return 0; }
6845EOF 6888EOF
6846if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6889if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6847 rm -rf conftest* 6890 rm -rf conftest*
6848 eval "ac_cv_func_$ac_func=yes" 6891 eval "ac_cv_func_$ac_func=yes"
6849else 6892else
@@ -6873,7 +6916,7 @@ done
6873# It's better to believe a function is not available 6916# It's better to believe a function is not available
6874# than to expect to find it in ncurses. 6917# than to expect to find it in ncurses.
6875echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6918echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
6876echo "configure:6877: checking for tparm in -lncurses" >&5 6919echo "configure:6920: checking for tparm in -lncurses" >&5
6877ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6920ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
6878if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6921if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6879 echo $ac_n "(cached) $ac_c" 1>&6 6922 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6881,7 +6924,7 @@ else
6881 ac_save_LIBS="$LIBS" 6924 ac_save_LIBS="$LIBS"
6882LIBS="-lncurses $LIBS" 6925LIBS="-lncurses $LIBS"
6883cat > conftest.$ac_ext <<EOF 6926cat > conftest.$ac_ext <<EOF
6884#line 6885 "configure" 6927#line 6928 "configure"
6885#include "confdefs.h" 6928#include "confdefs.h"
6886/* Override any gcc2 internal prototype to avoid an error. */ 6929/* Override any gcc2 internal prototype to avoid an error. */
6887/* We use char because int might match the return type of a gcc2 6930/* We use char because int might match the return type of a gcc2
@@ -6892,7 +6935,7 @@ int main() {
6892tparm() 6935tparm()
6893; return 0; } 6936; return 0; }
6894EOF 6937EOF
6895if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6938if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6896 rm -rf conftest* 6939 rm -rf conftest*
6897 eval "ac_cv_lib_$ac_lib_var=yes" 6940 eval "ac_cv_lib_$ac_lib_var=yes"
6898else 6941else
@@ -6923,7 +6966,7 @@ fi
6923# These tell us which Kerberos-related libraries to use. 6966# These tell us which Kerberos-related libraries to use.
6924if test "${with_kerberos+set}" = set; then 6967if test "${with_kerberos+set}" = set; then
6925 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 6968 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
6926echo "configure:6927: checking for com_err in -lcom_err" >&5 6969echo "configure:6970: checking for com_err in -lcom_err" >&5
6927ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 6970ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
6928if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6971if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6929 echo $ac_n "(cached) $ac_c" 1>&6 6972 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6931,7 +6974,7 @@ else
6931 ac_save_LIBS="$LIBS" 6974 ac_save_LIBS="$LIBS"
6932LIBS="-lcom_err $LIBS" 6975LIBS="-lcom_err $LIBS"
6933cat > conftest.$ac_ext <<EOF 6976cat > conftest.$ac_ext <<EOF
6934#line 6935 "configure" 6977#line 6978 "configure"
6935#include "confdefs.h" 6978#include "confdefs.h"
6936/* Override any gcc2 internal prototype to avoid an error. */ 6979/* Override any gcc2 internal prototype to avoid an error. */
6937/* We use char because int might match the return type of a gcc2 6980/* We use char because int might match the return type of a gcc2
@@ -6942,7 +6985,7 @@ int main() {
6942com_err() 6985com_err()
6943; return 0; } 6986; return 0; }
6944EOF 6987EOF
6945if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6988if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6946 rm -rf conftest* 6989 rm -rf conftest*
6947 eval "ac_cv_lib_$ac_lib_var=yes" 6990 eval "ac_cv_lib_$ac_lib_var=yes"
6948else 6991else
@@ -6970,7 +7013,7 @@ else
6970fi 7013fi
6971 7014
6972 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7015 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
6973echo "configure:6974: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7016echo "configure:7017: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
6974ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7017ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6975if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6976 echo $ac_n "(cached) $ac_c" 1>&6 7019 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6978,7 +7021,7 @@ else
6978 ac_save_LIBS="$LIBS" 7021 ac_save_LIBS="$LIBS"
6979LIBS="-lk5crypto $LIBS" 7022LIBS="-lk5crypto $LIBS"
6980cat > conftest.$ac_ext <<EOF 7023cat > conftest.$ac_ext <<EOF
6981#line 6982 "configure" 7024#line 7025 "configure"
6982#include "confdefs.h" 7025#include "confdefs.h"
6983/* Override any gcc2 internal prototype to avoid an error. */ 7026/* Override any gcc2 internal prototype to avoid an error. */
6984/* We use char because int might match the return type of a gcc2 7027/* We use char because int might match the return type of a gcc2
@@ -6989,7 +7032,7 @@ int main() {
6989mit_des_cbc_encrypt() 7032mit_des_cbc_encrypt()
6990; return 0; } 7033; return 0; }
6991EOF 7034EOF
6992if { (eval echo configure:6993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7035if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6993 rm -rf conftest* 7036 rm -rf conftest*
6994 eval "ac_cv_lib_$ac_lib_var=yes" 7037 eval "ac_cv_lib_$ac_lib_var=yes"
6995else 7038else
@@ -7017,7 +7060,7 @@ else
7017fi 7060fi
7018 7061
7019 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7062 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7020echo "configure:7021: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7063echo "configure:7064: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7021ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7064ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7022if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7065if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7023 echo $ac_n "(cached) $ac_c" 1>&6 7066 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7025,7 +7068,7 @@ else
7025 ac_save_LIBS="$LIBS" 7068 ac_save_LIBS="$LIBS"
7026LIBS="-lcrypto $LIBS" 7069LIBS="-lcrypto $LIBS"
7027cat > conftest.$ac_ext <<EOF 7070cat > conftest.$ac_ext <<EOF
7028#line 7029 "configure" 7071#line 7072 "configure"
7029#include "confdefs.h" 7072#include "confdefs.h"
7030/* Override any gcc2 internal prototype to avoid an error. */ 7073/* Override any gcc2 internal prototype to avoid an error. */
7031/* We use char because int might match the return type of a gcc2 7074/* We use char because int might match the return type of a gcc2
@@ -7036,7 +7079,7 @@ int main() {
7036mit_des_cbc_encrypt() 7079mit_des_cbc_encrypt()
7037; return 0; } 7080; return 0; }
7038EOF 7081EOF
7039if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7082if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7040 rm -rf conftest* 7083 rm -rf conftest*
7041 eval "ac_cv_lib_$ac_lib_var=yes" 7084 eval "ac_cv_lib_$ac_lib_var=yes"
7042else 7085else
@@ -7064,7 +7107,7 @@ else
7064fi 7107fi
7065 7108
7066 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7109 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7067echo "configure:7068: checking for krb5_init_context in -lkrb5" >&5 7110echo "configure:7111: checking for krb5_init_context in -lkrb5" >&5
7068ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7111ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7069if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7112if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7070 echo $ac_n "(cached) $ac_c" 1>&6 7113 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7072,7 +7115,7 @@ else
7072 ac_save_LIBS="$LIBS" 7115 ac_save_LIBS="$LIBS"
7073LIBS="-lkrb5 $LIBS" 7116LIBS="-lkrb5 $LIBS"
7074cat > conftest.$ac_ext <<EOF 7117cat > conftest.$ac_ext <<EOF
7075#line 7076 "configure" 7118#line 7119 "configure"
7076#include "confdefs.h" 7119#include "confdefs.h"
7077/* Override any gcc2 internal prototype to avoid an error. */ 7120/* Override any gcc2 internal prototype to avoid an error. */
7078/* We use char because int might match the return type of a gcc2 7121/* We use char because int might match the return type of a gcc2
@@ -7083,7 +7126,7 @@ int main() {
7083krb5_init_context() 7126krb5_init_context()
7084; return 0; } 7127; return 0; }
7085EOF 7128EOF
7086if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7129if { (eval echo configure:7130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7087 rm -rf conftest* 7130 rm -rf conftest*
7088 eval "ac_cv_lib_$ac_lib_var=yes" 7131 eval "ac_cv_lib_$ac_lib_var=yes"
7089else 7132else
@@ -7112,7 +7155,7 @@ fi
7112 7155
7113 if test "${with_kerberos5+set}" != set; then 7156 if test "${with_kerberos5+set}" != set; then
7114 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7157 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7115echo "configure:7116: checking for des_cbc_encrypt in -ldes425" >&5 7158echo "configure:7159: checking for des_cbc_encrypt in -ldes425" >&5
7116ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7159ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7117if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7160if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7118 echo $ac_n "(cached) $ac_c" 1>&6 7161 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7120,7 +7163,7 @@ else
7120 ac_save_LIBS="$LIBS" 7163 ac_save_LIBS="$LIBS"
7121LIBS="-ldes425 $LIBS" 7164LIBS="-ldes425 $LIBS"
7122cat > conftest.$ac_ext <<EOF 7165cat > conftest.$ac_ext <<EOF
7123#line 7124 "configure" 7166#line 7167 "configure"
7124#include "confdefs.h" 7167#include "confdefs.h"
7125/* Override any gcc2 internal prototype to avoid an error. */ 7168/* Override any gcc2 internal prototype to avoid an error. */
7126/* We use char because int might match the return type of a gcc2 7169/* We use char because int might match the return type of a gcc2
@@ -7131,7 +7174,7 @@ int main() {
7131des_cbc_encrypt() 7174des_cbc_encrypt()
7132; return 0; } 7175; return 0; }
7133EOF 7176EOF
7134if { (eval echo configure:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7177if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7135 rm -rf conftest* 7178 rm -rf conftest*
7136 eval "ac_cv_lib_$ac_lib_var=yes" 7179 eval "ac_cv_lib_$ac_lib_var=yes"
7137else 7180else
@@ -7157,7 +7200,7 @@ EOF
7157else 7200else
7158 echo "$ac_t""no" 1>&6 7201 echo "$ac_t""no" 1>&6
7159echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7202echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7160echo "configure:7161: checking for des_cbc_encrypt in -ldes" >&5 7203echo "configure:7204: checking for des_cbc_encrypt in -ldes" >&5
7161ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7204ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7162if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7205if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7163 echo $ac_n "(cached) $ac_c" 1>&6 7206 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7165,7 +7208,7 @@ else
7165 ac_save_LIBS="$LIBS" 7208 ac_save_LIBS="$LIBS"
7166LIBS="-ldes $LIBS" 7209LIBS="-ldes $LIBS"
7167cat > conftest.$ac_ext <<EOF 7210cat > conftest.$ac_ext <<EOF
7168#line 7169 "configure" 7211#line 7212 "configure"
7169#include "confdefs.h" 7212#include "confdefs.h"
7170/* Override any gcc2 internal prototype to avoid an error. */ 7213/* Override any gcc2 internal prototype to avoid an error. */
7171/* We use char because int might match the return type of a gcc2 7214/* We use char because int might match the return type of a gcc2
@@ -7176,7 +7219,7 @@ int main() {
7176des_cbc_encrypt() 7219des_cbc_encrypt()
7177; return 0; } 7220; return 0; }
7178EOF 7221EOF
7179if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7222if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7180 rm -rf conftest* 7223 rm -rf conftest*
7181 eval "ac_cv_lib_$ac_lib_var=yes" 7224 eval "ac_cv_lib_$ac_lib_var=yes"
7182else 7225else
@@ -7206,7 +7249,7 @@ fi
7206fi 7249fi
7207 7250
7208 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7251 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7209echo "configure:7210: checking for krb_get_cred in -lkrb4" >&5 7252echo "configure:7253: checking for krb_get_cred in -lkrb4" >&5
7210ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7253ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7254if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7212 echo $ac_n "(cached) $ac_c" 1>&6 7255 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7214,7 +7257,7 @@ else
7214 ac_save_LIBS="$LIBS" 7257 ac_save_LIBS="$LIBS"
7215LIBS="-lkrb4 $LIBS" 7258LIBS="-lkrb4 $LIBS"
7216cat > conftest.$ac_ext <<EOF 7259cat > conftest.$ac_ext <<EOF
7217#line 7218 "configure" 7260#line 7261 "configure"
7218#include "confdefs.h" 7261#include "confdefs.h"
7219/* Override any gcc2 internal prototype to avoid an error. */ 7262/* Override any gcc2 internal prototype to avoid an error. */
7220/* We use char because int might match the return type of a gcc2 7263/* We use char because int might match the return type of a gcc2
@@ -7225,7 +7268,7 @@ int main() {
7225krb_get_cred() 7268krb_get_cred()
7226; return 0; } 7269; return 0; }
7227EOF 7270EOF
7228if { (eval echo configure:7229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7271if { (eval echo configure:7272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7229 rm -rf conftest* 7272 rm -rf conftest*
7230 eval "ac_cv_lib_$ac_lib_var=yes" 7273 eval "ac_cv_lib_$ac_lib_var=yes"
7231else 7274else
@@ -7251,7 +7294,7 @@ EOF
7251else 7294else
7252 echo "$ac_t""no" 1>&6 7295 echo "$ac_t""no" 1>&6
7253echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7296echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7254echo "configure:7255: checking for krb_get_cred in -lkrb" >&5 7297echo "configure:7298: checking for krb_get_cred in -lkrb" >&5
7255ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7298ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7299if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7257 echo $ac_n "(cached) $ac_c" 1>&6 7300 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7259,7 +7302,7 @@ else
7259 ac_save_LIBS="$LIBS" 7302 ac_save_LIBS="$LIBS"
7260LIBS="-lkrb $LIBS" 7303LIBS="-lkrb $LIBS"
7261cat > conftest.$ac_ext <<EOF 7304cat > conftest.$ac_ext <<EOF
7262#line 7263 "configure" 7305#line 7306 "configure"
7263#include "confdefs.h" 7306#include "confdefs.h"
7264/* Override any gcc2 internal prototype to avoid an error. */ 7307/* Override any gcc2 internal prototype to avoid an error. */
7265/* We use char because int might match the return type of a gcc2 7308/* We use char because int might match the return type of a gcc2
@@ -7270,7 +7313,7 @@ int main() {
7270krb_get_cred() 7313krb_get_cred()
7271; return 0; } 7314; return 0; }
7272EOF 7315EOF
7273if { (eval echo configure:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7316if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7274 rm -rf conftest* 7317 rm -rf conftest*
7275 eval "ac_cv_lib_$ac_lib_var=yes" 7318 eval "ac_cv_lib_$ac_lib_var=yes"
7276else 7319else
@@ -7306,17 +7349,17 @@ fi
7306do 7349do
7307ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7350ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7308echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7351echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7309echo "configure:7310: checking for $ac_hdr" >&5 7352echo "configure:7353: checking for $ac_hdr" >&5
7310if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7353if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7311 echo $ac_n "(cached) $ac_c" 1>&6 7354 echo $ac_n "(cached) $ac_c" 1>&6
7312else 7355else
7313 cat > conftest.$ac_ext <<EOF 7356 cat > conftest.$ac_ext <<EOF
7314#line 7315 "configure" 7357#line 7358 "configure"
7315#include "confdefs.h" 7358#include "confdefs.h"
7316#include <$ac_hdr> 7359#include <$ac_hdr>
7317EOF 7360EOF
7318ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7361ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7319{ (eval echo configure:7320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7362{ (eval echo configure:7363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7320ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7363ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7321if test -z "$ac_err"; then 7364if test -z "$ac_err"; then
7322 rm -rf conftest* 7365 rm -rf conftest*
@@ -7347,17 +7390,17 @@ done
7347do 7390do
7348ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7391ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7349echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7392echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7350echo "configure:7351: checking for $ac_hdr" >&5 7393echo "configure:7394: checking for $ac_hdr" >&5
7351if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7394if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7352 echo $ac_n "(cached) $ac_c" 1>&6 7395 echo $ac_n "(cached) $ac_c" 1>&6
7353else 7396else
7354 cat > conftest.$ac_ext <<EOF 7397 cat > conftest.$ac_ext <<EOF
7355#line 7356 "configure" 7398#line 7399 "configure"
7356#include "confdefs.h" 7399#include "confdefs.h"
7357#include <$ac_hdr> 7400#include <$ac_hdr>
7358EOF 7401EOF
7359ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7402ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7360{ (eval echo configure:7361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7403{ (eval echo configure:7404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7361ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7404ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7362if test -z "$ac_err"; then 7405if test -z "$ac_err"; then
7363 rm -rf conftest* 7406 rm -rf conftest*
@@ -7384,17 +7427,17 @@ for ac_hdr in kerberosIV/des.h
7384do 7427do
7385ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7428ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7386echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7429echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7387echo "configure:7388: checking for $ac_hdr" >&5 7430echo "configure:7431: checking for $ac_hdr" >&5
7388if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7431if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7389 echo $ac_n "(cached) $ac_c" 1>&6 7432 echo $ac_n "(cached) $ac_c" 1>&6
7390else 7433else
7391 cat > conftest.$ac_ext <<EOF 7434 cat > conftest.$ac_ext <<EOF
7392#line 7393 "configure" 7435#line 7436 "configure"
7393#include "confdefs.h" 7436#include "confdefs.h"
7394#include <$ac_hdr> 7437#include <$ac_hdr>
7395EOF 7438EOF
7396ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7439ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7397{ (eval echo configure:7398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7440{ (eval echo configure:7441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7398ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7441ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7399if test -z "$ac_err"; then 7442if test -z "$ac_err"; then
7400 rm -rf conftest* 7443 rm -rf conftest*
@@ -7421,17 +7464,17 @@ for ac_hdr in kerberos/des.h
7421do 7464do
7422ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7465ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7423echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7466echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7424echo "configure:7425: checking for $ac_hdr" >&5 7467echo "configure:7468: checking for $ac_hdr" >&5
7425if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7468if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7426 echo $ac_n "(cached) $ac_c" 1>&6 7469 echo $ac_n "(cached) $ac_c" 1>&6
7427else 7470else
7428 cat > conftest.$ac_ext <<EOF 7471 cat > conftest.$ac_ext <<EOF
7429#line 7430 "configure" 7472#line 7473 "configure"
7430#include "confdefs.h" 7473#include "confdefs.h"
7431#include <$ac_hdr> 7474#include <$ac_hdr>
7432EOF 7475EOF
7433ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7476ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7434{ (eval echo configure:7435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7477{ (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7435ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7478ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7436if test -z "$ac_err"; then 7479if test -z "$ac_err"; then
7437 rm -rf conftest* 7480 rm -rf conftest*
@@ -7467,17 +7510,17 @@ done
7467do 7510do
7468ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7511ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7469echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7512echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7470echo "configure:7471: checking for $ac_hdr" >&5 7513echo "configure:7514: checking for $ac_hdr" >&5
7471if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7514if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7472 echo $ac_n "(cached) $ac_c" 1>&6 7515 echo $ac_n "(cached) $ac_c" 1>&6
7473else 7516else
7474 cat > conftest.$ac_ext <<EOF 7517 cat > conftest.$ac_ext <<EOF
7475#line 7476 "configure" 7518#line 7519 "configure"
7476#include "confdefs.h" 7519#include "confdefs.h"
7477#include <$ac_hdr> 7520#include <$ac_hdr>
7478EOF 7521EOF
7479ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7480{ (eval echo configure:7481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7523{ (eval echo configure:7524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7481ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7524ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7482if test -z "$ac_err"; then 7525if test -z "$ac_err"; then
7483 rm -rf conftest* 7526 rm -rf conftest*
@@ -7504,17 +7547,17 @@ for ac_hdr in kerberosIV/krb.h
7504do 7547do
7505ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7548ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7506echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7549echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7507echo "configure:7508: checking for $ac_hdr" >&5 7550echo "configure:7551: checking for $ac_hdr" >&5
7508if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7551if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7509 echo $ac_n "(cached) $ac_c" 1>&6 7552 echo $ac_n "(cached) $ac_c" 1>&6
7510else 7553else
7511 cat > conftest.$ac_ext <<EOF 7554 cat > conftest.$ac_ext <<EOF
7512#line 7513 "configure" 7555#line 7556 "configure"
7513#include "confdefs.h" 7556#include "confdefs.h"
7514#include <$ac_hdr> 7557#include <$ac_hdr>
7515EOF 7558EOF
7516ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7559ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7517{ (eval echo configure:7518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7560{ (eval echo configure:7561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7518ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7561ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7519if test -z "$ac_err"; then 7562if test -z "$ac_err"; then
7520 rm -rf conftest* 7563 rm -rf conftest*
@@ -7541,17 +7584,17 @@ for ac_hdr in kerberos/krb.h
7541do 7584do
7542ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7585ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7543echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7586echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7544echo "configure:7545: checking for $ac_hdr" >&5 7587echo "configure:7588: checking for $ac_hdr" >&5
7545if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7588if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6 7589 echo $ac_n "(cached) $ac_c" 1>&6
7547else 7590else
7548 cat > conftest.$ac_ext <<EOF 7591 cat > conftest.$ac_ext <<EOF
7549#line 7550 "configure" 7592#line 7593 "configure"
7550#include "confdefs.h" 7593#include "confdefs.h"
7551#include <$ac_hdr> 7594#include <$ac_hdr>
7552EOF 7595EOF
7553ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7596ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7554{ (eval echo configure:7555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7597{ (eval echo configure:7598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7555ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7598ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7556if test -z "$ac_err"; then 7599if test -z "$ac_err"; then
7557 rm -rf conftest* 7600 rm -rf conftest*
@@ -7588,17 +7631,17 @@ done
7588do 7631do
7589ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7632ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7590echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7633echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7591echo "configure:7592: checking for $ac_hdr" >&5 7634echo "configure:7635: checking for $ac_hdr" >&5
7592if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7635if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7593 echo $ac_n "(cached) $ac_c" 1>&6 7636 echo $ac_n "(cached) $ac_c" 1>&6
7594else 7637else
7595 cat > conftest.$ac_ext <<EOF 7638 cat > conftest.$ac_ext <<EOF
7596#line 7597 "configure" 7639#line 7640 "configure"
7597#include "confdefs.h" 7640#include "confdefs.h"
7598#include <$ac_hdr> 7641#include <$ac_hdr>
7599EOF 7642EOF
7600ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7643ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7601{ (eval echo configure:7602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7644{ (eval echo configure:7645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7602ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7645ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7603if test -z "$ac_err"; then 7646if test -z "$ac_err"; then
7604 rm -rf conftest* 7647 rm -rf conftest*
@@ -7629,7 +7672,7 @@ fi
7629# Solaris requires -lintl if you want strerror (which calls dgettext) 7672# Solaris requires -lintl if you want strerror (which calls dgettext)
7630# to return localized messages. 7673# to return localized messages.
7631echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7674echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7632echo "configure:7633: checking for dgettext in -lintl" >&5 7675echo "configure:7676: checking for dgettext in -lintl" >&5
7633ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7676ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7634if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7677if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7635 echo $ac_n "(cached) $ac_c" 1>&6 7678 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7637,7 +7680,7 @@ else
7637 ac_save_LIBS="$LIBS" 7680 ac_save_LIBS="$LIBS"
7638LIBS="-lintl $LIBS" 7681LIBS="-lintl $LIBS"
7639cat > conftest.$ac_ext <<EOF 7682cat > conftest.$ac_ext <<EOF
7640#line 7641 "configure" 7683#line 7684 "configure"
7641#include "confdefs.h" 7684#include "confdefs.h"
7642/* Override any gcc2 internal prototype to avoid an error. */ 7685/* Override any gcc2 internal prototype to avoid an error. */
7643/* We use char because int might match the return type of a gcc2 7686/* We use char because int might match the return type of a gcc2
@@ -7648,7 +7691,7 @@ int main() {
7648dgettext() 7691dgettext()
7649; return 0; } 7692; return 0; }
7650EOF 7693EOF
7651if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7694if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7652 rm -rf conftest* 7695 rm -rf conftest*
7653 eval "ac_cv_lib_$ac_lib_var=yes" 7696 eval "ac_cv_lib_$ac_lib_var=yes"
7654else 7697else
@@ -7677,7 +7720,7 @@ fi
7677 7720
7678 7721
7679echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7722echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7680echo "configure:7681: checking whether localtime caches TZ" >&5 7723echo "configure:7724: checking whether localtime caches TZ" >&5
7681if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7724if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6 7725 echo $ac_n "(cached) $ac_c" 1>&6
7683else 7726else
@@ -7687,7 +7730,7 @@ if test "$cross_compiling" = yes; then
7687emacs_cv_localtime_cache=yes 7730emacs_cv_localtime_cache=yes
7688else 7731else
7689 cat > conftest.$ac_ext <<EOF 7732 cat > conftest.$ac_ext <<EOF
7690#line 7691 "configure" 7733#line 7734 "configure"
7691#include "confdefs.h" 7734#include "confdefs.h"
7692#include <time.h> 7735#include <time.h>
7693extern char **environ; 7736extern char **environ;
@@ -7719,7 +7762,7 @@ main()
7719 exit (0); 7762 exit (0);
7720} 7763}
7721EOF 7764EOF
7722if { (eval echo configure:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7765if { (eval echo configure:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7723then 7766then
7724 emacs_cv_localtime_cache=no 7767 emacs_cv_localtime_cache=no
7725else 7768else
@@ -7749,12 +7792,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
7749 for ac_func in gettimeofday 7792 for ac_func in gettimeofday
7750do 7793do
7751echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7794echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7752echo "configure:7753: checking for $ac_func" >&5 7795echo "configure:7796: checking for $ac_func" >&5
7753if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7796if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7754 echo $ac_n "(cached) $ac_c" 1>&6 7797 echo $ac_n "(cached) $ac_c" 1>&6
7755else 7798else
7756 cat > conftest.$ac_ext <<EOF 7799 cat > conftest.$ac_ext <<EOF
7757#line 7758 "configure" 7800#line 7801 "configure"
7758#include "confdefs.h" 7801#include "confdefs.h"
7759/* System header to define __stub macros and hopefully few prototypes, 7802/* System header to define __stub macros and hopefully few prototypes,
7760 which can conflict with char $ac_func(); below. */ 7803 which can conflict with char $ac_func(); below. */
@@ -7777,7 +7820,7 @@ $ac_func();
7777 7820
7778; return 0; } 7821; return 0; }
7779EOF 7822EOF
7780if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7823if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7781 rm -rf conftest* 7824 rm -rf conftest*
7782 eval "ac_cv_func_$ac_func=yes" 7825 eval "ac_cv_func_$ac_func=yes"
7783else 7826else
@@ -7802,12 +7845,12 @@ fi
7802done 7845done
7803 7846
7804 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7847 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
7805echo "configure:7806: checking whether gettimeofday can accept two arguments" >&5 7848echo "configure:7849: checking whether gettimeofday can accept two arguments" >&5
7806if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7849if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
7807 echo $ac_n "(cached) $ac_c" 1>&6 7850 echo $ac_n "(cached) $ac_c" 1>&6
7808else 7851else
7809 cat > conftest.$ac_ext <<EOF 7852 cat > conftest.$ac_ext <<EOF
7810#line 7811 "configure" 7853#line 7854 "configure"
7811#include "confdefs.h" 7854#include "confdefs.h"
7812 7855
7813#ifdef TIME_WITH_SYS_TIME 7856#ifdef TIME_WITH_SYS_TIME
@@ -7825,7 +7868,7 @@ struct timeval time;
7825 gettimeofday (&time, 0); 7868 gettimeofday (&time, 0);
7826; return 0; } 7869; return 0; }
7827EOF 7870EOF
7828if { (eval echo configure:7829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7871if { (eval echo configure:7872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7829 rm -rf conftest* 7872 rm -rf conftest*
7830 emacs_cv_gettimeofday_two_arguments=yes 7873 emacs_cv_gettimeofday_two_arguments=yes
7831else 7874else
@@ -7848,25 +7891,25 @@ fi
7848 7891
7849if test "$ac_cv_func_gettimeofday" = yes; then 7892if test "$ac_cv_func_gettimeofday" = yes; then
7850 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 7893 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
7851echo "configure:7852: checking for struct timezone" >&5 7894echo "configure:7895: checking for struct timezone" >&5
7852if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 7895if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
7853 echo $ac_n "(cached) $ac_c" 1>&6 7896 echo $ac_n "(cached) $ac_c" 1>&6
7854else 7897else
7855 cat > conftest.$ac_ext <<EOF 7898 cat > conftest.$ac_ext <<EOF
7856#line 7857 "configure" 7899#line 7900 "configure"
7857#include "confdefs.h" 7900#include "confdefs.h"
7858#include <sys/time.h> 7901#include <sys/time.h>
7859int main() { 7902int main() {
7860struct timezone tz; 7903struct timezone tz;
7861; return 0; } 7904; return 0; }
7862EOF 7905EOF
7863if { (eval echo configure:7864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7906if { (eval echo configure:7907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7864 rm -rf conftest* 7907 rm -rf conftest*
7865 if test "$cross_compiling" = yes; then 7908 if test "$cross_compiling" = yes; then
7866 emacs_cv_struct_timezone=yes 7909 emacs_cv_struct_timezone=yes
7867else 7910else
7868 cat > conftest.$ac_ext <<EOF 7911 cat > conftest.$ac_ext <<EOF
7869#line 7870 "configure" 7912#line 7913 "configure"
7870#include "confdefs.h" 7913#include "confdefs.h"
7871 7914
7872#ifdef TIME_WITH_SYS_TIME 7915#ifdef TIME_WITH_SYS_TIME
@@ -7885,7 +7928,7 @@ main () {
7885 exit (gettimeofday (&time, &dummy)); 7928 exit (gettimeofday (&time, &dummy));
7886} 7929}
7887EOF 7930EOF
7888if { (eval echo configure:7889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7931if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7889then 7932then
7890 emacs_cv_struct_timezone=yes 7933 emacs_cv_struct_timezone=yes
7891else 7934else
@@ -7911,12 +7954,12 @@ fi
7911 7954
7912ok_so_far=yes 7955ok_so_far=yes
7913echo $ac_n "checking for socket""... $ac_c" 1>&6 7956echo $ac_n "checking for socket""... $ac_c" 1>&6
7914echo "configure:7915: checking for socket" >&5 7957echo "configure:7958: checking for socket" >&5
7915if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7958if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
7916 echo $ac_n "(cached) $ac_c" 1>&6 7959 echo $ac_n "(cached) $ac_c" 1>&6
7917else 7960else
7918 cat > conftest.$ac_ext <<EOF 7961 cat > conftest.$ac_ext <<EOF
7919#line 7920 "configure" 7962#line 7963 "configure"
7920#include "confdefs.h" 7963#include "confdefs.h"
7921/* System header to define __stub macros and hopefully few prototypes, 7964/* System header to define __stub macros and hopefully few prototypes,
7922 which can conflict with char socket(); below. */ 7965 which can conflict with char socket(); below. */
@@ -7939,7 +7982,7 @@ socket();
7939 7982
7940; return 0; } 7983; return 0; }
7941EOF 7984EOF
7942if { (eval echo configure:7943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7985if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7943 rm -rf conftest* 7986 rm -rf conftest*
7944 eval "ac_cv_func_socket=yes" 7987 eval "ac_cv_func_socket=yes"
7945else 7988else
@@ -7962,17 +8005,17 @@ fi
7962if test $ok_so_far = yes; then 8005if test $ok_so_far = yes; then
7963 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8006 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
7964echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8007echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
7965echo "configure:7966: checking for netinet/in.h" >&5 8008echo "configure:8009: checking for netinet/in.h" >&5
7966if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8009if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7967 echo $ac_n "(cached) $ac_c" 1>&6 8010 echo $ac_n "(cached) $ac_c" 1>&6
7968else 8011else
7969 cat > conftest.$ac_ext <<EOF 8012 cat > conftest.$ac_ext <<EOF
7970#line 7971 "configure" 8013#line 8014 "configure"
7971#include "confdefs.h" 8014#include "confdefs.h"
7972#include <netinet/in.h> 8015#include <netinet/in.h>
7973EOF 8016EOF
7974ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8017ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7975{ (eval echo configure:7976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8018{ (eval echo configure:8019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7976ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8019ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7977if test -z "$ac_err"; then 8020if test -z "$ac_err"; then
7978 rm -rf conftest* 8021 rm -rf conftest*
@@ -7998,17 +8041,17 @@ fi
7998if test $ok_so_far = yes; then 8041if test $ok_so_far = yes; then
7999 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8042 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8000echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8043echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8001echo "configure:8002: checking for arpa/inet.h" >&5 8044echo "configure:8045: checking for arpa/inet.h" >&5
8002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8045if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8003 echo $ac_n "(cached) $ac_c" 1>&6 8046 echo $ac_n "(cached) $ac_c" 1>&6
8004else 8047else
8005 cat > conftest.$ac_ext <<EOF 8048 cat > conftest.$ac_ext <<EOF
8006#line 8007 "configure" 8049#line 8050 "configure"
8007#include "confdefs.h" 8050#include "confdefs.h"
8008#include <arpa/inet.h> 8051#include <arpa/inet.h>
8009EOF 8052EOF
8010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8053ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8011{ (eval echo configure:8012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8054{ (eval echo configure:8055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8055ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8013if test -z "$ac_err"; then 8056if test -z "$ac_err"; then
8014 rm -rf conftest* 8057 rm -rf conftest*
@@ -8046,7 +8089,7 @@ EOF
8046fi 8089fi
8047 8090
8048echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8091echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8049echo "configure:8050: checking whether system supports dynamic ptys" >&5 8092echo "configure:8093: checking whether system supports dynamic ptys" >&5
8050if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8093if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8051 echo "$ac_t""yes" 1>&6 8094 echo "$ac_t""yes" 1>&6
8052 cat >> confdefs.h <<\EOF 8095 cat >> confdefs.h <<\EOF
@@ -8058,12 +8101,12 @@ else
8058fi 8101fi
8059 8102
8060echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8103echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8061echo "configure:8062: checking for pid_t" >&5 8104echo "configure:8105: checking for pid_t" >&5
8062if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8105if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8063 echo $ac_n "(cached) $ac_c" 1>&6 8106 echo $ac_n "(cached) $ac_c" 1>&6
8064else 8107else
8065 cat > conftest.$ac_ext <<EOF 8108 cat > conftest.$ac_ext <<EOF
8066#line 8067 "configure" 8109#line 8110 "configure"
8067#include "confdefs.h" 8110#include "confdefs.h"
8068#include <sys/types.h> 8111#include <sys/types.h>
8069#if STDC_HEADERS 8112#if STDC_HEADERS
@@ -8092,17 +8135,17 @@ fi
8092 8135
8093ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8136ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8094echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8137echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8095echo "configure:8096: checking for vfork.h" >&5 8138echo "configure:8139: checking for vfork.h" >&5
8096if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8139if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6 8140 echo $ac_n "(cached) $ac_c" 1>&6
8098else 8141else
8099 cat > conftest.$ac_ext <<EOF 8142 cat > conftest.$ac_ext <<EOF
8100#line 8101 "configure" 8143#line 8144 "configure"
8101#include "confdefs.h" 8144#include "confdefs.h"
8102#include <vfork.h> 8145#include <vfork.h>
8103EOF 8146EOF
8104ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8147ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8105{ (eval echo configure:8106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8148{ (eval echo configure:8149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8106ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8149ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8107if test -z "$ac_err"; then 8150if test -z "$ac_err"; then
8108 rm -rf conftest* 8151 rm -rf conftest*
@@ -8127,18 +8170,18 @@ else
8127fi 8170fi
8128 8171
8129echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8172echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8130echo "configure:8131: checking for working vfork" >&5 8173echo "configure:8174: checking for working vfork" >&5
8131if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8174if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8132 echo $ac_n "(cached) $ac_c" 1>&6 8175 echo $ac_n "(cached) $ac_c" 1>&6
8133else 8176else
8134 if test "$cross_compiling" = yes; then 8177 if test "$cross_compiling" = yes; then
8135 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8178 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8136echo "configure:8137: checking for vfork" >&5 8179echo "configure:8180: checking for vfork" >&5
8137if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8180if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8138 echo $ac_n "(cached) $ac_c" 1>&6 8181 echo $ac_n "(cached) $ac_c" 1>&6
8139else 8182else
8140 cat > conftest.$ac_ext <<EOF 8183 cat > conftest.$ac_ext <<EOF
8141#line 8142 "configure" 8184#line 8185 "configure"
8142#include "confdefs.h" 8185#include "confdefs.h"
8143/* System header to define __stub macros and hopefully few prototypes, 8186/* System header to define __stub macros and hopefully few prototypes,
8144 which can conflict with char vfork(); below. */ 8187 which can conflict with char vfork(); below. */
@@ -8161,7 +8204,7 @@ vfork();
8161 8204
8162; return 0; } 8205; return 0; }
8163EOF 8206EOF
8164if { (eval echo configure:8165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8207if { (eval echo configure:8208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8165 rm -rf conftest* 8208 rm -rf conftest*
8166 eval "ac_cv_func_vfork=yes" 8209 eval "ac_cv_func_vfork=yes"
8167else 8210else
@@ -8183,7 +8226,7 @@ fi
8183ac_cv_func_vfork_works=$ac_cv_func_vfork 8226ac_cv_func_vfork_works=$ac_cv_func_vfork
8184else 8227else
8185 cat > conftest.$ac_ext <<EOF 8228 cat > conftest.$ac_ext <<EOF
8186#line 8187 "configure" 8229#line 8230 "configure"
8187#include "confdefs.h" 8230#include "confdefs.h"
8188/* Thanks to Paul Eggert for this test. */ 8231/* Thanks to Paul Eggert for this test. */
8189#include <stdio.h> 8232#include <stdio.h>
@@ -8278,7 +8321,7 @@ main() {
8278 } 8321 }
8279} 8322}
8280EOF 8323EOF
8281if { (eval echo configure:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8324if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8282then 8325then
8283 ac_cv_func_vfork_works=yes 8326 ac_cv_func_vfork_works=yes
8284else 8327else
diff --git a/src/ChangeLog b/src/ChangeLog
index 02b983e454c..2355672ac0f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12000-07-05 Dave Love <fx@gnu.org>
2
3 * syswait.h: Use the autoconf recommended approach. Old code
4 #if'd out in case we need to revert.
5
6 * config.in (HAVE_SYS_WAIT_H): Added.
7
12000-07-05 Andrew Innes <andrewi@gnu.org> 82000-07-05 Andrew Innes <andrewi@gnu.org>
2 9
3 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore 10 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore