aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aclocal.m44
-rwxr-xr-xconfigure795
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/elisp.texi3
-rw-r--r--doc/lispref/eval.texi10
-rw-r--r--doc/lispref/variables.texi111
-rw-r--r--lisp/ChangeLog30
-rw-r--r--lisp/ChangeLog.funvec10
-rw-r--r--lisp/Makefile.in3
-rw-r--r--lisp/custom.el39
-rw-r--r--lisp/dired.el22
-rw-r--r--lisp/emacs-lisp/byte-opt.el4
-rw-r--r--lisp/emacs-lisp/bytecomp.el28
-rw-r--r--lisp/emacs-lisp/cconv.el128
-rw-r--r--lisp/emacs-lisp/pcase.el4
-rw-r--r--lisp/help-fns.el7
-rw-r--r--lisp/minibuffer.el24
-rw-r--r--lisp/mpc.el21
-rw-r--r--lisp/server.el15
-rw-r--r--src/ChangeLog6
-rw-r--r--src/callint.c13
21 files changed, 751 insertions, 532 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f66e6979882..880166dc34e 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -13,8 +13,8 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17[m4_warning([this file was generated for autoconf 2.67. 17[m4_warning([this file was generated for autoconf 2.68.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
diff --git a/configure b/configure
index 66a7ca44a80..16673f2ca79 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.68 for emacs 24.0.50.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -89,6 +89,7 @@ fi
89IFS=" "" $as_nl" 89IFS=" "" $as_nl"
90 90
91# Find who we are. Look in the path if we contain no directory separator. 91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
92case $0 in #(( 93case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -214,11 +215,18 @@ IFS=$as_save_IFS
214 # We cannot yet assume a decent shell, so we have to provide a 215 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 216 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 219 BASH_ENV=/dev/null
218 ENV=/dev/null 220 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 222 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222fi 230fi
223 231
224 if test x$as_have_required = xno; then : 232 if test x$as_have_required = xno; then :
@@ -1153,6 +1161,9 @@ LDFLAGS
1153LIBS 1161LIBS
1154CPPFLAGS 1162CPPFLAGS
1155CPP 1163CPP
1164CPPFLAGS
1165CPP
1166CPPFLAGS
1156XMKMF' 1167XMKMF'
1157 1168
1158 1169
@@ -1558,7 +1569,7 @@ Try \`$0 --help' for more information"
1558 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1569 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1559 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1570 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1560 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1571 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1561 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1572 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1562 ;; 1573 ;;
1563 1574
1564 esac 1575 esac
@@ -1932,7 +1943,7 @@ test -n "$ac_init_help" && exit $ac_status
1932if $ac_init_version; then 1943if $ac_init_version; then
1933 cat <<\_ACEOF 1944 cat <<\_ACEOF
1934emacs configure 24.0.50 1945emacs configure 24.0.50
1935generated by GNU Autoconf 2.67 1946generated by GNU Autoconf 2.68
1936 1947
1937Copyright (C) 2010 Free Software Foundation, Inc. 1948Copyright (C) 2010 Free Software Foundation, Inc.
1938This configure script is free software; the Free Software Foundation 1949This configure script is free software; the Free Software Foundation
@@ -1978,7 +1989,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1978 1989
1979 ac_retval=1 1990 ac_retval=1
1980fi 1991fi
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status $ac_retval 1993 as_fn_set_status $ac_retval
1983 1994
1984} # ac_fn_c_try_compile 1995} # ac_fn_c_try_compile
@@ -2015,7 +2026,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2015 2026
2016 ac_retval=1 2027 ac_retval=1
2017fi 2028fi
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval 2030 as_fn_set_status $ac_retval
2020 2031
2021} # ac_fn_c_try_cpp 2032} # ac_fn_c_try_cpp
@@ -2028,10 +2039,10 @@ fi
2028ac_fn_c_check_header_mongrel () 2039ac_fn_c_check_header_mongrel ()
2029{ 2040{
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if eval "test \"\${$3+set}\"" = set; then : 2042 if eval \${$3+:} false; then :
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033$as_echo_n "checking for $2... " >&6; } 2044$as_echo_n "checking for $2... " >&6; }
2034if eval "test \"\${$3+set}\"" = set; then : 2045if eval \${$3+:} false; then :
2035 $as_echo_n "(cached) " >&6 2046 $as_echo_n "(cached) " >&6
2036fi 2047fi
2037eval ac_res=\$$3 2048eval ac_res=\$$3
@@ -2094,7 +2105,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2094esac 2105esac
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2096$as_echo_n "checking for $2... " >&6; } 2107$as_echo_n "checking for $2... " >&6; }
2097if eval "test \"\${$3+set}\"" = set; then : 2108if eval \${$3+:} false; then :
2098 $as_echo_n "(cached) " >&6 2109 $as_echo_n "(cached) " >&6
2099else 2110else
2100 eval "$3=\$ac_header_compiler" 2111 eval "$3=\$ac_header_compiler"
@@ -2103,7 +2114,7 @@ eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104$as_echo "$ac_res" >&6; } 2115$as_echo "$ac_res" >&6; }
2105fi 2116fi
2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 2118
2108} # ac_fn_c_check_header_mongrel 2119} # ac_fn_c_check_header_mongrel
2109 2120
@@ -2144,7 +2155,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2144 ac_retval=$ac_status 2155 ac_retval=$ac_status
2145fi 2156fi
2146 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2157 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2147 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2148 as_fn_set_status $ac_retval 2159 as_fn_set_status $ac_retval
2149 2160
2150} # ac_fn_c_try_run 2161} # ac_fn_c_try_run
@@ -2158,7 +2169,7 @@ ac_fn_c_check_header_compile ()
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160$as_echo_n "checking for $2... " >&6; } 2171$as_echo_n "checking for $2... " >&6; }
2161if eval "test \"\${$3+set}\"" = set; then : 2172if eval \${$3+:} false; then :
2162 $as_echo_n "(cached) " >&6 2173 $as_echo_n "(cached) " >&6
2163else 2174else
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2176,7 +2187,7 @@ fi
2176eval ac_res=\$$3 2187eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178$as_echo "$ac_res" >&6; } 2189$as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2180 2191
2181} # ac_fn_c_check_header_compile 2192} # ac_fn_c_check_header_compile
2182 2193
@@ -2221,7 +2232,7 @@ fi
2221 # interfere with the next link command; also delete a directory that is 2232 # interfere with the next link command; also delete a directory that is
2222 # left behind by Apple's compiler. We do this before executing the actions. 2233 # left behind by Apple's compiler. We do this before executing the actions.
2223 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2234 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2224 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2225 as_fn_set_status $ac_retval 2236 as_fn_set_status $ac_retval
2226 2237
2227} # ac_fn_c_try_link 2238} # ac_fn_c_try_link
@@ -2237,7 +2248,7 @@ ac_fn_c_check_decl ()
2237 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2248 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2239$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2250$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2240if eval "test \"\${$3+set}\"" = set; then : 2251if eval \${$3+:} false; then :
2241 $as_echo_n "(cached) " >&6 2252 $as_echo_n "(cached) " >&6
2242else 2253else
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2268,7 +2279,7 @@ fi
2268eval ac_res=\$$3 2279eval ac_res=\$$3
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2270$as_echo "$ac_res" >&6; } 2281$as_echo "$ac_res" >&6; }
2271 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2272 2283
2273} # ac_fn_c_check_decl 2284} # ac_fn_c_check_decl
2274 2285
@@ -2280,7 +2291,7 @@ ac_fn_c_check_header_preproc ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2282$as_echo_n "checking for $2... " >&6; } 2293$as_echo_n "checking for $2... " >&6; }
2283if eval "test \"\${$3+set}\"" = set; then : 2294if eval \${$3+:} false; then :
2284 $as_echo_n "(cached) " >&6 2295 $as_echo_n "(cached) " >&6
2285else 2296else
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2297,7 +2308,7 @@ fi
2297eval ac_res=\$$3 2308eval ac_res=\$$3
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2299$as_echo "$ac_res" >&6; } 2310$as_echo "$ac_res" >&6; }
2300 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2301 2312
2302} # ac_fn_c_check_header_preproc 2313} # ac_fn_c_check_header_preproc
2303 2314
@@ -2310,7 +2321,7 @@ ac_fn_c_check_member ()
2310 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2321 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2312$as_echo_n "checking for $2.$3... " >&6; } 2323$as_echo_n "checking for $2.$3... " >&6; }
2313if eval "test \"\${$4+set}\"" = set; then : 2324if eval \${$4+:} false; then :
2314 $as_echo_n "(cached) " >&6 2325 $as_echo_n "(cached) " >&6
2315else 2326else
2316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2354,7 +2365,7 @@ fi
2354eval ac_res=\$$4 2365eval ac_res=\$$4
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356$as_echo "$ac_res" >&6; } 2367$as_echo "$ac_res" >&6; }
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 2369
2359} # ac_fn_c_check_member 2370} # ac_fn_c_check_member
2360 2371
@@ -2366,7 +2377,7 @@ ac_fn_c_check_func ()
2366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2368$as_echo_n "checking for $2... " >&6; } 2379$as_echo_n "checking for $2... " >&6; }
2369if eval "test \"\${$3+set}\"" = set; then : 2380if eval \${$3+:} false; then :
2370 $as_echo_n "(cached) " >&6 2381 $as_echo_n "(cached) " >&6
2371else 2382else
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2421,7 +2432,7 @@ fi
2421eval ac_res=\$$3 2432eval ac_res=\$$3
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2423$as_echo "$ac_res" >&6; } 2434$as_echo "$ac_res" >&6; }
2424 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 2436
2426} # ac_fn_c_check_func 2437} # ac_fn_c_check_func
2427 2438
@@ -2434,7 +2445,7 @@ ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436$as_echo_n "checking for $2... " >&6; } 2447$as_echo_n "checking for $2... " >&6; }
2437if eval "test \"\${$3+set}\"" = set; then : 2448if eval \${$3+:} false; then :
2438 $as_echo_n "(cached) " >&6 2449 $as_echo_n "(cached) " >&6
2439else 2450else
2440 eval "$3=no" 2451 eval "$3=no"
@@ -2475,7 +2486,7 @@ fi
2475eval ac_res=\$$3 2486eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477$as_echo "$ac_res" >&6; } 2488$as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2479 2490
2480} # ac_fn_c_check_type 2491} # ac_fn_c_check_type
2481 2492
@@ -2652,7 +2663,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2652rm -f conftest.val 2663rm -f conftest.val
2653 2664
2654 fi 2665 fi
2655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 as_fn_set_status $ac_retval 2667 as_fn_set_status $ac_retval
2657 2668
2658} # ac_fn_c_compute_int 2669} # ac_fn_c_compute_int
@@ -2661,7 +2672,7 @@ This file contains any messages produced by compilers while
2661running configure, to aid debugging if configure makes a mistake. 2672running configure, to aid debugging if configure makes a mistake.
2662 2673
2663It was created by emacs $as_me 24.0.50, which was 2674It was created by emacs $as_me 24.0.50, which was
2664generated by GNU Autoconf 2.67. Invocation command line was 2675generated by GNU Autoconf 2.68. Invocation command line was
2665 2676
2666 $ $0 $@ 2677 $ $0 $@
2667 2678
@@ -2919,7 +2930,7 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2919 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2930 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921as_fn_error $? "failed to load site script $ac_site_file 2932as_fn_error $? "failed to load site script $ac_site_file
2922See \`config.log' for more details" "$LINENO" 5 ; } 2933See \`config.log' for more details" "$LINENO" 5; }
2923 fi 2934 fi
2924done 2935done
2925 2936
@@ -3071,7 +3082,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3072$as_echo_n "checking for a BSD-compatible install... " >&6; } 3083$as_echo_n "checking for a BSD-compatible install... " >&6; }
3073if test -z "$INSTALL"; then 3084if test -z "$INSTALL"; then
3074if test "${ac_cv_path_install+set}" = set; then : 3085if ${ac_cv_path_install+:} false; then :
3075 $as_echo_n "(cached) " >&6 3086 $as_echo_n "(cached) " >&6
3076else 3087else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3158,11 +3169,11 @@ am_lf='
3158' 3169'
3159case `pwd` in 3170case `pwd` in
3160 *[\\\"\#\$\&\'\`$am_lf]*) 3171 *[\\\"\#\$\&\'\`$am_lf]*)
3161 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 3172 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3162esac 3173esac
3163case $srcdir in 3174case $srcdir in
3164 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3175 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3165 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 3176 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3166esac 3177esac
3167 3178
3168# Do `set' in a subshell so we don't clobber the current shell's 3179# Do `set' in a subshell so we don't clobber the current shell's
@@ -3248,7 +3259,7 @@ if test "$cross_compiling" != no; then
3248set dummy ${ac_tool_prefix}strip; ac_word=$2 3259set dummy ${ac_tool_prefix}strip; ac_word=$2
3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250$as_echo_n "checking for $ac_word... " >&6; } 3261$as_echo_n "checking for $ac_word... " >&6; }
3251if test "${ac_cv_prog_STRIP+set}" = set; then : 3262if ${ac_cv_prog_STRIP+:} false; then :
3252 $as_echo_n "(cached) " >&6 3263 $as_echo_n "(cached) " >&6
3253else 3264else
3254 if test -n "$STRIP"; then 3265 if test -n "$STRIP"; then
@@ -3288,7 +3299,7 @@ if test -z "$ac_cv_prog_STRIP"; then
3288set dummy strip; ac_word=$2 3299set dummy strip; ac_word=$2
3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290$as_echo_n "checking for $ac_word... " >&6; } 3301$as_echo_n "checking for $ac_word... " >&6; }
3291if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3302if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3292 $as_echo_n "(cached) " >&6 3303 $as_echo_n "(cached) " >&6
3293else 3304else
3294 if test -n "$ac_ct_STRIP"; then 3305 if test -n "$ac_ct_STRIP"; then
@@ -3341,7 +3352,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3342$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3353$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3343if test -z "$MKDIR_P"; then 3354if test -z "$MKDIR_P"; then
3344 if test "${ac_cv_path_mkdir+set}" = set; then : 3355 if ${ac_cv_path_mkdir+:} false; then :
3345 $as_echo_n "(cached) " >&6 3356 $as_echo_n "(cached) " >&6
3346else 3357else
3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3393,7 +3404,7 @@ do
3393set dummy $ac_prog; ac_word=$2 3404set dummy $ac_prog; ac_word=$2
3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395$as_echo_n "checking for $ac_word... " >&6; } 3406$as_echo_n "checking for $ac_word... " >&6; }
3396if test "${ac_cv_prog_AWK+set}" = set; then : 3407if ${ac_cv_prog_AWK+:} false; then :
3397 $as_echo_n "(cached) " >&6 3408 $as_echo_n "(cached) " >&6
3398else 3409else
3399 if test -n "$AWK"; then 3410 if test -n "$AWK"; then
@@ -3433,7 +3444,7 @@ done
3433$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3444$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3434set x ${MAKE-make} 3445set x ${MAKE-make}
3435ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3446ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3436if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3447if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3437 $as_echo_n "(cached) " >&6 3448 $as_echo_n "(cached) " >&6
3438else 3449else
3439 cat >conftest.make <<\_ACEOF 3450 cat >conftest.make <<\_ACEOF
@@ -3991,7 +4002,7 @@ do
3991 stringfreelist) ac_gc_check_string_free_list=1 ;; 4002 stringfreelist) ac_gc_check_string_free_list=1 ;;
3992 xmallocoverrun) ac_xmalloc_overrun=1 ;; 4003 xmallocoverrun) ac_xmalloc_overrun=1 ;;
3993 conslist) ac_gc_check_cons_list=1 ;; 4004 conslist) ac_gc_check_cons_list=1 ;;
3994 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; 4005 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
3995 esac 4006 esac
3996done 4007done
3997IFS="$ac_save_IFS" 4008IFS="$ac_save_IFS"
@@ -4110,7 +4121,7 @@ $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4110 4121
4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4112$as_echo_n "checking build system type... " >&6; } 4123$as_echo_n "checking build system type... " >&6; }
4113if test "${ac_cv_build+set}" = set; then : 4124if ${ac_cv_build+:} false; then :
4114 $as_echo_n "(cached) " >&6 4125 $as_echo_n "(cached) " >&6
4115else 4126else
4116 ac_build_alias=$build_alias 4127 ac_build_alias=$build_alias
@@ -4126,7 +4137,7 @@ fi
4126$as_echo "$ac_cv_build" >&6; } 4137$as_echo "$ac_cv_build" >&6; }
4127case $ac_cv_build in 4138case $ac_cv_build in
4128*-*-*) ;; 4139*-*-*) ;;
4129*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4140*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4130esac 4141esac
4131build=$ac_cv_build 4142build=$ac_cv_build
4132ac_save_IFS=$IFS; IFS='-' 4143ac_save_IFS=$IFS; IFS='-'
@@ -4144,7 +4155,7 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4144 4155
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4146$as_echo_n "checking host system type... " >&6; } 4157$as_echo_n "checking host system type... " >&6; }
4147if test "${ac_cv_host+set}" = set; then : 4158if ${ac_cv_host+:} false; then :
4148 $as_echo_n "(cached) " >&6 4159 $as_echo_n "(cached) " >&6
4149else 4160else
4150 if test "x$host_alias" = x; then 4161 if test "x$host_alias" = x; then
@@ -4159,7 +4170,7 @@ fi
4159$as_echo "$ac_cv_host" >&6; } 4170$as_echo "$ac_cv_host" >&6; }
4160case $ac_cv_host in 4171case $ac_cv_host in
4161*-*-*) ;; 4172*-*-*) ;;
4162*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4173*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4163esac 4174esac
4164host=$ac_cv_host 4175host=$ac_cv_host
4165ac_save_IFS=$IFS; IFS='-' 4176ac_save_IFS=$IFS; IFS='-'
@@ -4441,7 +4452,7 @@ if test -n "$ac_tool_prefix"; then
4441set dummy ${ac_tool_prefix}gcc; ac_word=$2 4452set dummy ${ac_tool_prefix}gcc; ac_word=$2
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443$as_echo_n "checking for $ac_word... " >&6; } 4454$as_echo_n "checking for $ac_word... " >&6; }
4444if test "${ac_cv_prog_CC+set}" = set; then : 4455if ${ac_cv_prog_CC+:} false; then :
4445 $as_echo_n "(cached) " >&6 4456 $as_echo_n "(cached) " >&6
4446else 4457else
4447 if test -n "$CC"; then 4458 if test -n "$CC"; then
@@ -4481,7 +4492,7 @@ if test -z "$ac_cv_prog_CC"; then
4481set dummy gcc; ac_word=$2 4492set dummy gcc; ac_word=$2
4482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483$as_echo_n "checking for $ac_word... " >&6; } 4494$as_echo_n "checking for $ac_word... " >&6; }
4484if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4495if ${ac_cv_prog_ac_ct_CC+:} false; then :
4485 $as_echo_n "(cached) " >&6 4496 $as_echo_n "(cached) " >&6
4486else 4497else
4487 if test -n "$ac_ct_CC"; then 4498 if test -n "$ac_ct_CC"; then
@@ -4534,7 +4545,7 @@ if test -z "$CC"; then
4534set dummy ${ac_tool_prefix}cc; ac_word=$2 4545set dummy ${ac_tool_prefix}cc; ac_word=$2
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536$as_echo_n "checking for $ac_word... " >&6; } 4547$as_echo_n "checking for $ac_word... " >&6; }
4537if test "${ac_cv_prog_CC+set}" = set; then : 4548if ${ac_cv_prog_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6 4549 $as_echo_n "(cached) " >&6
4539else 4550else
4540 if test -n "$CC"; then 4551 if test -n "$CC"; then
@@ -4574,7 +4585,7 @@ if test -z "$CC"; then
4574set dummy cc; ac_word=$2 4585set dummy cc; ac_word=$2
4575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576$as_echo_n "checking for $ac_word... " >&6; } 4587$as_echo_n "checking for $ac_word... " >&6; }
4577if test "${ac_cv_prog_CC+set}" = set; then : 4588if ${ac_cv_prog_CC+:} false; then :
4578 $as_echo_n "(cached) " >&6 4589 $as_echo_n "(cached) " >&6
4579else 4590else
4580 if test -n "$CC"; then 4591 if test -n "$CC"; then
@@ -4633,7 +4644,7 @@ if test -z "$CC"; then
4633set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4644set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635$as_echo_n "checking for $ac_word... " >&6; } 4646$as_echo_n "checking for $ac_word... " >&6; }
4636if test "${ac_cv_prog_CC+set}" = set; then : 4647if ${ac_cv_prog_CC+:} false; then :
4637 $as_echo_n "(cached) " >&6 4648 $as_echo_n "(cached) " >&6
4638else 4649else
4639 if test -n "$CC"; then 4650 if test -n "$CC"; then
@@ -4677,7 +4688,7 @@ do
4677set dummy $ac_prog; ac_word=$2 4688set dummy $ac_prog; ac_word=$2
4678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679$as_echo_n "checking for $ac_word... " >&6; } 4690$as_echo_n "checking for $ac_word... " >&6; }
4680if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4691if ${ac_cv_prog_ac_ct_CC+:} false; then :
4681 $as_echo_n "(cached) " >&6 4692 $as_echo_n "(cached) " >&6
4682else 4693else
4683 if test -n "$ac_ct_CC"; then 4694 if test -n "$ac_ct_CC"; then
@@ -4732,7 +4743,7 @@ fi
4732test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4743test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4744$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734as_fn_error $? "no acceptable C compiler found in \$PATH 4745as_fn_error $? "no acceptable C compiler found in \$PATH
4735See \`config.log' for more details" "$LINENO" 5 ; } 4746See \`config.log' for more details" "$LINENO" 5; }
4736 4747
4737# Provide some information about the compiler. 4748# Provide some information about the compiler.
4738$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4749$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4847,7 +4858,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
4847{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4858{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4859$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849as_fn_error 77 "C compiler cannot create executables 4860as_fn_error 77 "C compiler cannot create executables
4850See \`config.log' for more details" "$LINENO" 5 ; } 4861See \`config.log' for more details" "$LINENO" 5; }
4851else 4862else
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4853$as_echo "yes" >&6; } 4864$as_echo "yes" >&6; }
@@ -4890,7 +4901,7 @@ else
4890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4891$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4892as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4903as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4893See \`config.log' for more details" "$LINENO" 5 ; } 4904See \`config.log' for more details" "$LINENO" 5; }
4894fi 4905fi
4895rm -f conftest conftest$ac_cv_exeext 4906rm -f conftest conftest$ac_cv_exeext
4896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4949,7 +4960,7 @@ $as_echo "$ac_try_echo"; } >&5
4949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4960$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950as_fn_error $? "cannot run C compiled programs. 4961as_fn_error $? "cannot run C compiled programs.
4951If you meant to cross compile, use \`--host'. 4962If you meant to cross compile, use \`--host'.
4952See \`config.log' for more details" "$LINENO" 5 ; } 4963See \`config.log' for more details" "$LINENO" 5; }
4953 fi 4964 fi
4954 fi 4965 fi
4955fi 4966fi
@@ -4960,7 +4971,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4960ac_clean_files=$ac_clean_files_save 4971ac_clean_files=$ac_clean_files_save
4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4962$as_echo_n "checking for suffix of object files... " >&6; } 4973$as_echo_n "checking for suffix of object files... " >&6; }
4963if test "${ac_cv_objext+set}" = set; then : 4974if ${ac_cv_objext+:} false; then :
4964 $as_echo_n "(cached) " >&6 4975 $as_echo_n "(cached) " >&6
4965else 4976else
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5001,7 +5012,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5001{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5012{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5003as_fn_error $? "cannot compute suffix of object files: cannot compile 5014as_fn_error $? "cannot compute suffix of object files: cannot compile
5004See \`config.log' for more details" "$LINENO" 5 ; } 5015See \`config.log' for more details" "$LINENO" 5; }
5005fi 5016fi
5006rm -f conftest.$ac_cv_objext conftest.$ac_ext 5017rm -f conftest.$ac_cv_objext conftest.$ac_ext
5007fi 5018fi
@@ -5011,7 +5022,7 @@ OBJEXT=$ac_cv_objext
5011ac_objext=$OBJEXT 5022ac_objext=$OBJEXT
5012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5013$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5024$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5014if test "${ac_cv_c_compiler_gnu+set}" = set; then : 5025if ${ac_cv_c_compiler_gnu+:} false; then :
5015 $as_echo_n "(cached) " >&6 5026 $as_echo_n "(cached) " >&6
5016else 5027else
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5048,7 +5059,7 @@ ac_test_CFLAGS=${CFLAGS+set}
5048ac_save_CFLAGS=$CFLAGS 5059ac_save_CFLAGS=$CFLAGS
5049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5050$as_echo_n "checking whether $CC accepts -g... " >&6; } 5061$as_echo_n "checking whether $CC accepts -g... " >&6; }
5051if test "${ac_cv_prog_cc_g+set}" = set; then : 5062if ${ac_cv_prog_cc_g+:} false; then :
5052 $as_echo_n "(cached) " >&6 5063 $as_echo_n "(cached) " >&6
5053else 5064else
5054 ac_save_c_werror_flag=$ac_c_werror_flag 5065 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -5126,7 +5137,7 @@ else
5126fi 5137fi
5127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5128$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5139$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5129if test "${ac_cv_prog_cc_c89+set}" = set; then : 5140if ${ac_cv_prog_cc_c89+:} false; then :
5130 $as_echo_n "(cached) " >&6 5141 $as_echo_n "(cached) " >&6
5131else 5142else
5132 ac_cv_prog_cc_c89=no 5143 ac_cv_prog_cc_c89=no
@@ -5287,7 +5298,7 @@ depcc="$CC" am_compiler_list=
5287 5298
5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5289$as_echo_n "checking dependency style of $depcc... " >&6; } 5300$as_echo_n "checking dependency style of $depcc... " >&6; }
5290if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 5301if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5291 $as_echo_n "(cached) " >&6 5302 $as_echo_n "(cached) " >&6
5292else 5303else
5293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5304 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -5419,7 +5430,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5419fi 5430fi
5420set dummy $CC; ac_cc=`$as_echo "$2" | 5431set dummy $CC; ac_cc=`$as_echo "$2" |
5421 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5432 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5422if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : 5433if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5423 $as_echo_n "(cached) " >&6 5434 $as_echo_n "(cached) " >&6
5424else 5435else
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5543,7 +5554,7 @@ if test -n "$ac_tool_prefix"; then
5543set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5554set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545$as_echo_n "checking for $ac_word... " >&6; } 5556$as_echo_n "checking for $ac_word... " >&6; }
5546if test "${ac_cv_prog_RANLIB+set}" = set; then : 5557if ${ac_cv_prog_RANLIB+:} false; then :
5547 $as_echo_n "(cached) " >&6 5558 $as_echo_n "(cached) " >&6
5548else 5559else
5549 if test -n "$RANLIB"; then 5560 if test -n "$RANLIB"; then
@@ -5583,7 +5594,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
5583set dummy ranlib; ac_word=$2 5594set dummy ranlib; ac_word=$2
5584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585$as_echo_n "checking for $ac_word... " >&6; } 5596$as_echo_n "checking for $ac_word... " >&6; }
5586if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5597if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5587 $as_echo_n "(cached) " >&6 5598 $as_echo_n "(cached) " >&6
5588else 5599else
5589 if test -n "$ac_ct_RANLIB"; then 5600 if test -n "$ac_ct_RANLIB"; then
@@ -5643,7 +5654,7 @@ if test -n "$CPP" && test -d "$CPP"; then
5643 CPP= 5654 CPP=
5644fi 5655fi
5645if test -z "$CPP"; then 5656if test -z "$CPP"; then
5646 if test "${ac_cv_prog_CPP+set}" = set; then : 5657 if ${ac_cv_prog_CPP+:} false; then :
5647 $as_echo_n "(cached) " >&6 5658 $as_echo_n "(cached) " >&6
5648else 5659else
5649 # Double quotes because CPP needs to be expanded 5660 # Double quotes because CPP needs to be expanded
@@ -5759,7 +5770,7 @@ else
5759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5760$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5761as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5772as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5762See \`config.log' for more details" "$LINENO" 5 ; } 5773See \`config.log' for more details" "$LINENO" 5; }
5763fi 5774fi
5764 5775
5765ac_ext=c 5776ac_ext=c
@@ -5771,7 +5782,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771 5782
5772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5773$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5784$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5774if test "${ac_cv_path_GREP+set}" = set; then : 5785if ${ac_cv_path_GREP+:} false; then :
5775 $as_echo_n "(cached) " >&6 5786 $as_echo_n "(cached) " >&6
5776else 5787else
5777 if test -z "$GREP"; then 5788 if test -z "$GREP"; then
@@ -5834,7 +5845,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
5834 5845
5835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5836$as_echo_n "checking for egrep... " >&6; } 5847$as_echo_n "checking for egrep... " >&6; }
5837if test "${ac_cv_path_EGREP+set}" = set; then : 5848if ${ac_cv_path_EGREP+:} false; then :
5838 $as_echo_n "(cached) " >&6 5849 $as_echo_n "(cached) " >&6
5839else 5850else
5840 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5851 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -5901,7 +5912,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
5901 5912
5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5903$as_echo_n "checking for ANSI C header files... " >&6; } 5914$as_echo_n "checking for ANSI C header files... " >&6; }
5904if test "${ac_cv_header_stdc+set}" = set; then : 5915if ${ac_cv_header_stdc+:} false; then :
5905 $as_echo_n "(cached) " >&6 5916 $as_echo_n "(cached) " >&6
5906else 5917else
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6032,7 +6043,7 @@ done
6032 6043
6033 6044
6034 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 6045 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
6035if test "x$ac_cv_header_minix_config_h" = x""yes; then : 6046if test "x$ac_cv_header_minix_config_h" = xyes; then :
6036 MINIX=yes 6047 MINIX=yes
6037else 6048else
6038 MINIX= 6049 MINIX=
@@ -6062,7 +6073,7 @@ $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
6062 6073
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6064$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 6075$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6065if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 6076if ${ac_cv_safe_to_define___extensions__+:} false; then :
6066 $as_echo_n "(cached) " >&6 6077 $as_echo_n "(cached) " >&6
6067else 6078else
6068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6146,7 +6157,7 @@ if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
6146 test x"$CPP" = x; then 6157 test x"$CPP" = x; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
6148$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 6159$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
6149 if test "${emacs_cv_sunpro_c+set}" = set; then : 6160 if ${emacs_cv_sunpro_c+:} false; then :
6150 $as_echo_n "(cached) " >&6 6161 $as_echo_n "(cached) " >&6
6151else 6162else
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6314,7 +6325,7 @@ if test -n "$CPP" && test -d "$CPP"; then
6314 CPP= 6325 CPP=
6315fi 6326fi
6316if test -z "$CPP"; then 6327if test -z "$CPP"; then
6317 if test "${ac_cv_prog_CPP+set}" = set; then : 6328 if ${ac_cv_prog_CPP+:} false; then :
6318 $as_echo_n "(cached) " >&6 6329 $as_echo_n "(cached) " >&6
6319else 6330else
6320 # Double quotes because CPP needs to be expanded 6331 # Double quotes because CPP needs to be expanded
@@ -6430,7 +6441,7 @@ else
6430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6432as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6443as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6433See \`config.log' for more details" "$LINENO" 5 ; } 6444See \`config.log' for more details" "$LINENO" 5; }
6434fi 6445fi
6435 6446
6436ac_ext=c 6447ac_ext=c
@@ -6446,7 +6457,7 @@ if test "x$RANLIB" = x; then
6446set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6457set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448$as_echo_n "checking for $ac_word... " >&6; } 6459$as_echo_n "checking for $ac_word... " >&6; }
6449if test "${ac_cv_prog_RANLIB+set}" = set; then : 6460if ${ac_cv_prog_RANLIB+:} false; then :
6450 $as_echo_n "(cached) " >&6 6461 $as_echo_n "(cached) " >&6
6451else 6462else
6452 if test -n "$RANLIB"; then 6463 if test -n "$RANLIB"; then
@@ -6486,7 +6497,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
6486set dummy ranlib; ac_word=$2 6497set dummy ranlib; ac_word=$2
6487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488$as_echo_n "checking for $ac_word... " >&6; } 6499$as_echo_n "checking for $ac_word... " >&6; }
6489if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6500if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6490 $as_echo_n "(cached) " >&6 6501 $as_echo_n "(cached) " >&6
6491else 6502else
6492 if test -n "$ac_ct_RANLIB"; then 6503 if test -n "$ac_ct_RANLIB"; then
@@ -6541,7 +6552,7 @@ fi
6541## is running in i386 mode, we can help them out. 6552## is running in i386 mode, we can help them out.
6542if test "$machine" = "amdx86-64"; then 6553if test "$machine" = "amdx86-64"; then
6543 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 6554 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
6544if test "x$ac_cv_have_decl_i386" = x""yes; then : 6555if test "x$ac_cv_have_decl_i386" = xyes; then :
6545 6556
6546fi 6557fi
6547 6558
@@ -6556,7 +6567,7 @@ fi
6556set dummy install-info; ac_word=$2 6567set dummy install-info; ac_word=$2
6557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558$as_echo_n "checking for $ac_word... " >&6; } 6569$as_echo_n "checking for $ac_word... " >&6; }
6559if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6570if ${ac_cv_path_INSTALL_INFO+:} false; then :
6560 $as_echo_n "(cached) " >&6 6571 $as_echo_n "(cached) " >&6
6561else 6572else
6562 case $INSTALL_INFO in 6573 case $INSTALL_INFO in
@@ -6596,7 +6607,7 @@ fi
6596set dummy install-info; ac_word=$2 6607set dummy install-info; ac_word=$2
6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598$as_echo_n "checking for $ac_word... " >&6; } 6609$as_echo_n "checking for $ac_word... " >&6; }
6599if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6610if ${ac_cv_path_INSTALL_INFO+:} false; then :
6600 $as_echo_n "(cached) " >&6 6611 $as_echo_n "(cached) " >&6
6601else 6612else
6602 case $INSTALL_INFO in 6613 case $INSTALL_INFO in
@@ -6636,7 +6647,7 @@ fi
6636set dummy install-info; ac_word=$2 6647set dummy install-info; ac_word=$2
6637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638$as_echo_n "checking for $ac_word... " >&6; } 6649$as_echo_n "checking for $ac_word... " >&6; }
6639if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6650if ${ac_cv_path_INSTALL_INFO+:} false; then :
6640 $as_echo_n "(cached) " >&6 6651 $as_echo_n "(cached) " >&6
6641else 6652else
6642 case $INSTALL_INFO in 6653 case $INSTALL_INFO in
@@ -6677,7 +6688,7 @@ fi
6677set dummy gzip; ac_word=$2 6688set dummy gzip; ac_word=$2
6678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679$as_echo_n "checking for $ac_word... " >&6; } 6690$as_echo_n "checking for $ac_word... " >&6; }
6680if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 6691if ${ac_cv_path_GZIP_PROG+:} false; then :
6681 $as_echo_n "(cached) " >&6 6692 $as_echo_n "(cached) " >&6
6682else 6693else
6683 case $GZIP_PROG in 6694 case $GZIP_PROG in
@@ -6720,7 +6731,7 @@ fi
6720set dummy makeinfo; ac_word=$2 6731set dummy makeinfo; ac_word=$2
6721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722$as_echo_n "checking for $ac_word... " >&6; } 6733$as_echo_n "checking for $ac_word... " >&6; }
6723if test "${ac_cv_path_MAKEINFO+set}" = set; then : 6734if ${ac_cv_path_MAKEINFO+:} false; then :
6724 $as_echo_n "(cached) " >&6 6735 $as_echo_n "(cached) " >&6
6725else 6736else
6726 case $MAKEINFO in 6737 case $MAKEINFO in
@@ -6926,7 +6937,7 @@ esac
6926C_SWITCH_MACHINE= 6937C_SWITCH_MACHINE=
6927if test "$machine" = "alpha"; then 6938if test "$machine" = "alpha"; then
6928 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 6939 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
6929if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 6940if test "x$ac_cv_have_decl___ELF__" = xyes; then :
6930 6941
6931fi 6942fi
6932 6943
@@ -6994,7 +7005,7 @@ if test "$enable_largefile" != no; then
6994 7005
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6996$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 7007$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6997if test "${ac_cv_sys_largefile_CC+set}" = set; then : 7008if ${ac_cv_sys_largefile_CC+:} false; then :
6998 $as_echo_n "(cached) " >&6 7009 $as_echo_n "(cached) " >&6
6999else 7010else
7000 ac_cv_sys_largefile_CC=no 7011 ac_cv_sys_largefile_CC=no
@@ -7045,7 +7056,7 @@ $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7045 7056
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7047$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 7058$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7048if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 7059if ${ac_cv_sys_file_offset_bits+:} false; then :
7049 $as_echo_n "(cached) " >&6 7060 $as_echo_n "(cached) " >&6
7050else 7061else
7051 while :; do 7062 while :; do
@@ -7114,7 +7125,7 @@ rm -rf conftest*
7114 if test $ac_cv_sys_file_offset_bits = unknown; then 7125 if test $ac_cv_sys_file_offset_bits = unknown; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7116$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 7127$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7117if test "${ac_cv_sys_large_files+set}" = set; then : 7128if ${ac_cv_sys_large_files+:} false; then :
7118 $as_echo_n "(cached) " >&6 7129 $as_echo_n "(cached) " >&6
7119else 7130else
7120 while :; do 7131 while :; do
@@ -7282,7 +7293,7 @@ done
7282 # Emulation library used on NetBSD. 7293 # Emulation library used on NetBSD.
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
7284$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 7295$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
7285if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 7296if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
7286 $as_echo_n "(cached) " >&6 7297 $as_echo_n "(cached) " >&6
7287else 7298else
7288 ac_check_lib_save_LIBS=$LIBS 7299 ac_check_lib_save_LIBS=$LIBS
@@ -7316,7 +7327,7 @@ LIBS=$ac_check_lib_save_LIBS
7316fi 7327fi
7317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 7328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7318$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 7329$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7319if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 7330if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
7320 LIBSOUND=-lossaudio 7331 LIBSOUND=-lossaudio
7321else 7332else
7322 LIBSOUND= 7333 LIBSOUND=
@@ -7333,7 +7344,7 @@ fi
7333set dummy pkg-config; ac_word=$2 7344set dummy pkg-config; ac_word=$2
7334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335$as_echo_n "checking for $ac_word... " >&6; } 7346$as_echo_n "checking for $ac_word... " >&6; }
7336if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 7347if ${ac_cv_path_PKG_CONFIG+:} false; then :
7337 $as_echo_n "(cached) " >&6 7348 $as_echo_n "(cached) " >&6
7338else 7349else
7339 case $PKG_CONFIG in 7350 case $PKG_CONFIG in
@@ -7537,7 +7548,7 @@ fi
7537for ac_header in term.h 7548for ac_header in term.h
7538do : 7549do :
7539 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 7550 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
7540if test "x$ac_cv_header_term_h" = x""yes; then : 7551if test "x$ac_cv_header_term_h" = xyes; then :
7541 cat >>confdefs.h <<_ACEOF 7552 cat >>confdefs.h <<_ACEOF
7542#define HAVE_TERM_H 1 7553#define HAVE_TERM_H 1
7543_ACEOF 7554_ACEOF
@@ -7548,7 +7559,7 @@ done
7548 7559
7549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7550$as_echo_n "checking for ANSI C header files... " >&6; } 7561$as_echo_n "checking for ANSI C header files... " >&6; }
7551if test "${ac_cv_header_stdc+set}" = set; then : 7562if ${ac_cv_header_stdc+:} false; then :
7552 $as_echo_n "(cached) " >&6 7563 $as_echo_n "(cached) " >&6
7553else 7564else
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7660,7 +7671,7 @@ fi
7660 7671
7661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7662$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7673$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7663if test "${ac_cv_header_time+set}" = set; then : 7674if ${ac_cv_header_time+:} false; then :
7664 $as_echo_n "(cached) " >&6 7675 $as_echo_n "(cached) " >&6
7665else 7676else
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7694,7 +7705,7 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7694fi 7705fi
7695 7706
7696ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 7707ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
7697if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 7708if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
7698 ac_have_decl=1 7709 ac_have_decl=1
7699else 7710else
7700 ac_have_decl=0 7711 ac_have_decl=0
@@ -7707,7 +7718,7 @@ _ACEOF
7707if test $ac_cv_have_decl_sys_siglist != yes; then 7718if test $ac_cv_have_decl_sys_siglist != yes; then
7708 # For Tru64, at least: 7719 # For Tru64, at least:
7709 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 7720 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
7710if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 7721if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
7711 ac_have_decl=1 7722 ac_have_decl=1
7712else 7723else
7713 ac_have_decl=0 7724 ac_have_decl=0
@@ -7725,7 +7736,7 @@ $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
7725fi 7736fi
7726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 7737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7727$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 7738$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7728if test "${ac_cv_header_sys_wait_h+set}" = set; then : 7739if ${ac_cv_header_sys_wait_h+:} false; then :
7729 $as_echo_n "(cached) " >&6 7740 $as_echo_n "(cached) " >&6
7730else 7741else
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7767,7 +7778,7 @@ fi
7767 7778
7768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
7769$as_echo_n "checking for struct utimbuf... " >&6; } 7780$as_echo_n "checking for struct utimbuf... " >&6; }
7770if test "${emacs_cv_struct_utimbuf+set}" = set; then : 7781if ${emacs_cv_struct_utimbuf+:} false; then :
7771 $as_echo_n "(cached) " >&6 7782 $as_echo_n "(cached) " >&6
7772else 7783else
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7810,7 +7821,7 @@ fi
7810 7821
7811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7812$as_echo_n "checking return type of signal handlers... " >&6; } 7823$as_echo_n "checking return type of signal handlers... " >&6; }
7813if test "${ac_cv_type_signal+set}" = set; then : 7824if ${ac_cv_type_signal+:} false; then :
7814 $as_echo_n "(cached) " >&6 7825 $as_echo_n "(cached) " >&6
7815else 7826else
7816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7844,7 +7855,7 @@ _ACEOF
7844 7855
7845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 7856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
7846$as_echo_n "checking for speed_t... " >&6; } 7857$as_echo_n "checking for speed_t... " >&6; }
7847if test "${emacs_cv_speed_t+set}" = set; then : 7858if ${emacs_cv_speed_t+:} false; then :
7848 $as_echo_n "(cached) " >&6 7859 $as_echo_n "(cached) " >&6
7849else 7860else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7875,7 +7886,7 @@ fi
7875 7886
7876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 7887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
7877$as_echo_n "checking for struct timeval... " >&6; } 7888$as_echo_n "checking for struct timeval... " >&6; }
7878if test "${emacs_cv_struct_timeval+set}" = set; then : 7889if ${emacs_cv_struct_timeval+:} false; then :
7879 $as_echo_n "(cached) " >&6 7890 $as_echo_n "(cached) " >&6
7880else 7891else
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7916,7 +7927,7 @@ fi
7916 7927
7917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 7928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
7918$as_echo_n "checking for struct exception... " >&6; } 7929$as_echo_n "checking for struct exception... " >&6; }
7919if test "${emacs_cv_struct_exception+set}" = set; then : 7930if ${emacs_cv_struct_exception+:} false; then :
7920 $as_echo_n "(cached) " >&6 7931 $as_echo_n "(cached) " >&6
7921else 7932else
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7949,7 +7960,7 @@ fi
7949for ac_header in sys/socket.h 7960for ac_header in sys/socket.h
7950do : 7961do :
7951 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 7962 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
7952if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 7963if test "x$ac_cv_header_sys_socket_h" = xyes; then :
7953 cat >>confdefs.h <<_ACEOF 7964 cat >>confdefs.h <<_ACEOF
7954#define HAVE_SYS_SOCKET_H 1 7965#define HAVE_SYS_SOCKET_H 1
7955_ACEOF 7966_ACEOF
@@ -7965,7 +7976,7 @@ do :
7965#include <sys/socket.h> 7976#include <sys/socket.h>
7966#endif 7977#endif
7967" 7978"
7968if test "x$ac_cv_header_net_if_h" = x""yes; then : 7979if test "x$ac_cv_header_net_if_h" = xyes; then :
7969 cat >>confdefs.h <<_ACEOF 7980 cat >>confdefs.h <<_ACEOF
7970#define HAVE_NET_IF_H 1 7981#define HAVE_NET_IF_H 1
7971_ACEOF 7982_ACEOF
@@ -7977,7 +7988,7 @@ done
7977 7988
7978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7979$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7990$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7980if test "${ac_cv_struct_tm+set}" = set; then : 7991if ${ac_cv_struct_tm+:} false; then :
7981 $as_echo_n "(cached) " >&6 7992 $as_echo_n "(cached) " >&6
7982else 7993else
7983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8014,7 +8025,7 @@ ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_
8014#include <$ac_cv_struct_tm> 8025#include <$ac_cv_struct_tm>
8015 8026
8016" 8027"
8017if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 8028if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
8018 8029
8019cat >>confdefs.h <<_ACEOF 8030cat >>confdefs.h <<_ACEOF
8020#define HAVE_STRUCT_TM_TM_ZONE 1 8031#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -8030,7 +8041,7 @@ $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8030else 8041else
8031 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 8042 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8032" 8043"
8033if test "x$ac_cv_have_decl_tzname" = x""yes; then : 8044if test "x$ac_cv_have_decl_tzname" = xyes; then :
8034 ac_have_decl=1 8045 ac_have_decl=1
8035else 8046else
8036 ac_have_decl=0 8047 ac_have_decl=0
@@ -8042,7 +8053,7 @@ _ACEOF
8042 8053
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8044$as_echo_n "checking for tzname... " >&6; } 8055$as_echo_n "checking for tzname... " >&6; }
8045if test "${ac_cv_var_tzname+set}" = set; then : 8056if ${ac_cv_var_tzname+:} false; then :
8046 $as_echo_n "(cached) " >&6 8057 $as_echo_n "(cached) " >&6
8047else 8058else
8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8079,7 +8090,7 @@ fi
8079 8090
8080ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 8091ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
8081" 8092"
8082if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 8093if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
8083 8094
8084$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 8095$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
8085 8096
@@ -8093,7 +8104,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_i
8093#include <net/if.h> 8104#include <net/if.h>
8094#endif 8105#endif
8095" 8106"
8096if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 8107if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
8097 8108
8098cat >>confdefs.h <<_ACEOF 8109cat >>confdefs.h <<_ACEOF
8099#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8110#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -8109,7 +8120,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_
8109#include <net/if.h> 8120#include <net/if.h>
8110#endif 8121#endif
8111" 8122"
8112if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 8123if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
8113 8124
8114cat >>confdefs.h <<_ACEOF 8125cat >>confdefs.h <<_ACEOF
8115#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8126#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -8125,7 +8136,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct
8125#include <net/if.h> 8136#include <net/if.h>
8126#endif 8137#endif
8127" 8138"
8128if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 8139if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
8129 8140
8130cat >>confdefs.h <<_ACEOF 8141cat >>confdefs.h <<_ACEOF
8131#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8142#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -8141,7 +8152,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_stru
8141#include <net/if.h> 8152#include <net/if.h>
8142#endif 8153#endif
8143" 8154"
8144if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 8155if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
8145 8156
8146cat >>confdefs.h <<_ACEOF 8157cat >>confdefs.h <<_ACEOF
8147#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8158#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -8157,7 +8168,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_if
8157#include <net/if.h> 8168#include <net/if.h>
8158#endif 8169#endif
8159" 8170"
8160if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 8171if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
8161 8172
8162cat >>confdefs.h <<_ACEOF 8173cat >>confdefs.h <<_ACEOF
8163#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8174#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -8186,7 +8197,7 @@ fi
8186 8197
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 8198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
8188$as_echo_n "checking for working volatile... " >&6; } 8199$as_echo_n "checking for working volatile... " >&6; }
8189if test "${ac_cv_c_volatile+set}" = set; then : 8200if ${ac_cv_c_volatile+:} false; then :
8190 $as_echo_n "(cached) " >&6 8201 $as_echo_n "(cached) " >&6
8191else 8202else
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8220,7 +8231,7 @@ fi
8220 8231
8221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 8232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8222$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 8233$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8223if test "${ac_cv_c_const+set}" = set; then : 8234if ${ac_cv_c_const+:} false; then :
8224 $as_echo_n "(cached) " >&6 8235 $as_echo_n "(cached) " >&6
8225else 8236else
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8300,7 +8311,7 @@ fi
8300 8311
8301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 8312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
8302$as_echo_n "checking for void * support... " >&6; } 8313$as_echo_n "checking for void * support... " >&6; }
8303if test "${emacs_cv_void_star+set}" = set; then : 8314if ${emacs_cv_void_star+:} false; then :
8304 $as_echo_n "(cached) " >&6 8315 $as_echo_n "(cached) " >&6
8305else 8316else
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8333,7 +8344,7 @@ fi
8333 8344
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
8335$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8346$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
8336if test "${ac_cv_c_bigendian+set}" = set; then : 8347if ${ac_cv_c_bigendian+:} false; then :
8337 $as_echo_n "(cached) " >&6 8348 $as_echo_n "(cached) " >&6
8338else 8349else
8339 ac_cv_c_bigendian=unknown 8350 ac_cv_c_bigendian=unknown
@@ -8552,13 +8563,13 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
8552 ;; #( 8563 ;; #(
8553 *) 8564 *)
8554 as_fn_error $? "unknown endianness 8565 as_fn_error $? "unknown endianness
8555 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8566 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8556 esac 8567 esac
8557 8568
8558 8569
8559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5 8570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5
8560$as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; } 8571$as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; }
8561if test "${emacs_cv_attribute_aligned+set}" = set; then : 8572if ${emacs_cv_attribute_aligned+:} false; then :
8562 $as_echo_n "(cached) " >&6 8573 $as_echo_n "(cached) " >&6
8563else 8574else
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8591,7 +8602,7 @@ fi
8591$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 8602$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8592set x ${MAKE-make} 8603set x ${MAKE-make}
8593ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 8604ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8594if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 8605if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
8595 $as_echo_n "(cached) " >&6 8606 $as_echo_n "(cached) " >&6
8596else 8607else
8597 cat >conftest.make <<\_ACEOF 8608 cat >conftest.make <<\_ACEOF
@@ -8679,7 +8690,7 @@ deps_frag=$srcdir/src/$deps_frag
8679 8690
8680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 8691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
8681$as_echo_n "checking for long file names... " >&6; } 8692$as_echo_n "checking for long file names... " >&6; }
8682if test "${ac_cv_sys_long_file_names+set}" = set; then : 8693if ${ac_cv_sys_long_file_names+:} false; then :
8683 $as_echo_n "(cached) " >&6 8694 $as_echo_n "(cached) " >&6
8684else 8695else
8685 ac_cv_sys_long_file_names=yes 8696 ac_cv_sys_long_file_names=yes
@@ -8735,8 +8746,8 @@ if test "x$with_x" = xno; then
8735 have_x=disabled 8746 have_x=disabled
8736else 8747else
8737 case $x_includes,$x_libraries in #( 8748 case $x_includes,$x_libraries in #(
8738 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 8749 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8739 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 8750 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8740 $as_echo_n "(cached) " >&6 8751 $as_echo_n "(cached) " >&6
8741else 8752else
8742 # One or both of the vars are not set, and there is no cached value. 8753 # One or both of the vars are not set, and there is no cached value.
@@ -9019,7 +9030,7 @@ if test "${with_ns}" != no; then
9019 TEMACS_LDFLAGS2= 9030 TEMACS_LDFLAGS2=
9020 fi 9031 fi
9021 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 9032 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
9022if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 9033if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
9023 HAVE_NS=yes 9034 HAVE_NS=yes
9024else 9035else
9025 as_fn_error $? "\`--with-ns' was specified, but the include 9036 as_fn_error $? "\`--with-ns' was specified, but the include
@@ -9104,7 +9115,7 @@ if test "$window_system" = none && test "X$with_x" != "Xno"; then
9104set dummy X; ac_word=$2 9115set dummy X; ac_word=$2
9105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9106$as_echo_n "checking for $ac_word... " >&6; } 9117$as_echo_n "checking for $ac_word... " >&6; }
9107if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 9118if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
9108 $as_echo_n "(cached) " >&6 9119 $as_echo_n "(cached) " >&6
9109else 9120else
9110 if test -n "$HAVE_XSERVER"; then 9121 if test -n "$HAVE_XSERVER"; then
@@ -9163,14 +9174,14 @@ esac
9163GNU_MALLOC=yes 9174GNU_MALLOC=yes
9164doug_lea_malloc=yes 9175doug_lea_malloc=yes
9165ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 9176ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
9166if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 9177if test "x$ac_cv_func_malloc_get_state" = xyes; then :
9167 9178
9168else 9179else
9169 doug_lea_malloc=no 9180 doug_lea_malloc=no
9170fi 9181fi
9171 9182
9172ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 9183ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
9173if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 9184if test "x$ac_cv_func_malloc_set_state" = xyes; then :
9174 9185
9175else 9186else
9176 doug_lea_malloc=no 9187 doug_lea_malloc=no
@@ -9178,7 +9189,7 @@ fi
9178 9189
9179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 9190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
9180$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 9191$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
9181if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 9192if ${emacs_cv_var___after_morecore_hook+:} false; then :
9182 $as_echo_n "(cached) " >&6 9193 $as_echo_n "(cached) " >&6
9183else 9194else
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9283,7 +9294,7 @@ done
9283for ac_func in getpagesize 9294for ac_func in getpagesize
9284do : 9295do :
9285 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 9296 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
9286if test "x$ac_cv_func_getpagesize" = x""yes; then : 9297if test "x$ac_cv_func_getpagesize" = xyes; then :
9287 cat >>confdefs.h <<_ACEOF 9298 cat >>confdefs.h <<_ACEOF
9288#define HAVE_GETPAGESIZE 1 9299#define HAVE_GETPAGESIZE 1
9289_ACEOF 9300_ACEOF
@@ -9293,7 +9304,7 @@ done
9293 9304
9294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 9305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
9295$as_echo_n "checking for working mmap... " >&6; } 9306$as_echo_n "checking for working mmap... " >&6; }
9296if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 9307if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
9297 $as_echo_n "(cached) " >&6 9308 $as_echo_n "(cached) " >&6
9298else 9309else
9299 if test "$cross_compiling" = yes; then : 9310 if test "$cross_compiling" = yes; then :
@@ -9468,7 +9479,7 @@ LIBS="$LIBS_SYSTEM $LIBS"
9468 9479
9469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 9480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9470$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 9481$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9471if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 9482if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9472 $as_echo_n "(cached) " >&6 9483 $as_echo_n "(cached) " >&6
9473else 9484else
9474 ac_check_lib_save_LIBS=$LIBS 9485 ac_check_lib_save_LIBS=$LIBS
@@ -9502,7 +9513,7 @@ LIBS=$ac_check_lib_save_LIBS
9502fi 9513fi
9503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 9514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9504$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 9515$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9505if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 9516if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9506 cat >>confdefs.h <<_ACEOF 9517 cat >>confdefs.h <<_ACEOF
9507#define HAVE_LIBDNET 1 9518#define HAVE_LIBDNET 1
9508_ACEOF 9519_ACEOF
@@ -9514,7 +9525,7 @@ fi
9514 9525
9515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 9526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
9516$as_echo_n "checking for main in -lXbsd... " >&6; } 9527$as_echo_n "checking for main in -lXbsd... " >&6; }
9517if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 9528if ${ac_cv_lib_Xbsd_main+:} false; then :
9518 $as_echo_n "(cached) " >&6 9529 $as_echo_n "(cached) " >&6
9519else 9530else
9520 ac_check_lib_save_LIBS=$LIBS 9531 ac_check_lib_save_LIBS=$LIBS
@@ -9542,14 +9553,14 @@ LIBS=$ac_check_lib_save_LIBS
9542fi 9553fi
9543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 9554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
9544$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 9555$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
9545if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 9556if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
9546 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 9557 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
9547fi 9558fi
9548 9559
9549 9560
9550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 9561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
9551$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 9562$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
9552if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 9563if ${ac_cv_lib_pthreads_cma_open+:} false; then :
9553 $as_echo_n "(cached) " >&6 9564 $as_echo_n "(cached) " >&6
9554else 9565else
9555 ac_check_lib_save_LIBS=$LIBS 9566 ac_check_lib_save_LIBS=$LIBS
@@ -9583,7 +9594,7 @@ LIBS=$ac_check_lib_save_LIBS
9583fi 9594fi
9584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 9595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
9585$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 9596$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
9586if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 9597if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
9587 cat >>confdefs.h <<_ACEOF 9598 cat >>confdefs.h <<_ACEOF
9588#define HAVE_LIBPTHREADS 1 9599#define HAVE_LIBPTHREADS 1
9589_ACEOF 9600_ACEOF
@@ -9610,7 +9621,7 @@ case ${host_os} in
9610aix*) 9621aix*)
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
9612$as_echo_n "checking for -bbigtoc option... " >&6; } 9623$as_echo_n "checking for -bbigtoc option... " >&6; }
9613if test "${gdb_cv_bigtoc+set}" = set; then : 9624if ${gdb_cv_bigtoc+:} false; then :
9614 $as_echo_n "(cached) " >&6 9625 $as_echo_n "(cached) " >&6
9615else 9626else
9616 9627
@@ -9784,7 +9795,7 @@ fi
9784if test "${window_system}" = "x11"; then 9795if test "${window_system}" = "x11"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
9786$as_echo_n "checking X11 version 6... " >&6; } 9797$as_echo_n "checking X11 version 6... " >&6; }
9787 if test "${emacs_cv_x11_version_6+set}" = set; then : 9798 if ${emacs_cv_x11_version_6+:} false; then :
9788 $as_echo_n "(cached) " >&6 9799 $as_echo_n "(cached) " >&6
9789else 9800else
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9849,7 +9860,7 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
9849set dummy pkg-config; ac_word=$2 9860set dummy pkg-config; ac_word=$2
9850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9851$as_echo_n "checking for $ac_word... " >&6; } 9862$as_echo_n "checking for $ac_word... " >&6; }
9852if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9863if ${ac_cv_path_PKG_CONFIG+:} false; then :
9853 $as_echo_n "(cached) " >&6 9864 $as_echo_n "(cached) " >&6
9854else 9865else
9855 case $PKG_CONFIG in 9866 case $PKG_CONFIG in
@@ -9960,7 +9971,7 @@ if test "${HAVE_X11}" = "yes"; then
9960set dummy pkg-config; ac_word=$2 9971set dummy pkg-config; ac_word=$2
9961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9962$as_echo_n "checking for $ac_word... " >&6; } 9973$as_echo_n "checking for $ac_word... " >&6; }
9963if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9974if ${ac_cv_path_PKG_CONFIG+:} false; then :
9964 $as_echo_n "(cached) " >&6 9975 $as_echo_n "(cached) " >&6
9965else 9976else
9966 case $PKG_CONFIG in 9977 case $PKG_CONFIG in
@@ -10059,7 +10070,7 @@ $as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h
10059 for ac_func in MagickExportImagePixels 10070 for ac_func in MagickExportImagePixels
10060do : 10071do :
10061 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 10072 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
10062if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 10073if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
10063 cat >>confdefs.h <<_ACEOF 10074 cat >>confdefs.h <<_ACEOF
10064#define HAVE_MAGICKEXPORTIMAGEPIXELS 1 10075#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
10065_ACEOF 10076_ACEOF
@@ -10085,7 +10096,7 @@ if test "${with_gtk3}" = "yes"; then
10085set dummy pkg-config; ac_word=$2 10096set dummy pkg-config; ac_word=$2
10086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10087$as_echo_n "checking for $ac_word... " >&6; } 10098$as_echo_n "checking for $ac_word... " >&6; }
10088if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10099if ${ac_cv_path_PKG_CONFIG+:} false; then :
10089 $as_echo_n "(cached) " >&6 10100 $as_echo_n "(cached) " >&6
10090else 10101else
10091 case $PKG_CONFIG in 10102 case $PKG_CONFIG in
@@ -10191,7 +10202,7 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
10191set dummy pkg-config; ac_word=$2 10202set dummy pkg-config; ac_word=$2
10192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193$as_echo_n "checking for $ac_word... " >&6; } 10204$as_echo_n "checking for $ac_word... " >&6; }
10194if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10205if ${ac_cv_path_PKG_CONFIG+:} false; then :
10195 $as_echo_n "(cached) " >&6 10206 $as_echo_n "(cached) " >&6
10196else 10207else
10197 case $PKG_CONFIG in 10208 case $PKG_CONFIG in
@@ -10296,7 +10307,7 @@ if test x"$pkg_check_gtk" = xyes; then
10296 for ac_func in gtk_main 10307 for ac_func in gtk_main
10297do : 10308do :
10298 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 10309 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
10299if test "x$ac_cv_func_gtk_main" = x""yes; then : 10310if test "x$ac_cv_func_gtk_main" = xyes; then :
10300 cat >>confdefs.h <<_ACEOF 10311 cat >>confdefs.h <<_ACEOF
10301#define HAVE_GTK_MAIN 1 10312#define HAVE_GTK_MAIN 1
10302_ACEOF 10313_ACEOF
@@ -10306,7 +10317,7 @@ done
10306 10317
10307 if test "${GTK_COMPILES}" != "yes"; then 10318 if test "${GTK_COMPILES}" != "yes"; then
10308 if test "$USE_X_TOOLKIT" != "maybe"; then 10319 if test "$USE_X_TOOLKIT" != "maybe"; then
10309 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5 ; 10320 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
10310 fi 10321 fi
10311 else 10322 else
10312 HAVE_GTK=yes 10323 HAVE_GTK=yes
@@ -10344,7 +10355,7 @@ if test "${HAVE_GTK}" = "yes"; then
10344 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 10355 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
10345#include <gtk/gtk.h> 10356#include <gtk/gtk.h>
10346" 10357"
10347if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 10358if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
10348 HAVE_GTK_FILE_SELECTION=yes 10359 HAVE_GTK_FILE_SELECTION=yes
10349else 10360else
10350 HAVE_GTK_FILE_SELECTION=no 10361 HAVE_GTK_FILE_SELECTION=no
@@ -10354,7 +10365,7 @@ fi
10354 for ac_func in gtk_file_selection_new 10365 for ac_func in gtk_file_selection_new
10355do : 10366do :
10356 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 10367 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
10357if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 10368if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
10358 cat >>confdefs.h <<_ACEOF 10369 cat >>confdefs.h <<_ACEOF
10359#define HAVE_GTK_FILE_SELECTION_NEW 1 10370#define HAVE_GTK_FILE_SELECTION_NEW 1
10360_ACEOF 10371_ACEOF
@@ -10368,7 +10379,7 @@ done
10368 for ac_header in pthread.h 10379 for ac_header in pthread.h
10369do : 10380do :
10370 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 10381 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
10371if test "x$ac_cv_header_pthread_h" = x""yes; then : 10382if test "x$ac_cv_header_pthread_h" = xyes; then :
10372 cat >>confdefs.h <<_ACEOF 10383 cat >>confdefs.h <<_ACEOF
10373#define HAVE_PTHREAD_H 1 10384#define HAVE_PTHREAD_H 1
10374_ACEOF 10385_ACEOF
@@ -10380,7 +10391,7 @@ done
10380 if test "$ac_cv_header_pthread_h"; then 10391 if test "$ac_cv_header_pthread_h"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
10382$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 10393$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
10383if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 10394if ${ac_cv_lib_pthread_pthread_self+:} false; then :
10384 $as_echo_n "(cached) " >&6 10395 $as_echo_n "(cached) " >&6
10385else 10396else
10386 ac_check_lib_save_LIBS=$LIBS 10397 ac_check_lib_save_LIBS=$LIBS
@@ -10414,7 +10425,7 @@ LIBS=$ac_check_lib_save_LIBS
10414fi 10425fi
10415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 10426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
10416$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 10427$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
10417if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 10428if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
10418 HAVE_GTK_AND_PTHREAD=yes 10429 HAVE_GTK_AND_PTHREAD=yes
10419fi 10430fi
10420 10431
@@ -10457,7 +10468,7 @@ if test "${with_dbus}" = "yes"; then
10457set dummy pkg-config; ac_word=$2 10468set dummy pkg-config; ac_word=$2
10458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10459$as_echo_n "checking for $ac_word... " >&6; } 10470$as_echo_n "checking for $ac_word... " >&6; }
10460if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10471if ${ac_cv_path_PKG_CONFIG+:} false; then :
10461 $as_echo_n "(cached) " >&6 10472 $as_echo_n "(cached) " >&6
10462else 10473else
10463 case $PKG_CONFIG in 10474 case $PKG_CONFIG in
@@ -10552,7 +10563,7 @@ $as_echo "#define HAVE_DBUS 1" >>confdefs.h
10552 for ac_func in dbus_watch_get_unix_fd 10563 for ac_func in dbus_watch_get_unix_fd
10553do : 10564do :
10554 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 10565 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
10555if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 10566if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
10556 cat >>confdefs.h <<_ACEOF 10567 cat >>confdefs.h <<_ACEOF
10557#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 10568#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
10558_ACEOF 10569_ACEOF
@@ -10574,7 +10585,7 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
10574set dummy pkg-config; ac_word=$2 10585set dummy pkg-config; ac_word=$2
10575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10576$as_echo_n "checking for $ac_word... " >&6; } 10587$as_echo_n "checking for $ac_word... " >&6; }
10577if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10588if ${ac_cv_path_PKG_CONFIG+:} false; then :
10578 $as_echo_n "(cached) " >&6 10589 $as_echo_n "(cached) " >&6
10579else 10590else
10580 case $PKG_CONFIG in 10591 case $PKG_CONFIG in
@@ -10668,7 +10679,7 @@ $as_echo "#define HAVE_GCONF 1" >>confdefs.h
10668 for ac_func in g_type_init 10679 for ac_func in g_type_init
10669do : 10680do :
10670 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 10681 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
10671if test "x$ac_cv_func_g_type_init" = x""yes; then : 10682if test "x$ac_cv_func_g_type_init" = xyes; then :
10672 cat >>confdefs.h <<_ACEOF 10683 cat >>confdefs.h <<_ACEOF
10673#define HAVE_G_TYPE_INIT 1 10684#define HAVE_G_TYPE_INIT 1
10674_ACEOF 10685_ACEOF
@@ -10684,7 +10695,7 @@ LIBSELINUX_LIBS=
10684if test "${with_selinux}" = "yes"; then 10695if test "${with_selinux}" = "yes"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
10686$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 10697$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
10687if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 10698if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
10688 $as_echo_n "(cached) " >&6 10699 $as_echo_n "(cached) " >&6
10689else 10700else
10690 ac_check_lib_save_LIBS=$LIBS 10701 ac_check_lib_save_LIBS=$LIBS
@@ -10718,7 +10729,7 @@ LIBS=$ac_check_lib_save_LIBS
10718fi 10729fi
10719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 10730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
10720$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 10731$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
10721if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 10732if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
10722 HAVE_LIBSELINUX=yes 10733 HAVE_LIBSELINUX=yes
10723else 10734else
10724 HAVE_LIBSELINUX=no 10735 HAVE_LIBSELINUX=no
@@ -10742,7 +10753,7 @@ if test "${with_gnutls}" = "yes" ; then
10742set dummy pkg-config; ac_word=$2 10753set dummy pkg-config; ac_word=$2
10743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10744$as_echo_n "checking for $ac_word... " >&6; } 10755$as_echo_n "checking for $ac_word... " >&6; }
10745if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10756if ${ac_cv_path_PKG_CONFIG+:} false; then :
10746 $as_echo_n "(cached) " >&6 10757 $as_echo_n "(cached) " >&6
10747else 10758else
10748 case $PKG_CONFIG in 10759 case $PKG_CONFIG in
@@ -10844,7 +10855,7 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
10844 if test "$with_xaw3d" != no; then 10855 if test "$with_xaw3d" != no; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
10846$as_echo_n "checking for xaw3d... " >&6; } 10857$as_echo_n "checking for xaw3d... " >&6; }
10847 if test "${emacs_cv_xaw3d+set}" = set; then : 10858 if ${emacs_cv_xaw3d+:} false; then :
10848 $as_echo_n "(cached) " >&6 10859 $as_echo_n "(cached) " >&6
10849else 10860else
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10863,7 +10874,7 @@ _ACEOF
10863if ac_fn_c_try_link "$LINENO"; then : 10874if ac_fn_c_try_link "$LINENO"; then :
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5 10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10865$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; } 10876$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; }
10866if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then : 10877if ${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+:} false; then :
10867 $as_echo_n "(cached) " >&6 10878 $as_echo_n "(cached) " >&6
10868else 10879else
10869 ac_check_lib_save_LIBS=$LIBS 10880 ac_check_lib_save_LIBS=$LIBS
@@ -10897,7 +10908,7 @@ LIBS=$ac_check_lib_save_LIBS
10897fi 10908fi
10898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 10909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
10899$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; } 10910$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
10900if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = x""yes; then : 10911if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = xyes; then :
10901 emacs_cv_xaw3d=yes 10912 emacs_cv_xaw3d=yes
10902else 10913else
10903 emacs_cv_xaw3d=no 10914 emacs_cv_xaw3d=no
@@ -10927,7 +10938,7 @@ $as_echo "#define HAVE_XAW3D 1" >>confdefs.h
10927$as_echo "no" >&6; } 10938$as_echo "no" >&6; }
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
10929$as_echo_n "checking for libXaw... " >&6; } 10940$as_echo_n "checking for libXaw... " >&6; }
10930 if test "${emacs_cv_xaw+set}" = set; then : 10941 if ${emacs_cv_xaw+:} false; then :
10931 $as_echo_n "(cached) " >&6 10942 $as_echo_n "(cached) " >&6
10932else 10943else
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10973,7 +10984,7 @@ LIBXTR6=
10973if test "${USE_X_TOOLKIT}" != "none"; then 10984if test "${USE_X_TOOLKIT}" != "none"; then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
10975$as_echo_n "checking X11 toolkit version... " >&6; } 10986$as_echo_n "checking X11 toolkit version... " >&6; }
10976 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 10987 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
10977 $as_echo_n "(cached) " >&6 10988 $as_echo_n "(cached) " >&6
10978else 10989else
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11024,7 +11035,7 @@ $as_echo "before 6" >&6; }
11024 fi 11035 fi
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
11026$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 11037$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
11027if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 11038if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
11028 $as_echo_n "(cached) " >&6 11039 $as_echo_n "(cached) " >&6
11029else 11040else
11030 ac_check_lib_save_LIBS=$LIBS 11041 ac_check_lib_save_LIBS=$LIBS
@@ -11058,7 +11069,7 @@ LIBS=$ac_check_lib_save_LIBS
11058fi 11069fi
11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 11070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
11060$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 11071$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
11061if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 11072if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
11062 cat >>confdefs.h <<_ACEOF 11073 cat >>confdefs.h <<_ACEOF
11063#define HAVE_LIBXMU 1 11074#define HAVE_LIBXMU 1
11064_ACEOF 11075_ACEOF
@@ -11085,7 +11096,7 @@ if test "${HAVE_X11}" = "yes"; then
11085 if test "${USE_X_TOOLKIT}" != "none"; then 11096 if test "${USE_X_TOOLKIT}" != "none"; then
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11087$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 11098$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11088if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 11099if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11089 $as_echo_n "(cached) " >&6 11100 $as_echo_n "(cached) " >&6
11090else 11101else
11091 ac_check_lib_save_LIBS=$LIBS 11102 ac_check_lib_save_LIBS=$LIBS
@@ -11119,7 +11130,7 @@ LIBS=$ac_check_lib_save_LIBS
11119fi 11130fi
11120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 11131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11121$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 11132$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11122if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 11133if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11123 cat >>confdefs.h <<_ACEOF 11134 cat >>confdefs.h <<_ACEOF
11124#define HAVE_LIBXEXT 1 11135#define HAVE_LIBXEXT 1
11125_ACEOF 11136_ACEOF
@@ -11135,7 +11146,7 @@ LIBXP=
11135if test "${USE_X_TOOLKIT}" = "MOTIF"; then 11146if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
11137$as_echo_n "checking for Motif version 2.1... " >&6; } 11148$as_echo_n "checking for Motif version 2.1... " >&6; }
11138if test "${emacs_cv_motif_version_2_1+set}" = set; then : 11149if ${emacs_cv_motif_version_2_1+:} false; then :
11139 $as_echo_n "(cached) " >&6 11150 $as_echo_n "(cached) " >&6
11140else 11151else
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11165,7 +11176,7 @@ $as_echo "$emacs_cv_motif_version_2_1" >&6; }
11165 if test $emacs_cv_motif_version_2_1 = yes; then 11176 if test $emacs_cv_motif_version_2_1 = yes; then
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
11167$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 11178$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
11168if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 11179if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
11169 $as_echo_n "(cached) " >&6 11180 $as_echo_n "(cached) " >&6
11170else 11181else
11171 ac_check_lib_save_LIBS=$LIBS 11182 ac_check_lib_save_LIBS=$LIBS
@@ -11199,14 +11210,14 @@ LIBS=$ac_check_lib_save_LIBS
11199fi 11210fi
11200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 11211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
11201$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 11212$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
11202if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 11213if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
11203 LIBXP=-lXp 11214 LIBXP=-lXp
11204fi 11215fi
11205 11216
11206 else 11217 else
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
11208$as_echo_n "checking for LessTif where some systems put it... " >&6; } 11219$as_echo_n "checking for LessTif where some systems put it... " >&6; }
11209if test "${emacs_cv_lesstif+set}" = set; then : 11220if ${emacs_cv_lesstif+:} false; then :
11210 $as_echo_n "(cached) " >&6 11221 $as_echo_n "(cached) " >&6
11211else 11222else
11212 # We put this in CFLAGS temporarily to precede other -I options 11223 # We put this in CFLAGS temporarily to precede other -I options
@@ -11365,7 +11376,7 @@ if test "${HAVE_X11}" = "yes"; then
11365set dummy pkg-config; ac_word=$2 11376set dummy pkg-config; ac_word=$2
11366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11367$as_echo_n "checking for $ac_word... " >&6; } 11378$as_echo_n "checking for $ac_word... " >&6; }
11368if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11379if ${ac_cv_path_PKG_CONFIG+:} false; then :
11369 $as_echo_n "(cached) " >&6 11380 $as_echo_n "(cached) " >&6
11370else 11381else
11371 case $PKG_CONFIG in 11382 case $PKG_CONFIG in
@@ -11467,7 +11478,7 @@ $as_echo "no" >&6; }
11467set dummy pkg-config; ac_word=$2 11478set dummy pkg-config; ac_word=$2
11468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469$as_echo_n "checking for $ac_word... " >&6; } 11480$as_echo_n "checking for $ac_word... " >&6; }
11470if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11481if ${ac_cv_path_PKG_CONFIG+:} false; then :
11471 $as_echo_n "(cached) " >&6 11482 $as_echo_n "(cached) " >&6
11472else 11483else
11473 case $PKG_CONFIG in 11484 case $PKG_CONFIG in
@@ -11559,7 +11570,7 @@ $as_echo "no" >&6; }
11559 HAVE_XRENDER=no 11570 HAVE_XRENDER=no
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
11561$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 11572$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
11562if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 11573if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
11563 $as_echo_n "(cached) " >&6 11574 $as_echo_n "(cached) " >&6
11564else 11575else
11565 ac_check_lib_save_LIBS=$LIBS 11576 ac_check_lib_save_LIBS=$LIBS
@@ -11593,7 +11604,7 @@ LIBS=$ac_check_lib_save_LIBS
11593fi 11604fi
11594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 11605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11595$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 11606$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
11596if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 11607if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
11597 HAVE_XRENDER=yes 11608 HAVE_XRENDER=yes
11598fi 11609fi
11599 11610
@@ -11606,10 +11617,10 @@ fi
11606 XFT_LIBS="-lXrender $XFT_LIBS" 11617 XFT_LIBS="-lXrender $XFT_LIBS"
11607 LIBS="$XFT_LIBS $LIBS" 11618 LIBS="$XFT_LIBS $LIBS"
11608 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 11619 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
11609if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 11620if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
11611$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 11622$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
11612if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 11623if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
11613 $as_echo_n "(cached) " >&6 11624 $as_echo_n "(cached) " >&6
11614else 11625else
11615 ac_check_lib_save_LIBS=$LIBS 11626 ac_check_lib_save_LIBS=$LIBS
@@ -11643,7 +11654,7 @@ LIBS=$ac_check_lib_save_LIBS
11643fi 11654fi
11644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 11655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
11645$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 11656$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
11646if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 11657if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
11647 HAVE_XFT=yes 11658 HAVE_XFT=yes
11648fi 11659fi
11649 11660
@@ -11686,7 +11697,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11686set dummy pkg-config; ac_word=$2 11697set dummy pkg-config; ac_word=$2
11687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11688$as_echo_n "checking for $ac_word... " >&6; } 11699$as_echo_n "checking for $ac_word... " >&6; }
11689if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11700if ${ac_cv_path_PKG_CONFIG+:} false; then :
11690 $as_echo_n "(cached) " >&6 11701 $as_echo_n "(cached) " >&6
11691else 11702else
11692 case $PKG_CONFIG in 11703 case $PKG_CONFIG in
@@ -11779,7 +11790,7 @@ $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
11779 11790
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
11781$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 11792$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
11782if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 11793if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
11783 $as_echo_n "(cached) " >&6 11794 $as_echo_n "(cached) " >&6
11784else 11795else
11785 ac_check_lib_save_LIBS=$LIBS 11796 ac_check_lib_save_LIBS=$LIBS
@@ -11813,7 +11824,7 @@ LIBS=$ac_check_lib_save_LIBS
11813fi 11824fi
11814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 11825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
11815$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 11826$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
11816if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 11827if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
11817 HAVE_OTF_GET_VARIATION_GLYPHS=yes 11828 HAVE_OTF_GET_VARIATION_GLYPHS=yes
11818else 11829else
11819 HAVE_OTF_GET_VARIATION_GLYPHS=no 11830 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -11838,7 +11849,7 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
11838set dummy pkg-config; ac_word=$2 11849set dummy pkg-config; ac_word=$2
11839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11840$as_echo_n "checking for $ac_word... " >&6; } 11851$as_echo_n "checking for $ac_word... " >&6; }
11841if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11852if ${ac_cv_path_PKG_CONFIG+:} false; then :
11842 $as_echo_n "(cached) " >&6 11853 $as_echo_n "(cached) " >&6
11843else 11854else
11844 case $PKG_CONFIG in 11855 case $PKG_CONFIG in
@@ -11956,10 +11967,10 @@ LIBXPM=
11956if test "${HAVE_X11}" = "yes"; then 11967if test "${HAVE_X11}" = "yes"; then
11957 if test "${with_xpm}" != "no"; then 11968 if test "${with_xpm}" != "no"; then
11958 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 11969 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
11959if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 11970if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
11961$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 11972$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
11962if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 11973if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
11963 $as_echo_n "(cached) " >&6 11974 $as_echo_n "(cached) " >&6
11964else 11975else
11965 ac_check_lib_save_LIBS=$LIBS 11976 ac_check_lib_save_LIBS=$LIBS
@@ -11993,7 +12004,7 @@ LIBS=$ac_check_lib_save_LIBS
11993fi 12004fi
11994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 12005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11995$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 12006$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
11996if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 12007if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
11997 HAVE_XPM=yes 12008 HAVE_XPM=yes
11998fi 12009fi
11999 12010
@@ -12045,10 +12056,10 @@ LIBJPEG=
12045if test "${HAVE_X11}" = "yes"; then 12056if test "${HAVE_X11}" = "yes"; then
12046 if test "${with_jpeg}" != "no"; then 12057 if test "${with_jpeg}" != "no"; then
12047 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 12058 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
12048if test "x$ac_cv_header_jerror_h" = x""yes; then : 12059if test "x$ac_cv_header_jerror_h" = xyes; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
12050$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 12061$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
12051if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 12062if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
12052 $as_echo_n "(cached) " >&6 12063 $as_echo_n "(cached) " >&6
12053else 12064else
12054 ac_check_lib_save_LIBS=$LIBS 12065 ac_check_lib_save_LIBS=$LIBS
@@ -12082,7 +12093,7 @@ LIBS=$ac_check_lib_save_LIBS
12082fi 12093fi
12083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 12094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
12084$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 12095$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
12085if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 12096if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
12086 HAVE_JPEG=yes 12097 HAVE_JPEG=yes
12087fi 12098fi
12088 12099
@@ -12141,7 +12152,7 @@ done
12141 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 12152 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
12143$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 12154$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
12144if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 12155if ${ac_cv_lib_png_png_get_channels+:} false; then :
12145 $as_echo_n "(cached) " >&6 12156 $as_echo_n "(cached) " >&6
12146else 12157else
12147 ac_check_lib_save_LIBS=$LIBS 12158 ac_check_lib_save_LIBS=$LIBS
@@ -12175,7 +12186,7 @@ LIBS=$ac_check_lib_save_LIBS
12175fi 12186fi
12176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 12187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
12177$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 12188$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
12178if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 12189if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
12179 HAVE_PNG=yes 12190 HAVE_PNG=yes
12180fi 12191fi
12181 12192
@@ -12197,13 +12208,13 @@ LIBTIFF=
12197if test "${HAVE_X11}" = "yes"; then 12208if test "${HAVE_X11}" = "yes"; then
12198 if test "${with_tiff}" != "no"; then 12209 if test "${with_tiff}" != "no"; then
12199 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 12210 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12200if test "x$ac_cv_header_tiffio_h" = x""yes; then : 12211if test "x$ac_cv_header_tiffio_h" = xyes; then :
12201 tifflibs="-lz -lm" 12212 tifflibs="-lz -lm"
12202 # At least one tiff package requires the jpeg library. 12213 # At least one tiff package requires the jpeg library.
12203 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 12214 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
12205$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 12216$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
12206if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 12217if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
12207 $as_echo_n "(cached) " >&6 12218 $as_echo_n "(cached) " >&6
12208else 12219else
12209 ac_check_lib_save_LIBS=$LIBS 12220 ac_check_lib_save_LIBS=$LIBS
@@ -12237,7 +12248,7 @@ LIBS=$ac_check_lib_save_LIBS
12237fi 12248fi
12238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 12249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12239$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 12250$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
12240if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 12251if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
12241 HAVE_TIFF=yes 12252 HAVE_TIFF=yes
12242fi 12253fi
12243 12254
@@ -12260,12 +12271,12 @@ HAVE_GIF=no
12260LIBGIF= 12271LIBGIF=
12261if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 12272if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
12262 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 12273 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
12263if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 12274if test "x$ac_cv_header_gif_lib_h" = xyes; then :
12264 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 12275 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12265# Earlier versions can crash Emacs. 12276# Earlier versions can crash Emacs.
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
12267$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 12278$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
12268if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 12279if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
12269 $as_echo_n "(cached) " >&6 12280 $as_echo_n "(cached) " >&6
12270else 12281else
12271 ac_check_lib_save_LIBS=$LIBS 12282 ac_check_lib_save_LIBS=$LIBS
@@ -12299,7 +12310,7 @@ LIBS=$ac_check_lib_save_LIBS
12299fi 12310fi
12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 12311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
12301$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 12312$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
12302if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 12313if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
12303 HAVE_GIF=yes 12314 HAVE_GIF=yes
12304else 12315else
12305 HAVE_GIF=maybe 12316 HAVE_GIF=maybe
@@ -12315,7 +12326,7 @@ fi
12315# If gif_lib.h but no libgif, try libungif. 12326# If gif_lib.h but no libgif, try libungif.
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
12317$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 12328$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
12318if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 12329if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
12319 $as_echo_n "(cached) " >&6 12330 $as_echo_n "(cached) " >&6
12320else 12331else
12321 ac_check_lib_save_LIBS=$LIBS 12332 ac_check_lib_save_LIBS=$LIBS
@@ -12349,7 +12360,7 @@ LIBS=$ac_check_lib_save_LIBS
12349fi 12360fi
12350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 12361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12351$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 12362$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
12352if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 12363if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
12353 HAVE_GIF=yes 12364 HAVE_GIF=yes
12354else 12365else
12355 HAVE_GIF=no 12366 HAVE_GIF=no
@@ -12396,10 +12407,10 @@ LIBGPM=
12396MOUSE_SUPPORT= 12407MOUSE_SUPPORT=
12397if test "${with_gpm}" != "no"; then 12408if test "${with_gpm}" != "no"; then
12398 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 12409 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
12399if test "x$ac_cv_header_gpm_h" = x""yes; then : 12410if test "x$ac_cv_header_gpm_h" = xyes; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
12401$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 12412$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
12402if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 12413if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
12403 $as_echo_n "(cached) " >&6 12414 $as_echo_n "(cached) " >&6
12404else 12415else
12405 ac_check_lib_save_LIBS=$LIBS 12416 ac_check_lib_save_LIBS=$LIBS
@@ -12433,7 +12444,7 @@ LIBS=$ac_check_lib_save_LIBS
12433fi 12444fi
12434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 12445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
12435$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 12446$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
12436if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 12447if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
12437 HAVE_GPM=yes 12448 HAVE_GPM=yes
12438fi 12449fi
12439 12450
@@ -12453,7 +12464,7 @@ fi
12453 12464
12454 12465
12455ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 12466ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
12456if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 12467if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
12457 12468
12458$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 12469$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
12459 12470
@@ -12498,10 +12509,10 @@ HAVE_X_SM=no
12498LIBXSM= 12509LIBXSM=
12499if test "${HAVE_X11}" = "yes"; then 12510if test "${HAVE_X11}" = "yes"; then
12500 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 12511 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
12501if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 12512if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
12503$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 12514$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
12504if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 12515if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
12505 $as_echo_n "(cached) " >&6 12516 $as_echo_n "(cached) " >&6
12506else 12517else
12507 ac_check_lib_save_LIBS=$LIBS 12518 ac_check_lib_save_LIBS=$LIBS
@@ -12535,7 +12546,7 @@ LIBS=$ac_check_lib_save_LIBS
12535fi 12546fi
12536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 12547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12537$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 12548$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
12538if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 12549if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
12539 HAVE_X_SM=yes 12550 HAVE_X_SM=yes
12540fi 12551fi
12541 12552
@@ -12566,7 +12577,7 @@ if test "${with_xml2}" != "no"; then
12566set dummy pkg-config; ac_word=$2 12577set dummy pkg-config; ac_word=$2
12567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12568$as_echo_n "checking for $ac_word... " >&6; } 12579$as_echo_n "checking for $ac_word... " >&6; }
12569if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12580if ${ac_cv_path_PKG_CONFIG+:} false; then :
12570 $as_echo_n "(cached) " >&6 12581 $as_echo_n "(cached) " >&6
12571else 12582else
12572 case $PKG_CONFIG in 12583 case $PKG_CONFIG in
@@ -12657,7 +12668,7 @@ $as_echo "no" >&6; }
12657 LIBS="$LIBXML2_LIBS $LIBS" 12668 LIBS="$LIBXML2_LIBS $LIBS"
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
12659$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 12670$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
12660if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 12671if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
12661 $as_echo_n "(cached) " >&6 12672 $as_echo_n "(cached) " >&6
12662else 12673else
12663 ac_check_lib_save_LIBS=$LIBS 12674 ac_check_lib_save_LIBS=$LIBS
@@ -12691,7 +12702,7 @@ LIBS=$ac_check_lib_save_LIBS
12691fi 12702fi
12692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 12703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
12693$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 12704$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
12694if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 12705if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
12695 HAVE_LIBXML2=yes 12706 HAVE_LIBXML2=yes
12696else 12707else
12697 HAVE_LIBXML2=no 12708 HAVE_LIBXML2=no
@@ -12713,7 +12724,7 @@ fi
12713# If netdb.h doesn't declare h_errno, we must declare it by hand. 12724# If netdb.h doesn't declare h_errno, we must declare it by hand.
12714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 12725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
12715$as_echo_n "checking whether netdb declares h_errno... " >&6; } 12726$as_echo_n "checking whether netdb declares h_errno... " >&6; }
12716if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 12727if ${emacs_cv_netdb_declares_h_errno+:} false; then :
12717 $as_echo_n "(cached) " >&6 12728 $as_echo_n "(cached) " >&6
12718else 12729else
12719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12743,11 +12754,22 @@ $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
12743 12754
12744fi 12755fi
12745 12756
12757ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12758if test "x$ac_cv_type_size_t" = xyes; then :
12759
12760else
12761
12762cat >>confdefs.h <<_ACEOF
12763#define size_t unsigned int
12764_ACEOF
12765
12766fi
12767
12746# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 12768# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12747# for constant arguments. Useless! 12769# for constant arguments. Useless!
12748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 12770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12749$as_echo_n "checking for working alloca.h... " >&6; } 12771$as_echo_n "checking for working alloca.h... " >&6; }
12750if test "${ac_cv_working_alloca_h+set}" = set; then : 12772if ${ac_cv_working_alloca_h+:} false; then :
12751 $as_echo_n "(cached) " >&6 12773 $as_echo_n "(cached) " >&6
12752else 12774else
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12780,7 +12802,7 @@ fi
12780 12802
12781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 12803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12782$as_echo_n "checking for alloca... " >&6; } 12804$as_echo_n "checking for alloca... " >&6; }
12783if test "${ac_cv_func_alloca_works+set}" = set; then : 12805if ${ac_cv_func_alloca_works+:} false; then :
12784 $as_echo_n "(cached) " >&6 12806 $as_echo_n "(cached) " >&6
12785else 12807else
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12799,7 +12821,7 @@ else
12799 #pragma alloca 12821 #pragma alloca
12800# else 12822# else
12801# ifndef alloca /* predefined by HP cc +Olibcalls */ 12823# ifndef alloca /* predefined by HP cc +Olibcalls */
12802char *alloca (); 12824void *alloca (size_t);
12803# endif 12825# endif
12804# endif 12826# endif
12805# endif 12827# endif
@@ -12843,7 +12865,7 @@ $as_echo "#define C_ALLOCA 1" >>confdefs.h
12843 12865
12844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 12866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12845$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 12867$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12846if test "${ac_cv_os_cray+set}" = set; then : 12868if ${ac_cv_os_cray+:} false; then :
12847 $as_echo_n "(cached) " >&6 12869 $as_echo_n "(cached) " >&6
12848else 12870else
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12884,7 +12906,7 @@ fi
12884 12906
12885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 12907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12886$as_echo_n "checking stack direction for C alloca... " >&6; } 12908$as_echo_n "checking stack direction for C alloca... " >&6; }
12887if test "${ac_cv_c_stack_direction+set}" = set; then : 12909if ${ac_cv_c_stack_direction+:} false; then :
12888 $as_echo_n "(cached) " >&6 12910 $as_echo_n "(cached) " >&6
12889else 12911else
12890 if test "$cross_compiling" = yes; then : 12912 if test "$cross_compiling" = yes; then :
@@ -12941,7 +12963,7 @@ fi
12941# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 12963# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
12942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 12964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12943$as_echo_n "checking for sqrt in -lm... " >&6; } 12965$as_echo_n "checking for sqrt in -lm... " >&6; }
12944if test "${ac_cv_lib_m_sqrt+set}" = set; then : 12966if ${ac_cv_lib_m_sqrt+:} false; then :
12945 $as_echo_n "(cached) " >&6 12967 $as_echo_n "(cached) " >&6
12946else 12968else
12947 ac_check_lib_save_LIBS=$LIBS 12969 ac_check_lib_save_LIBS=$LIBS
@@ -12975,7 +12997,7 @@ LIBS=$ac_check_lib_save_LIBS
12975fi 12997fi
12976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 12998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12977$as_echo "$ac_cv_lib_m_sqrt" >&6; } 12999$as_echo "$ac_cv_lib_m_sqrt" >&6; }
12978if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 13000if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12979 cat >>confdefs.h <<_ACEOF 13001 cat >>confdefs.h <<_ACEOF
12980#define HAVE_LIBM 1 13002#define HAVE_LIBM 1
12981_ACEOF 13003_ACEOF
@@ -12989,7 +13011,7 @@ fi
12989# have the same check as for liblockfile below. 13011# have the same check as for liblockfile below.
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 13012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
12991$as_echo_n "checking for maillock in -lmail... " >&6; } 13013$as_echo_n "checking for maillock in -lmail... " >&6; }
12992if test "${ac_cv_lib_mail_maillock+set}" = set; then : 13014if ${ac_cv_lib_mail_maillock+:} false; then :
12993 $as_echo_n "(cached) " >&6 13015 $as_echo_n "(cached) " >&6
12994else 13016else
12995 ac_check_lib_save_LIBS=$LIBS 13017 ac_check_lib_save_LIBS=$LIBS
@@ -13023,7 +13045,7 @@ LIBS=$ac_check_lib_save_LIBS
13023fi 13045fi
13024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 13046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
13025$as_echo "$ac_cv_lib_mail_maillock" >&6; } 13047$as_echo "$ac_cv_lib_mail_maillock" >&6; }
13026if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 13048if test "x$ac_cv_lib_mail_maillock" = xyes; then :
13027 have_mail=yes 13049 have_mail=yes
13028else 13050else
13029 have_mail=no 13051 have_mail=no
@@ -13040,7 +13062,7 @@ else
13040fi 13062fi
13041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 13063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
13042$as_echo_n "checking for maillock in -llockfile... " >&6; } 13064$as_echo_n "checking for maillock in -llockfile... " >&6; }
13043if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 13065if ${ac_cv_lib_lockfile_maillock+:} false; then :
13044 $as_echo_n "(cached) " >&6 13066 $as_echo_n "(cached) " >&6
13045else 13067else
13046 ac_check_lib_save_LIBS=$LIBS 13068 ac_check_lib_save_LIBS=$LIBS
@@ -13074,7 +13096,7 @@ LIBS=$ac_check_lib_save_LIBS
13074fi 13096fi
13075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 13097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
13076$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 13098$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
13077if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 13099if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
13078 have_lockfile=yes 13100 have_lockfile=yes
13079else 13101else
13080 have_lockfile=no 13102 have_lockfile=no
@@ -13094,7 +13116,7 @@ else
13094set dummy liblockfile.so; ac_word=$2 13116set dummy liblockfile.so; ac_word=$2
13095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13096$as_echo_n "checking for $ac_word... " >&6; } 13118$as_echo_n "checking for $ac_word... " >&6; }
13097if test "${ac_cv_prog_liblockfile+set}" = set; then : 13119if ${ac_cv_prog_liblockfile+:} false; then :
13098 $as_echo_n "(cached) " >&6 13120 $as_echo_n "(cached) " >&6
13099else 13121else
13100 if test -n "$liblockfile"; then 13122 if test -n "$liblockfile"; then
@@ -13138,7 +13160,7 @@ fi
13138for ac_func in touchlock 13160for ac_func in touchlock
13139do : 13161do :
13140 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 13162 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
13141if test "x$ac_cv_func_touchlock" = x""yes; then : 13163if test "x$ac_cv_func_touchlock" = xyes; then :
13142 cat >>confdefs.h <<_ACEOF 13164 cat >>confdefs.h <<_ACEOF
13143#define HAVE_TOUCHLOCK 1 13165#define HAVE_TOUCHLOCK 1
13144_ACEOF 13166_ACEOF
@@ -13149,7 +13171,7 @@ done
13149for ac_header in maillock.h 13171for ac_header in maillock.h
13150do : 13172do :
13151 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 13173 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
13152if test "x$ac_cv_header_maillock_h" = x""yes; then : 13174if test "x$ac_cv_header_maillock_h" = xyes; then :
13153 cat >>confdefs.h <<_ACEOF 13175 cat >>confdefs.h <<_ACEOF
13154#define HAVE_MAILLOCK_H 1 13176#define HAVE_MAILLOCK_H 1
13155_ACEOF 13177_ACEOF
@@ -13230,7 +13252,7 @@ done
13230 13252
13231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5 13253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5
13232$as_echo_n "checking for __builtin_unwind_init... " >&6; } 13254$as_echo_n "checking for __builtin_unwind_init... " >&6; }
13233if test "${emacs_cv_func___builtin_unwind_init+set}" = set; then : 13255if ${emacs_cv_func___builtin_unwind_init+:} false; then :
13234 $as_echo_n "(cached) " >&6 13256 $as_echo_n "(cached) " >&6
13235else 13257else
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13263,7 +13285,7 @@ fi
13263for ac_header in sys/un.h 13285for ac_header in sys/un.h
13264do : 13286do :
13265 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 13287 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
13266if test "x$ac_cv_header_sys_un_h" = x""yes; then : 13288if test "x$ac_cv_header_sys_un_h" = xyes; then :
13267 cat >>confdefs.h <<_ACEOF 13289 cat >>confdefs.h <<_ACEOF
13268#define HAVE_SYS_UN_H 1 13290#define HAVE_SYS_UN_H 1
13269_ACEOF 13291_ACEOF
@@ -13275,7 +13297,7 @@ done
13275 13297
13276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13277$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13299$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13278if test "${ac_cv_sys_largefile_source+set}" = set; then : 13300if ${ac_cv_sys_largefile_source+:} false; then :
13279 $as_echo_n "(cached) " >&6 13301 $as_echo_n "(cached) " >&6
13280else 13302else
13281 while :; do 13303 while :; do
@@ -13344,7 +13366,7 @@ fi
13344 13366
13345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 13367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
13346$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 13368$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
13347if test "${ac_cv_func_getpgrp_void+set}" = set; then : 13369if ${ac_cv_func_getpgrp_void+:} false; then :
13348 $as_echo_n "(cached) " >&6 13370 $as_echo_n "(cached) " >&6
13349else 13371else
13350 # Use it with a single arg. 13372 # Use it with a single arg.
@@ -13393,7 +13415,7 @@ fi
13393 13415
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13395$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13417$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13396if test "${ac_cv_c_bigendian+set}" = set; then : 13418if ${ac_cv_c_bigendian+:} false; then :
13397 $as_echo_n "(cached) " >&6 13419 $as_echo_n "(cached) " >&6
13398else 13420else
13399 ac_cv_c_bigendian=unknown 13421 ac_cv_c_bigendian=unknown
@@ -13612,13 +13634,13 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13612 ;; #( 13634 ;; #(
13613 *) 13635 *)
13614 as_fn_error $? "unknown endianness 13636 as_fn_error $? "unknown endianness
13615 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 13637 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13616 esac 13638 esac
13617 13639
13618 13640
13619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 13641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13620$as_echo_n "checking for inline... " >&6; } 13642$as_echo_n "checking for inline... " >&6; }
13621if test "${ac_cv_c_inline+set}" = set; then : 13643if ${ac_cv_c_inline+:} false; then :
13622 $as_echo_n "(cached) " >&6 13644 $as_echo_n "(cached) " >&6
13623else 13645else
13624 ac_cv_c_inline=no 13646 ac_cv_c_inline=no
@@ -13661,7 +13683,7 @@ esac
13661 13683
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5 13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5
13663$as_echo_n "checking whether strtold conforms to C99... " >&6; } 13685$as_echo_n "checking whether strtold conforms to C99... " >&6; }
13664if test "${gl_cv_func_c99_strtold+set}" = set; then : 13686if ${gl_cv_func_c99_strtold+:} false; then :
13665 $as_echo_n "(cached) " >&6 13687 $as_echo_n "(cached) " >&6
13666else 13688else
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13704,7 +13726,7 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
13704 13726
13705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5 13727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5
13706$as_echo_n "checking for st_dm_mode in struct stat... " >&6; } 13728$as_echo_n "checking for st_dm_mode in struct stat... " >&6; }
13707if test "${ac_cv_struct_st_dm_mode+set}" = set; then : 13729if ${ac_cv_struct_st_dm_mode+:} false; then :
13708 $as_echo_n "(cached) " >&6 13730 $as_echo_n "(cached) " >&6
13709else 13731else
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13738,7 +13760,7 @@ $as_echo "#define HAVE_ST_DM_MODE 1" >>confdefs.h
13738 13760
13739 13761
13740ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default" 13762ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default"
13741if test "x$ac_cv_have_decl_strmode" = x""yes; then : 13763if test "x$ac_cv_have_decl_strmode" = xyes; then :
13742 ac_have_decl=1 13764 ac_have_decl=1
13743else 13765else
13744 ac_have_decl=0 13766 ac_have_decl=0
@@ -13923,7 +13945,7 @@ _ACEOF
13923 13945
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
13925$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } 13947$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
13926if test "${gl_cv_have_include_next+set}" = set; then : 13948if ${gl_cv_have_include_next+:} false; then :
13927 $as_echo_n "(cached) " >&6 13949 $as_echo_n "(cached) " >&6
13928else 13950else
13929 rm -rf conftestd1a conftestd1b conftestd2 13951 rm -rf conftestd1a conftestd1b conftestd2
@@ -14003,7 +14025,7 @@ $as_echo "$gl_cv_have_include_next" >&6; }
14003 14025
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
14005$as_echo_n "checking whether system header files limit the line length... " >&6; } 14027$as_echo_n "checking whether system header files limit the line length... " >&6; }
14006if test "${gl_cv_pragma_columns+set}" = set; then : 14028if ${gl_cv_pragma_columns+:} false; then :
14007 $as_echo_n "(cached) " >&6 14029 $as_echo_n "(cached) " >&6
14008else 14030else
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14053,7 +14075,7 @@ $as_echo "$gl_cv_pragma_columns" >&6; }
14053 else 14075 else
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5 14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
14055$as_echo_n "checking absolute name of <getopt.h>... " >&6; } 14077$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
14056if test "${gl_cv_next_getopt_h+set}" = set; then : 14078if ${gl_cv_next_getopt_h+:} false; then :
14057 $as_echo_n "(cached) " >&6 14079 $as_echo_n "(cached) " >&6
14058else 14080else
14059 14081
@@ -14112,7 +14134,7 @@ $as_echo "$gl_cv_next_getopt_h" >&6; }
14112 for ac_header in getopt.h 14134 for ac_header in getopt.h
14113do : 14135do :
14114 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 14136 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
14115if test "x$ac_cv_header_getopt_h" = x""yes; then : 14137if test "x$ac_cv_header_getopt_h" = xyes; then :
14116 cat >>confdefs.h <<_ACEOF 14138 cat >>confdefs.h <<_ACEOF
14117#define HAVE_GETOPT_H 1 14139#define HAVE_GETOPT_H 1
14118_ACEOF 14140_ACEOF
@@ -14129,7 +14151,7 @@ done
14129 for ac_func in getopt_long_only 14151 for ac_func in getopt_long_only
14130do : 14152do :
14131 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 14153 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
14132if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 14154if test "x$ac_cv_func_getopt_long_only" = xyes; then :
14133 cat >>confdefs.h <<_ACEOF 14155 cat >>confdefs.h <<_ACEOF
14134#define HAVE_GETOPT_LONG_ONLY 1 14156#define HAVE_GETOPT_LONG_ONLY 1
14135_ACEOF 14157_ACEOF
@@ -14144,7 +14166,7 @@ done
14144 if test -z "$gl_replace_getopt"; then 14166 if test -z "$gl_replace_getopt"; then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
14146$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } 14168$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
14147if test "${gl_cv_func_getopt_posix+set}" = set; then : 14169if ${gl_cv_func_getopt_posix+:} false; then :
14148 $as_echo_n "(cached) " >&6 14170 $as_echo_n "(cached) " >&6
14149else 14171else
14150 14172
@@ -14302,7 +14324,7 @@ $as_echo "$gl_cv_func_getopt_posix" >&6; }
14302 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then 14324 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
14304$as_echo_n "checking for working GNU getopt function... " >&6; } 14326$as_echo_n "checking for working GNU getopt function... " >&6; }
14305if test "${gl_cv_func_getopt_gnu+set}" = set; then : 14327if ${gl_cv_func_getopt_gnu+:} false; then :
14306 $as_echo_n "(cached) " >&6 14328 $as_echo_n "(cached) " >&6
14307else 14329else
14308 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the 14330 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
@@ -14414,7 +14436,7 @@ $as_echo "$gl_cv_func_getopt_gnu" >&6; }
14414 fi 14436 fi
14415 14437
14416ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" 14438ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14417if test "x$ac_cv_have_decl_getenv" = x""yes; then : 14439if test "x$ac_cv_have_decl_getenv" = xyes; then :
14418 ac_have_decl=1 14440 ac_have_decl=1
14419else 14441else
14420 ac_have_decl=0 14442 ac_have_decl=0
@@ -14544,7 +14566,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14544 14566
14545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 14567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
14546$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 14568$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
14547if test "${ac_cv_header_stdbool_h+set}" = set; then : 14569if ${ac_cv_header_stdbool_h+:} false; then :
14548 $as_echo_n "(cached) " >&6 14570 $as_echo_n "(cached) " >&6
14549else 14571else
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14619,7 +14641,7 @@ fi
14619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 14641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
14620$as_echo "$ac_cv_header_stdbool_h" >&6; } 14642$as_echo "$ac_cv_header_stdbool_h" >&6; }
14621 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 14643 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
14622if test "x$ac_cv_type__Bool" = x""yes; then : 14644if test "x$ac_cv_type__Bool" = xyes; then :
14623 14645
14624cat >>confdefs.h <<_ACEOF 14646cat >>confdefs.h <<_ACEOF
14625#define HAVE__BOOL 1 14647#define HAVE__BOOL 1
@@ -14637,7 +14659,7 @@ fi
14637 14659
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
14639$as_echo_n "checking for wchar_t... " >&6; } 14661$as_echo_n "checking for wchar_t... " >&6; }
14640if test "${gt_cv_c_wchar_t+set}" = set; then : 14662if ${gt_cv_c_wchar_t+:} false; then :
14641 $as_echo_n "(cached) " >&6 14663 $as_echo_n "(cached) " >&6
14642else 14664else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14670,7 +14692,7 @@ $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
14670 14692
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
14672$as_echo_n "checking for unsigned long long int... " >&6; } 14694$as_echo_n "checking for unsigned long long int... " >&6; }
14673if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : 14695if ${ac_cv_type_unsigned_long_long_int+:} false; then :
14674 $as_echo_n "(cached) " >&6 14696 $as_echo_n "(cached) " >&6
14675else 14697else
14676 ac_cv_type_unsigned_long_long_int=yes 14698 ac_cv_type_unsigned_long_long_int=yes
@@ -14728,7 +14750,7 @@ $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
14728 14750
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
14730$as_echo_n "checking for long long int... " >&6; } 14752$as_echo_n "checking for long long int... " >&6; }
14731if test "${ac_cv_type_long_long_int+set}" = set; then : 14753if ${ac_cv_type_long_long_int+:} false; then :
14732 $as_echo_n "(cached) " >&6 14754 $as_echo_n "(cached) " >&6
14733else 14755else
14734 ac_cv_type_long_long_int=yes 14756 ac_cv_type_long_long_int=yes
@@ -14791,7 +14813,7 @@ $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
14791 14813
14792 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 14814 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
14793" 14815"
14794if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 14816if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
14795 14817
14796$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 14818$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14797 14819
@@ -14836,7 +14858,7 @@ fi
14836 14858
14837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 14859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
14838$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } 14860$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
14839if test "${ac_cv_header_stat_broken+set}" = set; then : 14861if ${ac_cv_header_stat_broken+:} false; then :
14840 $as_echo_n "(cached) " >&6 14862 $as_echo_n "(cached) " >&6
14841else 14863else
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14880,7 +14902,7 @@ fi
14880 14902
14881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 14903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
14882$as_echo_n "checking for C/C++ restrict keyword... " >&6; } 14904$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
14883if test "${ac_cv_c_restrict+set}" = set; then : 14905if ${ac_cv_c_restrict+:} false; then :
14884 $as_echo_n "(cached) " >&6 14906 $as_echo_n "(cached) " >&6
14885else 14907else
14886 ac_cv_c_restrict=no 14908 ac_cv_c_restrict=no
@@ -14930,7 +14952,7 @@ _ACEOF
14930 14952
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5 14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
14932$as_echo_n "checking for struct timespec in <time.h>... " >&6; } 14954$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
14933if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : 14955if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
14934 $as_echo_n "(cached) " >&6 14956 $as_echo_n "(cached) " >&6
14935else 14957else
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14963,7 +14985,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
14963 else 14985 else
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5 14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
14965$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; } 14987$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
14966if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : 14988if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
14967 $as_echo_n "(cached) " >&6 14989 $as_echo_n "(cached) " >&6
14968else 14990else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14992,7 +15014,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
14992 else 15014 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5 15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
14994$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; } 15016$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
14995if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then : 15017if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
14996 $as_echo_n "(cached) " >&6 15018 $as_echo_n "(cached) " >&6
14997else 15019else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15041,7 +15063,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
15041 else 15063 else
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5 15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
15043$as_echo_n "checking absolute name of <time.h>... " >&6; } 15065$as_echo_n "checking absolute name of <time.h>... " >&6; }
15044if test "${gl_cv_next_time_h+set}" = set; then : 15066if ${gl_cv_next_time_h+:} false; then :
15045 $as_echo_n "(cached) " >&6 15067 $as_echo_n "(cached) " >&6
15046else 15068else
15047 15069
@@ -15084,7 +15106,7 @@ $as_echo "$gl_cv_next_time_h" >&6; }
15084 15106
15085 15107
15086ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default" 15108ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default"
15087if test "x$ac_cv_have_decl_localtime_r" = x""yes; then : 15109if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
15088 ac_have_decl=1 15110 ac_have_decl=1
15089else 15111else
15090 ac_have_decl=0 15112 ac_have_decl=0
@@ -15171,7 +15193,7 @@ gl_save_LIBS=$LIBS
15171# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0, 15193# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
15172# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7. 15194# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
15173ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 15195ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
15174if test "x$ac_cv_func_getloadavg" = x""yes; then : 15196if test "x$ac_cv_func_getloadavg" = xyes; then :
15175 15197
15176else 15198else
15177 gl_have_func=no 15199 gl_have_func=no
@@ -15184,7 +15206,7 @@ else
15184 if test $gl_have_func = no; then 15206 if test $gl_have_func = no; then
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
15186$as_echo_n "checking for elf_begin in -lelf... " >&6; } 15208$as_echo_n "checking for elf_begin in -lelf... " >&6; }
15187if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 15209if ${ac_cv_lib_elf_elf_begin+:} false; then :
15188 $as_echo_n "(cached) " >&6 15210 $as_echo_n "(cached) " >&6
15189else 15211else
15190 ac_check_lib_save_LIBS=$LIBS 15212 ac_check_lib_save_LIBS=$LIBS
@@ -15218,13 +15240,13 @@ LIBS=$ac_check_lib_save_LIBS
15218fi 15240fi
15219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 15241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
15220$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 15242$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
15221if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 15243if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
15222 LIBS="-lelf $LIBS" 15244 LIBS="-lelf $LIBS"
15223fi 15245fi
15224 15246
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
15226$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 15248$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
15227if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 15249if ${ac_cv_lib_kvm_kvm_open+:} false; then :
15228 $as_echo_n "(cached) " >&6 15250 $as_echo_n "(cached) " >&6
15229else 15251else
15230 ac_check_lib_save_LIBS=$LIBS 15252 ac_check_lib_save_LIBS=$LIBS
@@ -15258,14 +15280,14 @@ LIBS=$ac_check_lib_save_LIBS
15258fi 15280fi
15259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 15281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
15260$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 15282$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
15261if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 15283if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
15262 LIBS="-lkvm $LIBS" 15284 LIBS="-lkvm $LIBS"
15263fi 15285fi
15264 15286
15265 # Check for the 4.4BSD definition of getloadavg. 15287 # Check for the 4.4BSD definition of getloadavg.
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
15267$as_echo_n "checking for getloadavg in -lutil... " >&6; } 15289$as_echo_n "checking for getloadavg in -lutil... " >&6; }
15268if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 15290if ${ac_cv_lib_util_getloadavg+:} false; then :
15269 $as_echo_n "(cached) " >&6 15291 $as_echo_n "(cached) " >&6
15270else 15292else
15271 ac_check_lib_save_LIBS=$LIBS 15293 ac_check_lib_save_LIBS=$LIBS
@@ -15299,7 +15321,7 @@ LIBS=$ac_check_lib_save_LIBS
15299fi 15321fi
15300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 15322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
15301$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 15323$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
15302if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 15324if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
15303 LIBS="-lutil $LIBS" gl_have_func=yes 15325 LIBS="-lutil $LIBS" gl_have_func=yes
15304fi 15326fi
15305 15327
@@ -15312,7 +15334,7 @@ fi
15312 LIBS="-L/usr/local/lib $LIBS" 15334 LIBS="-L/usr/local/lib $LIBS"
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
15314$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 15336$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
15315if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 15337if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
15316 $as_echo_n "(cached) " >&6 15338 $as_echo_n "(cached) " >&6
15317else 15339else
15318 ac_check_lib_save_LIBS=$LIBS 15340 ac_check_lib_save_LIBS=$LIBS
@@ -15346,7 +15368,7 @@ LIBS=$ac_check_lib_save_LIBS
15346fi 15368fi
15347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 15369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15348$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 15370$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
15349if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 15371if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
15350 LIBS="-lgetloadavg $LIBS" gl_have_func=yes 15372 LIBS="-lgetloadavg $LIBS" gl_have_func=yes
15351else 15373else
15352 LIBS=$gl_getloadavg_LIBS 15374 LIBS=$gl_getloadavg_LIBS
@@ -15372,7 +15394,7 @@ fi
15372# Solaris has libkstat which does not require root. 15394# Solaris has libkstat which does not require root.
15373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 15395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15374$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 15396$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15375if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 15397if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15376 $as_echo_n "(cached) " >&6 15398 $as_echo_n "(cached) " >&6
15377else 15399else
15378 ac_check_lib_save_LIBS=$LIBS 15400 ac_check_lib_save_LIBS=$LIBS
@@ -15406,7 +15428,7 @@ LIBS=$ac_check_lib_save_LIBS
15406fi 15428fi
15407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 15429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15408$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 15430$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15409if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 15431if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15410 cat >>confdefs.h <<_ACEOF 15432 cat >>confdefs.h <<_ACEOF
15411#define HAVE_LIBKSTAT 1 15433#define HAVE_LIBKSTAT 1
15412_ACEOF 15434_ACEOF
@@ -15422,7 +15444,7 @@ if test $gl_have_func = no; then
15422 for ac_func in pstat_getdynamic 15444 for ac_func in pstat_getdynamic
15423do : 15445do :
15424 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 15446 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
15425if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 15447if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
15426 cat >>confdefs.h <<_ACEOF 15448 cat >>confdefs.h <<_ACEOF
15427#define HAVE_PSTAT_GETDYNAMIC 1 15449#define HAVE_PSTAT_GETDYNAMIC 1
15428_ACEOF 15450_ACEOF
@@ -15436,7 +15458,7 @@ fi
15436if test $gl_have_func = no; then 15458if test $gl_have_func = no; then
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5 15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
15438$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; } 15460$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
15439if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then : 15461if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then :
15440 $as_echo_n "(cached) " >&6 15462 $as_echo_n "(cached) " >&6
15441else 15463else
15442 ac_check_lib_save_LIBS=$LIBS 15464 ac_check_lib_save_LIBS=$LIBS
@@ -15470,7 +15492,7 @@ LIBS=$ac_check_lib_save_LIBS
15470fi 15492fi
15471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5 15493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
15472$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; } 15494$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
15473if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = x""yes; then : 15495if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes; then :
15474 cat >>confdefs.h <<_ACEOF 15496 cat >>confdefs.h <<_ACEOF
15475#define HAVE_LIBPERFSTAT 1 15497#define HAVE_LIBPERFSTAT 1
15476_ACEOF 15498_ACEOF
@@ -15484,14 +15506,14 @@ fi
15484 15506
15485if test $gl_have_func = no; then 15507if test $gl_have_func = no; then
15486 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 15508 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
15487if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 15509if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
15488 gl_have_func=yes 15510 gl_have_func=yes
15489 15511
15490$as_echo "#define DGUX 1" >>confdefs.h 15512$as_echo "#define DGUX 1" >>confdefs.h
15491 15513
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
15493$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 15515$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
15494if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 15516if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
15495 $as_echo_n "(cached) " >&6 15517 $as_echo_n "(cached) " >&6
15496else 15518else
15497 ac_check_lib_save_LIBS=$LIBS 15519 ac_check_lib_save_LIBS=$LIBS
@@ -15525,7 +15547,7 @@ LIBS=$ac_check_lib_save_LIBS
15525fi 15547fi
15526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 15548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15527$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 15549$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
15528if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 15550if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
15529 cat >>confdefs.h <<_ACEOF 15551 cat >>confdefs.h <<_ACEOF
15530#define HAVE_LIBDGC 1 15552#define HAVE_LIBDGC 1
15531_ACEOF 15553_ACEOF
@@ -15552,7 +15574,7 @@ fi
15552 15574
15553if test $gl_have_func = no; then 15575if test $gl_have_func = no; then
15554 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 15576 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
15555if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 15577if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
15556 gl_have_func=yes 15578 gl_have_func=yes
15557 15579
15558$as_echo "#define UMAX 1" >>confdefs.h 15580$as_echo "#define UMAX 1" >>confdefs.h
@@ -15567,7 +15589,7 @@ fi
15567 15589
15568if test $gl_have_func = no; then 15590if test $gl_have_func = no; then
15569 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 15591 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
15570if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 15592if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
15571 gl_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 15593 gl_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
15572 15594
15573fi 15595fi
@@ -15579,7 +15601,7 @@ if test $gl_have_func = no; then
15579 for ac_header in mach/mach.h 15601 for ac_header in mach/mach.h
15580do : 15602do :
15581 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 15603 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
15582if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 15604if test "x$ac_cv_header_mach_mach_h" = xyes; then :
15583 cat >>confdefs.h <<_ACEOF 15605 cat >>confdefs.h <<_ACEOF
15584#define HAVE_MACH_MACH_H 1 15606#define HAVE_MACH_MACH_H 1
15585_ACEOF 15607_ACEOF
@@ -15593,13 +15615,13 @@ fi
15593for ac_header in nlist.h 15615for ac_header in nlist.h
15594do : 15616do :
15595 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 15617 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
15596if test "x$ac_cv_header_nlist_h" = x""yes; then : 15618if test "x$ac_cv_header_nlist_h" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF 15619 cat >>confdefs.h <<_ACEOF
15598#define HAVE_NLIST_H 1 15620#define HAVE_NLIST_H 1
15599_ACEOF 15621_ACEOF
15600 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 15622 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
15601" 15623"
15602if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 15624if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
15603 15625
15604cat >>confdefs.h <<_ACEOF 15626cat >>confdefs.h <<_ACEOF
15605#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 15627#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
@@ -15653,7 +15675,7 @@ LIBS=$gl_save_LIBS
15653for ac_header in sys/loadavg.h 15675for ac_header in sys/loadavg.h
15654do : 15676do :
15655 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default" 15677 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
15656if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then : 15678if test "x$ac_cv_header_sys_loadavg_h" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF 15679 cat >>confdefs.h <<_ACEOF
15658#define HAVE_SYS_LOADAVG_H 1 15680#define HAVE_SYS_LOADAVG_H 1
15659_ACEOF 15681_ACEOF
@@ -15672,7 +15694,7 @@ ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE
15672 #endif 15694 #endif
15673 #include <stdlib.h> 15695 #include <stdlib.h>
15674" 15696"
15675if test "x$ac_cv_have_decl_getloadavg" = x""yes; then : 15697if test "x$ac_cv_have_decl_getloadavg" = xyes; then :
15676 15698
15677else 15699else
15678 HAVE_DECL_GETLOADAVG=0 15700 HAVE_DECL_GETLOADAVG=0
@@ -15759,7 +15781,7 @@ if test $APPLE_UNIVERSAL_BUILD = 1; then
15759fi 15781fi
15760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 15782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
15761$as_echo_n "checking for working mktime... " >&6; } 15783$as_echo_n "checking for working mktime... " >&6; }
15762if test "${ac_cv_func_working_mktime+set}" = set; then : 15784if ${ac_cv_func_working_mktime+:} false; then :
15763 $as_echo_n "(cached) " >&6 15785 $as_echo_n "(cached) " >&6
15764else 15786else
15765 if test "$cross_compiling" = yes; then : 15787 if test "$cross_compiling" = yes; then :
@@ -16032,7 +16054,7 @@ fi
16032 fi 16054 fi
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
16034$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } 16056$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
16035if test "${gl_cv_decl_null_works+set}" = set; then : 16057if ${gl_cv_decl_null_works+:} false; then :
16036 $as_echo_n "(cached) " >&6 16058 $as_echo_n "(cached) " >&6
16037else 16059else
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16075,7 +16097,7 @@ $as_echo "$gl_cv_decl_null_works" >&6; }
16075 else 16097 else
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5 16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
16077$as_echo_n "checking absolute name of <stddef.h>... " >&6; } 16099$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
16078if test "${gl_cv_next_stddef_h+set}" = set; then : 16100if ${gl_cv_next_stddef_h+:} false; then :
16079 $as_echo_n "(cached) " >&6 16101 $as_echo_n "(cached) " >&6
16080else 16102else
16081 16103
@@ -16171,7 +16193,7 @@ $as_echo "$gl_cv_next_stddef_h" >&6; }
16171 else 16193 else
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
16173$as_echo_n "checking absolute name of <stdint.h>... " >&6; } 16195$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
16174if test "${gl_cv_next_stdint_h+set}" = set; then : 16196if ${gl_cv_next_stdint_h+:} false; then :
16175 $as_echo_n "(cached) " >&6 16197 $as_echo_n "(cached) " >&6
16176else 16198else
16177 16199
@@ -16227,7 +16249,7 @@ $as_echo "$gl_cv_next_stdint_h" >&6; }
16227 if test $ac_cv_header_stdint_h = yes; then 16249 if test $ac_cv_header_stdint_h = yes; then
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
16229$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } 16251$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
16230if test "${gl_cv_header_working_stdint_h+set}" = set; then : 16252if ${gl_cv_header_working_stdint_h+:} false; then :
16231 $as_echo_n "(cached) " >&6 16253 $as_echo_n "(cached) " >&6
16232else 16254else
16233 gl_cv_header_working_stdint_h=no 16255 gl_cv_header_working_stdint_h=no
@@ -16530,7 +16552,7 @@ done
16530 for gltype in ptrdiff_t size_t ; do 16552 for gltype in ptrdiff_t size_t ; do
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
16532$as_echo_n "checking for bit size of $gltype... " >&6; } 16554$as_echo_n "checking for bit size of $gltype... " >&6; }
16533if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : 16555if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
16534 $as_echo_n "(cached) " >&6 16556 $as_echo_n "(cached) " >&6
16535else 16557else
16536 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 16558 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
@@ -16575,7 +16597,7 @@ _ACEOF
16575 for gltype in sig_atomic_t wchar_t wint_t ; do 16597 for gltype in sig_atomic_t wchar_t wint_t ; do
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
16577$as_echo_n "checking for bit size of $gltype... " >&6; } 16599$as_echo_n "checking for bit size of $gltype... " >&6; }
16578if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : 16600if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
16579 $as_echo_n "(cached) " >&6 16601 $as_echo_n "(cached) " >&6
16580else 16602else
16581 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 16603 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
@@ -16619,7 +16641,7 @@ _ACEOF
16619 for gltype in sig_atomic_t wchar_t wint_t ; do 16641 for gltype in sig_atomic_t wchar_t wint_t ; do
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
16621$as_echo_n "checking whether $gltype is signed... " >&6; } 16643$as_echo_n "checking whether $gltype is signed... " >&6; }
16622if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then : 16644if eval \${gl_cv_type_${gltype}_signed+:} false; then :
16623 $as_echo_n "(cached) " >&6 16645 $as_echo_n "(cached) " >&6
16624else 16646else
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16678,7 +16700,7 @@ _ACEOF
16678 for gltype in ptrdiff_t size_t ; do 16700 for gltype in ptrdiff_t size_t ; do
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
16680$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 16702$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
16681if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : 16703if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
16682 $as_echo_n "(cached) " >&6 16704 $as_echo_n "(cached) " >&6
16683else 16705else
16684 eval gl_cv_type_${gltype}_suffix=no 16706 eval gl_cv_type_${gltype}_suffix=no
@@ -16750,7 +16772,7 @@ _ACEOF
16750 for gltype in sig_atomic_t wchar_t wint_t ; do 16772 for gltype in sig_atomic_t wchar_t wint_t ; do
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
16752$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 16774$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
16753if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : 16775if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
16754 $as_echo_n "(cached) " >&6 16776 $as_echo_n "(cached) " >&6
16755else 16777else
16756 eval gl_cv_type_${gltype}_suffix=no 16778 eval gl_cv_type_${gltype}_suffix=no
@@ -16837,7 +16859,7 @@ _ACEOF
16837 else 16859 else
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5 16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
16839$as_echo_n "checking absolute name of <stdlib.h>... " >&6; } 16861$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
16840if test "${gl_cv_next_stdlib_h+set}" = set; then : 16862if ${gl_cv_next_stdlib_h+:} false; then :
16841 $as_echo_n "(cached) " >&6 16863 $as_echo_n "(cached) " >&6
16842else 16864else
16843 16865
@@ -16928,7 +16950,7 @@ $as_echo "#define my_strftime nstrftime" >>confdefs.h
16928 else 16950 else
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5 16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
16930$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; } 16952$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
16931if test "${gl_cv_next_sys_stat_h+set}" = set; then : 16953if ${gl_cv_next_sys_stat_h+:} false; then :
16932 $as_echo_n "(cached) " >&6 16954 $as_echo_n "(cached) " >&6
16933else 16955else
16934 16956
@@ -16978,7 +17000,7 @@ $as_echo "$gl_cv_next_sys_stat_h" >&6; }
16978 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h> 17000 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
16979 #include <sys/stat.h> 17001 #include <sys/stat.h>
16980" 17002"
16981if test "x$ac_cv_type_nlink_t" = x""yes; then : 17003if test "x$ac_cv_type_nlink_t" = xyes; then :
16982 17004
16983else 17005else
16984 17006
@@ -17011,7 +17033,7 @@ fi
17011 HAVE_LOCALTIME_R=1 17033 HAVE_LOCALTIME_R=1
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
17013$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } 17035$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
17014if test "${gl_cv_time_r_posix+set}" = set; then : 17036if ${gl_cv_time_r_posix+:} false; then :
17015 $as_echo_n "(cached) " >&6 17037 $as_echo_n "(cached) " >&6
17016else 17038else
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17093,7 +17115,7 @@ $as_echo "$gl_cv_time_r_posix" >&6; }
17093 else 17115 else
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5 17116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
17095$as_echo_n "checking absolute name of <unistd.h>... " >&6; } 17117$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
17096if test "${gl_cv_next_unistd_h+set}" = set; then : 17118if ${gl_cv_next_unistd_h+:} false; then :
17097 $as_echo_n "(cached) " >&6 17119 $as_echo_n "(cached) " >&6
17098else 17120else
17099 17121
@@ -17193,7 +17215,7 @@ $as_echo "$gl_cv_next_unistd_h" >&6; }
17193for ac_func in grantpt 17215for ac_func in grantpt
17194do : 17216do :
17195 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 17217 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
17196if test "x$ac_cv_func_grantpt" = x""yes; then : 17218if test "x$ac_cv_func_grantpt" = xyes; then :
17197 cat >>confdefs.h <<_ACEOF 17219 cat >>confdefs.h <<_ACEOF
17198#define HAVE_GRANTPT 1 17220#define HAVE_GRANTPT 1
17199_ACEOF 17221_ACEOF
@@ -17206,7 +17228,7 @@ done
17206for ac_func in getpt 17228for ac_func in getpt
17207do : 17229do :
17208 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 17230 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
17209if test "x$ac_cv_func_getpt" = x""yes; then : 17231if test "x$ac_cv_func_getpt" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF 17232 cat >>confdefs.h <<_ACEOF
17211#define HAVE_GETPT 1 17233#define HAVE_GETPT 1
17212_ACEOF 17234_ACEOF
@@ -17223,7 +17245,7 @@ done
17223have_tputs_et_al=true 17245have_tputs_et_al=true
17224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 17246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
17225$as_echo_n "checking for library containing tputs... " >&6; } 17247$as_echo_n "checking for library containing tputs... " >&6; }
17226if test "${ac_cv_search_tputs+set}" = set; then : 17248if ${ac_cv_search_tputs+:} false; then :
17227 $as_echo_n "(cached) " >&6 17249 $as_echo_n "(cached) " >&6
17228else 17250else
17229 ac_func_search_save_LIBS=$LIBS 17251 ac_func_search_save_LIBS=$LIBS
@@ -17257,11 +17279,11 @@ for ac_lib in '' ncurses terminfo termcap; do
17257fi 17279fi
17258rm -f core conftest.err conftest.$ac_objext \ 17280rm -f core conftest.err conftest.$ac_objext \
17259 conftest$ac_exeext 17281 conftest$ac_exeext
17260 if test "${ac_cv_search_tputs+set}" = set; then : 17282 if ${ac_cv_search_tputs+:} false; then :
17261 break 17283 break
17262fi 17284fi
17263done 17285done
17264if test "${ac_cv_search_tputs+set}" = set; then : 17286if ${ac_cv_search_tputs+:} false; then :
17265 17287
17266else 17288else
17267 ac_cv_search_tputs=no 17289 ac_cv_search_tputs=no
@@ -17320,7 +17342,7 @@ case "$opsys" in
17320 freebsd) 17342 freebsd)
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
17322$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 17344$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
17323 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 17345 if ${emacs_cv_freebsd_terminfo+:} false; then :
17324 $as_echo_n "(cached) " >&6 17346 $as_echo_n "(cached) " >&6
17325else 17347else
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17462,16 +17484,16 @@ LIBHESIOD=
17462if test "$with_hesiod" != no ; then 17484if test "$with_hesiod" != no ; then
17463 # Don't set $LIBS here -- see comments above. FIXME which comments? 17485 # Don't set $LIBS here -- see comments above. FIXME which comments?
17464 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 17486 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
17465if test "x$ac_cv_func_res_send" = x""yes; then : 17487if test "x$ac_cv_func_res_send" = xyes; then :
17466 17488
17467else 17489else
17468 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 17490 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
17469if test "x$ac_cv_func___res_send" = x""yes; then : 17491if test "x$ac_cv_func___res_send" = xyes; then :
17470 17492
17471else 17493else
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
17473$as_echo_n "checking for res_send in -lresolv... " >&6; } 17495$as_echo_n "checking for res_send in -lresolv... " >&6; }
17474if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 17496if ${ac_cv_lib_resolv_res_send+:} false; then :
17475 $as_echo_n "(cached) " >&6 17497 $as_echo_n "(cached) " >&6
17476else 17498else
17477 ac_check_lib_save_LIBS=$LIBS 17499 ac_check_lib_save_LIBS=$LIBS
@@ -17505,12 +17527,12 @@ LIBS=$ac_check_lib_save_LIBS
17505fi 17527fi
17506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 17528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
17507$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 17529$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
17508if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 17530if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
17509 resolv=yes 17531 resolv=yes
17510else 17532else
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
17512$as_echo_n "checking for __res_send in -lresolv... " >&6; } 17534$as_echo_n "checking for __res_send in -lresolv... " >&6; }
17513if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 17535if ${ac_cv_lib_resolv___res_send+:} false; then :
17514 $as_echo_n "(cached) " >&6 17536 $as_echo_n "(cached) " >&6
17515else 17537else
17516 ac_check_lib_save_LIBS=$LIBS 17538 ac_check_lib_save_LIBS=$LIBS
@@ -17544,7 +17566,7 @@ LIBS=$ac_check_lib_save_LIBS
17544fi 17566fi
17545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 17567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
17546$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 17568$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
17547if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 17569if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
17548 resolv=yes 17570 resolv=yes
17549fi 17571fi
17550 17572
@@ -17560,12 +17582,12 @@ fi
17560 RESOLVLIB= 17582 RESOLVLIB=
17561 fi 17583 fi
17562 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 17584 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
17563if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 17585if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
17564 17586
17565else 17587else
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
17567$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 17589$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
17568if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 17590if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
17569 $as_echo_n "(cached) " >&6 17591 $as_echo_n "(cached) " >&6
17570else 17592else
17571 ac_check_lib_save_LIBS=$LIBS 17593 ac_check_lib_save_LIBS=$LIBS
@@ -17599,7 +17621,7 @@ LIBS=$ac_check_lib_save_LIBS
17599fi 17621fi
17600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 17622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17601$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 17623$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
17602if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 17624if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
17603 hesiod=yes 17625 hesiod=yes
17604else 17626else
17605 : 17627 :
@@ -17638,7 +17660,7 @@ KRB4LIB=
17638if test "${with_kerberos}" != no; then 17660if test "${with_kerberos}" != no; then
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
17640$as_echo_n "checking for com_err in -lcom_err... " >&6; } 17662$as_echo_n "checking for com_err in -lcom_err... " >&6; }
17641if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 17663if ${ac_cv_lib_com_err_com_err+:} false; then :
17642 $as_echo_n "(cached) " >&6 17664 $as_echo_n "(cached) " >&6
17643else 17665else
17644 ac_check_lib_save_LIBS=$LIBS 17666 ac_check_lib_save_LIBS=$LIBS
@@ -17672,7 +17694,7 @@ LIBS=$ac_check_lib_save_LIBS
17672fi 17694fi
17673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 17695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
17674$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 17696$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
17675if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 17697if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
17676 have_com_err=yes 17698 have_com_err=yes
17677else 17699else
17678 have_com_err=no 17700 have_com_err=no
@@ -17687,7 +17709,7 @@ $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
17687 fi 17709 fi
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
17689$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 17711$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
17690if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 17712if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
17691 $as_echo_n "(cached) " >&6 17713 $as_echo_n "(cached) " >&6
17692else 17714else
17693 ac_check_lib_save_LIBS=$LIBS 17715 ac_check_lib_save_LIBS=$LIBS
@@ -17721,7 +17743,7 @@ LIBS=$ac_check_lib_save_LIBS
17721fi 17743fi
17722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 17744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
17723$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 17745$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
17724if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 17746if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
17725 have_crypto=yes 17747 have_crypto=yes
17726else 17748else
17727 have_crypto=no 17749 have_crypto=no
@@ -17736,7 +17758,7 @@ $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
17736 fi 17758 fi
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17738$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 17760$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
17739if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 17761if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
17740 $as_echo_n "(cached) " >&6 17762 $as_echo_n "(cached) " >&6
17741else 17763else
17742 ac_check_lib_save_LIBS=$LIBS 17764 ac_check_lib_save_LIBS=$LIBS
@@ -17770,7 +17792,7 @@ LIBS=$ac_check_lib_save_LIBS
17770fi 17792fi
17771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 17793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
17772$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 17794$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
17773if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 17795if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
17774 have_k5crypto=yes 17796 have_k5crypto=yes
17775else 17797else
17776 have_k5crypto=no 17798 have_k5crypto=no
@@ -17785,7 +17807,7 @@ $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
17785 fi 17807 fi
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
17787$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 17809$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
17788if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 17810if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
17789 $as_echo_n "(cached) " >&6 17811 $as_echo_n "(cached) " >&6
17790else 17812else
17791 ac_check_lib_save_LIBS=$LIBS 17813 ac_check_lib_save_LIBS=$LIBS
@@ -17819,7 +17841,7 @@ LIBS=$ac_check_lib_save_LIBS
17819fi 17841fi
17820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 17842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17821$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 17843$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
17822if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 17844if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
17823 have_krb5=yes 17845 have_krb5=yes
17824else 17846else
17825 have_krb5=no 17847 have_krb5=no
@@ -17835,7 +17857,7 @@ $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
17835 if test "${with_kerberos5}" = no; then 17857 if test "${with_kerberos5}" = no; then
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
17837$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 17859$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
17838if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 17860if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
17839 $as_echo_n "(cached) " >&6 17861 $as_echo_n "(cached) " >&6
17840else 17862else
17841 ac_check_lib_save_LIBS=$LIBS 17863 ac_check_lib_save_LIBS=$LIBS
@@ -17869,7 +17891,7 @@ LIBS=$ac_check_lib_save_LIBS
17869fi 17891fi
17870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 17892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
17871$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 17893$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
17872if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 17894if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
17873 have_des425=yes 17895 have_des425=yes
17874else 17896else
17875 have_des425=no 17897 have_des425=no
@@ -17884,7 +17906,7 @@ $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
17884 else 17906 else
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
17886$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 17908$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
17887if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 17909if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
17888 $as_echo_n "(cached) " >&6 17910 $as_echo_n "(cached) " >&6
17889else 17911else
17890 ac_check_lib_save_LIBS=$LIBS 17912 ac_check_lib_save_LIBS=$LIBS
@@ -17918,7 +17940,7 @@ LIBS=$ac_check_lib_save_LIBS
17918fi 17940fi
17919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 17941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
17920$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 17942$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
17921if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 17943if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
17922 have_des=yes 17944 have_des=yes
17923else 17945else
17924 have_des=no 17946 have_des=no
@@ -17934,7 +17956,7 @@ $as_echo "#define HAVE_LIBDES 1" >>confdefs.h
17934 fi 17956 fi
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
17936$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 17958$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
17937if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 17959if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
17938 $as_echo_n "(cached) " >&6 17960 $as_echo_n "(cached) " >&6
17939else 17961else
17940 ac_check_lib_save_LIBS=$LIBS 17962 ac_check_lib_save_LIBS=$LIBS
@@ -17968,7 +17990,7 @@ LIBS=$ac_check_lib_save_LIBS
17968fi 17990fi
17969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 17991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
17970$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 17992$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
17971if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 17993if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
17972 have_krb4=yes 17994 have_krb4=yes
17973else 17995else
17974 have_krb4=no 17996 have_krb4=no
@@ -17983,7 +18005,7 @@ $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
17983 else 18005 else
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 18006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
17985$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 18007$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
17986if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 18008if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
17987 $as_echo_n "(cached) " >&6 18009 $as_echo_n "(cached) " >&6
17988else 18010else
17989 ac_check_lib_save_LIBS=$LIBS 18011 ac_check_lib_save_LIBS=$LIBS
@@ -18017,7 +18039,7 @@ LIBS=$ac_check_lib_save_LIBS
18017fi 18039fi
18018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 18040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
18019$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 18041$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
18020if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 18042if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
18021 have_krb=yes 18043 have_krb=yes
18022else 18044else
18023 have_krb=no 18045 have_krb=no
@@ -18037,13 +18059,13 @@ $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
18037 for ac_header in krb5.h 18059 for ac_header in krb5.h
18038do : 18060do :
18039 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 18061 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
18040if test "x$ac_cv_header_krb5_h" = x""yes; then : 18062if test "x$ac_cv_header_krb5_h" = xyes; then :
18041 cat >>confdefs.h <<_ACEOF 18063 cat >>confdefs.h <<_ACEOF
18042#define HAVE_KRB5_H 1 18064#define HAVE_KRB5_H 1
18043_ACEOF 18065_ACEOF
18044 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 18066 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
18045" 18067"
18046if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 18068if test "x$ac_cv_member_krb5_error_text" = xyes; then :
18047 18069
18048cat >>confdefs.h <<_ACEOF 18070cat >>confdefs.h <<_ACEOF
18049#define HAVE_KRB5_ERROR_TEXT 1 18071#define HAVE_KRB5_ERROR_TEXT 1
@@ -18053,7 +18075,7 @@ _ACEOF
18053fi 18075fi
18054ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 18076ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
18055" 18077"
18056if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 18078if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
18057 18079
18058cat >>confdefs.h <<_ACEOF 18080cat >>confdefs.h <<_ACEOF
18059#define HAVE_KRB5_ERROR_E_TEXT 1 18081#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -18070,7 +18092,7 @@ done
18070 for ac_header in des.h 18092 for ac_header in des.h
18071do : 18093do :
18072 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 18094 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
18073if test "x$ac_cv_header_des_h" = x""yes; then : 18095if test "x$ac_cv_header_des_h" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF 18096 cat >>confdefs.h <<_ACEOF
18075#define HAVE_DES_H 1 18097#define HAVE_DES_H 1
18076_ACEOF 18098_ACEOF
@@ -18079,7 +18101,7 @@ else
18079 for ac_header in kerberosIV/des.h 18101 for ac_header in kerberosIV/des.h
18080do : 18102do :
18081 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 18103 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
18082if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 18104if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
18083 cat >>confdefs.h <<_ACEOF 18105 cat >>confdefs.h <<_ACEOF
18084#define HAVE_KERBEROSIV_DES_H 1 18106#define HAVE_KERBEROSIV_DES_H 1
18085_ACEOF 18107_ACEOF
@@ -18088,7 +18110,7 @@ else
18088 for ac_header in kerberos/des.h 18110 for ac_header in kerberos/des.h
18089do : 18111do :
18090 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 18112 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
18091if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 18113if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
18092 cat >>confdefs.h <<_ACEOF 18114 cat >>confdefs.h <<_ACEOF
18093#define HAVE_KERBEROS_DES_H 1 18115#define HAVE_KERBEROS_DES_H 1
18094_ACEOF 18116_ACEOF
@@ -18108,7 +18130,7 @@ done
18108 for ac_header in krb.h 18130 for ac_header in krb.h
18109do : 18131do :
18110 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 18132 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
18111if test "x$ac_cv_header_krb_h" = x""yes; then : 18133if test "x$ac_cv_header_krb_h" = xyes; then :
18112 cat >>confdefs.h <<_ACEOF 18134 cat >>confdefs.h <<_ACEOF
18113#define HAVE_KRB_H 1 18135#define HAVE_KRB_H 1
18114_ACEOF 18136_ACEOF
@@ -18117,7 +18139,7 @@ else
18117 for ac_header in kerberosIV/krb.h 18139 for ac_header in kerberosIV/krb.h
18118do : 18140do :
18119 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 18141 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
18120if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 18142if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
18121 cat >>confdefs.h <<_ACEOF 18143 cat >>confdefs.h <<_ACEOF
18122#define HAVE_KERBEROSIV_KRB_H 1 18144#define HAVE_KERBEROSIV_KRB_H 1
18123_ACEOF 18145_ACEOF
@@ -18126,7 +18148,7 @@ else
18126 for ac_header in kerberos/krb.h 18148 for ac_header in kerberos/krb.h
18127do : 18149do :
18128 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 18150 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
18129if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 18151if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
18130 cat >>confdefs.h <<_ACEOF 18152 cat >>confdefs.h <<_ACEOF
18131#define HAVE_KERBEROS_KRB_H 1 18153#define HAVE_KERBEROS_KRB_H 1
18132_ACEOF 18154_ACEOF
@@ -18147,7 +18169,7 @@ done
18147 for ac_header in com_err.h 18169 for ac_header in com_err.h
18148do : 18170do :
18149 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 18171 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
18150if test "x$ac_cv_header_com_err_h" = x""yes; then : 18172if test "x$ac_cv_header_com_err_h" = xyes; then :
18151 cat >>confdefs.h <<_ACEOF 18173 cat >>confdefs.h <<_ACEOF
18152#define HAVE_COM_ERR_H 1 18174#define HAVE_COM_ERR_H 1
18153_ACEOF 18175_ACEOF
@@ -18168,7 +18190,7 @@ fi
18168# to return localized messages. 18190# to return localized messages.
18169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 18191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
18170$as_echo_n "checking for dgettext in -lintl... " >&6; } 18192$as_echo_n "checking for dgettext in -lintl... " >&6; }
18171if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 18193if ${ac_cv_lib_intl_dgettext+:} false; then :
18172 $as_echo_n "(cached) " >&6 18194 $as_echo_n "(cached) " >&6
18173else 18195else
18174 ac_check_lib_save_LIBS=$LIBS 18196 ac_check_lib_save_LIBS=$LIBS
@@ -18202,7 +18224,7 @@ LIBS=$ac_check_lib_save_LIBS
18202fi 18224fi
18203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 18225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
18204$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 18226$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
18205if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 18227if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
18206 cat >>confdefs.h <<_ACEOF 18228 cat >>confdefs.h <<_ACEOF
18207#define HAVE_LIBINTL 1 18229#define HAVE_LIBINTL 1
18208_ACEOF 18230_ACEOF
@@ -18214,7 +18236,7 @@ fi
18214 18236
18215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 18237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
18216$as_echo_n "checking whether localtime caches TZ... " >&6; } 18238$as_echo_n "checking whether localtime caches TZ... " >&6; }
18217if test "${emacs_cv_localtime_cache+set}" = set; then : 18239if ${emacs_cv_localtime_cache+:} false; then :
18218 $as_echo_n "(cached) " >&6 18240 $as_echo_n "(cached) " >&6
18219else 18241else
18220 if test x$ac_cv_func_tzset = xyes; then 18242 if test x$ac_cv_func_tzset = xyes; then
@@ -18273,7 +18295,7 @@ if test "x$HAVE_TIMEVAL" = xyes; then
18273 for ac_func in gettimeofday 18295 for ac_func in gettimeofday
18274do : 18296do :
18275 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 18297 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
18276if test "x$ac_cv_func_gettimeofday" = x""yes; then : 18298if test "x$ac_cv_func_gettimeofday" = xyes; then :
18277 cat >>confdefs.h <<_ACEOF 18299 cat >>confdefs.h <<_ACEOF
18278#define HAVE_GETTIMEOFDAY 1 18300#define HAVE_GETTIMEOFDAY 1
18279_ACEOF 18301_ACEOF
@@ -18284,7 +18306,7 @@ done
18284 if test $ac_cv_func_gettimeofday = yes; then 18306 if test $ac_cv_func_gettimeofday = yes; then
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
18286$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 18308$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
18287if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 18309if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
18288 $as_echo_n "(cached) " >&6 18310 $as_echo_n "(cached) " >&6
18289else 18311else
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18328,7 +18350,7 @@ fi
18328 18350
18329ok_so_far=yes 18351ok_so_far=yes
18330ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 18352ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
18331if test "x$ac_cv_func_socket" = x""yes; then : 18353if test "x$ac_cv_func_socket" = xyes; then :
18332 18354
18333else 18355else
18334 ok_so_far=no 18356 ok_so_far=no
@@ -18336,7 +18358,7 @@ fi
18336 18358
18337if test $ok_so_far = yes; then 18359if test $ok_so_far = yes; then
18338 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 18360 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
18339if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 18361if test "x$ac_cv_header_netinet_in_h" = xyes; then :
18340 18362
18341else 18363else
18342 ok_so_far=no 18364 ok_so_far=no
@@ -18346,7 +18368,7 @@ fi
18346fi 18368fi
18347if test $ok_so_far = yes; then 18369if test $ok_so_far = yes; then
18348 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 18370 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
18349if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 18371if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
18350 18372
18351else 18373else
18352 ok_so_far=no 18374 ok_so_far=no
@@ -18380,7 +18402,7 @@ $as_echo "no" >&6; }
18380fi 18402fi
18381 18403
18382ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 18404ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18383if test "x$ac_cv_type_pid_t" = x""yes; then : 18405if test "x$ac_cv_type_pid_t" = xyes; then :
18384 18406
18385else 18407else
18386 18408
@@ -18393,7 +18415,7 @@ fi
18393for ac_header in vfork.h 18415for ac_header in vfork.h
18394do : 18416do :
18395 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 18417 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
18396if test "x$ac_cv_header_vfork_h" = x""yes; then : 18418if test "x$ac_cv_header_vfork_h" = xyes; then :
18397 cat >>confdefs.h <<_ACEOF 18419 cat >>confdefs.h <<_ACEOF
18398#define HAVE_VFORK_H 1 18420#define HAVE_VFORK_H 1
18399_ACEOF 18421_ACEOF
@@ -18417,7 +18439,7 @@ done
18417if test "x$ac_cv_func_fork" = xyes; then 18439if test "x$ac_cv_func_fork" = xyes; then
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18419$as_echo_n "checking for working fork... " >&6; } 18441$as_echo_n "checking for working fork... " >&6; }
18420if test "${ac_cv_func_fork_works+set}" = set; then : 18442if ${ac_cv_func_fork_works+:} false; then :
18421 $as_echo_n "(cached) " >&6 18443 $as_echo_n "(cached) " >&6
18422else 18444else
18423 if test "$cross_compiling" = yes; then : 18445 if test "$cross_compiling" = yes; then :
@@ -18470,7 +18492,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork
18470if test "x$ac_cv_func_vfork" = xyes; then 18492if test "x$ac_cv_func_vfork" = xyes; then
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
18472$as_echo_n "checking for working vfork... " >&6; } 18494$as_echo_n "checking for working vfork... " >&6; }
18473if test "${ac_cv_func_vfork_works+set}" = set; then : 18495if ${ac_cv_func_vfork_works+:} false; then :
18474 $as_echo_n "(cached) " >&6 18496 $as_echo_n "(cached) " >&6
18475else 18497else
18476 if test "$cross_compiling" = yes; then : 18498 if test "$cross_compiling" = yes; then :
@@ -18606,7 +18628,7 @@ fi
18606 18628
18607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 18629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
18608$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 18630$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
18609if test "${emacs_cv_langinfo_codeset+set}" = set; then : 18631if ${emacs_cv_langinfo_codeset+:} false; then :
18610 $as_echo_n "(cached) " >&6 18632 $as_echo_n "(cached) " >&6
18611else 18633else
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18638,7 +18660,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
18638fi 18660fi
18639 18661
18640ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 18662ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18641if test "x$ac_cv_type_size_t" = x""yes; then : 18663if test "x$ac_cv_type_size_t" = xyes; then :
18642 18664
18643cat >>confdefs.h <<_ACEOF 18665cat >>confdefs.h <<_ACEOF
18644#define HAVE_SIZE_T 1 18666#define HAVE_SIZE_T 1
@@ -18650,7 +18672,7 @@ fi
18650 18672
18651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 18673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
18652$as_echo_n "checking for mbstate_t... " >&6; } 18674$as_echo_n "checking for mbstate_t... " >&6; }
18653if test "${ac_cv_type_mbstate_t+set}" = set; then : 18675if ${ac_cv_type_mbstate_t+:} false; then :
18654 $as_echo_n "(cached) " >&6 18676 $as_echo_n "(cached) " >&6
18655else 18677else
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18686,7 +18708,7 @@ $as_echo "#define mbstate_t int" >>confdefs.h
18686 18708
18687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 18709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
18688$as_echo_n "checking for C restricted array declarations... " >&6; } 18710$as_echo_n "checking for C restricted array declarations... " >&6; }
18689if test "${emacs_cv_c_restrict_arr+set}" = set; then : 18711if ${emacs_cv_c_restrict_arr+:} false; then :
18690 $as_echo_n "(cached) " >&6 18712 $as_echo_n "(cached) " >&6
18691else 18713else
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19275,10 +19297,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19275 :end' >>confcache 19297 :end' >>confcache
19276if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 19298if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19277 if test -w "$cache_file"; then 19299 if test -w "$cache_file"; then
19278 test "x$cache_file" != "x/dev/null" && 19300 if test "x$cache_file" != "x/dev/null"; then
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 19301 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19280$as_echo "$as_me: updating cache $cache_file" >&6;} 19302$as_echo "$as_me: updating cache $cache_file" >&6;}
19281 cat confcache >$cache_file 19303 if test ! -f "$cache_file" || test -h "$cache_file"; then
19304 cat confcache >"$cache_file"
19305 else
19306 case $cache_file in #(
19307 */* | ?:*)
19308 mv -f confcache "$cache_file"$$ &&
19309 mv -f "$cache_file"$$ "$cache_file" ;; #(
19310 *)
19311 mv -f confcache "$cache_file" ;;
19312 esac
19313 fi
19314 fi
19282 else 19315 else
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 19316 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19284$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 19317$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -19364,7 +19397,7 @@ fi
19364 19397
19365 19398
19366 19399
19367: ${CONFIG_STATUS=./config.status} 19400: "${CONFIG_STATUS=./config.status}"
19368ac_write_fail=0 19401ac_write_fail=0
19369ac_clean_files_save=$ac_clean_files 19402ac_clean_files_save=$ac_clean_files
19370ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19403ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -19465,6 +19498,7 @@ fi
19465IFS=" "" $as_nl" 19498IFS=" "" $as_nl"
19466 19499
19467# Find who we are. Look in the path if we contain no directory separator. 19500# Find who we are. Look in the path if we contain no directory separator.
19501as_myself=
19468case $0 in #(( 19502case $0 in #((
19469 *[\\/]* ) as_myself=$0 ;; 19503 *[\\/]* ) as_myself=$0 ;;
19470 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19504 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -19772,7 +19806,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19772# values after options handling. 19806# values after options handling.
19773ac_log=" 19807ac_log="
19774This file was extended by emacs $as_me 24.0.50, which was 19808This file was extended by emacs $as_me 24.0.50, which was
19775generated by GNU Autoconf 2.67. Invocation command line was 19809generated by GNU Autoconf 2.68. Invocation command line was
19776 19810
19777 CONFIG_FILES = $CONFIG_FILES 19811 CONFIG_FILES = $CONFIG_FILES
19778 CONFIG_HEADERS = $CONFIG_HEADERS 19812 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -19838,7 +19872,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19838ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19872ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19839ac_cs_version="\\ 19873ac_cs_version="\\
19840emacs config.status 24.0.50 19874emacs config.status 24.0.50
19841configured by $0, generated by GNU Autoconf 2.67, 19875configured by $0, generated by GNU Autoconf 2.68,
19842 with options \\"\$ac_cs_config\\" 19876 with options \\"\$ac_cs_config\\"
19843 19877
19844Copyright (C) 2010 Free Software Foundation, Inc. 19878Copyright (C) 2010 Free Software Foundation, Inc.
@@ -19984,7 +20018,7 @@ do
19984 "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;; 20018 "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;;
19985 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 20019 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
19986 20020
19987 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 20021 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19988 esac 20022 esac
19989done 20023done
19990 20024
@@ -20007,9 +20041,10 @@ fi
20007# after its creation but before its name has been assigned to `$tmp'. 20041# after its creation but before its name has been assigned to `$tmp'.
20008$debug || 20042$debug ||
20009{ 20043{
20010 tmp= 20044 tmp= ac_tmp=
20011 trap 'exit_status=$? 20045 trap 'exit_status=$?
20012 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 20046 : "${ac_tmp:=$tmp}"
20047 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20013' 0 20048' 0
20014 trap 'as_fn_exit 1' 1 2 13 15 20049 trap 'as_fn_exit 1' 1 2 13 15
20015} 20050}
@@ -20017,12 +20052,13 @@ $debug ||
20017 20052
20018{ 20053{
20019 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20054 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20020 test -n "$tmp" && test -d "$tmp" 20055 test -d "$tmp"
20021} || 20056} ||
20022{ 20057{
20023 tmp=./conf$$-$RANDOM 20058 tmp=./conf$$-$RANDOM
20024 (umask 077 && mkdir "$tmp") 20059 (umask 077 && mkdir "$tmp")
20025} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 20060} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20061ac_tmp=$tmp
20026 20062
20027# Set up the scripts for CONFIG_FILES section. 20063# Set up the scripts for CONFIG_FILES section.
20028# No need to generate them if there are no CONFIG_FILES. 20064# No need to generate them if there are no CONFIG_FILES.
@@ -20061,13 +20097,13 @@ else
20061 ac_cs_awk_cr=$ac_cr 20097 ac_cs_awk_cr=$ac_cr
20062fi 20098fi
20063 20099
20064echo 'BEGIN {' >"$tmp/subs1.awk" && 20100echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20065_ACEOF 20101_ACEOF
20066 20102
20067# Create commands to substitute file output variables. 20103# Create commands to substitute file output variables.
20068{ 20104{
20069 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 20105 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
20070 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 20106 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
20071 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 20107 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
20072 echo "_ACAWK" && 20108 echo "_ACAWK" &&
20073 echo "_ACEOF" 20109 echo "_ACEOF"
@@ -20100,7 +20136,7 @@ done
20100rm -f conf$$subs.sh 20136rm -f conf$$subs.sh
20101 20137
20102cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20138cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20103cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 20139cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20104_ACEOF 20140_ACEOF
20105sed -n ' 20141sed -n '
20106h 20142h
@@ -20148,7 +20184,7 @@ t delim
20148rm -f conf$$subs.awk 20184rm -f conf$$subs.awk
20149cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20150_ACAWK 20186_ACAWK
20151cat >>"\$tmp/subs1.awk" <<_ACAWK && 20187cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20152 for (key in S) S_is_set[key] = 1 20188 for (key in S) S_is_set[key] = 1
20153 FS = "" 20189 FS = ""
20154 \$ac_cs_awk_pipe_init 20190 \$ac_cs_awk_pipe_init
@@ -20186,7 +20222,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20186 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 20222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20187else 20223else
20188 cat 20224 cat
20189fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 20225fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20190 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 20226 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20191_ACEOF 20227_ACEOF
20192 20228
@@ -20220,7 +20256,7 @@ fi # test -n "$CONFIG_FILES"
20220# No need to generate them if there are no CONFIG_HEADERS. 20256# No need to generate them if there are no CONFIG_HEADERS.
20221# This happens for instance with `./config.status Makefile'. 20257# This happens for instance with `./config.status Makefile'.
20222if test -n "$CONFIG_HEADERS"; then 20258if test -n "$CONFIG_HEADERS"; then
20223cat >"$tmp/defines.awk" <<\_ACAWK || 20259cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20224BEGIN { 20260BEGIN {
20225_ACEOF 20261_ACEOF
20226 20262
@@ -20232,8 +20268,8 @@ _ACEOF
20232# handling of long lines. 20268# handling of long lines.
20233ac_delim='%!_!# ' 20269ac_delim='%!_!# '
20234for ac_last_try in false false :; do 20270for ac_last_try in false false :; do
20235 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 20271 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20236 if test -z "$ac_t"; then 20272 if test -z "$ac_tt"; then
20237 break 20273 break
20238 elif $ac_last_try; then 20274 elif $ac_last_try; then
20239 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20275 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
@@ -20334,7 +20370,7 @@ do
20334 esac 20370 esac
20335 case $ac_mode$ac_tag in 20371 case $ac_mode$ac_tag in
20336 :[FHL]*:*);; 20372 :[FHL]*:*);;
20337 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 20373 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20338 :[FH]-) ac_tag=-:-;; 20374 :[FH]-) ac_tag=-:-;;
20339 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20340 esac 20376 esac
@@ -20353,7 +20389,7 @@ do
20353 for ac_f 20389 for ac_f
20354 do 20390 do
20355 case $ac_f in 20391 case $ac_f in
20356 -) ac_f="$tmp/stdin";; 20392 -) ac_f="$ac_tmp/stdin";;
20357 *) # Look for the file first in the build tree, then in the source tree 20393 *) # Look for the file first in the build tree, then in the source tree
20358 # (if the path is not absolute). The absolute path cannot be DOS-style, 20394 # (if the path is not absolute). The absolute path cannot be DOS-style,
20359 # because $ac_f cannot contain `:'. 20395 # because $ac_f cannot contain `:'.
@@ -20362,7 +20398,7 @@ do
20362 [\\/$]*) false;; 20398 [\\/$]*) false;;
20363 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20364 esac || 20400 esac ||
20365 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 20401 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20366 esac 20402 esac
20367 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20403 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20368 as_fn_append ac_file_inputs " '$ac_f'" 20404 as_fn_append ac_file_inputs " '$ac_f'"
@@ -20388,8 +20424,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
20388 esac 20424 esac
20389 20425
20390 case $ac_tag in 20426 case $ac_tag in
20391 *:-:* | *:-) cat >"$tmp/stdin" \ 20427 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20393 esac 20429 esac
20394 ;; 20430 ;;
20395 esac 20431 esac
@@ -20527,24 +20563,25 @@ $ac_datarootdir_hack
20527" 20563"
20528eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 20564eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
20529if $ac_cs_awk_getline; then 20565if $ac_cs_awk_getline; then
20530 $AWK -f "$tmp/subs.awk" 20566 $AWK -f "$ac_tmp/subs.awk"
20531else 20567else
20532 $AWK -f "$tmp/subs.awk" | $SHELL 20568 $AWK -f "$ac_tmp/subs.awk" | $SHELL
20533fi >$tmp/out \ 20569fi \
20534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20570 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20535 20571
20536test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20572test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20537 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 20573 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20538 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 20574 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20575 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20540which seems to be undefined. Please make sure it is defined" >&5 20577which seems to be undefined. Please make sure it is defined" >&5
20541$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20578$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20542which seems to be undefined. Please make sure it is defined" >&2;} 20579which seems to be undefined. Please make sure it is defined" >&2;}
20543 20580
20544 rm -f "$tmp/stdin" 20581 rm -f "$ac_tmp/stdin"
20545 case $ac_file in 20582 case $ac_file in
20546 -) cat "$tmp/out" && rm -f "$tmp/out";; 20583 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20547 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 20584 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20548 esac \ 20585 esac \
20549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20550 ;; 20587 ;;
@@ -20555,20 +20592,20 @@ which seems to be undefined. Please make sure it is defined" >&2;}
20555 if test x"$ac_file" != x-; then 20592 if test x"$ac_file" != x-; then
20556 { 20593 {
20557 $as_echo "/* $configure_input */" \ 20594 $as_echo "/* $configure_input */" \
20558 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 20595 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20559 } >"$tmp/config.h" \ 20596 } >"$ac_tmp/config.h" \
20560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20597 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20561 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 20598 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20599 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20563$as_echo "$as_me: $ac_file is unchanged" >&6;} 20600$as_echo "$as_me: $ac_file is unchanged" >&6;}
20564 else 20601 else
20565 rm -f "$ac_file" 20602 rm -f "$ac_file"
20566 mv "$tmp/config.h" "$ac_file" \ 20603 mv "$ac_tmp/config.h" "$ac_file" \
20567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20604 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20568 fi 20605 fi
20569 else 20606 else
20570 $as_echo "/* $configure_input */" \ 20607 $as_echo "/* $configure_input */" \
20571 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 20608 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20572 || as_fn_error $? "could not create -" "$LINENO" 5 20609 || as_fn_error $? "could not create -" "$LINENO" 5
20573 fi 20610 fi
20574# Compute "$ac_file"'s index in $config_headers. 20611# Compute "$ac_file"'s index in $config_headers.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index c5e445cec38..338dbb5e7fd 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * variables.texi (Scope): Mention the availability of lexical scoping.
4 (Lexical Binding): New node.
5 * eval.texi (Eval): Add `eval's new `lexical' arg.
6
12011-02-25 Stefan Monnier <monnier@iro.umontreal.ca> 72011-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * vol2.texi (Top): 9 * vol2.texi (Top):
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index f7c1d55f6ae..cc3ceb8003c 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -466,7 +466,8 @@ Functions
466* Declaring Functions:: Telling the compiler that a function is defined. 466* Declaring Functions:: Telling the compiler that a function is defined.
467* Function Safety:: Determining whether a function is safe to call. 467* Function Safety:: Determining whether a function is safe to call.
468* Related Topics:: Cross-references to specific Lisp primitives 468* Related Topics:: Cross-references to specific Lisp primitives
469 that have a special bearing on how functions work. 469 that have a special bearing on how
470 functions work.
470 471
471Lambda Expressions 472Lambda Expressions
472 473
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index d44fe5bb95b..74f3d9c48b9 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -585,6 +585,11 @@ occurrence in a program being run. On rare occasions, you may need to
585write code that evaluates a form that is computed at run time, such as 585write code that evaluates a form that is computed at run time, such as
586after reading a form from text being edited or getting one from a 586after reading a form from text being edited or getting one from a
587property list. On these occasions, use the @code{eval} function. 587property list. On these occasions, use the @code{eval} function.
588Often @code{eval} is not needed and something else should be used instead.
589For example, to get the value of a variable, while @code{eval} works,
590@code{symbol-value} is preferable; or rather than store expressions
591in a property list that then need to go through @code{eval}, it is better to
592store functions instead that are then passed to @code{funcall}.
588 593
589 The functions and variables described in this section evaluate forms, 594 The functions and variables described in this section evaluate forms,
590specify limits to the evaluation process, or record recently returned 595specify limits to the evaluation process, or record recently returned
@@ -596,10 +601,13 @@ to store an expression in the data structure and evaluate it. Using
596functions provides the ability to pass information to them as 601functions provides the ability to pass information to them as
597arguments. 602arguments.
598 603
599@defun eval form 604@defun eval form &optional lexical
600This is the basic function evaluating an expression. It evaluates 605This is the basic function evaluating an expression. It evaluates
601@var{form} in the current environment and returns the result. How the 606@var{form} in the current environment and returns the result. How the
602evaluation proceeds depends on the type of the object (@pxref{Forms}). 607evaluation proceeds depends on the type of the object (@pxref{Forms}).
608@var{lexical} if non-nil means to evaluate @var{form} using lexical scoping
609rules (@pxref{Lexical Binding}) instead of the default dynamic scoping used
610historically in Emacs Lisp.
603 611
604Since @code{eval} is a function, the argument expression that appears 612Since @code{eval} is a function, the argument expression that appears
605in a call to @code{eval} is evaluated twice: once as preparation before 613in a call to @code{eval} is evaluated twice: once as preparation before
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 0cdcaa84d58..edffb4742ec 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -25,22 +25,22 @@ textual Lisp program is written using the read syntax for the symbol
25representing the variable. 25representing the variable.
26 26
27@menu 27@menu
28* Global Variables:: Variable values that exist permanently, everywhere. 28* Global Variables:: Variable values that exist permanently, everywhere.
29* Constant Variables:: Certain "variables" have values that never change. 29* Constant Variables:: Certain "variables" have values that never change.
30* Local Variables:: Variable values that exist only temporarily. 30* Local Variables:: Variable values that exist only temporarily.
31* Void Variables:: Symbols that lack values. 31* Void Variables:: Symbols that lack values.
32* Defining Variables:: A definition says a symbol is used as a variable. 32* Defining Variables:: A definition says a symbol is used as a variable.
33* Tips for Defining:: Things you should think about when you 33* Tips for Defining:: Things you should think about when you
34 define a variable. 34 define a variable.
35* Accessing Variables:: Examining values of variables whose names 35* Accessing Variables:: Examining values of variables whose names
36 are known only at run time. 36 are known only at run time.
37* Setting Variables:: Storing new values in variables. 37* Setting Variables:: Storing new values in variables.
38* Variable Scoping:: How Lisp chooses among local and global values. 38* Variable Scoping:: How Lisp chooses among local and global values.
39* Buffer-Local Variables:: Variable values in effect only in one buffer. 39* Buffer-Local Variables:: Variable values in effect only in one buffer.
40* File Local Variables:: Handling local variable lists in files. 40* File Local Variables:: Handling local variable lists in files.
41* Directory Local Variables:: Local variables common to all files in a directory. 41* Directory Local Variables:: Local variables common to all files in a directory.
42* Frame-Local Variables:: Frame-local bindings for variables. 42* Frame-Local Variables:: Frame-local bindings for variables.
43* Variable Aliases:: Variables that are aliases for other variables. 43* Variable Aliases:: Variables that are aliases for other variables.
44* Variables with Restricted Values:: Non-constant variables whose value can 44* Variables with Restricted Values:: Non-constant variables whose value can
45 @emph{not} be an arbitrary Lisp object. 45 @emph{not} be an arbitrary Lisp object.
46@end menu 46@end menu
@@ -437,14 +437,18 @@ this reason, user options must be defined with @code{defvar}.
437This special form defines @var{symbol} as a variable and can also 437This special form defines @var{symbol} as a variable and can also
438initialize and document it. The definition informs a person reading 438initialize and document it. The definition informs a person reading
439your code that @var{symbol} is used as a variable that might be set or 439your code that @var{symbol} is used as a variable that might be set or
440changed. Note that @var{symbol} is not evaluated; the symbol to be 440changed. It also declares this variable as @dfn{special}, meaning that it
441defined must appear explicitly in the @code{defvar}. 441should always use dynamic scoping rules. Note that @var{symbol} is not
442evaluated; the symbol to be defined must appear explicitly in the
443@code{defvar}.
442 444
443If @var{symbol} is void and @var{value} is specified, @code{defvar} 445If @var{symbol} is void and @var{value} is specified, @code{defvar}
444evaluates it and sets @var{symbol} to the result. But if @var{symbol} 446evaluates it and sets @var{symbol} to the result. But if @var{symbol}
445already has a value (i.e., it is not void), @var{value} is not even 447already has a value (i.e., it is not void), @var{value} is not even
446evaluated, and @var{symbol}'s value remains unchanged. If @var{value} 448evaluated, and @var{symbol}'s value remains unchanged.
447is omitted, the value of @var{symbol} is not changed in any case. 449If @var{value} is omitted, the value of @var{symbol} is not changed in any
450case; instead, the only effect of @code{defvar} is to declare locally that this
451variable exists elsewhere and should hence always use dynamic scoping rules.
448 452
449If @var{symbol} has a buffer-local binding in the current buffer, 453If @var{symbol} has a buffer-local binding in the current buffer,
450@code{defvar} operates on the default value, which is buffer-independent, 454@code{defvar} operates on the default value, which is buffer-independent,
@@ -881,7 +885,7 @@ the others.
881@cindex extent 885@cindex extent
882@cindex dynamic scoping 886@cindex dynamic scoping
883@cindex lexical scoping 887@cindex lexical scoping
884 Local bindings in Emacs Lisp have @dfn{indefinite scope} and 888 By default, local bindings in Emacs Lisp have @dfn{indefinite scope} and
885@dfn{dynamic extent}. @dfn{Scope} refers to @emph{where} textually in 889@dfn{dynamic extent}. @dfn{Scope} refers to @emph{where} textually in
886the source code the binding can be accessed. ``Indefinite scope'' means 890the source code the binding can be accessed. ``Indefinite scope'' means
887that any part of the program can potentially access the variable 891that any part of the program can potentially access the variable
@@ -893,6 +897,8 @@ lasts as long as the activation of the construct that established it.
893@dfn{dynamic scoping}. By contrast, most programming languages use 897@dfn{dynamic scoping}. By contrast, most programming languages use
894@dfn{lexical scoping}, in which references to a local variable must be 898@dfn{lexical scoping}, in which references to a local variable must be
895located textually within the function or block that binds the variable. 899located textually within the function or block that binds the variable.
900Emacs can also support lexical scoping, upon request (@pxref{Lexical
901Binding}).
896 902
897@cindex CL note---special variables 903@cindex CL note---special variables
898@quotation 904@quotation
@@ -901,11 +907,12 @@ dynamically scoped, like all variables in Emacs Lisp.
901@end quotation 907@end quotation
902 908
903@menu 909@menu
904* Scope:: Scope means where in the program a value is visible. 910* Scope:: Scope means where in the program a value is visible.
905 Comparison with other languages. 911 Comparison with other languages.
906* Extent:: Extent means how long in time a value exists. 912* Extent:: Extent means how long in time a value exists.
907* Impl of Scope:: Two ways to implement dynamic scoping. 913* Impl of Scope:: Two ways to implement dynamic scoping.
908* Using Scoping:: How to use dynamic scoping carefully and avoid problems. 914* Using Scoping:: How to use dynamic scoping carefully and avoid problems.
915* Lexical Binding::
909@end menu 916@end menu
910 917
911@node Scope 918@node Scope
@@ -969,12 +976,12 @@ Here, when @code{foo} is called by @code{binder}, it binds @code{x}.
969by @code{foo} instead of the one bound by @code{binder}. 976by @code{foo} instead of the one bound by @code{binder}.
970@end itemize 977@end itemize
971 978
972Emacs Lisp uses dynamic scoping because simple implementations of 979Emacs Lisp used dynamic scoping by default because simple implementations of
973lexical scoping are slow. In addition, every Lisp system needs to offer 980lexical scoping are slow. In addition, every Lisp system needs to offer
974dynamic scoping at least as an option; if lexical scoping is the norm, 981dynamic scoping at least as an option; if lexical scoping is the norm, there
975there must be a way to specify dynamic scoping instead for a particular 982must be a way to specify dynamic scoping instead for a particular variable.
976variable. It might not be a bad thing for Emacs to offer both, but 983Nowadays, Emacs offers both, but the default is still to use exclusively
977implementing it with dynamic scoping only was much easier. 984dynamic scoping.
978 985
979@node Extent 986@node Extent
980@subsection Extent 987@subsection Extent
@@ -1088,6 +1095,48 @@ for inter-function usage. It also avoids a warning from the byte
1088compiler. Choose the variable's name to avoid name conflicts---don't 1095compiler. Choose the variable's name to avoid name conflicts---don't
1089use short names like @code{x}. 1096use short names like @code{x}.
1090 1097
1098
1099@node Lexical Binding
1100@subsection Use of Lexical Scoping
1101
1102Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or
1103lexical binding mode. In dynamic binding mode, all local variables use dynamic
1104scoping, whereas in lexical binding mode variables that have been declared
1105@dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use
1106dynamic scoping and all others use lexical scoping.
1107
1108@defvar lexical-binding
1109When non-nil, evaluation of Lisp code uses lexical scoping for non-special
1110local variables instead of dynamic scoping. If nil, dynamic scoping is used
1111for all local variables. This variable is typically set for a whole Elisp file
1112via file local variables (@pxref{File Local Variables}).
1113@end defvar
1114
1115@defun special-variable-p SYMBOL
1116Return whether SYMBOL has been declared as a special variable, via
1117@code{defvar} or @code{defconst}.
1118@end defun
1119
1120The use of a special variable as a formal argument in a function is generally
1121discouraged and its behavior in lexical binding mode is unspecified (it may use
1122lexical scoping sometimes and dynamic scoping other times).
1123
1124Functions like @code{symbol-value}, @code{boundp}, or @code{set} only know
1125about dynamically scoped variables, so you cannot get the value of a lexical
1126variable via @code{symbol-value} and neither can you change it via @code{set}.
1127Another particularity is that code in the body of a @code{defun} or
1128@code{defmacro} cannot refer to surrounding lexical variables.
1129
1130Evaluation of a @code{lambda} expression in lexical binding mode will not just
1131return that lambda expression unchanged, as in the dynamic binding case, but
1132will instead construct a new object that remembers the current lexical
1133environment in which that lambda expression was defined, so that the function
1134body can later be evaluated in the proper context. Those objects are called
1135@dfn{closures}. They are also functions, in the sense that they are accepted
1136by @code{funcall}, and they are represented by a cons cell whose @code{car} is
1137the symbol @code{closure}.
1138
1139
1091@node Buffer-Local Variables 1140@node Buffer-Local Variables
1092@section Buffer-Local Variables 1141@section Buffer-Local Variables
1093@cindex variable, buffer-local 1142@cindex variable, buffer-local
@@ -1103,9 +1152,9 @@ local to each terminal, or to each frame. @xref{Multiple Terminals},
1103and @xref{Frame-Local Variables}.) 1152and @xref{Frame-Local Variables}.)
1104 1153
1105@menu 1154@menu
1106* Intro to Buffer-Local:: Introduction and concepts. 1155* Intro to Buffer-Local:: Introduction and concepts.
1107* Creating Buffer-Local:: Creating and destroying buffer-local bindings. 1156* Creating Buffer-Local:: Creating and destroying buffer-local bindings.
1108* Default Value:: The default value is seen in buffers 1157* Default Value:: The default value is seen in buffers
1109 that don't have their own buffer-local values. 1158 that don't have their own buffer-local values.
1110@end menu 1159@end menu
1111 1160
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4a22b148469..10f57c2b96a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,24 @@
12011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cconv.el (cconv-liftwhen): Increase threshold.
4 (cconv-closure-convert-rec): Convert interactive spec in empty lexenv.
5 (cconv-analyse-use): Improve unused vars warnings.
6 (cconv-analyse-form): Analyze interactive spec in empty lexenv.
7 * emacs-lisp/bytecomp.el (byte-compile-lambda): Always byte-compile
8 the interactive spec in lexical-binding mode.
9 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10 * custom.el (custom-initialize-default): Use defvar.
11 (custom-declare-variable): Set the special-variable-p flag.
12 * help-fns.el (help-make-usage): Drop leading underscores.
13 * dired.el (dired-revert, dired-make-relative): Mark unused args.
14 (dired-unmark-all-files): Remove unused var `query'.
15 (dired-overwrite-confirmed): Declare.
16 (dired-restore-desktop-buffer): Don't use dynamically scoped arg names.
17 * mpc.el: Mark unused args.
18 (mpc--faster-toggle): Remove unused var `songnb'.
19 * server.el (server-kill-buffer-running): Move before first use.
20 * minibuffer.el: Mark unused args.
21
12011-02-26 Stefan Monnier <monnier@iro.umontreal.ca> 222011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 23
3 * emacs-lisp/cconv.el (cconv-closure-convert-rec): Fix last change for 24 * emacs-lisp/cconv.el (cconv-closure-convert-rec): Fix last change for
@@ -335,6 +356,15 @@
335 356
336 Merge funvec patch. 357 Merge funvec patch.
337 358
3592004-05-20 Miles Bader <miles@gnu.org>
360
361 * subr.el (functionp): Use `funvecp' instead of
362 `byte-compiled-function-p'.
363 * help-fns.el (describe-function-1): Describe curried functions
364 and other funvecs as such.
365 (help-highlight-arguments): Only format things that look like a
366 function.
367
3382004-04-29 Miles Bader <miles@gnu.org> 3682004-04-29 Miles Bader <miles@gnu.org>
339 369
340 * emacs-lisp/bytecomp.el (byte-compile-top-level): Add new entries 370 * emacs-lisp/bytecomp.el (byte-compile-top-level): Add new entries
diff --git a/lisp/ChangeLog.funvec b/lisp/ChangeLog.funvec
deleted file mode 100644
index 0a31b9a590f..00000000000
--- a/lisp/ChangeLog.funvec
+++ /dev/null
@@ -1,10 +0,0 @@
12004-05-20 Miles Bader <miles@gnu.org>
2
3 * subr.el (functionp): Use `funvecp' instead of
4 `byte-compiled-function-p'.
5 * help-fns.el (describe-function-1): Describe curried functions
6 and other funvecs as such.
7 (help-highlight-arguments): Only format things that look like a
8 function.
9
10;; arch-tag: 87f75aac-de53-40d7-96c7-3befaa771cb1
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 0182b7f5072..268a45d8948 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -222,6 +222,9 @@ compile-onefile:
222# cannot have prerequisites. 222# cannot have prerequisites.
223.el.elc: 223.el.elc:
224 @echo Compiling $< 224 @echo Compiling $<
225 @# The BIG_STACK_OPTS are only needed to byte-compile the byte-compiler
226 @# files, which is normally done in compile-first, but may also be
227 @# recompiled via this rule.
225 @$(emacs) $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \ 228 @$(emacs) $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \
226 -f batch-byte-compile $< 229 -f batch-byte-compile $<
227 230
diff --git a/lisp/custom.el b/lisp/custom.el
index e41e7c7bdf8..d0d11610b91 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -55,11 +55,9 @@ Otherwise, if symbol has a `saved-value' property, it will evaluate
55the car of that and use it as the default binding for symbol. 55the car of that and use it as the default binding for symbol.
56Otherwise, VALUE will be evaluated and used as the default binding for 56Otherwise, VALUE will be evaluated and used as the default binding for
57symbol." 57symbol."
58 (unless (default-boundp symbol) 58 (eval `(defvar ,symbol ,(if (get symbol 'saved-value)
59 ;; Use the saved value if it exists, otherwise the standard setting. 59 (car (get symbol 'saved-value))
60 (set-default symbol (eval (if (get symbol 'saved-value) 60 value))))
61 (car (get symbol 'saved-value))
62 value)))))
63 61
64(defun custom-initialize-set (symbol value) 62(defun custom-initialize-set (symbol value)
65 "Initialize SYMBOL based on VALUE. 63 "Initialize SYMBOL based on VALUE.
@@ -81,15 +79,15 @@ The value is either the symbol's current value
81 \(as obtained using the `:get' function), if any, 79 \(as obtained using the `:get' function), if any,
82or the value in the symbol's `saved-value' property if any, 80or the value in the symbol's `saved-value' property if any,
83or (last of all) VALUE." 81or (last of all) VALUE."
84 (funcall (or (get symbol 'custom-set) 'set-default) 82 (funcall (or (get symbol 'custom-set) 'set-default)
85 symbol 83 symbol
86 (cond ((default-boundp symbol) 84 (cond ((default-boundp symbol)
87 (funcall (or (get symbol 'custom-get) 'default-value) 85 (funcall (or (get symbol 'custom-get) 'default-value)
88 symbol)) 86 symbol))
89 ((get symbol 'saved-value) 87 ((get symbol 'saved-value)
90 (eval (car (get symbol 'saved-value)))) 88 (eval (car (get symbol 'saved-value))))
91 (t 89 (t
92 (eval value))))) 90 (eval value)))))
93 91
94(defun custom-initialize-changed (symbol value) 92(defun custom-initialize-changed (symbol value)
95 "Initialize SYMBOL with VALUE. 93 "Initialize SYMBOL with VALUE.
@@ -142,10 +140,8 @@ set to nil, as the value is no longer rogue."
142 ;; Maybe this option was rogue in an earlier version. It no longer is. 140 ;; Maybe this option was rogue in an earlier version. It no longer is.
143 (when (get symbol 'force-value) 141 (when (get symbol 'force-value)
144 (put symbol 'force-value nil)) 142 (put symbol 'force-value nil))
145 (when doc 143 (if (keywordp doc)
146 (if (keywordp doc) 144 (error "Doc string is missing"))
147 (error "Doc string is missing")
148 (put symbol 'variable-documentation doc)))
149 (let ((initialize 'custom-initialize-reset) 145 (let ((initialize 'custom-initialize-reset)
150 (requests nil)) 146 (requests nil))
151 (unless (memq :group args) 147 (unless (memq :group args)
@@ -189,6 +185,13 @@ set to nil, as the value is no longer rogue."
189 ;; Do the actual initialization. 185 ;; Do the actual initialization.
190 (unless custom-dont-initialize 186 (unless custom-dont-initialize
191 (funcall initialize symbol default))) 187 (funcall initialize symbol default)))
188 ;; Use defvar to set the docstring as well as the special-variable-p flag.
189 ;; FIXME: We should reproduce more of `defvar's behavior, such as the warning
190 ;; when the var is currently let-bound.
191 (if (not (default-boundp symbol))
192 ;; Don't use defvar to avoid setting a default-value when undesired.
193 (when doc (put symbol 'variable-documentation doc))
194 (eval `(defvar ,symbol nil ,@(when doc (list doc)))))
192 (push symbol current-load-list) 195 (push symbol current-load-list)
193 (run-hooks 'custom-define-hook) 196 (run-hooks 'custom-define-hook)
194 symbol) 197 symbol)
diff --git a/lisp/dired.el b/lisp/dired.el
index 4a17b443cfa..af99d4c7413 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1168,7 +1168,7 @@ If HDR is non-nil, insert a header line with the directory name."
1168 1168
1169;; Reverting a dired buffer 1169;; Reverting a dired buffer
1170 1170
1171(defun dired-revert (&optional arg noconfirm) 1171(defun dired-revert (&optional _arg _noconfirm)
1172 "Reread the dired buffer. 1172 "Reread the dired buffer.
1173Must also be called after `dired-actual-switches' have changed. 1173Must also be called after `dired-actual-switches' have changed.
1174Should not fail even on completely garbaged buffers. 1174Should not fail even on completely garbaged buffers.
@@ -2129,7 +2129,7 @@ Optional arg GLOBAL means to replace all matches."
2129 ;; dired-get-filename. 2129 ;; dired-get-filename.
2130 (concat (or dir default-directory) file)) 2130 (concat (or dir default-directory) file))
2131 2131
2132(defun dired-make-relative (file &optional dir ignore) 2132(defun dired-make-relative (file &optional dir _ignore)
2133 "Convert FILE (an absolute file name) to a name relative to DIR. 2133 "Convert FILE (an absolute file name) to a name relative to DIR.
2134If this is impossible, return FILE unchanged. 2134If this is impossible, return FILE unchanged.
2135DIR must be a directory name, not a file name." 2135DIR must be a directory name, not a file name."
@@ -3219,7 +3219,7 @@ Type \\[help-command] at that time for help."
3219 (interactive "cRemove marks (RET means all): \nP") 3219 (interactive "cRemove marks (RET means all): \nP")
3220 (save-excursion 3220 (save-excursion
3221 (let* ((count 0) 3221 (let* ((count 0)
3222 (inhibit-read-only t) case-fold-search query 3222 (inhibit-read-only t) case-fold-search
3223 (string (format "\n%c" mark)) 3223 (string (format "\n%c" mark))
3224 (help-form "\ 3224 (help-form "\
3225Type SPC or `y' to unmark one file, DEL or `n' to skip to next, 3225Type SPC or `y' to unmark one file, DEL or `n' to skip to next,
@@ -3494,6 +3494,8 @@ Anything else means ask for each directory."
3494(declare-function dnd-get-local-file-name "dnd" (uri &optional must-exist)) 3494(declare-function dnd-get-local-file-name "dnd" (uri &optional must-exist))
3495(declare-function dnd-get-local-file-uri "dnd" (uri)) 3495(declare-function dnd-get-local-file-uri "dnd" (uri))
3496 3496
3497(defvar dired-overwrite-confirmed) ;Defined in dired-aux.
3498
3497(defun dired-dnd-handle-local-file (uri action) 3499(defun dired-dnd-handle-local-file (uri action)
3498 "Copy, move or link a file to the dired directory. 3500 "Copy, move or link a file to the dired directory.
3499URI is the file to handle, ACTION is one of copy, move, link or ask. 3501URI is the file to handle, ACTION is one of copy, move, link or ask.
@@ -3572,21 +3574,21 @@ Ask means pop up a menu for the user to select one of copy, move or link."
3572 (function (lambda (f) (desktop-file-name (car f) dirname))) 3574 (function (lambda (f) (desktop-file-name (car f) dirname)))
3573 dired-subdir-alist))))) 3575 dired-subdir-alist)))))
3574 3576
3575(defun dired-restore-desktop-buffer (desktop-buffer-file-name 3577(defun dired-restore-desktop-buffer (_file-name
3576 desktop-buffer-name 3578 _buffer-name
3577 desktop-buffer-misc) 3579 misc-data)
3578 "Restore a dired buffer specified in a desktop file." 3580 "Restore a dired buffer specified in a desktop file."
3579 ;; First element of `desktop-buffer-misc' is the value of `dired-directory'. 3581 ;; First element of `misc-data' is the value of `dired-directory'.
3580 ;; This value is a directory name, optionally with shell wildcard or 3582 ;; This value is a directory name, optionally with shell wildcard or
3581 ;; a directory name followed by list of files. 3583 ;; a directory name followed by list of files.
3582 (let* ((dired-dir (car desktop-buffer-misc)) 3584 (let* ((dired-dir (car misc-data))
3583 (dir (if (consp dired-dir) (car dired-dir) dired-dir))) 3585 (dir (if (consp dired-dir) (car dired-dir) dired-dir)))
3584 (if (file-directory-p (file-name-directory dir)) 3586 (if (file-directory-p (file-name-directory dir))
3585 (progn 3587 (progn
3586 (dired dired-dir) 3588 (dired dired-dir)
3587 ;; The following elements of `desktop-buffer-misc' are the keys 3589 ;; The following elements of `misc-data' are the keys
3588 ;; from `dired-subdir-alist'. 3590 ;; from `dired-subdir-alist'.
3589 (mapc 'dired-maybe-insert-subdir (cdr desktop-buffer-misc)) 3591 (mapc 'dired-maybe-insert-subdir (cdr misc-data))
3590 (current-buffer)) 3592 (current-buffer))
3591 (message "Desktop: Directory %s no longer exists." dir) 3593 (message "Desktop: Directory %s no longer exists." dir)
3592 (when desktop-missing-file-warning (sit-for 1)) 3594 (when desktop-missing-file-warning (sit-for 1))
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 342dd8b71d1..d86cb729081 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -308,6 +308,10 @@
308 308
309;; ((lambda ...) ...) 309;; ((lambda ...) ...)
310(defun byte-compile-unfold-lambda (form &optional name) 310(defun byte-compile-unfold-lambda (form &optional name)
311 ;; In lexical-binding mode, let and functions don't bind vars in the same way
312 ;; (let obey special-variable-p, but functions don't). This doesn't matter
313 ;; here, because function's behavior is underspecified so it can safely be
314 ;; turned into a `let', even though the reverse is not true.
311 (or name (setq name "anonymous lambda")) 315 (or name (setq name "anonymous lambda"))
312 (let ((lambda (car form)) 316 (let ((lambda (car form))
313 (values (cdr form))) 317 (values (cdr form)))
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4a53faefa3d..3575b10e1f1 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2563,6 +2563,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2563 ;; b-c-lambda didn't produce a compiled-function, so it's either a trivial 2563 ;; b-c-lambda didn't produce a compiled-function, so it's either a trivial
2564 ;; function, or this is Emacs 18, or generate-emacs19-bytecodes is off. 2564 ;; function, or this is Emacs 18, or generate-emacs19-bytecodes is off.
2565 ((let (tmp) 2565 ((let (tmp)
2566 ;; FIXME: can this happen?
2566 (if (and (setq tmp (assq 'byte-code (cdr-safe (cdr fun)))) 2567 (if (and (setq tmp (assq 'byte-code (cdr-safe (cdr fun))))
2567 (null (cdr (memq tmp fun)))) 2568 (null (cdr (memq tmp fun))))
2568 ;; Generate a make-byte-code call. 2569 ;; Generate a make-byte-code call.
@@ -2587,7 +2588,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2587 (list 'quote fun)))))) 2588 (list 'quote fun))))))
2588 2589
2589;; Turn a function into an ordinary lambda. Needed for v18 files. 2590;; Turn a function into an ordinary lambda. Needed for v18 files.
2590(defun byte-compile-byte-code-unmake (function) 2591(defun byte-compile-byte-code-unmake (function) ;FIXME: what is it?
2591 (if (consp function) 2592 (if (consp function)
2592 function;;It already is a lambda. 2593 function;;It already is a lambda.
2593 (setq function (append function nil)) ; turn it into a list 2594 (setq function (append function nil)) ; turn it into a list
@@ -2685,16 +2686,19 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2685 ;; compile it, because `call-interactively' looks at the 2686 ;; compile it, because `call-interactively' looks at the
2686 ;; args of `list'. Actually, compile it to get warnings, 2687 ;; args of `list'. Actually, compile it to get warnings,
2687 ;; but don't use the result. 2688 ;; but don't use the result.
2688 (let ((form (nth 1 bytecomp-int))) 2689 (let* ((form (nth 1 bytecomp-int))
2690 (newform (byte-compile-top-level form)))
2689 (while (memq (car-safe form) '(let let* progn save-excursion)) 2691 (while (memq (car-safe form) '(let let* progn save-excursion))
2690 (while (consp (cdr form)) 2692 (while (consp (cdr form))
2691 (setq form (cdr form))) 2693 (setq form (cdr form)))
2692 (setq form (car form))) 2694 (setq form (car form)))
2693 (if (eq (car-safe form) 'list) 2695 (if (and (eq (car-safe form) 'list)
2694 (byte-compile-top-level (nth 1 bytecomp-int)) 2696 ;; The spec is evaled in callint.c in dynamic-scoping
2695 (setq bytecomp-int (list 'interactive 2697 ;; mode, so just leaving the form unchanged would mean
2696 (byte-compile-top-level 2698 ;; it won't be eval'd in the right mode.
2697 (nth 1 bytecomp-int))))))) 2699 (not lexical-binding))
2700 nil
2701 (setq bytecomp-int `(interactive ,newform)))))
2698 ((cdr bytecomp-int) 2702 ((cdr bytecomp-int)
2699 (byte-compile-warn "malformed interactive spec: %s" 2703 (byte-compile-warn "malformed interactive spec: %s"
2700 (prin1-to-string bytecomp-int))))) 2704 (prin1-to-string bytecomp-int)))))
@@ -3826,7 +3830,6 @@ Return the offset in the form (VAR . OFFSET)."
3826 (byte-compile-push-constant nil))))) 3830 (byte-compile-push-constant nil)))))
3827 3831
3828(defun byte-compile-not-lexical-var-p (var) 3832(defun byte-compile-not-lexical-var-p (var)
3829 ;; FIXME: this doesn't catch defcustoms!
3830 (or (not (symbolp var)) 3833 (or (not (symbolp var))
3831 (special-variable-p var) 3834 (special-variable-p var)
3832 (memq var byte-compile-bound-variables) 3835 (memq var byte-compile-bound-variables)
@@ -4560,7 +4563,14 @@ Use with caution."
4560 (setq f (car f)) 4563 (setq f (car f))
4561 (if (string-match "elc\\'" f) (setq f (substring f 0 -1))) 4564 (if (string-match "elc\\'" f) (setq f (substring f 0 -1)))
4562 (when (and (file-readable-p f) 4565 (when (and (file-readable-p f)
4563 (file-newer-than-file-p f emacs-file)) 4566 (file-newer-than-file-p f emacs-file)
4567 ;; Don't reload the source version of the files below
4568 ;; because that causes subsequent byte-compilation to
4569 ;; be a lot slower and need a higher max-lisp-eval-depth,
4570 ;; so it can cause recompilation to fail.
4571 (not (member (file-name-nondirectory f)
4572 '("pcase.el" "bytecomp.el" "macroexp.el"
4573 "cconv.el" "byte-opt.el"))))
4564 (message "Reloading stale %s" (file-name-nondirectory f)) 4574 (message "Reloading stale %s" (file-name-nondirectory f))
4565 (condition-case nil 4575 (condition-case nil
4566 (load f 'noerror nil 'nosuffix) 4576 (load f 'noerror nil 'nosuffix)
diff --git a/lisp/emacs-lisp/cconv.el b/lisp/emacs-lisp/cconv.el
index 006e2ef904c..7855193fa3f 100644
--- a/lisp/emacs-lisp/cconv.el
+++ b/lisp/emacs-lisp/cconv.el
@@ -65,21 +65,54 @@
65;; 65;;
66;;; Code: 66;;; Code:
67 67
68;;; TODO: 68;; TODO:
69;; - pay attention to `interactive': its arg is run in an empty env.
70;; - canonize code in macro-expand so we don't have to handle (let (var) body) 69;; - canonize code in macro-expand so we don't have to handle (let (var) body)
71;; and other oddities. 70;; and other oddities.
72;; - Change new byte-code representation, so it directly gives the 71;; - Change new byte-code representation, so it directly gives the
73;; number of mandatory and optional arguments as well as whether or 72;; number of mandatory and optional arguments as well as whether or
74;; not there's a &rest arg. 73;; not there's a &rest arg.
75;; - warn about unused lexical vars.
76;; - clean up cconv-closure-convert-rec, especially the `let' binding part. 74;; - clean up cconv-closure-convert-rec, especially the `let' binding part.
77;; - new byte codes for unwind-protect, catch, and condition-case so that 75;; - new byte codes for unwind-protect, catch, and condition-case so that
78;; closures aren't needed at all. 76;; closures aren't needed at all.
77;; - a reference to a var that is known statically to always hold a constant
78;; should be turned into a byte-constant rather than a byte-stack-ref.
79;; Hmm... right, that's called constant propagation and could be done here
80;; But when that constant is a function, we have to be careful to make sure
81;; the bytecomp only compiles it once.
82;; - Since we know here when a variable is not mutated, we could pass that
83;; info to the byte-compiler, e.g. by using a new `immutable-let'.
84;; - add tail-calls to bytecode.c and the bytecompiler.
85
86;; (defmacro dlet (binders &rest body)
87;; ;; Works in both lexical and non-lexical mode.
88;; `(progn
89;; ,@(mapcar (lambda (binder)
90;; `(defvar ,(if (consp binder) (car binder) binder)))
91;; binders)
92;; (let ,binders ,@body)))
93
94;; (defmacro llet (binders &rest body)
95;; ;; Only works in lexical-binding mode.
96;; `(funcall
97;; (lambda ,(mapcar (lambda (binder) (if (consp binder) (car binder) binder))
98;; binders)
99;; ,@body)
100;; ,@(mapcar (lambda (binder) (if (consp binder) (cadr binder)))
101;; binders)))
102
103;; (defmacro letrec (binders &rest body)
104;; ;; Only useful in lexical-binding mode.
105;; ;; As a special-form, we could implement it more efficiently (and cleanly,
106;; ;; making the vars actually unbound during evaluation of the binders).
107;; `(let ,(mapcar (lambda (binder) (if (consp binder) (car binder) binder))
108;; binders)
109;; ,@(delq nil (mapcar (lambda (binder) (if (consp binder) `(setq ,@binder)))
110;; binders))
111;; ,@body))
79 112
80(eval-when-compile (require 'cl)) 113(eval-when-compile (require 'cl))
81 114
82(defconst cconv-liftwhen 3 115(defconst cconv-liftwhen 6
83 "Try to do lambda lifting if the number of arguments + free variables 116 "Try to do lambda lifting if the number of arguments + free variables
84is less than this number.") 117is less than this number.")
85;; List of all the variables that are both captured by a closure 118;; List of all the variables that are both captured by a closure
@@ -212,13 +245,13 @@ Returns a form where all lambdas don't have any free variables."
212 ;; This function actually rewrites the tree. 245 ;; This function actually rewrites the tree.
213 "Eliminates all free variables of all lambdas in given forms. 246 "Eliminates all free variables of all lambdas in given forms.
214Arguments: 247Arguments:
215-- FORM is a piece of Elisp code after macroexpansion. 248- FORM is a piece of Elisp code after macroexpansion.
216-- LMENVS is a list of environments used for lambda-lifting. Initially empty. 249- LMENVS is a list of environments used for lambda-lifting. Initially empty.
217-- EMVRS is a list that contains mutated variables that are visible 250- EMVRS is a list that contains mutated variables that are visible
218within current environment. 251within current environment.
219-- ENVS is an environment(list of free variables) of current closure. 252- ENVS is an environment(list of free variables) of current closure.
220Initially empty. 253Initially empty.
221-- FVRS is a list of variables to substitute in each context. 254- FVRS is a list of variables to substitute in each context.
222Initially empty. 255Initially empty.
223 256
224Returns a form where all lambdas don't have any free variables." 257Returns a form where all lambdas don't have any free variables."
@@ -270,10 +303,17 @@ Returns a form where all lambdas don't have any free variables."
270 ; lambda lifting condition 303 ; lambda lifting condition
271 (if (or (not fv) (< cconv-liftwhen (length funcvars))) 304 (if (or (not fv) (< cconv-liftwhen (length funcvars)))
272 ; do not lift 305 ; do not lift
273 (cconv-closure-convert-rec 306 (progn
274 value emvrs fvrs envs lmenvs) 307 ;; (byte-compile-log-warning
308 ;; (format "Not λ-lifting `%S': %d > %d"
309 ;; var (length funcvars) cconv-liftwhen))
310
311 (cconv-closure-convert-rec
312 value emvrs fvrs envs lmenvs))
275 ; lift 313 ; lift
276 (progn 314 (progn
315 ;; (byte-compile-log-warning
316 ;; (format "λ-lifting `%S'" var))
277 (setq cconv-freevars-alist 317 (setq cconv-freevars-alist
278 ;; Now that we know we'll λ-lift, consume the 318 ;; Now that we know we'll λ-lift, consume the
279 ;; freevar data. 319 ;; freevar data.
@@ -579,6 +619,12 @@ Returns a form where all lambdas don't have any free variables."
579 cdr-new)) 619 cdr-new))
580 `(,callsym . ,(reverse cdr-new)))))) 620 `(,callsym . ,(reverse cdr-new))))))
581 621
622 (`(interactive . ,forms)
623 `(interactive
624 ,@(mapcar (lambda (form)
625 (cconv-closure-convert-rec form nil nil nil nil))
626 forms)))
627
582 (`(,func . ,body-forms) ; first element is function or whatever 628 (`(,func . ,body-forms) ; first element is function or whatever
583 ; function-like forms are: 629 ; function-like forms are:
584 ; or, and, if, progn, prog1, prog2, 630 ; or, and, if, progn, prog1, prog2,
@@ -608,23 +654,34 @@ Returns a form where all lambdas don't have any free variables."
608 ;; Only used to test the code in non-lexbind Emacs. 654 ;; Only used to test the code in non-lexbind Emacs.
609 (defalias 'byte-compile-not-lexical-var-p 'boundp)) 655 (defalias 'byte-compile-not-lexical-var-p 'boundp))
610 656
611(defun cconv-analyse-use (vardata form) 657(defun cconv-analyse-use (vardata form varkind)
658 "Analyse the use of a variable.
659VARDATA should be (BINDER READ MUTATED CAPTURED CALLED).
660VARKIND is the name of the kind of variable.
661FORM is the parent form that binds this var."
612 ;; use = `(,binder ,read ,mutated ,captured ,called) 662 ;; use = `(,binder ,read ,mutated ,captured ,called)
613 (pcase vardata 663 (pcase vardata
614 (`(,binder nil ,_ ,_ nil) 664 (`(,_ nil nil nil nil) nil)
615 ;; FIXME: Don't warn about unused fun-args. 665 (`((,(and (pred (lambda (var) (eq ?_ (aref (symbol-name var) 0)))) var) . ,_)
616 ;; FIXME: Don't warn about uninterned vars or _ vars. 666 ,_ ,_ ,_ ,_)
617 ;; FIXME: This gives warnings in the wrong order and with wrong line 667 (byte-compile-log-warning (format "%s `%S' not left unused" varkind var)))
618 ;; number and without function name info. 668 ((or `(,_ ,_ ,_ ,_ ,_) dontcare) nil))
619 (byte-compile-log-warning (format "Unused variable %S" (car binder)))) 669 (pcase vardata
670 (`((,var . ,_) nil ,_ ,_ nil)
671 ;; FIXME: This gives warnings in the wrong order, with imprecise line
672 ;; numbers and without function name info.
673 (unless (or ;; Uninterned symbols typically come from macro-expansion, so
674 ;; it is often non-trivial for the programmer to avoid such
675 ;; unused vars.
676 (not (intern-soft var))
677 (eq ?_ (aref (symbol-name var) 0)))
678 (byte-compile-log-warning (format "Unused lexical %s `%S'"
679 varkind var))))
620 ;; If it's unused, there's no point converting it into a cons-cell, even if 680 ;; If it's unused, there's no point converting it into a cons-cell, even if
621 ;; it's captures and mutated. 681 ;; it's captured and mutated.
622 (`(,binder ,_ t t ,_) 682 (`(,binder ,_ t t ,_)
623 (push (cons binder form) cconv-captured+mutated)) 683 (push (cons binder form) cconv-captured+mutated))
624 (`(,(and binder `(,_ (function (lambda . ,_)))) nil nil nil t) 684 (`(,(and binder `(,_ (function (lambda . ,_)))) nil nil nil t)
625 ;; This is very rare in typical Elisp code. It's probably not really
626 ;; worth the trouble to try and use lambda-lifting in Elisp, but
627 ;; since we coded it up, we might as well use it.
628 (push (cons binder form) cconv-lambda-candidates)) 685 (push (cons binder form) cconv-lambda-candidates))
629 (`(,_ ,_ ,_ ,_ ,_) nil) 686 (`(,_ ,_ ,_ ,_ ,_) nil)
630 (dontcare))) 687 (dontcare)))
@@ -654,7 +711,7 @@ Returns a form where all lambdas don't have any free variables."
654 (cconv-analyse-form form newenv)) 711 (cconv-analyse-form form newenv))
655 ;; Summarize resulting data about arguments. 712 ;; Summarize resulting data about arguments.
656 (dolist (vardata newvars) 713 (dolist (vardata newvars)
657 (cconv-analyse-use vardata parentform)) 714 (cconv-analyse-use vardata parentform "argument"))
658 ;; Transfer uses collected in `envcopy' (via `newenv') back to `env'; 715 ;; Transfer uses collected in `envcopy' (via `newenv') back to `env';
659 ;; and compute free variables. 716 ;; and compute free variables.
660 (while env 717 (while env
@@ -673,8 +730,8 @@ Returns a form where all lambdas don't have any free variables."
673(defun cconv-analyse-form (form env) 730(defun cconv-analyse-form (form env)
674 "Find mutated variables and variables captured by closure. 731 "Find mutated variables and variables captured by closure.
675Analyse lambdas if they are suitable for lambda lifting. 732Analyse lambdas if they are suitable for lambda lifting.
676-- FORM is a piece of Elisp code after macroexpansion. 733- FORM is a piece of Elisp code after macroexpansion.
677-- ENV is an alist mapping each enclosing lexical variable to its info. 734- ENV is an alist mapping each enclosing lexical variable to its info.
678 I.e. each element has the form (VAR . (READ MUTATED CAPTURED CALLED)). 735 I.e. each element has the form (VAR . (READ MUTATED CAPTURED CALLED)).
679This function does not return anything but instead fills the 736This function does not return anything but instead fills the
680`cconv-captured+mutated' and `cconv-lambda-candidates' variables 737`cconv-captured+mutated' and `cconv-lambda-candidates' variables
@@ -707,7 +764,7 @@ and updates the data stored in ENV."
707 (cconv-analyse-form form env)) 764 (cconv-analyse-form form env))
708 765
709 (dolist (vardata newvars) 766 (dolist (vardata newvars)
710 (cconv-analyse-use vardata form)))) 767 (cconv-analyse-use vardata form "variable"))))
711 768
712 ; defun special form 769 ; defun special form
713 (`(,(or `defun `defmacro) ,func ,vrs . ,body-forms) 770 (`(,(or `defun `defmacro) ,func ,vrs . ,body-forms)
@@ -736,8 +793,7 @@ and updates the data stored in ENV."
736 793
737 (`(cond . ,cond-forms) ; cond special form 794 (`(cond . ,cond-forms) ; cond special form
738 (dolist (forms cond-forms) 795 (dolist (forms cond-forms)
739 (dolist (form forms) 796 (dolist (form forms) (cconv-analyse-form form env))))
740 (cconv-analyse-form form env))))
741 797
742 (`(quote . ,_) nil) ; quote form 798 (`(quote . ,_) nil) ; quote form
743 (`(function . ,_) nil) ; same as quote 799 (`(function . ,_) nil) ; same as quote
@@ -773,12 +829,18 @@ and updates the data stored in ENV."
773 (if fdata 829 (if fdata
774 (setf (nth 4 fdata) t) 830 (setf (nth 4 fdata) t)
775 (cconv-analyse-form fun env))) 831 (cconv-analyse-form fun env)))
776 (dolist (form args) 832 (dolist (form args) (cconv-analyse-form form env)))
777 (cconv-analyse-form form env))) 833
778 834 (`(interactive . ,forms)
835 ;; These appear within the function body but they don't have access
836 ;; to the function's arguments.
837 ;; We could extend this to allow interactive specs to refer to
838 ;; variables in the function's enclosing environment, but it doesn't
839 ;; seem worth the trouble.
840 (dolist (form forms) (cconv-analyse-form form nil)))
841
779 (`(,_ . ,body-forms) ; First element is a function or whatever. 842 (`(,_ . ,body-forms) ; First element is a function or whatever.
780 (dolist (form body-forms) 843 (dolist (form body-forms) (cconv-analyse-form form env)))
781 (cconv-analyse-form form env)))
782 844
783 ((pred symbolp) 845 ((pred symbolp)
784 (let ((dv (assq form env))) ; dv = declared and visible 846 (let ((dv (assq form env))) ; dv = declared and visible
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index d795dbd390c..89bbff980c4 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -431,7 +431,7 @@ and otherwise defers to REST which is a list of branches of the form
431 rest))))))) 431 rest)))))))
432 ((eq 'match (caar matches)) 432 ((eq 'match (caar matches))
433 (let* ((popmatches (pop matches)) 433 (let* ((popmatches (pop matches))
434 (op (car popmatches)) (cdrpopmatches (cdr popmatches)) 434 (_op (car popmatches)) (cdrpopmatches (cdr popmatches))
435 (sym (car cdrpopmatches)) 435 (sym (car cdrpopmatches))
436 (upat (cdr cdrpopmatches))) 436 (upat (cdr cdrpopmatches)))
437 (cond 437 (cond
@@ -520,7 +520,7 @@ and otherwise defers to REST which is a list of branches of the form
520 (pcase--u1 `((match ,sym . ,(cadr upat))) 520 (pcase--u1 `((match ,sym . ,(cadr upat)))
521 ;; FIXME: This codegen is not careful to share its 521 ;; FIXME: This codegen is not careful to share its
522 ;; code if used several times: code blow up is likely. 522 ;; code if used several times: code blow up is likely.
523 (lambda (vars) 523 (lambda (_vars)
524 ;; `vars' will likely contain bindings which are 524 ;; `vars' will likely contain bindings which are
525 ;; not always available in other paths to 525 ;; not always available in other paths to
526 ;; `rest', so there' no point trying to pass 526 ;; `rest', so there' no point trying to pass
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index b488bc40acd..87fb6a02bd3 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -119,8 +119,11 @@ ARGLIST can also be t or a string of the form \"(FUN ARG1 ARG2 ...)\"."
119 (cdr arg)) 119 (cdr arg))
120 arg) 120 arg)
121 (let ((name (symbol-name arg))) 121 (let ((name (symbol-name arg)))
122 (if (string-match "\\`&" name) arg 122 (cond
123 (intern (upcase name)))))) 123 ((string-match "\\`&" name) arg)
124 ((string-match "\\`_" name)
125 (intern (upcase (substring name 1))))
126 (t (intern (upcase name)))))))
124 arglist))) 127 arglist)))
125 128
126;; Could be this, if we make symbol-file do the work below. 129;; Could be this, if we make symbol-file do the work below.
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 392ec2d3dad..531a0e26eaf 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -210,7 +210,7 @@ You should give VAR a non-nil `risky-local-variable' property."
210 ((vectorp table) ;Obarray. 210 ((vectorp table) ;Obarray.
211 (lambda (sym) (funcall pred (concat prefix (symbol-name sym))))) 211 (lambda (sym) (funcall pred (concat prefix (symbol-name sym)))))
212 ((hash-table-p table) 212 ((hash-table-p table)
213 (lambda (s v) (funcall pred (concat prefix s)))) 213 (lambda (s _v) (funcall pred (concat prefix s))))
214 ((functionp table) 214 ((functionp table)
215 (lambda (s) (funcall pred (concat prefix s)))) 215 (lambda (s) (funcall pred (concat prefix s))))
216 (t ;Lists and alists. 216 (t ;Lists and alists.
@@ -681,7 +681,7 @@ scroll the window of possible completions."
681 t) 681 t)
682 (t t))))) 682 (t t)))))
683 683
684(defun completion--flush-all-sorted-completions (&rest ignore) 684(defun completion--flush-all-sorted-completions (&rest _ignore)
685 (setq completion-cycling nil) 685 (setq completion-cycling nil)
686 (setq completion-all-sorted-completions nil)) 686 (setq completion-all-sorted-completions nil))
687 687
@@ -1313,7 +1313,7 @@ The completion method is determined by `completion-at-point-functions'."
1313 (concat "\\(?:^\\|[^$]\\(?:\\$\\$\\)*\\)" 1313 (concat "\\(?:^\\|[^$]\\(?:\\$\\$\\)*\\)"
1314 "$\\([[:alnum:]_]*\\|{\\([^}]*\\)\\)\\'")) 1314 "$\\([[:alnum:]_]*\\|{\\([^}]*\\)\\)\\'"))
1315 1315
1316(defun completion--embedded-envvar-table (string pred action) 1316(defun completion--embedded-envvar-table (string _pred action)
1317 "Completion table for envvars embedded in a string. 1317 "Completion table for envvars embedded in a string.
1318The envvar syntax (and escaping) rules followed by this table are the 1318The envvar syntax (and escaping) rules followed by this table are the
1319same as `substitute-in-file-name'." 1319same as `substitute-in-file-name'."
@@ -1726,13 +1726,13 @@ Like `internal-complete-buffer', but removes BUFFER from the completion list."
1726 1726
1727;;; Old-style completion, used in Emacs-21 and Emacs-22. 1727;;; Old-style completion, used in Emacs-21 and Emacs-22.
1728 1728
1729(defun completion-emacs21-try-completion (string table pred point) 1729(defun completion-emacs21-try-completion (string table pred _point)
1730 (let ((completion (try-completion string table pred))) 1730 (let ((completion (try-completion string table pred)))
1731 (if (stringp completion) 1731 (if (stringp completion)
1732 (cons completion (length completion)) 1732 (cons completion (length completion))
1733 completion))) 1733 completion)))
1734 1734
1735(defun completion-emacs21-all-completions (string table pred point) 1735(defun completion-emacs21-all-completions (string table pred _point)
1736 (completion-hilit-commonality 1736 (completion-hilit-commonality
1737 (all-completions string table pred) 1737 (all-completions string table pred)
1738 (length string) 1738 (length string)
@@ -1817,7 +1817,7 @@ Return the new suffix."
1817 (let* ((beforepoint (substring string 0 point)) 1817 (let* ((beforepoint (substring string 0 point))
1818 (afterpoint (substring string point)) 1818 (afterpoint (substring string point))
1819 (bounds (completion-boundaries beforepoint table pred afterpoint)) 1819 (bounds (completion-boundaries beforepoint table pred afterpoint))
1820 (suffix (substring afterpoint (cdr bounds))) 1820 ;; (suffix (substring afterpoint (cdr bounds)))
1821 (prefix (substring beforepoint 0 (car bounds))) 1821 (prefix (substring beforepoint 0 (car bounds)))
1822 (pattern (delete 1822 (pattern (delete
1823 "" (list (substring beforepoint (car bounds)) 1823 "" (list (substring beforepoint (car bounds))
@@ -2006,7 +2006,7 @@ filter out additional entries (because TABLE migth not obey PRED)."
2006 ;; The prefix has no completions at all, so we should try and fix 2006 ;; The prefix has no completions at all, so we should try and fix
2007 ;; that first. 2007 ;; that first.
2008 (let ((substring (substring prefix 0 -1))) 2008 (let ((substring (substring prefix 0 -1)))
2009 (destructuring-bind (subpat suball subprefix subsuffix) 2009 (destructuring-bind (subpat suball subprefix _subsuffix)
2010 (completion-pcm--find-all-completions 2010 (completion-pcm--find-all-completions
2011 substring table pred (length substring) filter) 2011 substring table pred (length substring) filter)
2012 (let ((sep (aref prefix (1- (length prefix)))) 2012 (let ((sep (aref prefix (1- (length prefix))))
@@ -2071,7 +2071,7 @@ filter out additional entries (because TABLE migth not obey PRED)."
2071 (list pattern all prefix suffix))))) 2071 (list pattern all prefix suffix)))))
2072 2072
2073(defun completion-pcm-all-completions (string table pred point) 2073(defun completion-pcm-all-completions (string table pred point)
2074 (destructuring-bind (pattern all &optional prefix suffix) 2074 (destructuring-bind (pattern all &optional prefix _suffix)
2075 (completion-pcm--find-all-completions string table pred point) 2075 (completion-pcm--find-all-completions string table pred point)
2076 (when all 2076 (when all
2077 (nconc (completion-pcm--hilit-commonality pattern all) 2077 (nconc (completion-pcm--hilit-commonality pattern all)
@@ -2246,14 +2246,14 @@ filter out additional entries (because TABLE migth not obey PRED)."
2246 (list all pattern prefix suffix (car bounds)))) 2246 (list all pattern prefix suffix (car bounds))))
2247 2247
2248(defun completion-substring-try-completion (string table pred point) 2248(defun completion-substring-try-completion (string table pred point)
2249 (destructuring-bind (all pattern prefix suffix carbounds) 2249 (destructuring-bind (all pattern prefix suffix _carbounds)
2250 (completion-substring--all-completions string table pred point) 2250 (completion-substring--all-completions string table pred point)
2251 (if minibuffer-completing-file-name 2251 (if minibuffer-completing-file-name
2252 (setq all (completion-pcm--filename-try-filter all))) 2252 (setq all (completion-pcm--filename-try-filter all)))
2253 (completion-pcm--merge-try pattern all prefix suffix))) 2253 (completion-pcm--merge-try pattern all prefix suffix)))
2254 2254
2255(defun completion-substring-all-completions (string table pred point) 2255(defun completion-substring-all-completions (string table pred point)
2256 (destructuring-bind (all pattern prefix suffix carbounds) 2256 (destructuring-bind (all pattern prefix _suffix _carbounds)
2257 (completion-substring--all-completions string table pred point) 2257 (completion-substring--all-completions string table pred point)
2258 (when all 2258 (when all
2259 (nconc (completion-pcm--hilit-commonality pattern all) 2259 (nconc (completion-pcm--hilit-commonality pattern all)
@@ -2290,12 +2290,12 @@ filter out additional entries (because TABLE migth not obey PRED)."
2290 (concat (substring str 0 (car bounds)) 2290 (concat (substring str 0 (car bounds))
2291 (mapconcat 'string (substring str (car bounds)) sep)))))))) 2291 (mapconcat 'string (substring str (car bounds)) sep))))))))
2292 2292
2293(defun completion-initials-all-completions (string table pred point) 2293(defun completion-initials-all-completions (string table pred _point)
2294 (let ((newstr (completion-initials-expand string table pred))) 2294 (let ((newstr (completion-initials-expand string table pred)))
2295 (when newstr 2295 (when newstr
2296 (completion-pcm-all-completions newstr table pred (length newstr))))) 2296 (completion-pcm-all-completions newstr table pred (length newstr)))))
2297 2297
2298(defun completion-initials-try-completion (string table pred point) 2298(defun completion-initials-try-completion (string table pred _point)
2299 (let ((newstr (completion-initials-expand string table pred))) 2299 (let ((newstr (completion-initials-expand string table pred)))
2300 (when newstr 2300 (when newstr
2301 (completion-pcm-try-completion newstr table pred (length newstr))))) 2301 (completion-pcm-try-completion newstr table pred (length newstr)))))
diff --git a/lisp/mpc.el b/lisp/mpc.el
index 548fd17d038..10e8c9d7688 100644
--- a/lisp/mpc.el
+++ b/lisp/mpc.el
@@ -357,14 +357,14 @@ which will be concatenated with proper quoting before passing them to MPD."
357 (mapconcat 'mpc--proc-quote-string cmd " ")) 357 (mapconcat 'mpc--proc-quote-string cmd " "))
358 "\n"))) 358 "\n")))
359 (if callback 359 (if callback
360 (let ((buf (current-buffer))) 360 ;; (let ((buf (current-buffer)))
361 (process-put proc 'callback 361 (process-put proc 'callback
362 callback 362 callback
363 ;; (lambda () 363 ;; (lambda ()
364 ;; (funcall callback 364 ;; (funcall callback
365 ;; (prog1 (current-buffer) 365 ;; (prog1 (current-buffer)
366 ;; (set-buffer buf)))) 366 ;; (set-buffer buf)))))
367 )) 367 )
368 ;; If `callback' is nil, we're executing synchronously. 368 ;; If `callback' is nil, we're executing synchronously.
369 (process-put proc 'callback 'ignore) 369 (process-put proc 'callback 'ignore)
370 ;; This returns the process's buffer. 370 ;; This returns the process's buffer.
@@ -600,7 +600,7 @@ The songs are returned as alists."
600 (cond 600 (cond
601 ((eq tag 'Playlist) 601 ((eq tag 'Playlist)
602 ;; Special case for pseudo-tag playlist. 602 ;; Special case for pseudo-tag playlist.
603 (let ((l (condition-case err 603 (let ((l (condition-case nil
604 (mpc-proc-buf-to-alists 604 (mpc-proc-buf-to-alists
605 (mpc-proc-cmd (list "listplaylistinfo" value))) 605 (mpc-proc-cmd (list "listplaylistinfo" value)))
606 (mpc-proc-error 606 (mpc-proc-error
@@ -633,7 +633,7 @@ The songs are returned as alists."
633 (mpc-union (mpc-cmd-find tag1 value) 633 (mpc-union (mpc-cmd-find tag1 value)
634 (mpc-cmd-find tag2 value)))) 634 (mpc-cmd-find tag2 value))))
635 (t 635 (t
636 (condition-case err 636 (condition-case nil
637 (mpc-proc-buf-to-alists 637 (mpc-proc-buf-to-alists
638 (mpc-proc-cmd (list "find" (symbol-name tag) value))) 638 (mpc-proc-cmd (list "find" (symbol-name tag) value)))
639 (mpc-proc-error 639 (mpc-proc-error
@@ -935,7 +935,7 @@ If PLAYLIST is t or nil or missing, use the main playlist."
935 935
936(defun mpc-tempfiles-clean () 936(defun mpc-tempfiles-clean ()
937 (let ((live ())) 937 (let ((live ()))
938 (maphash (lambda (k v) (push v live)) mpc-tempfiles-reftable) 938 (maphash (lambda (_k v) (push v live)) mpc-tempfiles-reftable)
939 (dolist (f mpc-tempfiles) 939 (dolist (f mpc-tempfiles)
940 (unless (member f live) (ignore-errors (delete-file f)))) 940 (unless (member f live) (ignore-errors (delete-file f))))
941 (setq mpc-tempfiles live))) 941 (setq mpc-tempfiles live)))
@@ -1159,7 +1159,7 @@ If PLAYLIST is t or nil or missing, use the main playlist."
1159 (mpc-status-mode)) 1159 (mpc-status-mode))
1160 (mpc-proc-buffer (mpc-proc) 'status buf)) 1160 (mpc-proc-buffer (mpc-proc) 'status buf))
1161 (if (null songs-win) (pop-to-buffer buf) 1161 (if (null songs-win) (pop-to-buffer buf)
1162 (let ((win (split-window songs-win 20 t))) 1162 (let ((_win (split-window songs-win 20 t)))
1163 (set-window-dedicated-p songs-win nil) 1163 (set-window-dedicated-p songs-win nil)
1164 (set-window-buffer songs-win buf) 1164 (set-window-buffer songs-win buf)
1165 (set-window-dedicated-p songs-win 'soft))))) 1165 (set-window-dedicated-p songs-win 'soft)))))
@@ -2385,15 +2385,13 @@ This is used so that they can be compared with `eq', which is needed for
2385 (mpc--faster-stop) 2385 (mpc--faster-stop)
2386 (mpc-status-refresh) (mpc-proc-sync) 2386 (mpc-status-refresh) (mpc-proc-sync)
2387 (let* (songid ;The ID of the currently ffwd/rewinding song. 2387 (let* (songid ;The ID of the currently ffwd/rewinding song.
2388 songnb ;The position of that song in the playlist.
2389 songduration ;The duration of that song. 2388 songduration ;The duration of that song.
2390 songtime ;The time of the song last time we ran. 2389 songtime ;The time of the song last time we ran.
2391 oldtime ;The timeoftheday last time we ran. 2390 oldtime ;The timeoftheday last time we ran.
2392 prevsongid) ;The song we're in the process leaving. 2391 prevsongid) ;The song we're in the process leaving.
2393 (let ((fun 2392 (let ((fun
2394 (lambda () 2393 (lambda ()
2395 (let ((newsongid (cdr (assq 'songid mpc-status))) 2394 (let ((newsongid (cdr (assq 'songid mpc-status))))
2396 (newsongnb (cdr (assq 'song mpc-status))))
2397 2395
2398 (if (and (equal prevsongid newsongid) 2396 (if (and (equal prevsongid newsongid)
2399 (not (equal prevsongid songid))) 2397 (not (equal prevsongid songid)))
@@ -2444,8 +2442,7 @@ This is used so that they can be compared with `eq', which is needed for
2444 (mpc-proc-cmd 2442 (mpc-proc-cmd
2445 (list "seekid" songid songtime) 2443 (list "seekid" songid songtime)
2446 'mpc-status-refresh) 2444 'mpc-status-refresh)
2447 (mpc-proc-error (mpc-status-refresh))))))) 2445 (mpc-proc-error (mpc-status-refresh)))))))))))
2448 (setq songnb newsongnb)))))
2449 (setq mpc--faster-toggle-forward (> step 0)) 2446 (setq mpc--faster-toggle-forward (> step 0))
2450 (funcall fun) ;Initialize values. 2447 (funcall fun) ;Initialize values.
2451 (setq mpc--faster-toggle-timer 2448 (setq mpc--faster-toggle-timer
diff --git a/lisp/server.el b/lisp/server.el
index 79204b3cb8e..019a16a43d7 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -418,10 +418,11 @@ If CLIENT is non-nil, add a description of it to the logged message."
418 (server-delete-client proc 'noframe)))) ; Let delete-frame delete the frame later. 418 (server-delete-client proc 'noframe)))) ; Let delete-frame delete the frame later.
419 419
420(defun server-handle-suspend-tty (terminal) 420(defun server-handle-suspend-tty (terminal)
421 "Notify the emacsclient process to suspend itself when its tty device is suspended." 421 "Notify the client process that its tty device is suspended."
422 (dolist (proc (server-clients-with 'terminal terminal)) 422 (dolist (proc (server-clients-with 'terminal terminal))
423 (server-log (format "server-handle-suspend-tty, terminal %s" terminal) proc) 423 (server-log (format "server-handle-suspend-tty, terminal %s" terminal)
424 (condition-case err 424 proc)
425 (condition-case nil
425 (server-send-string proc "-suspend \n") 426 (server-send-string proc "-suspend \n")
426 (file-error ;The pipe/socket was closed. 427 (file-error ;The pipe/socket was closed.
427 (ignore-errors (server-delete-client proc)))))) 428 (ignore-errors (server-delete-client proc))))))
@@ -1207,7 +1208,10 @@ so don't mark these buffers specially, just visit them normally."
1207 (process-put proc 'buffers 1208 (process-put proc 'buffers
1208 (nconc (process-get proc 'buffers) client-record))) 1209 (nconc (process-get proc 'buffers) client-record)))
1209 client-record)) 1210 client-record))
1210 1211
1212(defvar server-kill-buffer-running nil
1213 "Non-nil while `server-kill-buffer' or `server-buffer-done' is running.")
1214
1211(defun server-buffer-done (buffer &optional for-killing) 1215(defun server-buffer-done (buffer &optional for-killing)
1212 "Mark BUFFER as \"done\" for its client(s). 1216 "Mark BUFFER as \"done\" for its client(s).
1213This buries the buffer, then returns a list of the form (NEXT-BUFFER KILLED). 1217This buries the buffer, then returns a list of the form (NEXT-BUFFER KILLED).
@@ -1329,9 +1333,6 @@ specifically for the clients and did not exist before their request for it."
1329 (setq live-client t)))) 1333 (setq live-client t))))
1330 (yes-or-no-p "This Emacs session has clients; exit anyway? "))) 1334 (yes-or-no-p "This Emacs session has clients; exit anyway? ")))
1331 1335
1332(defvar server-kill-buffer-running nil
1333 "Non-nil while `server-kill-buffer' or `server-buffer-done' is running.")
1334
1335(defun server-kill-buffer () 1336(defun server-kill-buffer ()
1336 "Remove the current buffer from its clients' buffer list. 1337 "Remove the current buffer from its clients' buffer list.
1337Designed to be added to `kill-buffer-hook'." 1338Designed to be added to `kill-buffer-hook'."
diff --git a/src/ChangeLog b/src/ChangeLog
index e7902b8c083..c638e1fa4b5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * callint.c (quotify_arg): Simplify the logic.
4 (Fcall_interactively): Use lexical binding when evaluating the
5 interactive spec of a lexically bound function.
6
12011-02-25 Stefan Monnier <monnier@iro.umontreal.ca> 72011-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * eval.c (Qcurry): Remove. 9 * eval.c (Qcurry): Remove.
diff --git a/src/callint.c b/src/callint.c
index 253f2b9dd09..a0efc4bbfe4 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -121,8 +121,9 @@ usage: (interactive &optional ARGS) */)
121Lisp_Object 121Lisp_Object
122quotify_arg (register Lisp_Object exp) 122quotify_arg (register Lisp_Object exp)
123{ 123{
124 if (!INTEGERP (exp) && !STRINGP (exp) 124 if (CONSP (exp)
125 && !NILP (exp) && !EQ (exp, Qt)) 125 || (SYMBOLP (exp)
126 && !NILP (exp) && !EQ (exp, Qt)))
126 return Fcons (Qquote, Fcons (exp, Qnil)); 127 return Fcons (Qquote, Fcons (exp, Qnil));
127 128
128 return exp; 129 return exp;
@@ -169,6 +170,9 @@ check_mark (int for_region)
169static void 170static void
170fix_command (Lisp_Object input, Lisp_Object values) 171fix_command (Lisp_Object input, Lisp_Object values)
171{ 172{
173 /* FIXME: Instead of this ugly hack, we should provide a way for an
174 interactive spec to return an expression that will re-build the args
175 without user intervention. */
172 if (CONSP (input)) 176 if (CONSP (input))
173 { 177 {
174 Lisp_Object car; 178 Lisp_Object car;
@@ -331,11 +335,14 @@ invoke it. If KEYS is omitted or nil, the return value of
331 else 335 else
332 { 336 {
333 Lisp_Object input; 337 Lisp_Object input;
338 Lisp_Object funval = Findirect_function (function, Qt);
334 i = num_input_events; 339 i = num_input_events;
335 input = specs; 340 input = specs;
336 /* Compute the arg values using the user's expression. */ 341 /* Compute the arg values using the user's expression. */
337 GCPRO2 (input, filter_specs); 342 GCPRO2 (input, filter_specs);
338 specs = Feval (specs, Qnil); /* FIXME: lexbind */ 343 specs = Feval (specs,
344 CONSP (funval) && EQ (Qclosure, XCAR (funval))
345 ? Qt : Qnil);
339 UNGCPRO; 346 UNGCPRO;
340 if (i != num_input_events || !NILP (record_flag)) 347 if (i != num_input_events || !NILP (record_flag))
341 { 348 {