diff options
| -rw-r--r-- | aclocal.m4 | 4 | ||||
| -rwxr-xr-x | configure | 795 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/elisp.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/eval.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 111 | ||||
| -rw-r--r-- | lisp/ChangeLog | 30 | ||||
| -rw-r--r-- | lisp/ChangeLog.funvec | 10 | ||||
| -rw-r--r-- | lisp/Makefile.in | 3 | ||||
| -rw-r--r-- | lisp/custom.el | 39 | ||||
| -rw-r--r-- | lisp/dired.el | 22 | ||||
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 28 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cconv.el | 128 | ||||
| -rw-r--r-- | lisp/emacs-lisp/pcase.el | 4 | ||||
| -rw-r--r-- | lisp/help-fns.el | 7 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 24 | ||||
| -rw-r--r-- | lisp/mpc.el | 21 | ||||
| -rw-r--r-- | lisp/server.el | 15 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/callint.c | 13 |
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 | ||
| 14 | m4_ifndef([AC_AUTOCONF_VERSION], | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
| 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | 16 | m4_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. |
| 18 | You have another version of autoconf. It may work, but is not guaranteed to. | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
| 19 | If you have problems, you may need to regenerate the build system entirely. | 19 | If you have problems, you may need to regenerate the build system entirely. |
| 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
| @@ -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 | |||
| 89 | IFS=" "" $as_nl" | 89 | IFS=" "" $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. |
| 92 | as_myself= | ||
| 92 | case $0 in #(( | 93 | case $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+"$@"} | ||
| 222 | fi | 230 | fi |
| 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 | |||
| 1153 | LIBS | 1161 | LIBS |
| 1154 | CPPFLAGS | 1162 | CPPFLAGS |
| 1155 | CPP | 1163 | CPP |
| 1164 | CPPFLAGS | ||
| 1165 | CPP | ||
| 1166 | CPPFLAGS | ||
| 1156 | XMKMF' | 1167 | XMKMF' |
| 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 | |||
| 1932 | if $ac_init_version; then | 1943 | if $ac_init_version; then |
| 1933 | cat <<\_ACEOF | 1944 | cat <<\_ACEOF |
| 1934 | emacs configure 24.0.50 | 1945 | emacs configure 24.0.50 |
| 1935 | generated by GNU Autoconf 2.67 | 1946 | generated by GNU Autoconf 2.68 |
| 1936 | 1947 | ||
| 1937 | Copyright (C) 2010 Free Software Foundation, Inc. | 1948 | Copyright (C) 2010 Free Software Foundation, Inc. |
| 1938 | This configure script is free software; the Free Software Foundation | 1949 | This 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 |
| 1980 | fi | 1991 | fi |
| 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 |
| 2017 | fi | 2028 | fi |
| 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 | |||
| 2028 | ac_fn_c_check_header_mongrel () | 2039 | ac_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; } |
| 2034 | if eval "test \"\${$3+set}\"" = set; then : | 2045 | if eval \${$3+:} false; then : |
| 2035 | $as_echo_n "(cached) " >&6 | 2046 | $as_echo_n "(cached) " >&6 |
| 2036 | fi | 2047 | fi |
| 2037 | eval ac_res=\$$3 | 2048 | eval ac_res=\$$3 |
| @@ -2094,7 +2105,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |||
| 2094 | esac | 2105 | esac |
| 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; } |
| 2097 | if eval "test \"\${$3+set}\"" = set; then : | 2108 | if eval \${$3+:} false; then : |
| 2098 | $as_echo_n "(cached) " >&6 | 2109 | $as_echo_n "(cached) " >&6 |
| 2099 | else | 2110 | else |
| 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; } |
| 2105 | fi | 2116 | fi |
| 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 |
| 2145 | fi | 2156 | fi |
| 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; } |
| 2161 | if eval "test \"\${$3+set}\"" = set; then : | 2172 | if eval \${$3+:} false; then : |
| 2162 | $as_echo_n "(cached) " >&6 | 2173 | $as_echo_n "(cached) " >&6 |
| 2163 | else | 2174 | else |
| 2164 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -2176,7 +2187,7 @@ fi | |||
| 2176 | eval ac_res=\$$3 | 2187 | eval 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; } |
| 2240 | if eval "test \"\${$3+set}\"" = set; then : | 2251 | if eval \${$3+:} false; then : |
| 2241 | $as_echo_n "(cached) " >&6 | 2252 | $as_echo_n "(cached) " >&6 |
| 2242 | else | 2253 | else |
| 2243 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -2268,7 +2279,7 @@ fi | |||
| 2268 | eval ac_res=\$$3 | 2279 | eval 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; } |
| 2283 | if eval "test \"\${$3+set}\"" = set; then : | 2294 | if eval \${$3+:} false; then : |
| 2284 | $as_echo_n "(cached) " >&6 | 2295 | $as_echo_n "(cached) " >&6 |
| 2285 | else | 2296 | else |
| 2286 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -2297,7 +2308,7 @@ fi | |||
| 2297 | eval ac_res=\$$3 | 2308 | eval 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; } |
| 2313 | if eval "test \"\${$4+set}\"" = set; then : | 2324 | if eval \${$4+:} false; then : |
| 2314 | $as_echo_n "(cached) " >&6 | 2325 | $as_echo_n "(cached) " >&6 |
| 2315 | else | 2326 | else |
| 2316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2327 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -2354,7 +2365,7 @@ fi | |||
| 2354 | eval ac_res=\$$4 | 2365 | eval 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; } |
| 2369 | if eval "test \"\${$3+set}\"" = set; then : | 2380 | if eval \${$3+:} false; then : |
| 2370 | $as_echo_n "(cached) " >&6 | 2381 | $as_echo_n "(cached) " >&6 |
| 2371 | else | 2382 | else |
| 2372 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2383 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -2421,7 +2432,7 @@ fi | |||
| 2421 | eval ac_res=\$$3 | 2432 | eval 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; } |
| 2437 | if eval "test \"\${$3+set}\"" = set; then : | 2448 | if eval \${$3+:} false; then : |
| 2438 | $as_echo_n "(cached) " >&6 | 2449 | $as_echo_n "(cached) " >&6 |
| 2439 | else | 2450 | else |
| 2440 | eval "$3=no" | 2451 | eval "$3=no" |
| @@ -2475,7 +2486,7 @@ fi | |||
| 2475 | eval ac_res=\$$3 | 2486 | eval 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 \ | |||
| 2652 | rm -f conftest.val | 2663 | rm -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 | |||
| 2661 | running configure, to aid debugging if configure makes a mistake. | 2672 | running configure, to aid debugging if configure makes a mistake. |
| 2662 | 2673 | ||
| 2663 | It was created by emacs $as_me 24.0.50, which was | 2674 | It was created by emacs $as_me 24.0.50, which was |
| 2664 | generated by GNU Autoconf 2.67. Invocation command line was | 2675 | generated 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;} |
| 2921 | as_fn_error $? "failed to load site script $ac_site_file | 2932 | as_fn_error $? "failed to load site script $ac_site_file |
| 2922 | See \`config.log' for more details" "$LINENO" 5 ; } | 2933 | See \`config.log' for more details" "$LINENO" 5; } |
| 2923 | fi | 2934 | fi |
| 2924 | done | 2935 | done |
| 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; } |
| 3073 | if test -z "$INSTALL"; then | 3084 | if test -z "$INSTALL"; then |
| 3074 | if test "${ac_cv_path_install+set}" = set; then : | 3085 | if ${ac_cv_path_install+:} false; then : |
| 3075 | $as_echo_n "(cached) " >&6 | 3086 | $as_echo_n "(cached) " >&6 |
| 3076 | else | 3087 | else |
| 3077 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -3158,11 +3169,11 @@ am_lf=' | |||
| 3158 | ' | 3169 | ' |
| 3159 | case `pwd` in | 3170 | case `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;; |
| 3162 | esac | 3173 | esac |
| 3163 | case $srcdir in | 3174 | case $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;; |
| 3166 | esac | 3177 | esac |
| 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 | |||
| 3248 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 3259 | set 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; } |
| 3251 | if test "${ac_cv_prog_STRIP+set}" = set; then : | 3262 | if ${ac_cv_prog_STRIP+:} false; then : |
| 3252 | $as_echo_n "(cached) " >&6 | 3263 | $as_echo_n "(cached) " >&6 |
| 3253 | else | 3264 | else |
| 3254 | if test -n "$STRIP"; then | 3265 | if test -n "$STRIP"; then |
| @@ -3288,7 +3299,7 @@ if test -z "$ac_cv_prog_STRIP"; then | |||
| 3288 | set dummy strip; ac_word=$2 | 3299 | set 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; } |
| 3291 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | 3302 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 3292 | $as_echo_n "(cached) " >&6 | 3303 | $as_echo_n "(cached) " >&6 |
| 3293 | else | 3304 | else |
| 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; } |
| 3343 | if test -z "$MKDIR_P"; then | 3354 | if 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 |
| 3346 | else | 3357 | else |
| 3347 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -3393,7 +3404,7 @@ do | |||
| 3393 | set dummy $ac_prog; ac_word=$2 | 3404 | set 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; } |
| 3396 | if test "${ac_cv_prog_AWK+set}" = set; then : | 3407 | if ${ac_cv_prog_AWK+:} false; then : |
| 3397 | $as_echo_n "(cached) " >&6 | 3408 | $as_echo_n "(cached) " >&6 |
| 3398 | else | 3409 | else |
| 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; } |
| 3434 | set x ${MAKE-make} | 3445 | set x ${MAKE-make} |
| 3435 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 3446 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3436 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 3447 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 3437 | $as_echo_n "(cached) " >&6 | 3448 | $as_echo_n "(cached) " >&6 |
| 3438 | else | 3449 | else |
| 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 |
| 3996 | done | 4007 | done |
| 3997 | IFS="$ac_save_IFS" | 4008 | IFS="$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; } |
| 4113 | if test "${ac_cv_build+set}" = set; then : | 4124 | if ${ac_cv_build+:} false; then : |
| 4114 | $as_echo_n "(cached) " >&6 | 4125 | $as_echo_n "(cached) " >&6 |
| 4115 | else | 4126 | else |
| 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; } |
| 4127 | case $ac_cv_build in | 4138 | case $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;; |
| 4130 | esac | 4141 | esac |
| 4131 | build=$ac_cv_build | 4142 | build=$ac_cv_build |
| 4132 | ac_save_IFS=$IFS; IFS='-' | 4143 | ac_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; } |
| 4147 | if test "${ac_cv_host+set}" = set; then : | 4158 | if ${ac_cv_host+:} false; then : |
| 4148 | $as_echo_n "(cached) " >&6 | 4159 | $as_echo_n "(cached) " >&6 |
| 4149 | else | 4160 | else |
| 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; } |
| 4160 | case $ac_cv_host in | 4171 | case $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;; |
| 4163 | esac | 4174 | esac |
| 4164 | host=$ac_cv_host | 4175 | host=$ac_cv_host |
| 4165 | ac_save_IFS=$IFS; IFS='-' | 4176 | ac_save_IFS=$IFS; IFS='-' |
| @@ -4441,7 +4452,7 @@ if test -n "$ac_tool_prefix"; then | |||
| 4441 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 4452 | set 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; } |
| 4444 | if test "${ac_cv_prog_CC+set}" = set; then : | 4455 | if ${ac_cv_prog_CC+:} false; then : |
| 4445 | $as_echo_n "(cached) " >&6 | 4456 | $as_echo_n "(cached) " >&6 |
| 4446 | else | 4457 | else |
| 4447 | if test -n "$CC"; then | 4458 | if test -n "$CC"; then |
| @@ -4481,7 +4492,7 @@ if test -z "$ac_cv_prog_CC"; then | |||
| 4481 | set dummy gcc; ac_word=$2 | 4492 | set 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; } |
| 4484 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 4495 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 4485 | $as_echo_n "(cached) " >&6 | 4496 | $as_echo_n "(cached) " >&6 |
| 4486 | else | 4497 | else |
| 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 | |||
| 4534 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 4545 | set 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; } |
| 4537 | if test "${ac_cv_prog_CC+set}" = set; then : | 4548 | if ${ac_cv_prog_CC+:} false; then : |
| 4538 | $as_echo_n "(cached) " >&6 | 4549 | $as_echo_n "(cached) " >&6 |
| 4539 | else | 4550 | else |
| 4540 | if test -n "$CC"; then | 4551 | if test -n "$CC"; then |
| @@ -4574,7 +4585,7 @@ if test -z "$CC"; then | |||
| 4574 | set dummy cc; ac_word=$2 | 4585 | set 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; } |
| 4577 | if test "${ac_cv_prog_CC+set}" = set; then : | 4588 | if ${ac_cv_prog_CC+:} false; then : |
| 4578 | $as_echo_n "(cached) " >&6 | 4589 | $as_echo_n "(cached) " >&6 |
| 4579 | else | 4590 | else |
| 4580 | if test -n "$CC"; then | 4591 | if test -n "$CC"; then |
| @@ -4633,7 +4644,7 @@ if test -z "$CC"; then | |||
| 4633 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 4644 | set 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; } |
| 4636 | if test "${ac_cv_prog_CC+set}" = set; then : | 4647 | if ${ac_cv_prog_CC+:} false; then : |
| 4637 | $as_echo_n "(cached) " >&6 | 4648 | $as_echo_n "(cached) " >&6 |
| 4638 | else | 4649 | else |
| 4639 | if test -n "$CC"; then | 4650 | if test -n "$CC"; then |
| @@ -4677,7 +4688,7 @@ do | |||
| 4677 | set dummy $ac_prog; ac_word=$2 | 4688 | set 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; } |
| 4680 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 4691 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 4681 | $as_echo_n "(cached) " >&6 | 4692 | $as_echo_n "(cached) " >&6 |
| 4682 | else | 4693 | else |
| 4683 | if test -n "$ac_ct_CC"; then | 4694 | if test -n "$ac_ct_CC"; then |
| @@ -4732,7 +4743,7 @@ fi | |||
| 4732 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4743 | test -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;} |
| 4734 | as_fn_error $? "no acceptable C compiler found in \$PATH | 4745 | as_fn_error $? "no acceptable C compiler found in \$PATH |
| 4735 | See \`config.log' for more details" "$LINENO" 5 ; } | 4746 | See \`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;} |
| 4849 | as_fn_error 77 "C compiler cannot create executables | 4860 | as_fn_error 77 "C compiler cannot create executables |
| 4850 | See \`config.log' for more details" "$LINENO" 5 ; } | 4861 | See \`config.log' for more details" "$LINENO" 5; } |
| 4851 | else | 4862 | else |
| 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;} |
| 4892 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 4903 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 4893 | See \`config.log' for more details" "$LINENO" 5 ; } | 4904 | See \`config.log' for more details" "$LINENO" 5; } |
| 4894 | fi | 4905 | fi |
| 4895 | rm -f conftest conftest$ac_cv_exeext | 4906 | rm -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;} |
| 4950 | as_fn_error $? "cannot run C compiled programs. | 4961 | as_fn_error $? "cannot run C compiled programs. |
| 4951 | If you meant to cross compile, use \`--host'. | 4962 | If you meant to cross compile, use \`--host'. |
| 4952 | See \`config.log' for more details" "$LINENO" 5 ; } | 4963 | See \`config.log' for more details" "$LINENO" 5; } |
| 4953 | fi | 4964 | fi |
| 4954 | fi | 4965 | fi |
| 4955 | fi | 4966 | fi |
| @@ -4960,7 +4971,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |||
| 4960 | ac_clean_files=$ac_clean_files_save | 4971 | ac_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; } |
| 4963 | if test "${ac_cv_objext+set}" = set; then : | 4974 | if ${ac_cv_objext+:} false; then : |
| 4964 | $as_echo_n "(cached) " >&6 | 4975 | $as_echo_n "(cached) " >&6 |
| 4965 | else | 4976 | else |
| 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;} |
| 5003 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 5014 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 5004 | See \`config.log' for more details" "$LINENO" 5 ; } | 5015 | See \`config.log' for more details" "$LINENO" 5; } |
| 5005 | fi | 5016 | fi |
| 5006 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 5017 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 5007 | fi | 5018 | fi |
| @@ -5011,7 +5022,7 @@ OBJEXT=$ac_cv_objext | |||
| 5011 | ac_objext=$OBJEXT | 5022 | ac_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; } |
| 5014 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 5025 | if ${ac_cv_c_compiler_gnu+:} false; then : |
| 5015 | $as_echo_n "(cached) " >&6 | 5026 | $as_echo_n "(cached) " >&6 |
| 5016 | else | 5027 | else |
| 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} | |||
| 5048 | ac_save_CFLAGS=$CFLAGS | 5059 | ac_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; } |
| 5051 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 5062 | if ${ac_cv_prog_cc_g+:} false; then : |
| 5052 | $as_echo_n "(cached) " >&6 | 5063 | $as_echo_n "(cached) " >&6 |
| 5053 | else | 5064 | else |
| 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 | |||
| 5126 | fi | 5137 | fi |
| 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; } |
| 5129 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 5140 | if ${ac_cv_prog_cc_c89+:} false; then : |
| 5130 | $as_echo_n "(cached) " >&6 | 5141 | $as_echo_n "(cached) " >&6 |
| 5131 | else | 5142 | else |
| 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; } |
| 5290 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 5301 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 5291 | $as_echo_n "(cached) " >&6 | 5302 | $as_echo_n "(cached) " >&6 |
| 5292 | else | 5303 | else |
| 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; } | |||
| 5419 | fi | 5430 | fi |
| 5420 | set dummy $CC; ac_cc=`$as_echo "$2" | | 5431 | set 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]/_/'` |
| 5422 | if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : | 5433 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
| 5423 | $as_echo_n "(cached) " >&6 | 5434 | $as_echo_n "(cached) " >&6 |
| 5424 | else | 5435 | else |
| 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 | |||
| 5543 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5554 | set 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; } |
| 5546 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5557 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 5547 | $as_echo_n "(cached) " >&6 | 5558 | $as_echo_n "(cached) " >&6 |
| 5548 | else | 5559 | else |
| 5549 | if test -n "$RANLIB"; then | 5560 | if test -n "$RANLIB"; then |
| @@ -5583,7 +5594,7 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 5583 | set dummy ranlib; ac_word=$2 | 5594 | set 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; } |
| 5586 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5597 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 5587 | $as_echo_n "(cached) " >&6 | 5598 | $as_echo_n "(cached) " >&6 |
| 5588 | else | 5599 | else |
| 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= |
| 5644 | fi | 5655 | fi |
| 5645 | if test -z "$CPP"; then | 5656 | if 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 |
| 5648 | else | 5659 | else |
| 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;} |
| 5761 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 5772 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 5762 | See \`config.log' for more details" "$LINENO" 5 ; } | 5773 | See \`config.log' for more details" "$LINENO" 5; } |
| 5763 | fi | 5774 | fi |
| 5764 | 5775 | ||
| 5765 | ac_ext=c | 5776 | ac_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; } |
| 5774 | if test "${ac_cv_path_GREP+set}" = set; then : | 5785 | if ${ac_cv_path_GREP+:} false; then : |
| 5775 | $as_echo_n "(cached) " >&6 | 5786 | $as_echo_n "(cached) " >&6 |
| 5776 | else | 5787 | else |
| 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; } |
| 5837 | if test "${ac_cv_path_EGREP+set}" = set; then : | 5848 | if ${ac_cv_path_EGREP+:} false; then : |
| 5838 | $as_echo_n "(cached) " >&6 | 5849 | $as_echo_n "(cached) " >&6 |
| 5839 | else | 5850 | else |
| 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; } |
| 5904 | if test "${ac_cv_header_stdc+set}" = set; then : | 5915 | if ${ac_cv_header_stdc+:} false; then : |
| 5905 | $as_echo_n "(cached) " >&6 | 5916 | $as_echo_n "(cached) " >&6 |
| 5906 | else | 5917 | else |
| 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" |
| 6035 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 6046 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
| 6036 | MINIX=yes | 6047 | MINIX=yes |
| 6037 | else | 6048 | else |
| 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; } |
| 6065 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 6076 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
| 6066 | $as_echo_n "(cached) " >&6 | 6077 | $as_echo_n "(cached) " >&6 |
| 6067 | else | 6078 | else |
| 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 |
| 6151 | else | 6162 | else |
| 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= |
| 6315 | fi | 6326 | fi |
| 6316 | if test -z "$CPP"; then | 6327 | if 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 |
| 6319 | else | 6330 | else |
| 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;} |
| 6432 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 6443 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 6433 | See \`config.log' for more details" "$LINENO" 5 ; } | 6444 | See \`config.log' for more details" "$LINENO" 5; } |
| 6434 | fi | 6445 | fi |
| 6435 | 6446 | ||
| 6436 | ac_ext=c | 6447 | ac_ext=c |
| @@ -6446,7 +6457,7 @@ if test "x$RANLIB" = x; then | |||
| 6446 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 6457 | set 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; } |
| 6449 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | 6460 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 6450 | $as_echo_n "(cached) " >&6 | 6461 | $as_echo_n "(cached) " >&6 |
| 6451 | else | 6462 | else |
| 6452 | if test -n "$RANLIB"; then | 6463 | if test -n "$RANLIB"; then |
| @@ -6486,7 +6497,7 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 6486 | set dummy ranlib; ac_word=$2 | 6497 | set 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; } |
| 6489 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 6500 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6490 | $as_echo_n "(cached) " >&6 | 6501 | $as_echo_n "(cached) " >&6 |
| 6491 | else | 6502 | else |
| 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. |
| 6542 | if test "$machine" = "amdx86-64"; then | 6553 | if 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" |
| 6544 | if test "x$ac_cv_have_decl_i386" = x""yes; then : | 6555 | if test "x$ac_cv_have_decl_i386" = xyes; then : |
| 6545 | 6556 | ||
| 6546 | fi | 6557 | fi |
| 6547 | 6558 | ||
| @@ -6556,7 +6567,7 @@ fi | |||
| 6556 | set dummy install-info; ac_word=$2 | 6567 | set 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; } |
| 6559 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 6570 | if ${ac_cv_path_INSTALL_INFO+:} false; then : |
| 6560 | $as_echo_n "(cached) " >&6 | 6571 | $as_echo_n "(cached) " >&6 |
| 6561 | else | 6572 | else |
| 6562 | case $INSTALL_INFO in | 6573 | case $INSTALL_INFO in |
| @@ -6596,7 +6607,7 @@ fi | |||
| 6596 | set dummy install-info; ac_word=$2 | 6607 | set 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; } |
| 6599 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 6610 | if ${ac_cv_path_INSTALL_INFO+:} false; then : |
| 6600 | $as_echo_n "(cached) " >&6 | 6611 | $as_echo_n "(cached) " >&6 |
| 6601 | else | 6612 | else |
| 6602 | case $INSTALL_INFO in | 6613 | case $INSTALL_INFO in |
| @@ -6636,7 +6647,7 @@ fi | |||
| 6636 | set dummy install-info; ac_word=$2 | 6647 | set 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; } |
| 6639 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 6650 | if ${ac_cv_path_INSTALL_INFO+:} false; then : |
| 6640 | $as_echo_n "(cached) " >&6 | 6651 | $as_echo_n "(cached) " >&6 |
| 6641 | else | 6652 | else |
| 6642 | case $INSTALL_INFO in | 6653 | case $INSTALL_INFO in |
| @@ -6677,7 +6688,7 @@ fi | |||
| 6677 | set dummy gzip; ac_word=$2 | 6688 | set 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; } |
| 6680 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 6691 | if ${ac_cv_path_GZIP_PROG+:} false; then : |
| 6681 | $as_echo_n "(cached) " >&6 | 6692 | $as_echo_n "(cached) " >&6 |
| 6682 | else | 6693 | else |
| 6683 | case $GZIP_PROG in | 6694 | case $GZIP_PROG in |
| @@ -6720,7 +6731,7 @@ fi | |||
| 6720 | set dummy makeinfo; ac_word=$2 | 6731 | set 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; } |
| 6723 | if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 6734 | if ${ac_cv_path_MAKEINFO+:} false; then : |
| 6724 | $as_echo_n "(cached) " >&6 | 6735 | $as_echo_n "(cached) " >&6 |
| 6725 | else | 6736 | else |
| 6726 | case $MAKEINFO in | 6737 | case $MAKEINFO in |
| @@ -6926,7 +6937,7 @@ esac | |||
| 6926 | C_SWITCH_MACHINE= | 6937 | C_SWITCH_MACHINE= |
| 6927 | if test "$machine" = "alpha"; then | 6938 | if 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" |
| 6929 | if test "x$ac_cv_have_decl___ELF__" = x""yes; then : | 6940 | if test "x$ac_cv_have_decl___ELF__" = xyes; then : |
| 6930 | 6941 | ||
| 6931 | fi | 6942 | fi |
| 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; } |
| 6997 | if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 7008 | if ${ac_cv_sys_largefile_CC+:} false; then : |
| 6998 | $as_echo_n "(cached) " >&6 | 7009 | $as_echo_n "(cached) " >&6 |
| 6999 | else | 7010 | else |
| 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; } |
| 7048 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 7059 | if ${ac_cv_sys_file_offset_bits+:} false; then : |
| 7049 | $as_echo_n "(cached) " >&6 | 7060 | $as_echo_n "(cached) " >&6 |
| 7050 | else | 7061 | else |
| 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; } |
| 7117 | if test "${ac_cv_sys_large_files+set}" = set; then : | 7128 | if ${ac_cv_sys_large_files+:} false; then : |
| 7118 | $as_echo_n "(cached) " >&6 | 7129 | $as_echo_n "(cached) " >&6 |
| 7119 | else | 7130 | else |
| 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; } |
| 7285 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 7296 | if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then : |
| 7286 | $as_echo_n "(cached) " >&6 | 7297 | $as_echo_n "(cached) " >&6 |
| 7287 | else | 7298 | else |
| 7288 | ac_check_lib_save_LIBS=$LIBS | 7299 | ac_check_lib_save_LIBS=$LIBS |
| @@ -7316,7 +7327,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 7316 | fi | 7327 | fi |
| 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; } |
| 7319 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 7330 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then : |
| 7320 | LIBSOUND=-lossaudio | 7331 | LIBSOUND=-lossaudio |
| 7321 | else | 7332 | else |
| 7322 | LIBSOUND= | 7333 | LIBSOUND= |
| @@ -7333,7 +7344,7 @@ fi | |||
| 7333 | set dummy pkg-config; ac_word=$2 | 7344 | set 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; } |
| 7336 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 7347 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 7337 | $as_echo_n "(cached) " >&6 | 7348 | $as_echo_n "(cached) " >&6 |
| 7338 | else | 7349 | else |
| 7339 | case $PKG_CONFIG in | 7350 | case $PKG_CONFIG in |
| @@ -7537,7 +7548,7 @@ fi | |||
| 7537 | for ac_header in term.h | 7548 | for ac_header in term.h |
| 7538 | do : | 7549 | do : |
| 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" |
| 7540 | if test "x$ac_cv_header_term_h" = x""yes; then : | 7551 | if 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; } |
| 7551 | if test "${ac_cv_header_stdc+set}" = set; then : | 7562 | if ${ac_cv_header_stdc+:} false; then : |
| 7552 | $as_echo_n "(cached) " >&6 | 7563 | $as_echo_n "(cached) " >&6 |
| 7553 | else | 7564 | else |
| 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; } |
| 7663 | if test "${ac_cv_header_time+set}" = set; then : | 7674 | if ${ac_cv_header_time+:} false; then : |
| 7664 | $as_echo_n "(cached) " >&6 | 7675 | $as_echo_n "(cached) " >&6 |
| 7665 | else | 7676 | else |
| 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 | |||
| 7694 | fi | 7705 | fi |
| 7695 | 7706 | ||
| 7696 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7707 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" |
| 7697 | if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7708 | if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : |
| 7698 | ac_have_decl=1 | 7709 | ac_have_decl=1 |
| 7699 | else | 7710 | else |
| 7700 | ac_have_decl=0 | 7711 | ac_have_decl=0 |
| @@ -7707,7 +7718,7 @@ _ACEOF | |||
| 7707 | if test $ac_cv_have_decl_sys_siglist != yes; then | 7718 | if 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" |
| 7710 | if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7721 | if test "x$ac_cv_have_decl___sys_siglist" = xyes; then : |
| 7711 | ac_have_decl=1 | 7722 | ac_have_decl=1 |
| 7712 | else | 7723 | else |
| 7713 | ac_have_decl=0 | 7724 | ac_have_decl=0 |
| @@ -7725,7 +7736,7 @@ $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | |||
| 7725 | fi | 7736 | fi |
| 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; } |
| 7728 | if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7739 | if ${ac_cv_header_sys_wait_h+:} false; then : |
| 7729 | $as_echo_n "(cached) " >&6 | 7740 | $as_echo_n "(cached) " >&6 |
| 7730 | else | 7741 | else |
| 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; } |
| 7770 | if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7781 | if ${emacs_cv_struct_utimbuf+:} false; then : |
| 7771 | $as_echo_n "(cached) " >&6 | 7782 | $as_echo_n "(cached) " >&6 |
| 7772 | else | 7783 | else |
| 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; } |
| 7813 | if test "${ac_cv_type_signal+set}" = set; then : | 7824 | if ${ac_cv_type_signal+:} false; then : |
| 7814 | $as_echo_n "(cached) " >&6 | 7825 | $as_echo_n "(cached) " >&6 |
| 7815 | else | 7826 | else |
| 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; } |
| 7847 | if test "${emacs_cv_speed_t+set}" = set; then : | 7858 | if ${emacs_cv_speed_t+:} false; then : |
| 7848 | $as_echo_n "(cached) " >&6 | 7859 | $as_echo_n "(cached) " >&6 |
| 7849 | else | 7860 | else |
| 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; } |
| 7878 | if test "${emacs_cv_struct_timeval+set}" = set; then : | 7889 | if ${emacs_cv_struct_timeval+:} false; then : |
| 7879 | $as_echo_n "(cached) " >&6 | 7890 | $as_echo_n "(cached) " >&6 |
| 7880 | else | 7891 | else |
| 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; } |
| 7919 | if test "${emacs_cv_struct_exception+set}" = set; then : | 7930 | if ${emacs_cv_struct_exception+:} false; then : |
| 7920 | $as_echo_n "(cached) " >&6 | 7931 | $as_echo_n "(cached) " >&6 |
| 7921 | else | 7932 | else |
| 7922 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -7949,7 +7960,7 @@ fi | |||
| 7949 | for ac_header in sys/socket.h | 7960 | for ac_header in sys/socket.h |
| 7950 | do : | 7961 | do : |
| 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" |
| 7952 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7963 | if 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 | " |
| 7968 | if test "x$ac_cv_header_net_if_h" = x""yes; then : | 7979 | if 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; } |
| 7980 | if test "${ac_cv_struct_tm+set}" = set; then : | 7991 | if ${ac_cv_struct_tm+:} false; then : |
| 7981 | $as_echo_n "(cached) " >&6 | 7992 | $as_echo_n "(cached) " >&6 |
| 7982 | else | 7993 | else |
| 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 | " |
| 8017 | if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8028 | if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : |
| 8018 | 8029 | ||
| 8019 | cat >>confdefs.h <<_ACEOF | 8030 | cat >>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 | |||
| 8030 | else | 8041 | else |
| 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 | " |
| 8033 | if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8044 | if test "x$ac_cv_have_decl_tzname" = xyes; then : |
| 8034 | ac_have_decl=1 | 8045 | ac_have_decl=1 |
| 8035 | else | 8046 | else |
| 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; } |
| 8045 | if test "${ac_cv_var_tzname+set}" = set; then : | 8056 | if ${ac_cv_var_tzname+:} false; then : |
| 8046 | $as_echo_n "(cached) " >&6 | 8057 | $as_echo_n "(cached) " >&6 |
| 8047 | else | 8058 | else |
| 8048 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -8079,7 +8090,7 @@ fi | |||
| 8079 | 8090 | ||
| 8080 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8091 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> |
| 8081 | " | 8092 | " |
| 8082 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8093 | if 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 | " |
| 8096 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8107 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then : |
| 8097 | 8108 | ||
| 8098 | cat >>confdefs.h <<_ACEOF | 8109 | cat >>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 | " |
| 8112 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8123 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then : |
| 8113 | 8124 | ||
| 8114 | cat >>confdefs.h <<_ACEOF | 8125 | cat >>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 | " |
| 8128 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8139 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then : |
| 8129 | 8140 | ||
| 8130 | cat >>confdefs.h <<_ACEOF | 8141 | cat >>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 | " |
| 8144 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 8155 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then : |
| 8145 | 8156 | ||
| 8146 | cat >>confdefs.h <<_ACEOF | 8157 | cat >>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 | " |
| 8160 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 8171 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then : |
| 8161 | 8172 | ||
| 8162 | cat >>confdefs.h <<_ACEOF | 8173 | cat >>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; } |
| 8189 | if test "${ac_cv_c_volatile+set}" = set; then : | 8200 | if ${ac_cv_c_volatile+:} false; then : |
| 8190 | $as_echo_n "(cached) " >&6 | 8201 | $as_echo_n "(cached) " >&6 |
| 8191 | else | 8202 | else |
| 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; } |
| 8223 | if test "${ac_cv_c_const+set}" = set; then : | 8234 | if ${ac_cv_c_const+:} false; then : |
| 8224 | $as_echo_n "(cached) " >&6 | 8235 | $as_echo_n "(cached) " >&6 |
| 8225 | else | 8236 | else |
| 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; } |
| 8303 | if test "${emacs_cv_void_star+set}" = set; then : | 8314 | if ${emacs_cv_void_star+:} false; then : |
| 8304 | $as_echo_n "(cached) " >&6 | 8315 | $as_echo_n "(cached) " >&6 |
| 8305 | else | 8316 | else |
| 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; } |
| 8336 | if test "${ac_cv_c_bigendian+set}" = set; then : | 8347 | if ${ac_cv_c_bigendian+:} false; then : |
| 8337 | $as_echo_n "(cached) " >&6 | 8348 | $as_echo_n "(cached) " >&6 |
| 8338 | else | 8349 | else |
| 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; } |
| 8561 | if test "${emacs_cv_attribute_aligned+set}" = set; then : | 8572 | if ${emacs_cv_attribute_aligned+:} false; then : |
| 8562 | $as_echo_n "(cached) " >&6 | 8573 | $as_echo_n "(cached) " >&6 |
| 8563 | else | 8574 | else |
| 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; } |
| 8592 | set x ${MAKE-make} | 8603 | set x ${MAKE-make} |
| 8593 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 8604 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 8594 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 8605 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 8595 | $as_echo_n "(cached) " >&6 | 8606 | $as_echo_n "(cached) " >&6 |
| 8596 | else | 8607 | else |
| 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; } |
| 8682 | if test "${ac_cv_sys_long_file_names+set}" = set; then : | 8693 | if ${ac_cv_sys_long_file_names+:} false; then : |
| 8683 | $as_echo_n "(cached) " >&6 | 8694 | $as_echo_n "(cached) " >&6 |
| 8684 | else | 8695 | else |
| 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 |
| 8736 | else | 8747 | else |
| 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 |
| 8741 | else | 8752 | else |
| 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" |
| 9022 | if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9033 | if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then : |
| 9023 | HAVE_NS=yes | 9034 | HAVE_NS=yes |
| 9024 | else | 9035 | else |
| 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 | |||
| 9104 | set dummy X; ac_word=$2 | 9115 | set 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; } |
| 9107 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 9118 | if ${ac_cv_prog_HAVE_XSERVER+:} false; then : |
| 9108 | $as_echo_n "(cached) " >&6 | 9119 | $as_echo_n "(cached) " >&6 |
| 9109 | else | 9120 | else |
| 9110 | if test -n "$HAVE_XSERVER"; then | 9121 | if test -n "$HAVE_XSERVER"; then |
| @@ -9163,14 +9174,14 @@ esac | |||
| 9163 | GNU_MALLOC=yes | 9174 | GNU_MALLOC=yes |
| 9164 | doug_lea_malloc=yes | 9175 | doug_lea_malloc=yes |
| 9165 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 9176 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" |
| 9166 | if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 9177 | if test "x$ac_cv_func_malloc_get_state" = xyes; then : |
| 9167 | 9178 | ||
| 9168 | else | 9179 | else |
| 9169 | doug_lea_malloc=no | 9180 | doug_lea_malloc=no |
| 9170 | fi | 9181 | fi |
| 9171 | 9182 | ||
| 9172 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 9183 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" |
| 9173 | if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 9184 | if test "x$ac_cv_func_malloc_set_state" = xyes; then : |
| 9174 | 9185 | ||
| 9175 | else | 9186 | else |
| 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; } |
| 9181 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 9192 | if ${emacs_cv_var___after_morecore_hook+:} false; then : |
| 9182 | $as_echo_n "(cached) " >&6 | 9193 | $as_echo_n "(cached) " >&6 |
| 9183 | else | 9194 | else |
| 9184 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9195 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -9283,7 +9294,7 @@ done | |||
| 9283 | for ac_func in getpagesize | 9294 | for ac_func in getpagesize |
| 9284 | do : | 9295 | do : |
| 9285 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 9296 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
| 9286 | if test "x$ac_cv_func_getpagesize" = x""yes; then : | 9297 | if 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; } |
| 9296 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 9307 | if ${ac_cv_func_mmap_fixed_mapped+:} false; then : |
| 9297 | $as_echo_n "(cached) " >&6 | 9308 | $as_echo_n "(cached) " >&6 |
| 9298 | else | 9309 | else |
| 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; } |
| 9471 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 9482 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
| 9472 | $as_echo_n "(cached) " >&6 | 9483 | $as_echo_n "(cached) " >&6 |
| 9473 | else | 9484 | else |
| 9474 | ac_check_lib_save_LIBS=$LIBS | 9485 | ac_check_lib_save_LIBS=$LIBS |
| @@ -9502,7 +9513,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 9502 | fi | 9513 | fi |
| 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; } |
| 9505 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 9516 | if 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; } |
| 9517 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 9528 | if ${ac_cv_lib_Xbsd_main+:} false; then : |
| 9518 | $as_echo_n "(cached) " >&6 | 9529 | $as_echo_n "(cached) " >&6 |
| 9519 | else | 9530 | else |
| 9520 | ac_check_lib_save_LIBS=$LIBS | 9531 | ac_check_lib_save_LIBS=$LIBS |
| @@ -9542,14 +9553,14 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 9542 | fi | 9553 | fi |
| 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; } |
| 9545 | if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 9556 | if 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" |
| 9547 | fi | 9558 | fi |
| 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; } |
| 9552 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 9563 | if ${ac_cv_lib_pthreads_cma_open+:} false; then : |
| 9553 | $as_echo_n "(cached) " >&6 | 9564 | $as_echo_n "(cached) " >&6 |
| 9554 | else | 9565 | else |
| 9555 | ac_check_lib_save_LIBS=$LIBS | 9566 | ac_check_lib_save_LIBS=$LIBS |
| @@ -9583,7 +9594,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 9583 | fi | 9594 | fi |
| 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; } |
| 9586 | if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 9597 | if 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 | |||
| 9610 | aix*) | 9621 | aix*) |
| 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; } |
| 9613 | if test "${gdb_cv_bigtoc+set}" = set; then : | 9624 | if ${gdb_cv_bigtoc+:} false; then : |
| 9614 | $as_echo_n "(cached) " >&6 | 9625 | $as_echo_n "(cached) " >&6 |
| 9615 | else | 9626 | else |
| 9616 | 9627 | ||
| @@ -9784,7 +9795,7 @@ fi | |||
| 9784 | if test "${window_system}" = "x11"; then | 9795 | if 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 |
| 9789 | else | 9800 | else |
| 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 | |||
| 9849 | set dummy pkg-config; ac_word=$2 | 9860 | set 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; } |
| 9852 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 9863 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 9853 | $as_echo_n "(cached) " >&6 | 9864 | $as_echo_n "(cached) " >&6 |
| 9854 | else | 9865 | else |
| 9855 | case $PKG_CONFIG in | 9866 | case $PKG_CONFIG in |
| @@ -9960,7 +9971,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9960 | set dummy pkg-config; ac_word=$2 | 9971 | set 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; } |
| 9963 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 9974 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 9964 | $as_echo_n "(cached) " >&6 | 9975 | $as_echo_n "(cached) " >&6 |
| 9965 | else | 9976 | else |
| 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 |
| 10060 | do : | 10071 | do : |
| 10061 | ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" | 10072 | ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" |
| 10062 | if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : | 10073 | if 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 | |||
| 10085 | set dummy pkg-config; ac_word=$2 | 10096 | set 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; } |
| 10088 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10099 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 10089 | $as_echo_n "(cached) " >&6 | 10100 | $as_echo_n "(cached) " >&6 |
| 10090 | else | 10101 | else |
| 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 | |||
| 10191 | set dummy pkg-config; ac_word=$2 | 10202 | set 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; } |
| 10194 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10205 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 10195 | $as_echo_n "(cached) " >&6 | 10206 | $as_echo_n "(cached) " >&6 |
| 10196 | else | 10207 | else |
| 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 |
| 10297 | do : | 10308 | do : |
| 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" |
| 10299 | if test "x$ac_cv_func_gtk_main" = x""yes; then : | 10310 | if 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 | " |
| 10347 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 10358 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then : |
| 10348 | HAVE_GTK_FILE_SELECTION=yes | 10359 | HAVE_GTK_FILE_SELECTION=yes |
| 10349 | else | 10360 | else |
| 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 |
| 10355 | do : | 10366 | do : |
| 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" |
| 10357 | if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 10368 | if 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 |
| 10369 | do : | 10380 | do : |
| 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" |
| 10371 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | 10382 | if 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; } |
| 10383 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 10394 | if ${ac_cv_lib_pthread_pthread_self+:} false; then : |
| 10384 | $as_echo_n "(cached) " >&6 | 10395 | $as_echo_n "(cached) " >&6 |
| 10385 | else | 10396 | else |
| 10386 | ac_check_lib_save_LIBS=$LIBS | 10397 | ac_check_lib_save_LIBS=$LIBS |
| @@ -10414,7 +10425,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 10414 | fi | 10425 | fi |
| 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; } |
| 10417 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 10428 | if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then : |
| 10418 | HAVE_GTK_AND_PTHREAD=yes | 10429 | HAVE_GTK_AND_PTHREAD=yes |
| 10419 | fi | 10430 | fi |
| 10420 | 10431 | ||
| @@ -10457,7 +10468,7 @@ if test "${with_dbus}" = "yes"; then | |||
| 10457 | set dummy pkg-config; ac_word=$2 | 10468 | set 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; } |
| 10460 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10471 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 10461 | $as_echo_n "(cached) " >&6 | 10472 | $as_echo_n "(cached) " >&6 |
| 10462 | else | 10473 | else |
| 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 |
| 10553 | do : | 10564 | do : |
| 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" |
| 10555 | if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 10566 | if 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 | |||
| 10574 | set dummy pkg-config; ac_word=$2 | 10585 | set 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; } |
| 10577 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10588 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 10578 | $as_echo_n "(cached) " >&6 | 10589 | $as_echo_n "(cached) " >&6 |
| 10579 | else | 10590 | else |
| 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 |
| 10669 | do : | 10680 | do : |
| 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" |
| 10671 | if test "x$ac_cv_func_g_type_init" = x""yes; then : | 10682 | if 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= | |||
| 10684 | if test "${with_selinux}" = "yes"; then | 10695 | if 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; } |
| 10687 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 10698 | if ${ac_cv_lib_selinux_lgetfilecon+:} false; then : |
| 10688 | $as_echo_n "(cached) " >&6 | 10699 | $as_echo_n "(cached) " >&6 |
| 10689 | else | 10700 | else |
| 10690 | ac_check_lib_save_LIBS=$LIBS | 10701 | ac_check_lib_save_LIBS=$LIBS |
| @@ -10718,7 +10729,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 10718 | fi | 10729 | fi |
| 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; } |
| 10721 | if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 10732 | if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then : |
| 10722 | HAVE_LIBSELINUX=yes | 10733 | HAVE_LIBSELINUX=yes |
| 10723 | else | 10734 | else |
| 10724 | HAVE_LIBSELINUX=no | 10735 | HAVE_LIBSELINUX=no |
| @@ -10742,7 +10753,7 @@ if test "${with_gnutls}" = "yes" ; then | |||
| 10742 | set dummy pkg-config; ac_word=$2 | 10753 | set 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; } |
| 10745 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10756 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 10746 | $as_echo_n "(cached) " >&6 | 10757 | $as_echo_n "(cached) " >&6 |
| 10747 | else | 10758 | else |
| 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 |
| 10849 | else | 10860 | else |
| 10850 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -10863,7 +10874,7 @@ _ACEOF | |||
| 10863 | if ac_fn_c_try_link "$LINENO"; then : | 10874 | if 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; } |
| 10866 | if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then : | 10877 | if ${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+:} false; then : |
| 10867 | $as_echo_n "(cached) " >&6 | 10878 | $as_echo_n "(cached) " >&6 |
| 10868 | else | 10879 | else |
| 10869 | ac_check_lib_save_LIBS=$LIBS | 10880 | ac_check_lib_save_LIBS=$LIBS |
| @@ -10897,7 +10908,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 10897 | fi | 10908 | fi |
| 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; } |
| 10900 | if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = x""yes; then : | 10911 | if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = xyes; then : |
| 10901 | emacs_cv_xaw3d=yes | 10912 | emacs_cv_xaw3d=yes |
| 10902 | else | 10913 | else |
| 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 |
| 10932 | else | 10943 | else |
| 10933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -10973,7 +10984,7 @@ LIBXTR6= | |||
| 10973 | if test "${USE_X_TOOLKIT}" != "none"; then | 10984 | if 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 |
| 10978 | else | 10989 | else |
| 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; } |
| 11027 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 11038 | if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then : |
| 11028 | $as_echo_n "(cached) " >&6 | 11039 | $as_echo_n "(cached) " >&6 |
| 11029 | else | 11040 | else |
| 11030 | ac_check_lib_save_LIBS=$LIBS | 11041 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11058,7 +11069,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11058 | fi | 11069 | fi |
| 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; } |
| 11061 | if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 11072 | if 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; } |
| 11088 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 11099 | if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then : |
| 11089 | $as_echo_n "(cached) " >&6 | 11100 | $as_echo_n "(cached) " >&6 |
| 11090 | else | 11101 | else |
| 11091 | ac_check_lib_save_LIBS=$LIBS | 11102 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11119,7 +11130,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11119 | fi | 11130 | fi |
| 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; } |
| 11122 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 11133 | if 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= | |||
| 11135 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 11146 | if 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; } |
| 11138 | if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 11149 | if ${emacs_cv_motif_version_2_1+:} false; then : |
| 11139 | $as_echo_n "(cached) " >&6 | 11150 | $as_echo_n "(cached) " >&6 |
| 11140 | else | 11151 | else |
| 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; } |
| 11168 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 11179 | if ${ac_cv_lib_Xp_XpCreateContext+:} false; then : |
| 11169 | $as_echo_n "(cached) " >&6 | 11180 | $as_echo_n "(cached) " >&6 |
| 11170 | else | 11181 | else |
| 11171 | ac_check_lib_save_LIBS=$LIBS | 11182 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11199,14 +11210,14 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11199 | fi | 11210 | fi |
| 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; } |
| 11202 | if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 11213 | if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then : |
| 11203 | LIBXP=-lXp | 11214 | LIBXP=-lXp |
| 11204 | fi | 11215 | fi |
| 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; } |
| 11209 | if test "${emacs_cv_lesstif+set}" = set; then : | 11220 | if ${emacs_cv_lesstif+:} false; then : |
| 11210 | $as_echo_n "(cached) " >&6 | 11221 | $as_echo_n "(cached) " >&6 |
| 11211 | else | 11222 | else |
| 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 | |||
| 11365 | set dummy pkg-config; ac_word=$2 | 11376 | set 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; } |
| 11368 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11379 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 11369 | $as_echo_n "(cached) " >&6 | 11380 | $as_echo_n "(cached) " >&6 |
| 11370 | else | 11381 | else |
| 11371 | case $PKG_CONFIG in | 11382 | case $PKG_CONFIG in |
| @@ -11467,7 +11478,7 @@ $as_echo "no" >&6; } | |||
| 11467 | set dummy pkg-config; ac_word=$2 | 11478 | set 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; } |
| 11470 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11481 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 11471 | $as_echo_n "(cached) " >&6 | 11482 | $as_echo_n "(cached) " >&6 |
| 11472 | else | 11483 | else |
| 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; } |
| 11562 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 11573 | if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then : |
| 11563 | $as_echo_n "(cached) " >&6 | 11574 | $as_echo_n "(cached) " >&6 |
| 11564 | else | 11575 | else |
| 11565 | ac_check_lib_save_LIBS=$LIBS | 11576 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11593,7 +11604,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11593 | fi | 11604 | fi |
| 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; } |
| 11596 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 11607 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then : |
| 11597 | HAVE_XRENDER=yes | 11608 | HAVE_XRENDER=yes |
| 11598 | fi | 11609 | fi |
| 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" |
| 11609 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 11620 | if 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; } |
| 11612 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 11623 | if ${ac_cv_lib_Xft_XftFontOpen+:} false; then : |
| 11613 | $as_echo_n "(cached) " >&6 | 11624 | $as_echo_n "(cached) " >&6 |
| 11614 | else | 11625 | else |
| 11615 | ac_check_lib_save_LIBS=$LIBS | 11626 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11643,7 +11654,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11643 | fi | 11654 | fi |
| 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; } |
| 11646 | if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 11657 | if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then : |
| 11647 | HAVE_XFT=yes | 11658 | HAVE_XFT=yes |
| 11648 | fi | 11659 | fi |
| 11649 | 11660 | ||
| @@ -11686,7 +11697,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | |||
| 11686 | set dummy pkg-config; ac_word=$2 | 11697 | set 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; } |
| 11689 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11700 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 11690 | $as_echo_n "(cached) " >&6 | 11701 | $as_echo_n "(cached) " >&6 |
| 11691 | else | 11702 | else |
| 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; } |
| 11782 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 11793 | if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then : |
| 11783 | $as_echo_n "(cached) " >&6 | 11794 | $as_echo_n "(cached) " >&6 |
| 11784 | else | 11795 | else |
| 11785 | ac_check_lib_save_LIBS=$LIBS | 11796 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11813,7 +11824,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11813 | fi | 11824 | fi |
| 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; } |
| 11816 | if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 11827 | if 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 |
| 11818 | else | 11829 | else |
| 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 | |||
| 11838 | set dummy pkg-config; ac_word=$2 | 11849 | set 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; } |
| 11841 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11852 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 11842 | $as_echo_n "(cached) " >&6 | 11853 | $as_echo_n "(cached) " >&6 |
| 11843 | else | 11854 | else |
| 11844 | case $PKG_CONFIG in | 11855 | case $PKG_CONFIG in |
| @@ -11956,10 +11967,10 @@ LIBXPM= | |||
| 11956 | if test "${HAVE_X11}" = "yes"; then | 11967 | if 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" |
| 11959 | if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 11970 | if 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; } |
| 11962 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 11973 | if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then : |
| 11963 | $as_echo_n "(cached) " >&6 | 11974 | $as_echo_n "(cached) " >&6 |
| 11964 | else | 11975 | else |
| 11965 | ac_check_lib_save_LIBS=$LIBS | 11976 | ac_check_lib_save_LIBS=$LIBS |
| @@ -11993,7 +12004,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 11993 | fi | 12004 | fi |
| 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; } |
| 11996 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 12007 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then : |
| 11997 | HAVE_XPM=yes | 12008 | HAVE_XPM=yes |
| 11998 | fi | 12009 | fi |
| 11999 | 12010 | ||
| @@ -12045,10 +12056,10 @@ LIBJPEG= | |||
| 12045 | if test "${HAVE_X11}" = "yes"; then | 12056 | if 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" |
| 12048 | if test "x$ac_cv_header_jerror_h" = x""yes; then : | 12059 | if 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; } |
| 12051 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 12062 | if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then : |
| 12052 | $as_echo_n "(cached) " >&6 | 12063 | $as_echo_n "(cached) " >&6 |
| 12053 | else | 12064 | else |
| 12054 | ac_check_lib_save_LIBS=$LIBS | 12065 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12082,7 +12093,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12082 | fi | 12093 | fi |
| 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; } |
| 12085 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 12096 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then : |
| 12086 | HAVE_JPEG=yes | 12097 | HAVE_JPEG=yes |
| 12087 | fi | 12098 | fi |
| 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; } |
| 12144 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 12155 | if ${ac_cv_lib_png_png_get_channels+:} false; then : |
| 12145 | $as_echo_n "(cached) " >&6 | 12156 | $as_echo_n "(cached) " >&6 |
| 12146 | else | 12157 | else |
| 12147 | ac_check_lib_save_LIBS=$LIBS | 12158 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12175,7 +12186,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12175 | fi | 12186 | fi |
| 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; } |
| 12178 | if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 12189 | if test "x$ac_cv_lib_png_png_get_channels" = xyes; then : |
| 12179 | HAVE_PNG=yes | 12190 | HAVE_PNG=yes |
| 12180 | fi | 12191 | fi |
| 12181 | 12192 | ||
| @@ -12197,13 +12208,13 @@ LIBTIFF= | |||
| 12197 | if test "${HAVE_X11}" = "yes"; then | 12208 | if 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" |
| 12200 | if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 12211 | if 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; } |
| 12206 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 12217 | if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then : |
| 12207 | $as_echo_n "(cached) " >&6 | 12218 | $as_echo_n "(cached) " >&6 |
| 12208 | else | 12219 | else |
| 12209 | ac_check_lib_save_LIBS=$LIBS | 12220 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12237,7 +12248,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12237 | fi | 12248 | fi |
| 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; } |
| 12240 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 12251 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then : |
| 12241 | HAVE_TIFF=yes | 12252 | HAVE_TIFF=yes |
| 12242 | fi | 12253 | fi |
| 12243 | 12254 | ||
| @@ -12260,12 +12271,12 @@ HAVE_GIF=no | |||
| 12260 | LIBGIF= | 12271 | LIBGIF= |
| 12261 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 12272 | if 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" |
| 12263 | if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 12274 | if 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; } |
| 12268 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 12279 | if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then : |
| 12269 | $as_echo_n "(cached) " >&6 | 12280 | $as_echo_n "(cached) " >&6 |
| 12270 | else | 12281 | else |
| 12271 | ac_check_lib_save_LIBS=$LIBS | 12282 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12299,7 +12310,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12299 | fi | 12310 | fi |
| 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; } |
| 12302 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 12313 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then : |
| 12303 | HAVE_GIF=yes | 12314 | HAVE_GIF=yes |
| 12304 | else | 12315 | else |
| 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; } |
| 12318 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 12329 | if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then : |
| 12319 | $as_echo_n "(cached) " >&6 | 12330 | $as_echo_n "(cached) " >&6 |
| 12320 | else | 12331 | else |
| 12321 | ac_check_lib_save_LIBS=$LIBS | 12332 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12349,7 +12360,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12349 | fi | 12360 | fi |
| 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; } |
| 12352 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 12363 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then : |
| 12353 | HAVE_GIF=yes | 12364 | HAVE_GIF=yes |
| 12354 | else | 12365 | else |
| 12355 | HAVE_GIF=no | 12366 | HAVE_GIF=no |
| @@ -12396,10 +12407,10 @@ LIBGPM= | |||
| 12396 | MOUSE_SUPPORT= | 12407 | MOUSE_SUPPORT= |
| 12397 | if test "${with_gpm}" != "no"; then | 12408 | if 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" |
| 12399 | if test "x$ac_cv_header_gpm_h" = x""yes; then : | 12410 | if 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; } |
| 12402 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 12413 | if ${ac_cv_lib_gpm_Gpm_Open+:} false; then : |
| 12403 | $as_echo_n "(cached) " >&6 | 12414 | $as_echo_n "(cached) " >&6 |
| 12404 | else | 12415 | else |
| 12405 | ac_check_lib_save_LIBS=$LIBS | 12416 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12433,7 +12444,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12433 | fi | 12444 | fi |
| 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; } |
| 12436 | if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 12447 | if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then : |
| 12437 | HAVE_GPM=yes | 12448 | HAVE_GPM=yes |
| 12438 | fi | 12449 | fi |
| 12439 | 12450 | ||
| @@ -12453,7 +12464,7 @@ fi | |||
| 12453 | 12464 | ||
| 12454 | 12465 | ||
| 12455 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 12466 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" |
| 12456 | if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 12467 | if 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 | |||
| 12498 | LIBXSM= | 12509 | LIBXSM= |
| 12499 | if test "${HAVE_X11}" = "yes"; then | 12510 | if 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" |
| 12501 | if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 12512 | if 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; } |
| 12504 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 12515 | if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then : |
| 12505 | $as_echo_n "(cached) " >&6 | 12516 | $as_echo_n "(cached) " >&6 |
| 12506 | else | 12517 | else |
| 12507 | ac_check_lib_save_LIBS=$LIBS | 12518 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12535,7 +12546,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12535 | fi | 12546 | fi |
| 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; } |
| 12538 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 12549 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then : |
| 12539 | HAVE_X_SM=yes | 12550 | HAVE_X_SM=yes |
| 12540 | fi | 12551 | fi |
| 12541 | 12552 | ||
| @@ -12566,7 +12577,7 @@ if test "${with_xml2}" != "no"; then | |||
| 12566 | set dummy pkg-config; ac_word=$2 | 12577 | set 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; } |
| 12569 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12580 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
| 12570 | $as_echo_n "(cached) " >&6 | 12581 | $as_echo_n "(cached) " >&6 |
| 12571 | else | 12582 | else |
| 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; } |
| 12660 | if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : | 12671 | if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then : |
| 12661 | $as_echo_n "(cached) " >&6 | 12672 | $as_echo_n "(cached) " >&6 |
| 12662 | else | 12673 | else |
| 12663 | ac_check_lib_save_LIBS=$LIBS | 12674 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12691,7 +12702,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12691 | fi | 12702 | fi |
| 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; } |
| 12694 | if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : | 12705 | if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then : |
| 12695 | HAVE_LIBXML2=yes | 12706 | HAVE_LIBXML2=yes |
| 12696 | else | 12707 | else |
| 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; } |
| 12716 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 12727 | if ${emacs_cv_netdb_declares_h_errno+:} false; then : |
| 12717 | $as_echo_n "(cached) " >&6 | 12728 | $as_echo_n "(cached) " >&6 |
| 12718 | else | 12729 | else |
| 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 | ||
| 12744 | fi | 12755 | fi |
| 12745 | 12756 | ||
| 12757 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | ||
| 12758 | if test "x$ac_cv_type_size_t" = xyes; then : | ||
| 12759 | |||
| 12760 | else | ||
| 12761 | |||
| 12762 | cat >>confdefs.h <<_ACEOF | ||
| 12763 | #define size_t unsigned int | ||
| 12764 | _ACEOF | ||
| 12765 | |||
| 12766 | fi | ||
| 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; } |
| 12750 | if test "${ac_cv_working_alloca_h+set}" = set; then : | 12772 | if ${ac_cv_working_alloca_h+:} false; then : |
| 12751 | $as_echo_n "(cached) " >&6 | 12773 | $as_echo_n "(cached) " >&6 |
| 12752 | else | 12774 | else |
| 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; } |
| 12783 | if test "${ac_cv_func_alloca_works+set}" = set; then : | 12805 | if ${ac_cv_func_alloca_works+:} false; then : |
| 12784 | $as_echo_n "(cached) " >&6 | 12806 | $as_echo_n "(cached) " >&6 |
| 12785 | else | 12807 | else |
| 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 */ |
| 12802 | char *alloca (); | 12824 | void *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; } |
| 12846 | if test "${ac_cv_os_cray+set}" = set; then : | 12868 | if ${ac_cv_os_cray+:} false; then : |
| 12847 | $as_echo_n "(cached) " >&6 | 12869 | $as_echo_n "(cached) " >&6 |
| 12848 | else | 12870 | else |
| 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; } |
| 12887 | if test "${ac_cv_c_stack_direction+set}" = set; then : | 12909 | if ${ac_cv_c_stack_direction+:} false; then : |
| 12888 | $as_echo_n "(cached) " >&6 | 12910 | $as_echo_n "(cached) " >&6 |
| 12889 | else | 12911 | else |
| 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; } |
| 12944 | if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 12966 | if ${ac_cv_lib_m_sqrt+:} false; then : |
| 12945 | $as_echo_n "(cached) " >&6 | 12967 | $as_echo_n "(cached) " >&6 |
| 12946 | else | 12968 | else |
| 12947 | ac_check_lib_save_LIBS=$LIBS | 12969 | ac_check_lib_save_LIBS=$LIBS |
| @@ -12975,7 +12997,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 12975 | fi | 12997 | fi |
| 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; } |
| 12978 | if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 13000 | if 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; } |
| 12992 | if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 13014 | if ${ac_cv_lib_mail_maillock+:} false; then : |
| 12993 | $as_echo_n "(cached) " >&6 | 13015 | $as_echo_n "(cached) " >&6 |
| 12994 | else | 13016 | else |
| 12995 | ac_check_lib_save_LIBS=$LIBS | 13017 | ac_check_lib_save_LIBS=$LIBS |
| @@ -13023,7 +13045,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 13023 | fi | 13045 | fi |
| 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; } |
| 13026 | if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 13048 | if test "x$ac_cv_lib_mail_maillock" = xyes; then : |
| 13027 | have_mail=yes | 13049 | have_mail=yes |
| 13028 | else | 13050 | else |
| 13029 | have_mail=no | 13051 | have_mail=no |
| @@ -13040,7 +13062,7 @@ else | |||
| 13040 | fi | 13062 | fi |
| 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; } |
| 13043 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 13065 | if ${ac_cv_lib_lockfile_maillock+:} false; then : |
| 13044 | $as_echo_n "(cached) " >&6 | 13066 | $as_echo_n "(cached) " >&6 |
| 13045 | else | 13067 | else |
| 13046 | ac_check_lib_save_LIBS=$LIBS | 13068 | ac_check_lib_save_LIBS=$LIBS |
| @@ -13074,7 +13096,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 13074 | fi | 13096 | fi |
| 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; } |
| 13077 | if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 13099 | if test "x$ac_cv_lib_lockfile_maillock" = xyes; then : |
| 13078 | have_lockfile=yes | 13100 | have_lockfile=yes |
| 13079 | else | 13101 | else |
| 13080 | have_lockfile=no | 13102 | have_lockfile=no |
| @@ -13094,7 +13116,7 @@ else | |||
| 13094 | set dummy liblockfile.so; ac_word=$2 | 13116 | set 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; } |
| 13097 | if test "${ac_cv_prog_liblockfile+set}" = set; then : | 13119 | if ${ac_cv_prog_liblockfile+:} false; then : |
| 13098 | $as_echo_n "(cached) " >&6 | 13120 | $as_echo_n "(cached) " >&6 |
| 13099 | else | 13121 | else |
| 13100 | if test -n "$liblockfile"; then | 13122 | if test -n "$liblockfile"; then |
| @@ -13138,7 +13160,7 @@ fi | |||
| 13138 | for ac_func in touchlock | 13160 | for ac_func in touchlock |
| 13139 | do : | 13161 | do : |
| 13140 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 13162 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" |
| 13141 | if test "x$ac_cv_func_touchlock" = x""yes; then : | 13163 | if 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 | |||
| 13149 | for ac_header in maillock.h | 13171 | for ac_header in maillock.h |
| 13150 | do : | 13172 | do : |
| 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" |
| 13152 | if test "x$ac_cv_header_maillock_h" = x""yes; then : | 13174 | if 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; } |
| 13233 | if test "${emacs_cv_func___builtin_unwind_init+set}" = set; then : | 13255 | if ${emacs_cv_func___builtin_unwind_init+:} false; then : |
| 13234 | $as_echo_n "(cached) " >&6 | 13256 | $as_echo_n "(cached) " >&6 |
| 13235 | else | 13257 | else |
| 13236 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13258 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -13263,7 +13285,7 @@ fi | |||
| 13263 | for ac_header in sys/un.h | 13285 | for ac_header in sys/un.h |
| 13264 | do : | 13286 | do : |
| 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" |
| 13266 | if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 13288 | if 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; } |
| 13278 | if test "${ac_cv_sys_largefile_source+set}" = set; then : | 13300 | if ${ac_cv_sys_largefile_source+:} false; then : |
| 13279 | $as_echo_n "(cached) " >&6 | 13301 | $as_echo_n "(cached) " >&6 |
| 13280 | else | 13302 | else |
| 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; } |
| 13347 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 13369 | if ${ac_cv_func_getpgrp_void+:} false; then : |
| 13348 | $as_echo_n "(cached) " >&6 | 13370 | $as_echo_n "(cached) " >&6 |
| 13349 | else | 13371 | else |
| 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; } |
| 13396 | if test "${ac_cv_c_bigendian+set}" = set; then : | 13418 | if ${ac_cv_c_bigendian+:} false; then : |
| 13397 | $as_echo_n "(cached) " >&6 | 13419 | $as_echo_n "(cached) " >&6 |
| 13398 | else | 13420 | else |
| 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; } |
| 13621 | if test "${ac_cv_c_inline+set}" = set; then : | 13643 | if ${ac_cv_c_inline+:} false; then : |
| 13622 | $as_echo_n "(cached) " >&6 | 13644 | $as_echo_n "(cached) " >&6 |
| 13623 | else | 13645 | else |
| 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; } |
| 13664 | if test "${gl_cv_func_c99_strtold+set}" = set; then : | 13686 | if ${gl_cv_func_c99_strtold+:} false; then : |
| 13665 | $as_echo_n "(cached) " >&6 | 13687 | $as_echo_n "(cached) " >&6 |
| 13666 | else | 13688 | else |
| 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; } |
| 13707 | if test "${ac_cv_struct_st_dm_mode+set}" = set; then : | 13729 | if ${ac_cv_struct_st_dm_mode+:} false; then : |
| 13708 | $as_echo_n "(cached) " >&6 | 13730 | $as_echo_n "(cached) " >&6 |
| 13709 | else | 13731 | else |
| 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 | ||
| 13740 | ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default" | 13762 | ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default" |
| 13741 | if test "x$ac_cv_have_decl_strmode" = x""yes; then : | 13763 | if test "x$ac_cv_have_decl_strmode" = xyes; then : |
| 13742 | ac_have_decl=1 | 13764 | ac_have_decl=1 |
| 13743 | else | 13765 | else |
| 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; } |
| 13926 | if test "${gl_cv_have_include_next+set}" = set; then : | 13948 | if ${gl_cv_have_include_next+:} false; then : |
| 13927 | $as_echo_n "(cached) " >&6 | 13949 | $as_echo_n "(cached) " >&6 |
| 13928 | else | 13950 | else |
| 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; } |
| 14006 | if test "${gl_cv_pragma_columns+set}" = set; then : | 14028 | if ${gl_cv_pragma_columns+:} false; then : |
| 14007 | $as_echo_n "(cached) " >&6 | 14029 | $as_echo_n "(cached) " >&6 |
| 14008 | else | 14030 | else |
| 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; } |
| 14056 | if test "${gl_cv_next_getopt_h+set}" = set; then : | 14078 | if ${gl_cv_next_getopt_h+:} false; then : |
| 14057 | $as_echo_n "(cached) " >&6 | 14079 | $as_echo_n "(cached) " >&6 |
| 14058 | else | 14080 | else |
| 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 |
| 14113 | do : | 14135 | do : |
| 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" |
| 14115 | if test "x$ac_cv_header_getopt_h" = x""yes; then : | 14137 | if 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 |
| 14130 | do : | 14152 | do : |
| 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" |
| 14132 | if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 14154 | if 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; } |
| 14147 | if test "${gl_cv_func_getopt_posix+set}" = set; then : | 14169 | if ${gl_cv_func_getopt_posix+:} false; then : |
| 14148 | $as_echo_n "(cached) " >&6 | 14170 | $as_echo_n "(cached) " >&6 |
| 14149 | else | 14171 | else |
| 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; } |
| 14305 | if test "${gl_cv_func_getopt_gnu+set}" = set; then : | 14327 | if ${gl_cv_func_getopt_gnu+:} false; then : |
| 14306 | $as_echo_n "(cached) " >&6 | 14328 | $as_echo_n "(cached) " >&6 |
| 14307 | else | 14329 | else |
| 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 | ||
| 14416 | ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" | 14438 | ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" |
| 14417 | if test "x$ac_cv_have_decl_getenv" = x""yes; then : | 14439 | if test "x$ac_cv_have_decl_getenv" = xyes; then : |
| 14418 | ac_have_decl=1 | 14440 | ac_have_decl=1 |
| 14419 | else | 14441 | else |
| 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; } |
| 14547 | if test "${ac_cv_header_stdbool_h+set}" = set; then : | 14569 | if ${ac_cv_header_stdbool_h+:} false; then : |
| 14548 | $as_echo_n "(cached) " >&6 | 14570 | $as_echo_n "(cached) " >&6 |
| 14549 | else | 14571 | else |
| 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" |
| 14622 | if test "x$ac_cv_type__Bool" = x""yes; then : | 14644 | if test "x$ac_cv_type__Bool" = xyes; then : |
| 14623 | 14645 | ||
| 14624 | cat >>confdefs.h <<_ACEOF | 14646 | cat >>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; } |
| 14640 | if test "${gt_cv_c_wchar_t+set}" = set; then : | 14662 | if ${gt_cv_c_wchar_t+:} false; then : |
| 14641 | $as_echo_n "(cached) " >&6 | 14663 | $as_echo_n "(cached) " >&6 |
| 14642 | else | 14664 | else |
| 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; } |
| 14673 | if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : | 14695 | if ${ac_cv_type_unsigned_long_long_int+:} false; then : |
| 14674 | $as_echo_n "(cached) " >&6 | 14696 | $as_echo_n "(cached) " >&6 |
| 14675 | else | 14697 | else |
| 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; } |
| 14731 | if test "${ac_cv_type_long_long_int+set}" = set; then : | 14753 | if ${ac_cv_type_long_long_int+:} false; then : |
| 14732 | $as_echo_n "(cached) " >&6 | 14754 | $as_echo_n "(cached) " >&6 |
| 14733 | else | 14755 | else |
| 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 | " |
| 14794 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 14816 | if 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; } |
| 14839 | if test "${ac_cv_header_stat_broken+set}" = set; then : | 14861 | if ${ac_cv_header_stat_broken+:} false; then : |
| 14840 | $as_echo_n "(cached) " >&6 | 14862 | $as_echo_n "(cached) " >&6 |
| 14841 | else | 14863 | else |
| 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; } |
| 14883 | if test "${ac_cv_c_restrict+set}" = set; then : | 14905 | if ${ac_cv_c_restrict+:} false; then : |
| 14884 | $as_echo_n "(cached) " >&6 | 14906 | $as_echo_n "(cached) " >&6 |
| 14885 | else | 14907 | else |
| 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; } |
| 14933 | if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : | 14955 | if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : |
| 14934 | $as_echo_n "(cached) " >&6 | 14956 | $as_echo_n "(cached) " >&6 |
| 14935 | else | 14957 | else |
| 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; } |
| 14966 | if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : | 14988 | if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : |
| 14967 | $as_echo_n "(cached) " >&6 | 14989 | $as_echo_n "(cached) " >&6 |
| 14968 | else | 14990 | else |
| 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; } |
| 14995 | if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then : | 15017 | if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : |
| 14996 | $as_echo_n "(cached) " >&6 | 15018 | $as_echo_n "(cached) " >&6 |
| 14997 | else | 15019 | else |
| 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; } |
| 15044 | if test "${gl_cv_next_time_h+set}" = set; then : | 15066 | if ${gl_cv_next_time_h+:} false; then : |
| 15045 | $as_echo_n "(cached) " >&6 | 15067 | $as_echo_n "(cached) " >&6 |
| 15046 | else | 15068 | else |
| 15047 | 15069 | ||
| @@ -15084,7 +15106,7 @@ $as_echo "$gl_cv_next_time_h" >&6; } | |||
| 15084 | 15106 | ||
| 15085 | 15107 | ||
| 15086 | ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default" | 15108 | ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default" |
| 15087 | if test "x$ac_cv_have_decl_localtime_r" = x""yes; then : | 15109 | if test "x$ac_cv_have_decl_localtime_r" = xyes; then : |
| 15088 | ac_have_decl=1 | 15110 | ac_have_decl=1 |
| 15089 | else | 15111 | else |
| 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. |
| 15173 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 15195 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
| 15174 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 15196 | if test "x$ac_cv_func_getloadavg" = xyes; then : |
| 15175 | 15197 | ||
| 15176 | else | 15198 | else |
| 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; } |
| 15187 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 15209 | if ${ac_cv_lib_elf_elf_begin+:} false; then : |
| 15188 | $as_echo_n "(cached) " >&6 | 15210 | $as_echo_n "(cached) " >&6 |
| 15189 | else | 15211 | else |
| 15190 | ac_check_lib_save_LIBS=$LIBS | 15212 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15218,13 +15240,13 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15218 | fi | 15240 | fi |
| 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; } |
| 15221 | if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 15243 | if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : |
| 15222 | LIBS="-lelf $LIBS" | 15244 | LIBS="-lelf $LIBS" |
| 15223 | fi | 15245 | fi |
| 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; } |
| 15227 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 15249 | if ${ac_cv_lib_kvm_kvm_open+:} false; then : |
| 15228 | $as_echo_n "(cached) " >&6 | 15250 | $as_echo_n "(cached) " >&6 |
| 15229 | else | 15251 | else |
| 15230 | ac_check_lib_save_LIBS=$LIBS | 15252 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15258,14 +15280,14 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15258 | fi | 15280 | fi |
| 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; } |
| 15261 | if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 15283 | if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then : |
| 15262 | LIBS="-lkvm $LIBS" | 15284 | LIBS="-lkvm $LIBS" |
| 15263 | fi | 15285 | fi |
| 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; } |
| 15268 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 15290 | if ${ac_cv_lib_util_getloadavg+:} false; then : |
| 15269 | $as_echo_n "(cached) " >&6 | 15291 | $as_echo_n "(cached) " >&6 |
| 15270 | else | 15292 | else |
| 15271 | ac_check_lib_save_LIBS=$LIBS | 15293 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15299,7 +15321,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15299 | fi | 15321 | fi |
| 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; } |
| 15302 | if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 15324 | if 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 |
| 15304 | fi | 15326 | fi |
| 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; } |
| 15315 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 15337 | if ${ac_cv_lib_getloadavg_getloadavg+:} false; then : |
| 15316 | $as_echo_n "(cached) " >&6 | 15338 | $as_echo_n "(cached) " >&6 |
| 15317 | else | 15339 | else |
| 15318 | ac_check_lib_save_LIBS=$LIBS | 15340 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15346,7 +15368,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15346 | fi | 15368 | fi |
| 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; } |
| 15349 | if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 15371 | if 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 |
| 15351 | else | 15373 | else |
| 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; } |
| 15375 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 15397 | if ${ac_cv_lib_kstat_kstat_open+:} false; then : |
| 15376 | $as_echo_n "(cached) " >&6 | 15398 | $as_echo_n "(cached) " >&6 |
| 15377 | else | 15399 | else |
| 15378 | ac_check_lib_save_LIBS=$LIBS | 15400 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15406,7 +15428,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15406 | fi | 15428 | fi |
| 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; } |
| 15409 | if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 15431 | if 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 |
| 15423 | do : | 15445 | do : |
| 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" |
| 15425 | if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 15447 | if 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 | |||
| 15436 | if test $gl_have_func = no; then | 15458 | if 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; } |
| 15439 | if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then : | 15461 | if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then : |
| 15440 | $as_echo_n "(cached) " >&6 | 15462 | $as_echo_n "(cached) " >&6 |
| 15441 | else | 15463 | else |
| 15442 | ac_check_lib_save_LIBS=$LIBS | 15464 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15470,7 +15492,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15470 | fi | 15492 | fi |
| 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; } |
| 15473 | if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = x""yes; then : | 15495 | if 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 | ||
| 15485 | if test $gl_have_func = no; then | 15507 | if 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" |
| 15487 | if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 15509 | if 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; } |
| 15494 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 15516 | if ${ac_cv_lib_dgc_dg_sys_info+:} false; then : |
| 15495 | $as_echo_n "(cached) " >&6 | 15517 | $as_echo_n "(cached) " >&6 |
| 15496 | else | 15518 | else |
| 15497 | ac_check_lib_save_LIBS=$LIBS | 15519 | ac_check_lib_save_LIBS=$LIBS |
| @@ -15525,7 +15547,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 15525 | fi | 15547 | fi |
| 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; } |
| 15528 | if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 15550 | if 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 | ||
| 15553 | if test $gl_have_func = no; then | 15575 | if 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" |
| 15555 | if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 15577 | if 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 | ||
| 15568 | if test $gl_have_func = no; then | 15590 | if 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" |
| 15570 | if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 15592 | if 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 | ||
| 15573 | fi | 15595 | fi |
| @@ -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 |
| 15580 | do : | 15602 | do : |
| 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" |
| 15582 | if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 15604 | if 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 | |||
| 15593 | for ac_header in nlist.h | 15615 | for ac_header in nlist.h |
| 15594 | do : | 15616 | do : |
| 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" |
| 15596 | if test "x$ac_cv_header_nlist_h" = x""yes; then : | 15618 | if 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 | " |
| 15602 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 15624 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then : |
| 15603 | 15625 | ||
| 15604 | cat >>confdefs.h <<_ACEOF | 15626 | cat >>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 | |||
| 15653 | for ac_header in sys/loadavg.h | 15675 | for ac_header in sys/loadavg.h |
| 15654 | do : | 15676 | do : |
| 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" |
| 15656 | if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then : | 15678 | if 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 | " |
| 15675 | if test "x$ac_cv_have_decl_getloadavg" = x""yes; then : | 15697 | if test "x$ac_cv_have_decl_getloadavg" = xyes; then : |
| 15676 | 15698 | ||
| 15677 | else | 15699 | else |
| 15678 | HAVE_DECL_GETLOADAVG=0 | 15700 | HAVE_DECL_GETLOADAVG=0 |
| @@ -15759,7 +15781,7 @@ if test $APPLE_UNIVERSAL_BUILD = 1; then | |||
| 15759 | fi | 15781 | fi |
| 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; } |
| 15762 | if test "${ac_cv_func_working_mktime+set}" = set; then : | 15784 | if ${ac_cv_func_working_mktime+:} false; then : |
| 15763 | $as_echo_n "(cached) " >&6 | 15785 | $as_echo_n "(cached) " >&6 |
| 15764 | else | 15786 | else |
| 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; } |
| 16035 | if test "${gl_cv_decl_null_works+set}" = set; then : | 16057 | if ${gl_cv_decl_null_works+:} false; then : |
| 16036 | $as_echo_n "(cached) " >&6 | 16058 | $as_echo_n "(cached) " >&6 |
| 16037 | else | 16059 | else |
| 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; } |
| 16078 | if test "${gl_cv_next_stddef_h+set}" = set; then : | 16100 | if ${gl_cv_next_stddef_h+:} false; then : |
| 16079 | $as_echo_n "(cached) " >&6 | 16101 | $as_echo_n "(cached) " >&6 |
| 16080 | else | 16102 | else |
| 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; } |
| 16174 | if test "${gl_cv_next_stdint_h+set}" = set; then : | 16196 | if ${gl_cv_next_stdint_h+:} false; then : |
| 16175 | $as_echo_n "(cached) " >&6 | 16197 | $as_echo_n "(cached) " >&6 |
| 16176 | else | 16198 | else |
| 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; } |
| 16230 | if test "${gl_cv_header_working_stdint_h+set}" = set; then : | 16252 | if ${gl_cv_header_working_stdint_h+:} false; then : |
| 16231 | $as_echo_n "(cached) " >&6 | 16253 | $as_echo_n "(cached) " >&6 |
| 16232 | else | 16254 | else |
| 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; } |
| 16533 | if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : | 16555 | if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : |
| 16534 | $as_echo_n "(cached) " >&6 | 16556 | $as_echo_n "(cached) " >&6 |
| 16535 | else | 16557 | else |
| 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; } |
| 16578 | if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : | 16600 | if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : |
| 16579 | $as_echo_n "(cached) " >&6 | 16601 | $as_echo_n "(cached) " >&6 |
| 16580 | else | 16602 | else |
| 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; } |
| 16622 | if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then : | 16644 | if eval \${gl_cv_type_${gltype}_signed+:} false; then : |
| 16623 | $as_echo_n "(cached) " >&6 | 16645 | $as_echo_n "(cached) " >&6 |
| 16624 | else | 16646 | else |
| 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; } |
| 16681 | if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : | 16703 | if eval \${gl_cv_type_${gltype}_suffix+:} false; then : |
| 16682 | $as_echo_n "(cached) " >&6 | 16704 | $as_echo_n "(cached) " >&6 |
| 16683 | else | 16705 | else |
| 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; } |
| 16753 | if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : | 16775 | if eval \${gl_cv_type_${gltype}_suffix+:} false; then : |
| 16754 | $as_echo_n "(cached) " >&6 | 16776 | $as_echo_n "(cached) " >&6 |
| 16755 | else | 16777 | else |
| 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; } |
| 16840 | if test "${gl_cv_next_stdlib_h+set}" = set; then : | 16862 | if ${gl_cv_next_stdlib_h+:} false; then : |
| 16841 | $as_echo_n "(cached) " >&6 | 16863 | $as_echo_n "(cached) " >&6 |
| 16842 | else | 16864 | else |
| 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; } |
| 16931 | if test "${gl_cv_next_sys_stat_h+set}" = set; then : | 16953 | if ${gl_cv_next_sys_stat_h+:} false; then : |
| 16932 | $as_echo_n "(cached) " >&6 | 16954 | $as_echo_n "(cached) " >&6 |
| 16933 | else | 16955 | else |
| 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 | " |
| 16981 | if test "x$ac_cv_type_nlink_t" = x""yes; then : | 17003 | if test "x$ac_cv_type_nlink_t" = xyes; then : |
| 16982 | 17004 | ||
| 16983 | else | 17005 | else |
| 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; } |
| 17014 | if test "${gl_cv_time_r_posix+set}" = set; then : | 17036 | if ${gl_cv_time_r_posix+:} false; then : |
| 17015 | $as_echo_n "(cached) " >&6 | 17037 | $as_echo_n "(cached) " >&6 |
| 17016 | else | 17038 | else |
| 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; } |
| 17096 | if test "${gl_cv_next_unistd_h+set}" = set; then : | 17118 | if ${gl_cv_next_unistd_h+:} false; then : |
| 17097 | $as_echo_n "(cached) " >&6 | 17119 | $as_echo_n "(cached) " >&6 |
| 17098 | else | 17120 | else |
| 17099 | 17121 | ||
| @@ -17193,7 +17215,7 @@ $as_echo "$gl_cv_next_unistd_h" >&6; } | |||
| 17193 | for ac_func in grantpt | 17215 | for ac_func in grantpt |
| 17194 | do : | 17216 | do : |
| 17195 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 17217 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" |
| 17196 | if test "x$ac_cv_func_grantpt" = x""yes; then : | 17218 | if 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 | |||
| 17206 | for ac_func in getpt | 17228 | for ac_func in getpt |
| 17207 | do : | 17229 | do : |
| 17208 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 17230 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" |
| 17209 | if test "x$ac_cv_func_getpt" = x""yes; then : | 17231 | if 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 | |||
| 17223 | have_tputs_et_al=true | 17245 | have_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; } |
| 17226 | if test "${ac_cv_search_tputs+set}" = set; then : | 17248 | if ${ac_cv_search_tputs+:} false; then : |
| 17227 | $as_echo_n "(cached) " >&6 | 17249 | $as_echo_n "(cached) " >&6 |
| 17228 | else | 17250 | else |
| 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 | |||
| 17257 | fi | 17279 | fi |
| 17258 | rm -f core conftest.err conftest.$ac_objext \ | 17280 | rm -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 |
| 17262 | fi | 17284 | fi |
| 17263 | done | 17285 | done |
| 17264 | if test "${ac_cv_search_tputs+set}" = set; then : | 17286 | if ${ac_cv_search_tputs+:} false; then : |
| 17265 | 17287 | ||
| 17266 | else | 17288 | else |
| 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 |
| 17325 | else | 17347 | else |
| 17326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17348 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -17462,16 +17484,16 @@ LIBHESIOD= | |||
| 17462 | if test "$with_hesiod" != no ; then | 17484 | if 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" |
| 17465 | if test "x$ac_cv_func_res_send" = x""yes; then : | 17487 | if test "x$ac_cv_func_res_send" = xyes; then : |
| 17466 | 17488 | ||
| 17467 | else | 17489 | else |
| 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" |
| 17469 | if test "x$ac_cv_func___res_send" = x""yes; then : | 17491 | if test "x$ac_cv_func___res_send" = xyes; then : |
| 17470 | 17492 | ||
| 17471 | else | 17493 | else |
| 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; } |
| 17474 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 17496 | if ${ac_cv_lib_resolv_res_send+:} false; then : |
| 17475 | $as_echo_n "(cached) " >&6 | 17497 | $as_echo_n "(cached) " >&6 |
| 17476 | else | 17498 | else |
| 17477 | ac_check_lib_save_LIBS=$LIBS | 17499 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17505,12 +17527,12 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17505 | fi | 17527 | fi |
| 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; } |
| 17508 | if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 17530 | if test "x$ac_cv_lib_resolv_res_send" = xyes; then : |
| 17509 | resolv=yes | 17531 | resolv=yes |
| 17510 | else | 17532 | else |
| 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; } |
| 17513 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 17535 | if ${ac_cv_lib_resolv___res_send+:} false; then : |
| 17514 | $as_echo_n "(cached) " >&6 | 17536 | $as_echo_n "(cached) " >&6 |
| 17515 | else | 17537 | else |
| 17516 | ac_check_lib_save_LIBS=$LIBS | 17538 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17544,7 +17566,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17544 | fi | 17566 | fi |
| 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; } |
| 17547 | if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 17569 | if test "x$ac_cv_lib_resolv___res_send" = xyes; then : |
| 17548 | resolv=yes | 17570 | resolv=yes |
| 17549 | fi | 17571 | fi |
| 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" |
| 17563 | if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 17585 | if test "x$ac_cv_func_hes_getmailhost" = xyes; then : |
| 17564 | 17586 | ||
| 17565 | else | 17587 | else |
| 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; } |
| 17568 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 17590 | if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then : |
| 17569 | $as_echo_n "(cached) " >&6 | 17591 | $as_echo_n "(cached) " >&6 |
| 17570 | else | 17592 | else |
| 17571 | ac_check_lib_save_LIBS=$LIBS | 17593 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17599,7 +17621,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17599 | fi | 17621 | fi |
| 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; } |
| 17602 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 17624 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then : |
| 17603 | hesiod=yes | 17625 | hesiod=yes |
| 17604 | else | 17626 | else |
| 17605 | : | 17627 | : |
| @@ -17638,7 +17660,7 @@ KRB4LIB= | |||
| 17638 | if test "${with_kerberos}" != no; then | 17660 | if 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; } |
| 17641 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 17663 | if ${ac_cv_lib_com_err_com_err+:} false; then : |
| 17642 | $as_echo_n "(cached) " >&6 | 17664 | $as_echo_n "(cached) " >&6 |
| 17643 | else | 17665 | else |
| 17644 | ac_check_lib_save_LIBS=$LIBS | 17666 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17672,7 +17694,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17672 | fi | 17694 | fi |
| 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; } |
| 17675 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 17697 | if test "x$ac_cv_lib_com_err_com_err" = xyes; then : |
| 17676 | have_com_err=yes | 17698 | have_com_err=yes |
| 17677 | else | 17699 | else |
| 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; } |
| 17690 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 17712 | if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then : |
| 17691 | $as_echo_n "(cached) " >&6 | 17713 | $as_echo_n "(cached) " >&6 |
| 17692 | else | 17714 | else |
| 17693 | ac_check_lib_save_LIBS=$LIBS | 17715 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17721,7 +17743,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17721 | fi | 17743 | fi |
| 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; } |
| 17724 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 17746 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then : |
| 17725 | have_crypto=yes | 17747 | have_crypto=yes |
| 17726 | else | 17748 | else |
| 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; } |
| 17739 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 17761 | if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then : |
| 17740 | $as_echo_n "(cached) " >&6 | 17762 | $as_echo_n "(cached) " >&6 |
| 17741 | else | 17763 | else |
| 17742 | ac_check_lib_save_LIBS=$LIBS | 17764 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17770,7 +17792,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17770 | fi | 17792 | fi |
| 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; } |
| 17773 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 17795 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then : |
| 17774 | have_k5crypto=yes | 17796 | have_k5crypto=yes |
| 17775 | else | 17797 | else |
| 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; } |
| 17788 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 17810 | if ${ac_cv_lib_krb5_krb5_init_context+:} false; then : |
| 17789 | $as_echo_n "(cached) " >&6 | 17811 | $as_echo_n "(cached) " >&6 |
| 17790 | else | 17812 | else |
| 17791 | ac_check_lib_save_LIBS=$LIBS | 17813 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17819,7 +17841,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17819 | fi | 17841 | fi |
| 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; } |
| 17822 | if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 17844 | if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then : |
| 17823 | have_krb5=yes | 17845 | have_krb5=yes |
| 17824 | else | 17846 | else |
| 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; } |
| 17838 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 17860 | if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then : |
| 17839 | $as_echo_n "(cached) " >&6 | 17861 | $as_echo_n "(cached) " >&6 |
| 17840 | else | 17862 | else |
| 17841 | ac_check_lib_save_LIBS=$LIBS | 17863 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17869,7 +17891,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17869 | fi | 17891 | fi |
| 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; } |
| 17872 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 17894 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then : |
| 17873 | have_des425=yes | 17895 | have_des425=yes |
| 17874 | else | 17896 | else |
| 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; } |
| 17887 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 17909 | if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then : |
| 17888 | $as_echo_n "(cached) " >&6 | 17910 | $as_echo_n "(cached) " >&6 |
| 17889 | else | 17911 | else |
| 17890 | ac_check_lib_save_LIBS=$LIBS | 17912 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17918,7 +17940,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17918 | fi | 17940 | fi |
| 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; } |
| 17921 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 17943 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then : |
| 17922 | have_des=yes | 17944 | have_des=yes |
| 17923 | else | 17945 | else |
| 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; } |
| 17937 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 17959 | if ${ac_cv_lib_krb4_krb_get_cred+:} false; then : |
| 17938 | $as_echo_n "(cached) " >&6 | 17960 | $as_echo_n "(cached) " >&6 |
| 17939 | else | 17961 | else |
| 17940 | ac_check_lib_save_LIBS=$LIBS | 17962 | ac_check_lib_save_LIBS=$LIBS |
| @@ -17968,7 +17990,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 17968 | fi | 17990 | fi |
| 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; } |
| 17971 | if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 17993 | if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then : |
| 17972 | have_krb4=yes | 17994 | have_krb4=yes |
| 17973 | else | 17995 | else |
| 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; } |
| 17986 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 18008 | if ${ac_cv_lib_krb_krb_get_cred+:} false; then : |
| 17987 | $as_echo_n "(cached) " >&6 | 18009 | $as_echo_n "(cached) " >&6 |
| 17988 | else | 18010 | else |
| 17989 | ac_check_lib_save_LIBS=$LIBS | 18011 | ac_check_lib_save_LIBS=$LIBS |
| @@ -18017,7 +18039,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 18017 | fi | 18039 | fi |
| 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; } |
| 18020 | if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 18042 | if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then : |
| 18021 | have_krb=yes | 18043 | have_krb=yes |
| 18022 | else | 18044 | else |
| 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 |
| 18038 | do : | 18060 | do : |
| 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" |
| 18040 | if test "x$ac_cv_header_krb5_h" = x""yes; then : | 18062 | if 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 | " |
| 18046 | if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 18068 | if test "x$ac_cv_member_krb5_error_text" = xyes; then : |
| 18047 | 18069 | ||
| 18048 | cat >>confdefs.h <<_ACEOF | 18070 | cat >>confdefs.h <<_ACEOF |
| 18049 | #define HAVE_KRB5_ERROR_TEXT 1 | 18071 | #define HAVE_KRB5_ERROR_TEXT 1 |
| @@ -18053,7 +18075,7 @@ _ACEOF | |||
| 18053 | fi | 18075 | fi |
| 18054 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 18076 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> |
| 18055 | " | 18077 | " |
| 18056 | if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 18078 | if test "x$ac_cv_member_krb5_error_e_text" = xyes; then : |
| 18057 | 18079 | ||
| 18058 | cat >>confdefs.h <<_ACEOF | 18080 | cat >>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 |
| 18071 | do : | 18093 | do : |
| 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" |
| 18073 | if test "x$ac_cv_header_des_h" = x""yes; then : | 18095 | if 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 |
| 18080 | do : | 18102 | do : |
| 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" |
| 18082 | if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 18104 | if 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 |
| 18089 | do : | 18111 | do : |
| 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" |
| 18091 | if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 18113 | if 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 |
| 18109 | do : | 18131 | do : |
| 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" |
| 18111 | if test "x$ac_cv_header_krb_h" = x""yes; then : | 18133 | if 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 |
| 18118 | do : | 18140 | do : |
| 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" |
| 18120 | if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 18142 | if 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 |
| 18127 | do : | 18149 | do : |
| 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" |
| 18129 | if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 18151 | if 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 |
| 18148 | do : | 18170 | do : |
| 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" |
| 18150 | if test "x$ac_cv_header_com_err_h" = x""yes; then : | 18172 | if 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; } |
| 18171 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 18193 | if ${ac_cv_lib_intl_dgettext+:} false; then : |
| 18172 | $as_echo_n "(cached) " >&6 | 18194 | $as_echo_n "(cached) " >&6 |
| 18173 | else | 18195 | else |
| 18174 | ac_check_lib_save_LIBS=$LIBS | 18196 | ac_check_lib_save_LIBS=$LIBS |
| @@ -18202,7 +18224,7 @@ LIBS=$ac_check_lib_save_LIBS | |||
| 18202 | fi | 18224 | fi |
| 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; } |
| 18205 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 18227 | if 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; } |
| 18217 | if test "${emacs_cv_localtime_cache+set}" = set; then : | 18239 | if ${emacs_cv_localtime_cache+:} false; then : |
| 18218 | $as_echo_n "(cached) " >&6 | 18240 | $as_echo_n "(cached) " >&6 |
| 18219 | else | 18241 | else |
| 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 |
| 18274 | do : | 18296 | do : |
| 18275 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 18297 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
| 18276 | if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 18298 | if 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; } |
| 18287 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 18309 | if ${emacs_cv_gettimeofday_two_arguments+:} false; then : |
| 18288 | $as_echo_n "(cached) " >&6 | 18310 | $as_echo_n "(cached) " >&6 |
| 18289 | else | 18311 | else |
| 18290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18312 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -18328,7 +18350,7 @@ fi | |||
| 18328 | 18350 | ||
| 18329 | ok_so_far=yes | 18351 | ok_so_far=yes |
| 18330 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 18352 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
| 18331 | if test "x$ac_cv_func_socket" = x""yes; then : | 18353 | if test "x$ac_cv_func_socket" = xyes; then : |
| 18332 | 18354 | ||
| 18333 | else | 18355 | else |
| 18334 | ok_so_far=no | 18356 | ok_so_far=no |
| @@ -18336,7 +18358,7 @@ fi | |||
| 18336 | 18358 | ||
| 18337 | if test $ok_so_far = yes; then | 18359 | if 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" |
| 18339 | if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 18361 | if test "x$ac_cv_header_netinet_in_h" = xyes; then : |
| 18340 | 18362 | ||
| 18341 | else | 18363 | else |
| 18342 | ok_so_far=no | 18364 | ok_so_far=no |
| @@ -18346,7 +18368,7 @@ fi | |||
| 18346 | fi | 18368 | fi |
| 18347 | if test $ok_so_far = yes; then | 18369 | if 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" |
| 18349 | if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 18371 | if test "x$ac_cv_header_arpa_inet_h" = xyes; then : |
| 18350 | 18372 | ||
| 18351 | else | 18373 | else |
| 18352 | ok_so_far=no | 18374 | ok_so_far=no |
| @@ -18380,7 +18402,7 @@ $as_echo "no" >&6; } | |||
| 18380 | fi | 18402 | fi |
| 18381 | 18403 | ||
| 18382 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 18404 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
| 18383 | if test "x$ac_cv_type_pid_t" = x""yes; then : | 18405 | if test "x$ac_cv_type_pid_t" = xyes; then : |
| 18384 | 18406 | ||
| 18385 | else | 18407 | else |
| 18386 | 18408 | ||
| @@ -18393,7 +18415,7 @@ fi | |||
| 18393 | for ac_header in vfork.h | 18415 | for ac_header in vfork.h |
| 18394 | do : | 18416 | do : |
| 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" |
| 18396 | if test "x$ac_cv_header_vfork_h" = x""yes; then : | 18418 | if 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 | |||
| 18417 | if test "x$ac_cv_func_fork" = xyes; then | 18439 | if 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; } |
| 18420 | if test "${ac_cv_func_fork_works+set}" = set; then : | 18442 | if ${ac_cv_func_fork_works+:} false; then : |
| 18421 | $as_echo_n "(cached) " >&6 | 18443 | $as_echo_n "(cached) " >&6 |
| 18422 | else | 18444 | else |
| 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 | |||
| 18470 | if test "x$ac_cv_func_vfork" = xyes; then | 18492 | if 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; } |
| 18473 | if test "${ac_cv_func_vfork_works+set}" = set; then : | 18495 | if ${ac_cv_func_vfork_works+:} false; then : |
| 18474 | $as_echo_n "(cached) " >&6 | 18496 | $as_echo_n "(cached) " >&6 |
| 18475 | else | 18497 | else |
| 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; } |
| 18609 | if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 18631 | if ${emacs_cv_langinfo_codeset+:} false; then : |
| 18610 | $as_echo_n "(cached) " >&6 | 18632 | $as_echo_n "(cached) " >&6 |
| 18611 | else | 18633 | else |
| 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 | |||
| 18638 | fi | 18660 | fi |
| 18639 | 18661 | ||
| 18640 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 18662 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 18641 | if test "x$ac_cv_type_size_t" = x""yes; then : | 18663 | if test "x$ac_cv_type_size_t" = xyes; then : |
| 18642 | 18664 | ||
| 18643 | cat >>confdefs.h <<_ACEOF | 18665 | cat >>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; } |
| 18653 | if test "${ac_cv_type_mbstate_t+set}" = set; then : | 18675 | if ${ac_cv_type_mbstate_t+:} false; then : |
| 18654 | $as_echo_n "(cached) " >&6 | 18676 | $as_echo_n "(cached) " >&6 |
| 18655 | else | 18677 | else |
| 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; } |
| 18689 | if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 18711 | if ${emacs_cv_c_restrict_arr+:} false; then : |
| 18690 | $as_echo_n "(cached) " >&6 | 18712 | $as_echo_n "(cached) " >&6 |
| 18691 | else | 18713 | else |
| 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 |
| 19276 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 19298 | if 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}" |
| 19368 | ac_write_fail=0 | 19401 | ac_write_fail=0 |
| 19369 | ac_clean_files_save=$ac_clean_files | 19402 | ac_clean_files_save=$ac_clean_files |
| 19370 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 19403 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| @@ -19465,6 +19498,7 @@ fi | |||
| 19465 | IFS=" "" $as_nl" | 19498 | IFS=" "" $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. |
| 19501 | as_myself= | ||
| 19468 | case $0 in #(( | 19502 | case $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. |
| 19773 | ac_log=" | 19807 | ac_log=" |
| 19774 | This file was extended by emacs $as_me 24.0.50, which was | 19808 | This file was extended by emacs $as_me 24.0.50, which was |
| 19775 | generated by GNU Autoconf 2.67. Invocation command line was | 19809 | generated 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 | |||
| 19838 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 19872 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 19839 | ac_cs_version="\\ | 19873 | ac_cs_version="\\ |
| 19840 | emacs config.status 24.0.50 | 19874 | emacs config.status 24.0.50 |
| 19841 | configured by $0, generated by GNU Autoconf 2.67, | 19875 | configured by $0, generated by GNU Autoconf 2.68, |
| 19842 | with options \\"\$ac_cs_config\\" | 19876 | with options \\"\$ac_cs_config\\" |
| 19843 | 19877 | ||
| 19844 | Copyright (C) 2010 Free Software Foundation, Inc. | 19878 | Copyright (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 |
| 19989 | done | 20023 | done |
| 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 |
| 20061 | ac_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 |
| 20062 | fi | 20098 | fi |
| 20063 | 20099 | ||
| 20064 | echo 'BEGIN {' >"$tmp/subs1.awk" && | 20100 | echo '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 | |||
| 20100 | rm -f conf$$subs.sh | 20136 | rm -f conf$$subs.sh |
| 20101 | 20137 | ||
| 20102 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 20138 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 20103 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | 20139 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 20104 | _ACEOF | 20140 | _ACEOF |
| 20105 | sed -n ' | 20141 | sed -n ' |
| 20106 | h | 20142 | h |
| @@ -20148,7 +20184,7 @@ t delim | |||
| 20148 | rm -f conf$$subs.awk | 20184 | rm -f conf$$subs.awk |
| 20149 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 20185 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 20150 | _ACAWK | 20186 | _ACAWK |
| 20151 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | 20187 | cat >>"\$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" |
| 20187 | else | 20223 | else |
| 20188 | cat | 20224 | cat |
| 20189 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 20225 | fi < "$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'. |
| 20222 | if test -n "$CONFIG_HEADERS"; then | 20258 | if test -n "$CONFIG_HEADERS"; then |
| 20223 | cat >"$tmp/defines.awk" <<\_ACAWK || | 20259 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 20224 | BEGIN { | 20260 | BEGIN { |
| 20225 | _ACEOF | 20261 | _ACEOF |
| 20226 | 20262 | ||
| @@ -20232,8 +20268,8 @@ _ACEOF | |||
| 20232 | # handling of long lines. | 20268 | # handling of long lines. |
| 20233 | ac_delim='%!_!# ' | 20269 | ac_delim='%!_!# ' |
| 20234 | for ac_last_try in false false :; do | 20270 | for 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 | " |
| 20528 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | | 20564 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
| 20529 | if $ac_cs_awk_getline; then | 20565 | if $ac_cs_awk_getline; then |
| 20530 | $AWK -f "$tmp/subs.awk" | 20566 | $AWK -f "$ac_tmp/subs.awk" |
| 20531 | else | 20567 | else |
| 20532 | $AWK -f "$tmp/subs.awk" | $SHELL | 20568 | $AWK -f "$ac_tmp/subs.awk" | $SHELL |
| 20533 | fi >$tmp/out \ | 20569 | fi \ |
| 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 | ||
| 20536 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 20572 | test -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' |
| 20540 | which seems to be undefined. Please make sure it is defined" >&5 | 20577 | which 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' |
| 20542 | which seems to be undefined. Please make sure it is defined" >&2;} | 20579 | which 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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2011-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 | ||
| 471 | Lambda Expressions | 472 | Lambda 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 | |||
| 585 | write code that evaluates a form that is computed at run time, such as | 585 | write code that evaluates a form that is computed at run time, such as |
| 586 | after reading a form from text being edited or getting one from a | 586 | after reading a form from text being edited or getting one from a |
| 587 | property list. On these occasions, use the @code{eval} function. | 587 | property list. On these occasions, use the @code{eval} function. |
| 588 | Often @code{eval} is not needed and something else should be used instead. | ||
| 589 | For example, to get the value of a variable, while @code{eval} works, | ||
| 590 | @code{symbol-value} is preferable; or rather than store expressions | ||
| 591 | in a property list that then need to go through @code{eval}, it is better to | ||
| 592 | store 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, |
| 590 | specify limits to the evaluation process, or record recently returned | 595 | specify 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 | |||
| 596 | functions provides the ability to pass information to them as | 601 | functions provides the ability to pass information to them as |
| 597 | arguments. | 602 | arguments. |
| 598 | 603 | ||
| 599 | @defun eval form | 604 | @defun eval form &optional lexical |
| 600 | This is the basic function evaluating an expression. It evaluates | 605 | This 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 |
| 602 | evaluation proceeds depends on the type of the object (@pxref{Forms}). | 607 | evaluation proceeds depends on the type of the object (@pxref{Forms}). |
| 608 | @var{lexical} if non-nil means to evaluate @var{form} using lexical scoping | ||
| 609 | rules (@pxref{Lexical Binding}) instead of the default dynamic scoping used | ||
| 610 | historically in Emacs Lisp. | ||
| 603 | 611 | ||
| 604 | Since @code{eval} is a function, the argument expression that appears | 612 | Since @code{eval} is a function, the argument expression that appears |
| 605 | in a call to @code{eval} is evaluated twice: once as preparation before | 613 | in 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 | |||
| 25 | representing the variable. | 25 | representing 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}. | |||
| 437 | This special form defines @var{symbol} as a variable and can also | 437 | This special form defines @var{symbol} as a variable and can also |
| 438 | initialize and document it. The definition informs a person reading | 438 | initialize and document it. The definition informs a person reading |
| 439 | your code that @var{symbol} is used as a variable that might be set or | 439 | your code that @var{symbol} is used as a variable that might be set or |
| 440 | changed. Note that @var{symbol} is not evaluated; the symbol to be | 440 | changed. It also declares this variable as @dfn{special}, meaning that it |
| 441 | defined must appear explicitly in the @code{defvar}. | 441 | should always use dynamic scoping rules. Note that @var{symbol} is not |
| 442 | evaluated; the symbol to be defined must appear explicitly in the | ||
| 443 | @code{defvar}. | ||
| 442 | 444 | ||
| 443 | If @var{symbol} is void and @var{value} is specified, @code{defvar} | 445 | If @var{symbol} is void and @var{value} is specified, @code{defvar} |
| 444 | evaluates it and sets @var{symbol} to the result. But if @var{symbol} | 446 | evaluates it and sets @var{symbol} to the result. But if @var{symbol} |
| 445 | already has a value (i.e., it is not void), @var{value} is not even | 447 | already has a value (i.e., it is not void), @var{value} is not even |
| 446 | evaluated, and @var{symbol}'s value remains unchanged. If @var{value} | 448 | evaluated, and @var{symbol}'s value remains unchanged. |
| 447 | is omitted, the value of @var{symbol} is not changed in any case. | 449 | If @var{value} is omitted, the value of @var{symbol} is not changed in any |
| 450 | case; instead, the only effect of @code{defvar} is to declare locally that this | ||
| 451 | variable exists elsewhere and should hence always use dynamic scoping rules. | ||
| 448 | 452 | ||
| 449 | If @var{symbol} has a buffer-local binding in the current buffer, | 453 | If @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 |
| 886 | the source code the binding can be accessed. ``Indefinite scope'' means | 890 | the source code the binding can be accessed. ``Indefinite scope'' means |
| 887 | that any part of the program can potentially access the variable | 891 | that 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 |
| 895 | located textually within the function or block that binds the variable. | 899 | located textually within the function or block that binds the variable. |
| 900 | Emacs can also support lexical scoping, upon request (@pxref{Lexical | ||
| 901 | Binding}). | ||
| 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}. | |||
| 969 | by @code{foo} instead of the one bound by @code{binder}. | 976 | by @code{foo} instead of the one bound by @code{binder}. |
| 970 | @end itemize | 977 | @end itemize |
| 971 | 978 | ||
| 972 | Emacs Lisp uses dynamic scoping because simple implementations of | 979 | Emacs Lisp used dynamic scoping by default because simple implementations of |
| 973 | lexical scoping are slow. In addition, every Lisp system needs to offer | 980 | lexical scoping are slow. In addition, every Lisp system needs to offer |
| 974 | dynamic scoping at least as an option; if lexical scoping is the norm, | 981 | dynamic scoping at least as an option; if lexical scoping is the norm, there |
| 975 | there must be a way to specify dynamic scoping instead for a particular | 982 | must be a way to specify dynamic scoping instead for a particular variable. |
| 976 | variable. It might not be a bad thing for Emacs to offer both, but | 983 | Nowadays, Emacs offers both, but the default is still to use exclusively |
| 977 | implementing it with dynamic scoping only was much easier. | 984 | dynamic 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 | |||
| 1088 | compiler. Choose the variable's name to avoid name conflicts---don't | 1095 | compiler. Choose the variable's name to avoid name conflicts---don't |
| 1089 | use short names like @code{x}. | 1096 | use short names like @code{x}. |
| 1090 | 1097 | ||
| 1098 | |||
| 1099 | @node Lexical Binding | ||
| 1100 | @subsection Use of Lexical Scoping | ||
| 1101 | |||
| 1102 | Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or | ||
| 1103 | lexical binding mode. In dynamic binding mode, all local variables use dynamic | ||
| 1104 | scoping, whereas in lexical binding mode variables that have been declared | ||
| 1105 | @dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use | ||
| 1106 | dynamic scoping and all others use lexical scoping. | ||
| 1107 | |||
| 1108 | @defvar lexical-binding | ||
| 1109 | When non-nil, evaluation of Lisp code uses lexical scoping for non-special | ||
| 1110 | local variables instead of dynamic scoping. If nil, dynamic scoping is used | ||
| 1111 | for all local variables. This variable is typically set for a whole Elisp file | ||
| 1112 | via file local variables (@pxref{File Local Variables}). | ||
| 1113 | @end defvar | ||
| 1114 | |||
| 1115 | @defun special-variable-p SYMBOL | ||
| 1116 | Return whether SYMBOL has been declared as a special variable, via | ||
| 1117 | @code{defvar} or @code{defconst}. | ||
| 1118 | @end defun | ||
| 1119 | |||
| 1120 | The use of a special variable as a formal argument in a function is generally | ||
| 1121 | discouraged and its behavior in lexical binding mode is unspecified (it may use | ||
| 1122 | lexical scoping sometimes and dynamic scoping other times). | ||
| 1123 | |||
| 1124 | Functions like @code{symbol-value}, @code{boundp}, or @code{set} only know | ||
| 1125 | about dynamically scoped variables, so you cannot get the value of a lexical | ||
| 1126 | variable via @code{symbol-value} and neither can you change it via @code{set}. | ||
| 1127 | Another particularity is that code in the body of a @code{defun} or | ||
| 1128 | @code{defmacro} cannot refer to surrounding lexical variables. | ||
| 1129 | |||
| 1130 | Evaluation of a @code{lambda} expression in lexical binding mode will not just | ||
| 1131 | return that lambda expression unchanged, as in the dynamic binding case, but | ||
| 1132 | will instead construct a new object that remembers the current lexical | ||
| 1133 | environment in which that lambda expression was defined, so that the function | ||
| 1134 | body 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 | ||
| 1136 | by @code{funcall}, and they are represented by a cons cell whose @code{car} is | ||
| 1137 | the 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}, | |||
| 1103 | and @xref{Frame-Local Variables}.) | 1152 | and @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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca> | 22 | 2011-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 | ||
| 359 | 2004-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 | |||
| 338 | 2004-04-29 Miles Bader <miles@gnu.org> | 368 | 2004-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 @@ | |||
| 1 | 2004-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 | |||
| 55 | the car of that and use it as the default binding for symbol. | 55 | the car of that and use it as the default binding for symbol. |
| 56 | Otherwise, VALUE will be evaluated and used as the default binding for | 56 | Otherwise, VALUE will be evaluated and used as the default binding for |
| 57 | symbol." | 57 | symbol." |
| 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, |
| 82 | or the value in the symbol's `saved-value' property if any, | 80 | or the value in the symbol's `saved-value' property if any, |
| 83 | or (last of all) VALUE." | 81 | or (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. |
| 1173 | Must also be called after `dired-actual-switches' have changed. | 1173 | Must also be called after `dired-actual-switches' have changed. |
| 1174 | Should not fail even on completely garbaged buffers. | 1174 | Should 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. |
| 2134 | If this is impossible, return FILE unchanged. | 2134 | If this is impossible, return FILE unchanged. |
| 2135 | DIR must be a directory name, not a file name." | 2135 | DIR 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 "\ |
| 3225 | Type SPC or `y' to unmark one file, DEL or `n' to skip to next, | 3225 | Type 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. |
| 3499 | URI is the file to handle, ACTION is one of copy, move, link or ask. | 3501 | URI 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 |
| 84 | is less than this number.") | 117 | is 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. |
| 214 | Arguments: | 247 | Arguments: |
| 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 |
| 218 | within current environment. | 251 | within 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. |
| 220 | Initially empty. | 253 | Initially 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. |
| 222 | Initially empty. | 255 | Initially empty. |
| 223 | 256 | ||
| 224 | Returns a form where all lambdas don't have any free variables." | 257 | Returns 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. | ||
| 659 | VARDATA should be (BINDER READ MUTATED CAPTURED CALLED). | ||
| 660 | VARKIND is the name of the kind of variable. | ||
| 661 | FORM 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. |
| 675 | Analyse lambdas if they are suitable for lambda lifting. | 732 | Analyse 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)). |
| 679 | This function does not return anything but instead fills the | 736 | This 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. |
| 1318 | The envvar syntax (and escaping) rules followed by this table are the | 1318 | The envvar syntax (and escaping) rules followed by this table are the |
| 1319 | same as `substitute-in-file-name'." | 1319 | same 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). |
| 1213 | This buries the buffer, then returns a list of the form (NEXT-BUFFER KILLED). | 1217 | This 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. |
| 1337 | Designed to be added to `kill-buffer-hook'." | 1338 | Designed 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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2011-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) */) | |||
| 121 | Lisp_Object | 121 | Lisp_Object |
| 122 | quotify_arg (register Lisp_Object exp) | 122 | quotify_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) | |||
| 169 | static void | 170 | static void |
| 170 | fix_command (Lisp_Object input, Lisp_Object values) | 171 | fix_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 | { |