aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure1127
-rw-r--r--configure.in13
-rw-r--r--src/ChangeLog6
-rw-r--r--src/alloc.c21
-rw-r--r--src/config.in6
6 files changed, 649 insertions, 528 deletions
diff --git a/ChangeLog b/ChangeLog
index 61e677a364e..e56c5657cc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12011-01-05 Andreas Schwab <schwab@linux-m68k.org>
2
3 * configure.in: Check for __builtin_unwind_init.
4
12011-01-05 Glenn Morris <rgm@gnu.org> 52011-01-05 Glenn Morris <rgm@gnu.org>
2 6
3 * configure.in (HAVE_MAKEINFO): New output variable. 7 * configure.in (HAVE_MAKEINFO): New output variable.
diff --git a/configure b/configure
index 063348d59a7..c9fe163096d 100755
--- a/configure
+++ b/configure
@@ -1,11 +1,11 @@
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.65 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,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Inc. 8# Foundation, Inc.
9# 9#
10# 10#
11# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
@@ -89,6 +89,7 @@ fi
89IFS=" "" $as_nl" 89IFS=" "" $as_nl"
90 90
91# Find who we are. Look in the path if we contain no directory separator. 91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
92case $0 in #(( 93case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -214,11 +215,18 @@ IFS=$as_save_IFS
214 # We cannot yet assume a decent shell, so we have to provide a 215 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 216 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 219 BASH_ENV=/dev/null
218 ENV=/dev/null 220 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 222 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222fi 230fi
223 231
224 if test x$as_have_required = xno; then : 232 if test x$as_have_required = xno; then :
@@ -316,7 +324,7 @@ $as_echo X"$as_dir" |
316 test -d "$as_dir" && break 324 test -d "$as_dir" && break
317 done 325 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 326 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 328
321 329
322} # as_fn_mkdir_p 330} # as_fn_mkdir_p
@@ -356,19 +364,19 @@ else
356fi # as_fn_arith 364fi # as_fn_arith
357 365
358 366
359# as_fn_error ERROR [LINENO LOG_FD] 367# as_fn_error STATUS ERROR [LINENO LOG_FD]
360# --------------------------------- 368# ----------------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0. 371# script with STATUS, using 1 if that was 0.
364as_fn_error () 372as_fn_error ()
365{ 373{
366 as_status=$?; test $as_status -eq 0 && as_status=1 374 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$3"; then 375 if test "$4"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi 378 fi
371 $as_echo "$as_me: error: $1" >&2 379 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status 380 as_fn_exit $as_status
373} # as_fn_error 381} # as_fn_error
374 382
@@ -530,7 +538,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1 538exec 6>&1
531 539
532# Name of the host. 540# Name of the host.
533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534# so uname gets run too. 542# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 544
@@ -914,8 +922,9 @@ do
914 fi 922 fi
915 923
916 case $ac_option in 924 case $ac_option in
917 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 925 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 *) ac_optarg=yes ;; 926 *=) ac_optarg= ;;
927 *) ac_optarg=yes ;;
919 esac 928 esac
920 929
921 # Accept the important Cygnus configure options, so we can diagnose typos. 930 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -960,7 +969,7 @@ do
960 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 969 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961 # Reject names that are not valid shell variable names. 970 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963 as_fn_error "invalid feature name: $ac_useropt" 972 as_fn_error $? "invalid feature name: $ac_useropt"
964 ac_useropt_orig=$ac_useropt 973 ac_useropt_orig=$ac_useropt
965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in 975 case $ac_user_opts in
@@ -986,7 +995,7 @@ do
986 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 995 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987 # Reject names that are not valid shell variable names. 996 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid feature name: $ac_useropt" 998 as_fn_error $? "invalid feature name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt 999 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in 1001 case $ac_user_opts in
@@ -1190,7 +1199,7 @@ do
1190 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1199 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names. 1200 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 as_fn_error "invalid package name: $ac_useropt" 1202 as_fn_error $? "invalid package name: $ac_useropt"
1194 ac_useropt_orig=$ac_useropt 1203 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in 1205 case $ac_user_opts in
@@ -1206,7 +1215,7 @@ do
1206 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1215 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names. 1216 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209 as_fn_error "invalid package name: $ac_useropt" 1218 as_fn_error $? "invalid package name: $ac_useropt"
1210 ac_useropt_orig=$ac_useropt 1219 ac_useropt_orig=$ac_useropt
1211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1220 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in 1221 case $ac_user_opts in
@@ -1236,8 +1245,8 @@ do
1236 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237 x_libraries=$ac_optarg ;; 1246 x_libraries=$ac_optarg ;;
1238 1247
1239 -*) as_fn_error "unrecognized option: \`$ac_option' 1248 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1240Try \`$0 --help' for more information." 1249Try \`$0 --help' for more information"
1241 ;; 1250 ;;
1242 1251
1243 *=*) 1252 *=*)
@@ -1245,7 +1254,7 @@ Try \`$0 --help' for more information."
1245 # Reject names that are not valid shell variable names. 1254 # Reject names that are not valid shell variable names.
1246 case $ac_envvar in #( 1255 case $ac_envvar in #(
1247 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1256 '' | [0-9]* | *[!_$as_cr_alnum]* )
1248 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1257 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1249 esac 1258 esac
1250 eval $ac_envvar=\$ac_optarg 1259 eval $ac_envvar=\$ac_optarg
1251 export $ac_envvar ;; 1260 export $ac_envvar ;;
@@ -1255,7 +1264,7 @@ Try \`$0 --help' for more information."
1255 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1264 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1266 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259 ;; 1268 ;;
1260 1269
1261 esac 1270 esac
@@ -1263,13 +1272,13 @@ done
1263 1272
1264if test -n "$ac_prev"; then 1273if test -n "$ac_prev"; then
1265 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1266 as_fn_error "missing argument to $ac_option" 1275 as_fn_error $? "missing argument to $ac_option"
1267fi 1276fi
1268 1277
1269if test -n "$ac_unrecognized_opts"; then 1278if test -n "$ac_unrecognized_opts"; then
1270 case $enable_option_checking in 1279 case $enable_option_checking in
1271 no) ;; 1280 no) ;;
1272 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1281 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1273 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1282 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 esac 1283 esac
1275fi 1284fi
@@ -1292,7 +1301,7 @@ do
1292 [\\/$]* | ?:[\\/]* ) continue;; 1301 [\\/$]* | ?:[\\/]* ) continue;;
1293 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1302 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294 esac 1303 esac
1295 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1304 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1296done 1305done
1297 1306
1298# There might be people who depend on the old broken behavior: `$host' 1307# There might be people who depend on the old broken behavior: `$host'
@@ -1306,8 +1315,8 @@ target=$target_alias
1306if test "x$host_alias" != x; then 1315if test "x$host_alias" != x; then
1307 if test "x$build_alias" = x; then 1316 if test "x$build_alias" = x; then
1308 cross_compiling=maybe 1317 cross_compiling=maybe
1309 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1318 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1310 If a cross compiler is detected then cross compile mode will be used." >&2 1319 If a cross compiler is detected then cross compile mode will be used" >&2
1311 elif test "x$build_alias" != "x$host_alias"; then 1320 elif test "x$build_alias" != "x$host_alias"; then
1312 cross_compiling=yes 1321 cross_compiling=yes
1313 fi 1322 fi
@@ -1322,9 +1331,9 @@ test "$silent" = yes && exec 6>/dev/null
1322ac_pwd=`pwd` && test -n "$ac_pwd" && 1331ac_pwd=`pwd` && test -n "$ac_pwd" &&
1323ac_ls_di=`ls -di .` && 1332ac_ls_di=`ls -di .` &&
1324ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1333ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1325 as_fn_error "working directory cannot be determined" 1334 as_fn_error $? "working directory cannot be determined"
1326test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1335test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 as_fn_error "pwd does not report name of working directory" 1336 as_fn_error $? "pwd does not report name of working directory"
1328 1337
1329 1338
1330# Find the source files, if location was not specified. 1339# Find the source files, if location was not specified.
@@ -1363,11 +1372,11 @@ else
1363fi 1372fi
1364if test ! -r "$srcdir/$ac_unique_file"; then 1373if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1366 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1367fi 1376fi
1368ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1377ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369ac_abs_confdir=`( 1378ac_abs_confdir=`(
1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1371 pwd)` 1380 pwd)`
1372# When building in place, set srcdir=. 1381# When building in place, set srcdir=.
1373if test "$ac_abs_confdir" = "$ac_pwd"; then 1382if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1407,7 +1416,7 @@ Configuration:
1407 --help=short display options specific to this package 1416 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages 1417 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit 1418 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages 1419 -q, --quiet, --silent do not print \`checking ...' messages
1411 --cache-file=FILE cache test results in FILE [disabled] 1420 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache' 1421 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files 1422 -n, --no-create do not create output files
@@ -1627,9 +1636,9 @@ test -n "$ac_init_help" && exit $ac_status
1627if $ac_init_version; then 1636if $ac_init_version; then
1628 cat <<\_ACEOF 1637 cat <<\_ACEOF
1629emacs configure 24.0.50 1638emacs configure 24.0.50
1630generated by GNU Autoconf 2.65 1639generated by GNU Autoconf 2.68
1631 1640
1632Copyright (C) 2009 Free Software Foundation, Inc. 1641Copyright (C) 2010 Free Software Foundation, Inc.
1633This configure script is free software; the Free Software Foundation 1642This configure script is free software; the Free Software Foundation
1634gives unlimited permission to copy, distribute and modify it. 1643gives unlimited permission to copy, distribute and modify it.
1635_ACEOF 1644_ACEOF
@@ -1673,7 +1682,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1673 1682
1674 ac_retval=1 1683 ac_retval=1
1675fi 1684fi
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 as_fn_set_status $ac_retval 1686 as_fn_set_status $ac_retval
1678 1687
1679} # ac_fn_c_try_compile 1688} # ac_fn_c_try_compile
@@ -1719,7 +1728,7 @@ fi
1719 # interfere with the next link command; also delete a directory that is 1728 # interfere with the next link command; also delete a directory that is
1720 # left behind by Apple's compiler. We do this before executing the actions. 1729 # left behind by Apple's compiler. We do this before executing the actions.
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723 as_fn_set_status $ac_retval 1732 as_fn_set_status $ac_retval
1724 1733
1725} # ac_fn_c_try_link 1734} # ac_fn_c_try_link
@@ -1745,7 +1754,7 @@ $as_echo "$ac_try_echo"; } >&5
1745 mv -f conftest.er1 conftest.err 1754 mv -f conftest.er1 conftest.err
1746 fi 1755 fi
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } >/dev/null && { 1757 test $ac_status = 0; } > conftest.i && {
1749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1750 test ! -s conftest.err 1759 test ! -s conftest.err
1751 }; then : 1760 }; then :
@@ -1756,7 +1765,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1756 1765
1757 ac_retval=1 1766 ac_retval=1
1758fi 1767fi
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status $ac_retval 1769 as_fn_set_status $ac_retval
1761 1770
1762} # ac_fn_c_try_cpp 1771} # ac_fn_c_try_cpp
@@ -1769,10 +1778,10 @@ fi
1769ac_fn_c_check_header_mongrel () 1778ac_fn_c_check_header_mongrel ()
1770{ 1779{
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1781 if eval \${$3+:} false; then :
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774$as_echo_n "checking for $2... " >&6; } 1783$as_echo_n "checking for $2... " >&6; }
1775if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1784if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6 1785 $as_echo_n "(cached) " >&6
1777fi 1786fi
1778eval ac_res=\$$3 1787eval ac_res=\$$3
@@ -1808,7 +1817,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1808else 1817else
1809 ac_header_preproc=no 1818 ac_header_preproc=no
1810fi 1819fi
1811rm -f conftest.err conftest.$ac_ext 1820rm -f conftest.err conftest.i conftest.$ac_ext
1812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813$as_echo "$ac_header_preproc" >&6; } 1822$as_echo "$ac_header_preproc" >&6; }
1814 1823
@@ -1835,7 +1844,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1835esac 1844esac
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837$as_echo_n "checking for $2... " >&6; } 1846$as_echo_n "checking for $2... " >&6; }
1838if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1847if eval \${$3+:} false; then :
1839 $as_echo_n "(cached) " >&6 1848 $as_echo_n "(cached) " >&6
1840else 1849else
1841 eval "$3=\$ac_header_compiler" 1850 eval "$3=\$ac_header_compiler"
@@ -1844,7 +1853,7 @@ eval ac_res=\$$3
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845$as_echo "$ac_res" >&6; } 1854$as_echo "$ac_res" >&6; }
1846fi 1855fi
1847 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 1857
1849} # ac_fn_c_check_header_mongrel 1858} # ac_fn_c_check_header_mongrel
1850 1859
@@ -1885,7 +1894,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1885 ac_retval=$ac_status 1894 ac_retval=$ac_status
1886fi 1895fi
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval 1898 as_fn_set_status $ac_retval
1890 1899
1891} # ac_fn_c_try_run 1900} # ac_fn_c_try_run
@@ -1899,7 +1908,7 @@ ac_fn_c_check_header_compile ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901$as_echo_n "checking for $2... " >&6; } 1910$as_echo_n "checking for $2... " >&6; }
1902if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1911if eval \${$3+:} false; then :
1903 $as_echo_n "(cached) " >&6 1912 $as_echo_n "(cached) " >&6
1904else 1913else
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1917,19 +1926,22 @@ fi
1917eval ac_res=\$$3 1926eval ac_res=\$$3
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919$as_echo "$ac_res" >&6; } 1928$as_echo "$ac_res" >&6; }
1920 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 1930
1922} # ac_fn_c_check_header_compile 1931} # ac_fn_c_check_header_compile
1923 1932
1924# ac_fn_c_check_decl LINENO SYMBOL VAR 1933# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1925# ------------------------------------ 1934# ---------------------------------------------
1926# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1935# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1936# accordingly.
1927ac_fn_c_check_decl () 1937ac_fn_c_check_decl ()
1928{ 1938{
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1940 as_decl_name=`echo $2|sed 's/ *(.*//'`
1931$as_echo_n "checking whether $2 is declared... " >&6; } 1941 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1932if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1943$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1944if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6 1945 $as_echo_n "(cached) " >&6
1934else 1946else
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1938,8 +1950,12 @@ $4
1938int 1950int
1939main () 1951main ()
1940{ 1952{
1941#ifndef $2 1953#ifndef $as_decl_name
1942 (void) $2; 1954#ifdef __cplusplus
1955 (void) $as_decl_use;
1956#else
1957 (void) $as_decl_name;
1958#endif
1943#endif 1959#endif
1944 1960
1945 ; 1961 ;
@@ -1956,7 +1972,7 @@ fi
1956eval ac_res=\$$3 1972eval ac_res=\$$3
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958$as_echo "$ac_res" >&6; } 1974$as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 1976
1961} # ac_fn_c_check_decl 1977} # ac_fn_c_check_decl
1962 1978
@@ -1968,7 +1984,7 @@ ac_fn_c_check_header_preproc ()
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970$as_echo_n "checking for $2... " >&6; } 1986$as_echo_n "checking for $2... " >&6; }
1971if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1987if eval \${$3+:} false; then :
1972 $as_echo_n "(cached) " >&6 1988 $as_echo_n "(cached) " >&6
1973else 1989else
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1980,12 +1996,12 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1980else 1996else
1981 eval "$3=no" 1997 eval "$3=no"
1982fi 1998fi
1983rm -f conftest.err conftest.$ac_ext 1999rm -f conftest.err conftest.i conftest.$ac_ext
1984fi 2000fi
1985eval ac_res=\$$3 2001eval ac_res=\$$3
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987$as_echo "$ac_res" >&6; } 2003$as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 2005
1990} # ac_fn_c_check_header_preproc 2006} # ac_fn_c_check_header_preproc
1991 2007
@@ -1998,7 +2014,7 @@ ac_fn_c_check_member ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2000$as_echo_n "checking for $2.$3... " >&6; } 2016$as_echo_n "checking for $2.$3... " >&6; }
2001if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2017if eval \${$4+:} false; then :
2002 $as_echo_n "(cached) " >&6 2018 $as_echo_n "(cached) " >&6
2003else 2019else
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2042,7 +2058,7 @@ fi
2042eval ac_res=\$$4 2058eval ac_res=\$$4
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044$as_echo "$ac_res" >&6; } 2060$as_echo "$ac_res" >&6; }
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 2062
2047} # ac_fn_c_check_member 2063} # ac_fn_c_check_member
2048 2064
@@ -2054,7 +2070,7 @@ ac_fn_c_check_func ()
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056$as_echo_n "checking for $2... " >&6; } 2072$as_echo_n "checking for $2... " >&6; }
2057if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2073if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6 2074 $as_echo_n "(cached) " >&6
2059else 2075else
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2109,7 +2125,7 @@ fi
2109eval ac_res=\$$3 2125eval ac_res=\$$3
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111$as_echo "$ac_res" >&6; } 2127$as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 2129
2114} # ac_fn_c_check_func 2130} # ac_fn_c_check_func
2115 2131
@@ -2122,7 +2138,7 @@ ac_fn_c_check_type ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2124$as_echo_n "checking for $2... " >&6; } 2140$as_echo_n "checking for $2... " >&6; }
2125if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2141if eval \${$3+:} false; then :
2126 $as_echo_n "(cached) " >&6 2142 $as_echo_n "(cached) " >&6
2127else 2143else
2128 eval "$3=no" 2144 eval "$3=no"
@@ -2163,7 +2179,7 @@ fi
2163eval ac_res=\$$3 2179eval ac_res=\$$3
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165$as_echo "$ac_res" >&6; } 2181$as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 2183
2168} # ac_fn_c_check_type 2184} # ac_fn_c_check_type
2169cat >config.log <<_ACEOF 2185cat >config.log <<_ACEOF
@@ -2171,7 +2187,7 @@ This file contains any messages produced by compilers while
2171running configure, to aid debugging if configure makes a mistake. 2187running configure, to aid debugging if configure makes a mistake.
2172 2188
2173It was created by emacs $as_me 24.0.50, which was 2189It was created by emacs $as_me 24.0.50, which was
2174generated by GNU Autoconf 2.65. Invocation command line was 2190generated by GNU Autoconf 2.68. Invocation command line was
2175 2191
2176 $ $0 $@ 2192 $ $0 $@
2177 2193
@@ -2281,11 +2297,9 @@ trap 'exit_status=$?
2281 { 2297 {
2282 echo 2298 echo
2283 2299
2284 cat <<\_ASBOX 2300 $as_echo "## ---------------- ##
2285## ---------------- ##
2286## Cache variables. ## 2301## Cache variables. ##
2287## ---------------- ## 2302## ---------------- ##"
2288_ASBOX
2289 echo 2303 echo
2290 # The following way of writing the cache mishandles newlines in values, 2304 # The following way of writing the cache mishandles newlines in values,
2291( 2305(
@@ -2319,11 +2333,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2319) 2333)
2320 echo 2334 echo
2321 2335
2322 cat <<\_ASBOX 2336 $as_echo "## ----------------- ##
2323## ----------------- ##
2324## Output variables. ## 2337## Output variables. ##
2325## ----------------- ## 2338## ----------------- ##"
2326_ASBOX
2327 echo 2339 echo
2328 for ac_var in $ac_subst_vars 2340 for ac_var in $ac_subst_vars
2329 do 2341 do
@@ -2336,11 +2348,9 @@ _ASBOX
2336 echo 2348 echo
2337 2349
2338 if test -n "$ac_subst_files"; then 2350 if test -n "$ac_subst_files"; then
2339 cat <<\_ASBOX 2351 $as_echo "## ------------------- ##
2340## ------------------- ##
2341## File substitutions. ## 2352## File substitutions. ##
2342## ------------------- ## 2353## ------------------- ##"
2343_ASBOX
2344 echo 2354 echo
2345 for ac_var in $ac_subst_files 2355 for ac_var in $ac_subst_files
2346 do 2356 do
@@ -2354,11 +2364,9 @@ _ASBOX
2354 fi 2364 fi
2355 2365
2356 if test -s confdefs.h; then 2366 if test -s confdefs.h; then
2357 cat <<\_ASBOX 2367 $as_echo "## ----------- ##
2358## ----------- ##
2359## confdefs.h. ## 2368## confdefs.h. ##
2360## ----------- ## 2369## ----------- ##"
2361_ASBOX
2362 echo 2370 echo
2363 cat confdefs.h 2371 cat confdefs.h
2364 echo 2372 echo
@@ -2413,7 +2421,12 @@ _ACEOF
2413ac_site_file1=NONE 2421ac_site_file1=NONE
2414ac_site_file2=NONE 2422ac_site_file2=NONE
2415if test -n "$CONFIG_SITE"; then 2423if test -n "$CONFIG_SITE"; then
2416 ac_site_file1=$CONFIG_SITE 2424 # We do not want a PATH search for config.site.
2425 case $CONFIG_SITE in #((
2426 -*) ac_site_file1=./$CONFIG_SITE;;
2427 */*) ac_site_file1=$CONFIG_SITE;;
2428 *) ac_site_file1=./$CONFIG_SITE;;
2429 esac
2417elif test "x$prefix" != xNONE; then 2430elif test "x$prefix" != xNONE; then
2418 ac_site_file1=$prefix/share/config.site 2431 ac_site_file1=$prefix/share/config.site
2419 ac_site_file2=$prefix/etc/config.site 2432 ac_site_file2=$prefix/etc/config.site
@@ -2428,7 +2441,11 @@ do
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2442$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2430 sed 's/^/| /' "$ac_site_file" >&5 2443 sed 's/^/| /' "$ac_site_file" >&5
2431 . "$ac_site_file" 2444 . "$ac_site_file" \
2445 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447as_fn_error $? "failed to load site script $ac_site_file
2448See \`config.log' for more details" "$LINENO" 5; }
2432 fi 2449 fi
2433done 2450done
2434 2451
@@ -2509,7 +2526,7 @@ if $ac_cache_corrupted; then
2509$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2526$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2511$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2528$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2529 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2513fi 2530fi
2514## -------------------- ## 2531## -------------------- ##
2515## Main body of script. ## 2532## Main body of script. ##
@@ -2681,7 +2698,7 @@ if test "${with_x_toolkit+set}" = set; then :
2681 g | gt | gtk ) val=gtk ;; 2698 g | gt | gtk ) val=gtk ;;
2682 gtk3 ) val=gtk3 ;; 2699 gtk3 ) val=gtk3 ;;
2683 * ) 2700 * )
2684as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2701as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
2685this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2702this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
2686\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2703\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2687 ;; 2704 ;;
@@ -2994,7 +3011,7 @@ do
2994 stringfreelist) ac_gc_check_string_free_list=1 ;; 3011 stringfreelist) ac_gc_check_string_free_list=1 ;;
2995 xmallocoverrun) ac_xmalloc_overrun=1 ;; 3012 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2996 conslist) ac_gc_check_cons_list=1 ;; 3013 conslist) ac_gc_check_cons_list=1 ;;
2997 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 3014 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
2998 esac 3015 esac
2999done 3016done
3000IFS="$ac_save_IFS" 3017IFS="$ac_save_IFS"
@@ -3109,16 +3126,22 @@ fi
3109 3126
3110ac_aux_dir= 3127ac_aux_dir=
3111for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3128for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3112 for ac_t in install-sh install.sh shtool; do 3129 if test -f "$ac_dir/install-sh"; then
3113 if test -f "$ac_dir/$ac_t"; then 3130 ac_aux_dir=$ac_dir
3114 ac_aux_dir=$ac_dir 3131 ac_install_sh="$ac_aux_dir/install-sh -c"
3115 ac_install_sh="$ac_aux_dir/$ac_t -c" 3132 break
3116 break 2 3133 elif test -f "$ac_dir/install.sh"; then
3117 fi 3134 ac_aux_dir=$ac_dir
3118 done 3135 ac_install_sh="$ac_aux_dir/install.sh -c"
3136 break
3137 elif test -f "$ac_dir/shtool"; then
3138 ac_aux_dir=$ac_dir
3139 ac_install_sh="$ac_aux_dir/shtool install -c"
3140 break
3141 fi
3119done 3142done
3120if test -z "$ac_aux_dir"; then 3143if test -z "$ac_aux_dir"; then
3121 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3144 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3122fi 3145fi
3123 3146
3124# These three variables are undocumented and unsupported, 3147# These three variables are undocumented and unsupported,
@@ -3132,27 +3155,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3132 3155
3133# Make sure we can run config.sub. 3156# Make sure we can run config.sub.
3134$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3157$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3135 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3158 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3136 3159
3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3138$as_echo_n "checking build system type... " >&6; } 3161$as_echo_n "checking build system type... " >&6; }
3139if test "${ac_cv_build+set}" = set; then : 3162if ${ac_cv_build+:} false; then :
3140 $as_echo_n "(cached) " >&6 3163 $as_echo_n "(cached) " >&6
3141else 3164else
3142 ac_build_alias=$build_alias 3165 ac_build_alias=$build_alias
3143test "x$ac_build_alias" = x && 3166test "x$ac_build_alias" = x &&
3144 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3167 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3145test "x$ac_build_alias" = x && 3168test "x$ac_build_alias" = x &&
3146 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3169 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3147ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3170ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3148 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3171 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3149 3172
3150fi 3173fi
3151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3152$as_echo "$ac_cv_build" >&6; } 3175$as_echo "$ac_cv_build" >&6; }
3153case $ac_cv_build in 3176case $ac_cv_build in
3154*-*-*) ;; 3177*-*-*) ;;
3155*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3178*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3156esac 3179esac
3157build=$ac_cv_build 3180build=$ac_cv_build
3158ac_save_IFS=$IFS; IFS='-' 3181ac_save_IFS=$IFS; IFS='-'
@@ -3170,14 +3193,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3170 3193
3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3172$as_echo_n "checking host system type... " >&6; } 3195$as_echo_n "checking host system type... " >&6; }
3173if test "${ac_cv_host+set}" = set; then : 3196if ${ac_cv_host+:} false; then :
3174 $as_echo_n "(cached) " >&6 3197 $as_echo_n "(cached) " >&6
3175else 3198else
3176 if test "x$host_alias" = x; then 3199 if test "x$host_alias" = x; then
3177 ac_cv_host=$ac_cv_build 3200 ac_cv_host=$ac_cv_build
3178else 3201else
3179 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3202 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3180 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3203 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3181fi 3204fi
3182 3205
3183fi 3206fi
@@ -3185,7 +3208,7 @@ fi
3185$as_echo "$ac_cv_host" >&6; } 3208$as_echo "$ac_cv_host" >&6; }
3186case $ac_cv_host in 3209case $ac_cv_host in
3187*-*-*) ;; 3210*-*-*) ;;
3188*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3211*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3189esac 3212esac
3190host=$ac_cv_host 3213host=$ac_cv_host
3191ac_save_IFS=$IFS; IFS='-' 3214ac_save_IFS=$IFS; IFS='-'
@@ -3428,7 +3451,7 @@ fi
3428 3451
3429 3452
3430if test $unported = yes; then 3453if test $unported = yes; then
3431 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 3454 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
3432Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3455Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3433fi 3456fi
3434 3457
@@ -3456,7 +3479,7 @@ if test -n "$ac_tool_prefix"; then
3456set dummy ${ac_tool_prefix}gcc; ac_word=$2 3479set dummy ${ac_tool_prefix}gcc; ac_word=$2
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458$as_echo_n "checking for $ac_word... " >&6; } 3481$as_echo_n "checking for $ac_word... " >&6; }
3459if test "${ac_cv_prog_CC+set}" = set; then : 3482if ${ac_cv_prog_CC+:} false; then :
3460 $as_echo_n "(cached) " >&6 3483 $as_echo_n "(cached) " >&6
3461else 3484else
3462 if test -n "$CC"; then 3485 if test -n "$CC"; then
@@ -3496,7 +3519,7 @@ if test -z "$ac_cv_prog_CC"; then
3496set dummy gcc; ac_word=$2 3519set dummy gcc; ac_word=$2
3497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498$as_echo_n "checking for $ac_word... " >&6; } 3521$as_echo_n "checking for $ac_word... " >&6; }
3499if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3522if ${ac_cv_prog_ac_ct_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6 3523 $as_echo_n "(cached) " >&6
3501else 3524else
3502 if test -n "$ac_ct_CC"; then 3525 if test -n "$ac_ct_CC"; then
@@ -3549,7 +3572,7 @@ if test -z "$CC"; then
3549set dummy ${ac_tool_prefix}cc; ac_word=$2 3572set dummy ${ac_tool_prefix}cc; ac_word=$2
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551$as_echo_n "checking for $ac_word... " >&6; } 3574$as_echo_n "checking for $ac_word... " >&6; }
3552if test "${ac_cv_prog_CC+set}" = set; then : 3575if ${ac_cv_prog_CC+:} false; then :
3553 $as_echo_n "(cached) " >&6 3576 $as_echo_n "(cached) " >&6
3554else 3577else
3555 if test -n "$CC"; then 3578 if test -n "$CC"; then
@@ -3589,7 +3612,7 @@ if test -z "$CC"; then
3589set dummy cc; ac_word=$2 3612set dummy cc; ac_word=$2
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591$as_echo_n "checking for $ac_word... " >&6; } 3614$as_echo_n "checking for $ac_word... " >&6; }
3592if test "${ac_cv_prog_CC+set}" = set; then : 3615if ${ac_cv_prog_CC+:} false; then :
3593 $as_echo_n "(cached) " >&6 3616 $as_echo_n "(cached) " >&6
3594else 3617else
3595 if test -n "$CC"; then 3618 if test -n "$CC"; then
@@ -3648,7 +3671,7 @@ if test -z "$CC"; then
3648set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3671set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650$as_echo_n "checking for $ac_word... " >&6; } 3673$as_echo_n "checking for $ac_word... " >&6; }
3651if test "${ac_cv_prog_CC+set}" = set; then : 3674if ${ac_cv_prog_CC+:} false; then :
3652 $as_echo_n "(cached) " >&6 3675 $as_echo_n "(cached) " >&6
3653else 3676else
3654 if test -n "$CC"; then 3677 if test -n "$CC"; then
@@ -3692,7 +3715,7 @@ do
3692set dummy $ac_prog; ac_word=$2 3715set dummy $ac_prog; ac_word=$2
3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694$as_echo_n "checking for $ac_word... " >&6; } 3717$as_echo_n "checking for $ac_word... " >&6; }
3695if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3718if ${ac_cv_prog_ac_ct_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6 3719 $as_echo_n "(cached) " >&6
3697else 3720else
3698 if test -n "$ac_ct_CC"; then 3721 if test -n "$ac_ct_CC"; then
@@ -3746,8 +3769,8 @@ fi
3746 3769
3747test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3770test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749as_fn_error "no acceptable C compiler found in \$PATH 3772as_fn_error $? "no acceptable C compiler found in \$PATH
3750See \`config.log' for more details." "$LINENO" 5; } 3773See \`config.log' for more details" "$LINENO" 5; }
3751 3774
3752# Provide some information about the compiler. 3775# Provide some information about the compiler.
3753$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3776$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3861,9 +3884,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3861 3884
3862{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3885{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3864{ as_fn_set_status 77 3887as_fn_error 77 "C compiler cannot create executables
3865as_fn_error "C compiler cannot create executables 3888See \`config.log' for more details" "$LINENO" 5; }
3866See \`config.log' for more details." "$LINENO" 5; }; }
3867else 3889else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3869$as_echo "yes" >&6; } 3891$as_echo "yes" >&6; }
@@ -3905,8 +3927,8 @@ done
3905else 3927else
3906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3907$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3908as_fn_error "cannot compute suffix of executables: cannot compile and link 3930as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3909See \`config.log' for more details." "$LINENO" 5; } 3931See \`config.log' for more details" "$LINENO" 5; }
3910fi 3932fi
3911rm -f conftest conftest$ac_cv_exeext 3933rm -f conftest conftest$ac_cv_exeext
3912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3963,9 +3985,9 @@ $as_echo "$ac_try_echo"; } >&5
3963 else 3985 else
3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3966as_fn_error "cannot run C compiled programs. 3988as_fn_error $? "cannot run C compiled programs.
3967If you meant to cross compile, use \`--host'. 3989If you meant to cross compile, use \`--host'.
3968See \`config.log' for more details." "$LINENO" 5; } 3990See \`config.log' for more details" "$LINENO" 5; }
3969 fi 3991 fi
3970 fi 3992 fi
3971fi 3993fi
@@ -3976,7 +3998,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3976ac_clean_files=$ac_clean_files_save 3998ac_clean_files=$ac_clean_files_save
3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3978$as_echo_n "checking for suffix of object files... " >&6; } 4000$as_echo_n "checking for suffix of object files... " >&6; }
3979if test "${ac_cv_objext+set}" = set; then : 4001if ${ac_cv_objext+:} false; then :
3980 $as_echo_n "(cached) " >&6 4002 $as_echo_n "(cached) " >&6
3981else 4003else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4016,8 +4038,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4016 4038
4017{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4039{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019as_fn_error "cannot compute suffix of object files: cannot compile 4041as_fn_error $? "cannot compute suffix of object files: cannot compile
4020See \`config.log' for more details." "$LINENO" 5; } 4042See \`config.log' for more details" "$LINENO" 5; }
4021fi 4043fi
4022rm -f conftest.$ac_cv_objext conftest.$ac_ext 4044rm -f conftest.$ac_cv_objext conftest.$ac_ext
4023fi 4045fi
@@ -4027,7 +4049,7 @@ OBJEXT=$ac_cv_objext
4027ac_objext=$OBJEXT 4049ac_objext=$OBJEXT
4028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4029$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4051$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4030if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4052if ${ac_cv_c_compiler_gnu+:} false; then :
4031 $as_echo_n "(cached) " >&6 4053 $as_echo_n "(cached) " >&6
4032else 4054else
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4064,7 +4086,7 @@ ac_test_CFLAGS=${CFLAGS+set}
4064ac_save_CFLAGS=$CFLAGS 4086ac_save_CFLAGS=$CFLAGS
4065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4066$as_echo_n "checking whether $CC accepts -g... " >&6; } 4088$as_echo_n "checking whether $CC accepts -g... " >&6; }
4067if test "${ac_cv_prog_cc_g+set}" = set; then : 4089if ${ac_cv_prog_cc_g+:} false; then :
4068 $as_echo_n "(cached) " >&6 4090 $as_echo_n "(cached) " >&6
4069else 4091else
4070 ac_save_c_werror_flag=$ac_c_werror_flag 4092 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4142,7 +4164,7 @@ else
4142fi 4164fi
4143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4144$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4166$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4145if test "${ac_cv_prog_cc_c89+set}" = set; then : 4167if ${ac_cv_prog_cc_c89+:} false; then :
4146 $as_echo_n "(cached) " >&6 4168 $as_echo_n "(cached) " >&6
4147else 4169else
4148 ac_cv_prog_cc_c89=no 4170 ac_cv_prog_cc_c89=no
@@ -4250,7 +4272,7 @@ if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
4251$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 4273$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4252 4274
4253if test "${emacs_cv_sunpro_c+set}" = set; then : 4275if ${emacs_cv_sunpro_c+:} false; then :
4254 $as_echo_n "(cached) " >&6 4276 $as_echo_n "(cached) " >&6
4255else 4277else
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4319,7 +4341,7 @@ if test -n "$CPP" && test -d "$CPP"; then
4319 CPP= 4341 CPP=
4320fi 4342fi
4321if test -z "$CPP"; then 4343if test -z "$CPP"; then
4322 if test "${ac_cv_prog_CPP+set}" = set; then : 4344 if ${ac_cv_prog_CPP+:} false; then :
4323 $as_echo_n "(cached) " >&6 4345 $as_echo_n "(cached) " >&6
4324else 4346else
4325 # Double quotes because CPP needs to be expanded 4347 # Double quotes because CPP needs to be expanded
@@ -4349,7 +4371,7 @@ else
4349 # Broken: fails on valid input. 4371 # Broken: fails on valid input.
4350continue 4372continue
4351fi 4373fi
4352rm -f conftest.err conftest.$ac_ext 4374rm -f conftest.err conftest.i conftest.$ac_ext
4353 4375
4354 # OK, works on sane cases. Now check whether nonexistent headers 4376 # OK, works on sane cases. Now check whether nonexistent headers
4355 # can be detected and how. 4377 # can be detected and how.
@@ -4365,11 +4387,11 @@ else
4365ac_preproc_ok=: 4387ac_preproc_ok=:
4366break 4388break
4367fi 4389fi
4368rm -f conftest.err conftest.$ac_ext 4390rm -f conftest.err conftest.i conftest.$ac_ext
4369 4391
4370done 4392done
4371# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4393# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4372rm -f conftest.err conftest.$ac_ext 4394rm -f conftest.i conftest.err conftest.$ac_ext
4373if $ac_preproc_ok; then : 4395if $ac_preproc_ok; then :
4374 break 4396 break
4375fi 4397fi
@@ -4408,7 +4430,7 @@ else
4408 # Broken: fails on valid input. 4430 # Broken: fails on valid input.
4409continue 4431continue
4410fi 4432fi
4411rm -f conftest.err conftest.$ac_ext 4433rm -f conftest.err conftest.i conftest.$ac_ext
4412 4434
4413 # OK, works on sane cases. Now check whether nonexistent headers 4435 # OK, works on sane cases. Now check whether nonexistent headers
4414 # can be detected and how. 4436 # can be detected and how.
@@ -4424,18 +4446,18 @@ else
4424ac_preproc_ok=: 4446ac_preproc_ok=:
4425break 4447break
4426fi 4448fi
4427rm -f conftest.err conftest.$ac_ext 4449rm -f conftest.err conftest.i conftest.$ac_ext
4428 4450
4429done 4451done
4430# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4452# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4431rm -f conftest.err conftest.$ac_ext 4453rm -f conftest.i conftest.err conftest.$ac_ext
4432if $ac_preproc_ok; then : 4454if $ac_preproc_ok; then :
4433 4455
4434else 4456else
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437as_fn_error "C preprocessor \"$CPP\" fails sanity check 4459as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4438See \`config.log' for more details." "$LINENO" 5; } 4460See \`config.log' for more details" "$LINENO" 5; }
4439fi 4461fi
4440 4462
4441ac_ext=c 4463ac_ext=c
@@ -4447,7 +4469,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4447 4469
4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4449$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4471$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4450if test "${ac_cv_path_GREP+set}" = set; then : 4472if ${ac_cv_path_GREP+:} false; then :
4451 $as_echo_n "(cached) " >&6 4473 $as_echo_n "(cached) " >&6
4452else 4474else
4453 if test -z "$GREP"; then 4475 if test -z "$GREP"; then
@@ -4496,7 +4518,7 @@ esac
4496 done 4518 done
4497IFS=$as_save_IFS 4519IFS=$as_save_IFS
4498 if test -z "$ac_cv_path_GREP"; then 4520 if test -z "$ac_cv_path_GREP"; then
4499 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4521 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4500 fi 4522 fi
4501else 4523else
4502 ac_cv_path_GREP=$GREP 4524 ac_cv_path_GREP=$GREP
@@ -4510,7 +4532,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
4510 4532
4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4512$as_echo_n "checking for egrep... " >&6; } 4534$as_echo_n "checking for egrep... " >&6; }
4513if test "${ac_cv_path_EGREP+set}" = set; then : 4535if ${ac_cv_path_EGREP+:} false; then :
4514 $as_echo_n "(cached) " >&6 4536 $as_echo_n "(cached) " >&6
4515else 4537else
4516 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4562,7 +4584,7 @@ esac
4562 done 4584 done
4563IFS=$as_save_IFS 4585IFS=$as_save_IFS
4564 if test -z "$ac_cv_path_EGREP"; then 4586 if test -z "$ac_cv_path_EGREP"; then
4565 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4587 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566 fi 4588 fi
4567else 4589else
4568 ac_cv_path_EGREP=$EGREP 4590 ac_cv_path_EGREP=$EGREP
@@ -4577,7 +4599,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
4577 4599
4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4579$as_echo_n "checking for ANSI C header files... " >&6; } 4601$as_echo_n "checking for ANSI C header files... " >&6; }
4580if test "${ac_cv_header_stdc+set}" = set; then : 4602if ${ac_cv_header_stdc+:} false; then :
4581 $as_echo_n "(cached) " >&6 4603 $as_echo_n "(cached) " >&6
4582else 4604else
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4694,8 +4716,7 @@ do :
4694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4695ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4717ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4696" 4718"
4697eval as_val=\$$as_ac_Header 4719if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4698 if test "x$as_val" = x""yes; then :
4699 cat >>confdefs.h <<_ACEOF 4720 cat >>confdefs.h <<_ACEOF
4700#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4721#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4701_ACEOF 4722_ACEOF
@@ -4707,7 +4728,7 @@ done
4707 4728
4708 4729
4709 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4730 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4710if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4731if test "x$ac_cv_header_minix_config_h" = xyes; then :
4711 MINIX=yes 4732 MINIX=yes
4712else 4733else
4713 MINIX= 4734 MINIX=
@@ -4729,7 +4750,7 @@ $as_echo "#define _MINIX 1" >>confdefs.h
4729 4750
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4731$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4752$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4732if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4753if ${ac_cv_safe_to_define___extensions__+:} false; then :
4733 $as_echo_n "(cached) " >&6 4754 $as_echo_n "(cached) " >&6
4734else 4755else
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4909,7 +4930,7 @@ if test -n "$CPP" && test -d "$CPP"; then
4909 CPP= 4930 CPP=
4910fi 4931fi
4911if test -z "$CPP"; then 4932if test -z "$CPP"; then
4912 if test "${ac_cv_prog_CPP+set}" = set; then : 4933 if ${ac_cv_prog_CPP+:} false; then :
4913 $as_echo_n "(cached) " >&6 4934 $as_echo_n "(cached) " >&6
4914else 4935else
4915 # Double quotes because CPP needs to be expanded 4936 # Double quotes because CPP needs to be expanded
@@ -4939,7 +4960,7 @@ else
4939 # Broken: fails on valid input. 4960 # Broken: fails on valid input.
4940continue 4961continue
4941fi 4962fi
4942rm -f conftest.err conftest.$ac_ext 4963rm -f conftest.err conftest.i conftest.$ac_ext
4943 4964
4944 # OK, works on sane cases. Now check whether nonexistent headers 4965 # OK, works on sane cases. Now check whether nonexistent headers
4945 # can be detected and how. 4966 # can be detected and how.
@@ -4955,11 +4976,11 @@ else
4955ac_preproc_ok=: 4976ac_preproc_ok=:
4956break 4977break
4957fi 4978fi
4958rm -f conftest.err conftest.$ac_ext 4979rm -f conftest.err conftest.i conftest.$ac_ext
4959 4980
4960done 4981done
4961# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4982# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4962rm -f conftest.err conftest.$ac_ext 4983rm -f conftest.i conftest.err conftest.$ac_ext
4963if $ac_preproc_ok; then : 4984if $ac_preproc_ok; then :
4964 break 4985 break
4965fi 4986fi
@@ -4998,7 +5019,7 @@ else
4998 # Broken: fails on valid input. 5019 # Broken: fails on valid input.
4999continue 5020continue
5000fi 5021fi
5001rm -f conftest.err conftest.$ac_ext 5022rm -f conftest.err conftest.i conftest.$ac_ext
5002 5023
5003 # OK, works on sane cases. Now check whether nonexistent headers 5024 # OK, works on sane cases. Now check whether nonexistent headers
5004 # can be detected and how. 5025 # can be detected and how.
@@ -5014,18 +5035,18 @@ else
5014ac_preproc_ok=: 5035ac_preproc_ok=:
5015break 5036break
5016fi 5037fi
5017rm -f conftest.err conftest.$ac_ext 5038rm -f conftest.err conftest.i conftest.$ac_ext
5018 5039
5019done 5040done
5020# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5041# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5021rm -f conftest.err conftest.$ac_ext 5042rm -f conftest.i conftest.err conftest.$ac_ext
5022if $ac_preproc_ok; then : 5043if $ac_preproc_ok; then :
5023 5044
5024else 5045else
5025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5026$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5027as_fn_error "C preprocessor \"$CPP\" fails sanity check 5048as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5028See \`config.log' for more details." "$LINENO" 5; } 5049See \`config.log' for more details" "$LINENO" 5; }
5029fi 5050fi
5030 5051
5031ac_ext=c 5052ac_ext=c
@@ -5051,7 +5072,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5052$as_echo_n "checking for a BSD-compatible install... " >&6; } 5073$as_echo_n "checking for a BSD-compatible install... " >&6; }
5053if test -z "$INSTALL"; then 5074if test -z "$INSTALL"; then
5054if test "${ac_cv_path_install+set}" = set; then : 5075if ${ac_cv_path_install+:} false; then :
5055 $as_echo_n "(cached) " >&6 5076 $as_echo_n "(cached) " >&6
5056else 5077else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5133,7 +5154,7 @@ if test "x$RANLIB" = x; then
5133set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5154set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135$as_echo_n "checking for $ac_word... " >&6; } 5156$as_echo_n "checking for $ac_word... " >&6; }
5136if test "${ac_cv_prog_RANLIB+set}" = set; then : 5157if ${ac_cv_prog_RANLIB+:} false; then :
5137 $as_echo_n "(cached) " >&6 5158 $as_echo_n "(cached) " >&6
5138else 5159else
5139 if test -n "$RANLIB"; then 5160 if test -n "$RANLIB"; then
@@ -5173,7 +5194,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
5173set dummy ranlib; ac_word=$2 5194set dummy ranlib; ac_word=$2
5174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175$as_echo_n "checking for $ac_word... " >&6; } 5196$as_echo_n "checking for $ac_word... " >&6; }
5176if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5197if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5177 $as_echo_n "(cached) " >&6 5198 $as_echo_n "(cached) " >&6
5178else 5199else
5179 if test -n "$ac_ct_RANLIB"; then 5200 if test -n "$ac_ct_RANLIB"; then
@@ -5228,7 +5249,7 @@ fi
5228## is running in i386 mode, we can help them out. 5249## is running in i386 mode, we can help them out.
5229if test "$machine" = "amdx86-64"; then 5250if test "$machine" = "amdx86-64"; then
5230 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 5251 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
5231if test "x$ac_cv_have_decl_i386" = x""yes; then : 5252if test "x$ac_cv_have_decl_i386" = xyes; then :
5232 5253
5233fi 5254fi
5234 5255
@@ -5243,7 +5264,7 @@ fi
5243set dummy install-info; ac_word=$2 5264set dummy install-info; ac_word=$2
5244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245$as_echo_n "checking for $ac_word... " >&6; } 5266$as_echo_n "checking for $ac_word... " >&6; }
5246if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5267if ${ac_cv_path_INSTALL_INFO+:} false; then :
5247 $as_echo_n "(cached) " >&6 5268 $as_echo_n "(cached) " >&6
5248else 5269else
5249 case $INSTALL_INFO in 5270 case $INSTALL_INFO in
@@ -5283,7 +5304,7 @@ fi
5283set dummy install-info; ac_word=$2 5304set dummy install-info; ac_word=$2
5284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285$as_echo_n "checking for $ac_word... " >&6; } 5306$as_echo_n "checking for $ac_word... " >&6; }
5286if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5307if ${ac_cv_path_INSTALL_INFO+:} false; then :
5287 $as_echo_n "(cached) " >&6 5308 $as_echo_n "(cached) " >&6
5288else 5309else
5289 case $INSTALL_INFO in 5310 case $INSTALL_INFO in
@@ -5323,7 +5344,7 @@ fi
5323set dummy install-info; ac_word=$2 5344set dummy install-info; ac_word=$2
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325$as_echo_n "checking for $ac_word... " >&6; } 5346$as_echo_n "checking for $ac_word... " >&6; }
5326if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5347if ${ac_cv_path_INSTALL_INFO+:} false; then :
5327 $as_echo_n "(cached) " >&6 5348 $as_echo_n "(cached) " >&6
5328else 5349else
5329 case $INSTALL_INFO in 5350 case $INSTALL_INFO in
@@ -5364,7 +5385,7 @@ fi
5364set dummy gzip; ac_word=$2 5385set dummy gzip; ac_word=$2
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366$as_echo_n "checking for $ac_word... " >&6; } 5387$as_echo_n "checking for $ac_word... " >&6; }
5367if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5388if ${ac_cv_path_GZIP_PROG+:} false; then :
5368 $as_echo_n "(cached) " >&6 5389 $as_echo_n "(cached) " >&6
5369else 5390else
5370 case $GZIP_PROG in 5391 case $GZIP_PROG in
@@ -5407,7 +5428,7 @@ fi
5407set dummy makeinfo; ac_word=$2 5428set dummy makeinfo; ac_word=$2
5408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409$as_echo_n "checking for $ac_word... " >&6; } 5430$as_echo_n "checking for $ac_word... " >&6; }
5410if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5431if ${ac_cv_path_MAKEINFO+:} false; then :
5411 $as_echo_n "(cached) " >&6 5432 $as_echo_n "(cached) " >&6
5412else 5433else
5413 case $MAKEINFO in 5434 case $MAKEINFO in
@@ -5465,7 +5486,7 @@ if test "$MAKEINFO" = "no"; then
5465 if test "x${with_makeinfo}" = "xno"; then 5486 if test "x${with_makeinfo}" = "xno"; then
5466 HAVE_MAKEINFO=no 5487 HAVE_MAKEINFO=no
5467 elif test ! -e $srcdir/info/emacs; then 5488 elif test ! -e $srcdir/info/emacs; then
5468 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5489 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
5469source tree does not seem to have pre-built manuals in the \`info' directory. 5490source tree does not seem to have pre-built manuals in the \`info' directory.
5470Either install a suitable version of makeinfo, or re-run configure 5491Either install a suitable version of makeinfo, or re-run configure
5471with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5492with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
@@ -5612,7 +5633,7 @@ esac
5612C_SWITCH_MACHINE= 5633C_SWITCH_MACHINE=
5613if test "$machine" = "alpha"; then 5634if test "$machine" = "alpha"; then
5614 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 5635 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
5615if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 5636if test "x$ac_cv_have_decl___ELF__" = xyes; then :
5616 5637
5617fi 5638fi
5618 5639
@@ -5625,7 +5646,7 @@ fi
5625 if test "x$GCC" = "xyes"; then 5646 if test "x$GCC" = "xyes"; then
5626 C_SWITCH_MACHINE="-fno-common" 5647 C_SWITCH_MACHINE="-fno-common"
5627 else 5648 else
5628 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5649 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5629 fi 5650 fi
5630 else 5651 else
5631 UNEXEC_OBJ=unexalpha.o 5652 UNEXEC_OBJ=unexalpha.o
@@ -5682,7 +5703,7 @@ if test "$enable_largefile" != no; then
5682 5703
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5684$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5705$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5685if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5706if ${ac_cv_sys_largefile_CC+:} false; then :
5686 $as_echo_n "(cached) " >&6 5707 $as_echo_n "(cached) " >&6
5687else 5708else
5688 ac_cv_sys_largefile_CC=no 5709 ac_cv_sys_largefile_CC=no
@@ -5733,7 +5754,7 @@ $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5733 5754
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5735$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5756$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5736if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5757if ${ac_cv_sys_file_offset_bits+:} false; then :
5737 $as_echo_n "(cached) " >&6 5758 $as_echo_n "(cached) " >&6
5738else 5759else
5739 while :; do 5760 while :; do
@@ -5802,7 +5823,7 @@ rm -rf conftest*
5802 if test $ac_cv_sys_file_offset_bits = unknown; then 5823 if test $ac_cv_sys_file_offset_bits = unknown; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5804$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5825$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5805if test "${ac_cv_sys_large_files+set}" = set; then : 5826if ${ac_cv_sys_large_files+:} false; then :
5806 $as_echo_n "(cached) " >&6 5827 $as_echo_n "(cached) " >&6
5807else 5828else
5808 while :; do 5829 while :; do
@@ -5903,7 +5924,7 @@ else
5903 ## Some platforms don't use any of these files, so it is not 5924 ## Some platforms don't use any of these files, so it is not
5904 ## appropriate to put this test outside the if block. 5925 ## appropriate to put this test outside the if block.
5905 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5926 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5906 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 5927 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5
5907 5928
5908fi 5929fi
5909 5930
@@ -5958,8 +5979,7 @@ if test "${with_sound}" != "no"; then
5958do : 5979do :
5959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5960ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5981ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5961eval as_val=\$$as_ac_Header 5982if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5962 if test "x$as_val" = x""yes; then :
5963 cat >>confdefs.h <<_ACEOF 5983 cat >>confdefs.h <<_ACEOF
5964#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5984#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5965_ACEOF 5985_ACEOF
@@ -5971,7 +5991,7 @@ done
5971 # Emulation library used on NetBSD. 5991 # Emulation library used on NetBSD.
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5973$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 5993$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5974if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 5994if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5975 $as_echo_n "(cached) " >&6 5995 $as_echo_n "(cached) " >&6
5976else 5996else
5977 ac_check_lib_save_LIBS=$LIBS 5997 ac_check_lib_save_LIBS=$LIBS
@@ -6005,7 +6025,7 @@ LIBS=$ac_check_lib_save_LIBS
6005fi 6025fi
6006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6007$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6027$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6008if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6028if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6009 LIBSOUND=-lossaudio 6029 LIBSOUND=-lossaudio
6010else 6030else
6011 LIBSOUND= 6031 LIBSOUND=
@@ -6022,7 +6042,7 @@ fi
6022set dummy pkg-config; ac_word=$2 6042set dummy pkg-config; ac_word=$2
6023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024$as_echo_n "checking for $ac_word... " >&6; } 6044$as_echo_n "checking for $ac_word... " >&6; }
6025if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6045if ${ac_cv_path_PKG_CONFIG+:} false; then :
6026 $as_echo_n "(cached) " >&6 6046 $as_echo_n "(cached) " >&6
6027else 6047else
6028 case $PKG_CONFIG in 6048 case $PKG_CONFIG in
@@ -6150,7 +6170,7 @@ else
6150fi 6170fi
6151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152 if test "$emacs_alsa_subdir" != yes; then 6172 if test "$emacs_alsa_subdir" != yes; then
6153 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6173 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6154 fi 6174 fi
6155 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6175 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6156 fi 6176 fi
@@ -6185,8 +6205,7 @@ for ac_header in sys/select.h sys/time.h unistd.h utime.h \
6185do : 6205do :
6186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6187ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6207ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6188eval as_val=\$$as_ac_Header 6208if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6189 if test "x$as_val" = x""yes; then :
6190 cat >>confdefs.h <<_ACEOF 6209 cat >>confdefs.h <<_ACEOF
6191#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6210#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6192_ACEOF 6211_ACEOF
@@ -6227,7 +6246,7 @@ fi
6227for ac_header in term.h 6246for ac_header in term.h
6228do : 6247do :
6229 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6248 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
6230if test "x$ac_cv_header_term_h" = x""yes; then : 6249if test "x$ac_cv_header_term_h" = xyes; then :
6231 cat >>confdefs.h <<_ACEOF 6250 cat >>confdefs.h <<_ACEOF
6232#define HAVE_TERM_H 1 6251#define HAVE_TERM_H 1
6233_ACEOF 6252_ACEOF
@@ -6238,7 +6257,7 @@ done
6238 6257
6239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6240$as_echo_n "checking for ANSI C header files... " >&6; } 6259$as_echo_n "checking for ANSI C header files... " >&6; }
6241if test "${ac_cv_header_stdc+set}" = set; then : 6260if ${ac_cv_header_stdc+:} false; then :
6242 $as_echo_n "(cached) " >&6 6261 $as_echo_n "(cached) " >&6
6243else 6262else
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6350,7 +6369,7 @@ fi
6350 6369
6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6352$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6371$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6353if test "${ac_cv_header_time+set}" = set; then : 6372if ${ac_cv_header_time+:} false; then :
6354 $as_echo_n "(cached) " >&6 6373 $as_echo_n "(cached) " >&6
6355else 6374else
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6384,7 +6403,7 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6384fi 6403fi
6385 6404
6386ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 6405ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
6387if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 6406if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
6388 ac_have_decl=1 6407 ac_have_decl=1
6389else 6408else
6390 ac_have_decl=0 6409 ac_have_decl=0
@@ -6397,7 +6416,7 @@ _ACEOF
6397if test $ac_cv_have_decl_sys_siglist != yes; then 6416if test $ac_cv_have_decl_sys_siglist != yes; then
6398 # For Tru64, at least: 6417 # For Tru64, at least:
6399 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 6418 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
6400if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 6419if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
6401 ac_have_decl=1 6420 ac_have_decl=1
6402else 6421else
6403 ac_have_decl=0 6422 ac_have_decl=0
@@ -6415,7 +6434,7 @@ $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
6415fi 6434fi
6416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 6435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6417$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6436$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6418if test "${ac_cv_header_sys_wait_h+set}" = set; then : 6437if ${ac_cv_header_sys_wait_h+:} false; then :
6419 $as_echo_n "(cached) " >&6 6438 $as_echo_n "(cached) " >&6
6420else 6439else
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6457,7 +6476,7 @@ fi
6457 6476
6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 6477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
6459$as_echo_n "checking for struct utimbuf... " >&6; } 6478$as_echo_n "checking for struct utimbuf... " >&6; }
6460if test "${emacs_cv_struct_utimbuf+set}" = set; then : 6479if ${emacs_cv_struct_utimbuf+:} false; then :
6461 $as_echo_n "(cached) " >&6 6480 $as_echo_n "(cached) " >&6
6462else 6481else
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6500,7 +6519,7 @@ fi
6500 6519
6501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6502$as_echo_n "checking return type of signal handlers... " >&6; } 6521$as_echo_n "checking return type of signal handlers... " >&6; }
6503if test "${ac_cv_type_signal+set}" = set; then : 6522if ${ac_cv_type_signal+:} false; then :
6504 $as_echo_n "(cached) " >&6 6523 $as_echo_n "(cached) " >&6
6505else 6524else
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6534,7 +6553,7 @@ _ACEOF
6534 6553
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 6554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
6536$as_echo_n "checking for speed_t... " >&6; } 6555$as_echo_n "checking for speed_t... " >&6; }
6537if test "${emacs_cv_speed_t+set}" = set; then : 6556if ${emacs_cv_speed_t+:} false; then :
6538 $as_echo_n "(cached) " >&6 6557 $as_echo_n "(cached) " >&6
6539else 6558else
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6565,7 +6584,7 @@ fi
6565 6584
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 6585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
6567$as_echo_n "checking for struct timeval... " >&6; } 6586$as_echo_n "checking for struct timeval... " >&6; }
6568if test "${emacs_cv_struct_timeval+set}" = set; then : 6587if ${emacs_cv_struct_timeval+:} false; then :
6569 $as_echo_n "(cached) " >&6 6588 $as_echo_n "(cached) " >&6
6570else 6589else
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6606,7 +6625,7 @@ fi
6606 6625
6607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 6626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
6608$as_echo_n "checking for struct exception... " >&6; } 6627$as_echo_n "checking for struct exception... " >&6; }
6609if test "${emacs_cv_struct_exception+set}" = set; then : 6628if ${emacs_cv_struct_exception+:} false; then :
6610 $as_echo_n "(cached) " >&6 6629 $as_echo_n "(cached) " >&6
6611else 6630else
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6639,7 +6658,7 @@ fi
6639for ac_header in sys/socket.h 6658for ac_header in sys/socket.h
6640do : 6659do :
6641 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 6660 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
6642if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 6661if test "x$ac_cv_header_sys_socket_h" = xyes; then :
6643 cat >>confdefs.h <<_ACEOF 6662 cat >>confdefs.h <<_ACEOF
6644#define HAVE_SYS_SOCKET_H 1 6663#define HAVE_SYS_SOCKET_H 1
6645_ACEOF 6664_ACEOF
@@ -6655,7 +6674,7 @@ do :
6655#include <sys/socket.h> 6674#include <sys/socket.h>
6656#endif 6675#endif
6657" 6676"
6658if test "x$ac_cv_header_net_if_h" = x""yes; then : 6677if test "x$ac_cv_header_net_if_h" = xyes; then :
6659 cat >>confdefs.h <<_ACEOF 6678 cat >>confdefs.h <<_ACEOF
6660#define HAVE_NET_IF_H 1 6679#define HAVE_NET_IF_H 1
6661_ACEOF 6680_ACEOF
@@ -6667,7 +6686,7 @@ done
6667 6686
6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6669$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6688$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6670if test "${ac_cv_struct_tm+set}" = set; then : 6689if ${ac_cv_struct_tm+:} false; then :
6671 $as_echo_n "(cached) " >&6 6690 $as_echo_n "(cached) " >&6
6672else 6691else
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6704,7 +6723,7 @@ ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_
6704#include <$ac_cv_struct_tm> 6723#include <$ac_cv_struct_tm>
6705 6724
6706" 6725"
6707if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 6726if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
6708 6727
6709cat >>confdefs.h <<_ACEOF 6728cat >>confdefs.h <<_ACEOF
6710#define HAVE_STRUCT_TM_TM_ZONE 1 6729#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -6720,7 +6739,7 @@ $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6720else 6739else
6721 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 6740 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6722" 6741"
6723if test "x$ac_cv_have_decl_tzname" = x""yes; then : 6742if test "x$ac_cv_have_decl_tzname" = xyes; then :
6724 ac_have_decl=1 6743 ac_have_decl=1
6725else 6744else
6726 ac_have_decl=0 6745 ac_have_decl=0
@@ -6732,7 +6751,7 @@ _ACEOF
6732 6751
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6734$as_echo_n "checking for tzname... " >&6; } 6753$as_echo_n "checking for tzname... " >&6; }
6735if test "${ac_cv_var_tzname+set}" = set; then : 6754if ${ac_cv_var_tzname+:} false; then :
6736 $as_echo_n "(cached) " >&6 6755 $as_echo_n "(cached) " >&6
6737else 6756else
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6769,7 +6788,7 @@ fi
6769 6788
6770ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 6789ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
6771" 6790"
6772if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 6791if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
6773 6792
6774$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 6793$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
6775 6794
@@ -6783,7 +6802,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_i
6783#include <net/if.h> 6802#include <net/if.h>
6784#endif 6803#endif
6785" 6804"
6786if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 6805if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
6787 6806
6788cat >>confdefs.h <<_ACEOF 6807cat >>confdefs.h <<_ACEOF
6789#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6808#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -6799,7 +6818,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_
6799#include <net/if.h> 6818#include <net/if.h>
6800#endif 6819#endif
6801" 6820"
6802if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 6821if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
6803 6822
6804cat >>confdefs.h <<_ACEOF 6823cat >>confdefs.h <<_ACEOF
6805#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6824#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -6815,7 +6834,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct
6815#include <net/if.h> 6834#include <net/if.h>
6816#endif 6835#endif
6817" 6836"
6818if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 6837if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
6819 6838
6820cat >>confdefs.h <<_ACEOF 6839cat >>confdefs.h <<_ACEOF
6821#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6840#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -6831,7 +6850,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_stru
6831#include <net/if.h> 6850#include <net/if.h>
6832#endif 6851#endif
6833" 6852"
6834if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 6853if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
6835 6854
6836cat >>confdefs.h <<_ACEOF 6855cat >>confdefs.h <<_ACEOF
6837#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6856#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -6847,7 +6866,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_if
6847#include <net/if.h> 6866#include <net/if.h>
6848#endif 6867#endif
6849" 6868"
6850if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 6869if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
6851 6870
6852cat >>confdefs.h <<_ACEOF 6871cat >>confdefs.h <<_ACEOF
6853#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6872#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -6876,7 +6895,7 @@ fi
6876 6895
6877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 6896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6878$as_echo_n "checking for working volatile... " >&6; } 6897$as_echo_n "checking for working volatile... " >&6; }
6879if test "${ac_cv_c_volatile+set}" = set; then : 6898if ${ac_cv_c_volatile+:} false; then :
6880 $as_echo_n "(cached) " >&6 6899 $as_echo_n "(cached) " >&6
6881else 6900else
6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6910,7 +6929,7 @@ fi
6910 6929
6911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6912$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6931$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6913if test "${ac_cv_c_const+set}" = set; then : 6932if ${ac_cv_c_const+:} false; then :
6914 $as_echo_n "(cached) " >&6 6933 $as_echo_n "(cached) " >&6
6915else 6934else
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6990,7 +7009,7 @@ fi
6990 7009
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 7010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
6992$as_echo_n "checking for void * support... " >&6; } 7011$as_echo_n "checking for void * support... " >&6; }
6993if test "${emacs_cv_void_star+set}" = set; then : 7012if ${emacs_cv_void_star+:} false; then :
6994 $as_echo_n "(cached) " >&6 7013 $as_echo_n "(cached) " >&6
6995else 7014else
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7023,7 +7042,7 @@ fi
7023 7042
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7025$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7044$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7026if test "${ac_cv_c_bigendian+set}" = set; then : 7045if ${ac_cv_c_bigendian+:} false; then :
7027 $as_echo_n "(cached) " >&6 7046 $as_echo_n "(cached) " >&6
7028else 7047else
7029 ac_cv_c_bigendian=unknown 7048 ac_cv_c_bigendian=unknown
@@ -7241,7 +7260,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7241 7260
7242 ;; #( 7261 ;; #(
7243 *) 7262 *)
7244 as_fn_error "unknown endianness 7263 as_fn_error $? "unknown endianness
7245 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7264 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7246 esac 7265 esac
7247 7266
@@ -7250,7 +7269,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7250$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7269$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7251set x ${MAKE-make} 7270set x ${MAKE-make}
7252ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7271ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7253if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 7272if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
7254 $as_echo_n "(cached) " >&6 7273 $as_echo_n "(cached) " >&6
7255else 7274else
7256 cat >conftest.make <<\_ACEOF 7275 cat >conftest.make <<\_ACEOF
@@ -7258,7 +7277,7 @@ SHELL = /bin/sh
7258all: 7277all:
7259 @echo '@@@%%%=$(MAKE)=@@@%%%' 7278 @echo '@@@%%%=$(MAKE)=@@@%%%'
7260_ACEOF 7279_ACEOF
7261# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7280# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7262case `${MAKE-make} -f conftest.make 2>/dev/null` in 7281case `${MAKE-make} -f conftest.make 2>/dev/null` in
7263 *@@@%%%=?*=@@@%%%*) 7282 *@@@%%%=?*=@@@%%%*)
7264 eval ac_cv_prog_make_${ac_make}_set=yes;; 7283 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -7338,7 +7357,7 @@ deps_frag=$srcdir/src/$deps_frag
7338 7357
7339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 7358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
7340$as_echo_n "checking for long file names... " >&6; } 7359$as_echo_n "checking for long file names... " >&6; }
7341if test "${ac_cv_sys_long_file_names+set}" = set; then : 7360if ${ac_cv_sys_long_file_names+:} false; then :
7342 $as_echo_n "(cached) " >&6 7361 $as_echo_n "(cached) " >&6
7343else 7362else
7344 ac_cv_sys_long_file_names=yes 7363 ac_cv_sys_long_file_names=yes
@@ -7394,8 +7413,8 @@ if test "x$with_x" = xno; then
7394 have_x=disabled 7413 have_x=disabled
7395else 7414else
7396 case $x_includes,$x_libraries in #( 7415 case $x_includes,$x_libraries in #(
7397 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 7416 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7398 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7417 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7399 $as_echo_n "(cached) " >&6 7418 $as_echo_n "(cached) " >&6
7400else 7419else
7401 # One or both of the vars are not set, and there is no cached value. 7420 # One or both of the vars are not set, and there is no cached value.
@@ -7412,7 +7431,7 @@ libdir:
7412 @echo libdir='${LIBDIR}' 7431 @echo libdir='${LIBDIR}'
7413_ACEOF 7432_ACEOF
7414 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7433 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7434 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7416 for ac_var in incroot usrlibdir libdir; do 7435 for ac_var in incroot usrlibdir libdir; do
7417 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7436 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7418 done 7437 done
@@ -7498,7 +7517,7 @@ else
7498 fi 7517 fi
7499done 7518done
7500fi 7519fi
7501rm -f conftest.err conftest.$ac_ext 7520rm -f conftest.err conftest.i conftest.$ac_ext
7502fi # $ac_x_includes = no 7521fi # $ac_x_includes = no
7503 7522
7504if test "$ac_x_libraries" = no; then 7523if test "$ac_x_libraries" = no; then
@@ -7678,10 +7697,10 @@ if test "${with_ns}" != no; then
7678 TEMACS_LDFLAGS2= 7697 TEMACS_LDFLAGS2=
7679 fi 7698 fi
7680 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7699 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7681if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7700if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
7682 HAVE_NS=yes 7701 HAVE_NS=yes
7683else 7702else
7684 as_fn_error "\`--with-ns' was specified, but the include 7703 as_fn_error $? "\`--with-ns' was specified, but the include
7685 files are missing or cannot be compiled." "$LINENO" 5 7704 files are missing or cannot be compiled." "$LINENO" 5
7686fi 7705fi
7687 7706
@@ -7760,7 +7779,7 @@ if test "$window_system" = none && test "X$with_x" != "Xno"; then
7760set dummy X; ac_word=$2 7779set dummy X; ac_word=$2
7761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7762$as_echo_n "checking for $ac_word... " >&6; } 7781$as_echo_n "checking for $ac_word... " >&6; }
7763if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 7782if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
7764 $as_echo_n "(cached) " >&6 7783 $as_echo_n "(cached) " >&6
7765else 7784else
7766 if test -n "$HAVE_XSERVER"; then 7785 if test -n "$HAVE_XSERVER"; then
@@ -7797,7 +7816,7 @@ fi
7797 if test "$HAVE_XSERVER" = true || 7816 if test "$HAVE_XSERVER" = true ||
7798 test -n "$DISPLAY" || 7817 test -n "$DISPLAY" ||
7799 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7818 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7800 as_fn_error "You seem to be running X, but no X development libraries 7819 as_fn_error $? "You seem to be running X, but no X development libraries
7801were found. You should install the relevant development files for X 7820were found. You should install the relevant development files for X
7802and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7821and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7803sure you have development files for image handling, i.e. 7822sure you have development files for image handling, i.e.
@@ -7819,14 +7838,14 @@ esac
7819GNU_MALLOC=yes 7838GNU_MALLOC=yes
7820doug_lea_malloc=yes 7839doug_lea_malloc=yes
7821ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 7840ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
7822if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 7841if test "x$ac_cv_func_malloc_get_state" = xyes; then :
7823 7842
7824else 7843else
7825 doug_lea_malloc=no 7844 doug_lea_malloc=no
7826fi 7845fi
7827 7846
7828ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 7847ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
7829if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 7848if test "x$ac_cv_func_malloc_set_state" = xyes; then :
7830 7849
7831else 7850else
7832 doug_lea_malloc=no 7851 doug_lea_malloc=no
@@ -7834,7 +7853,7 @@ fi
7834 7853
7835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 7854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
7836$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7855$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7837if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 7856if ${emacs_cv_var___after_morecore_hook+:} false; then :
7838 $as_echo_n "(cached) " >&6 7857 $as_echo_n "(cached) " >&6
7839else 7858else
7840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7920,8 +7939,7 @@ do :
7920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7921ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7940ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7922" 7941"
7923eval as_val=\$$as_ac_Header 7942if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7924 if test "x$as_val" = x""yes; then :
7925 cat >>confdefs.h <<_ACEOF 7943 cat >>confdefs.h <<_ACEOF
7926#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7944#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7927_ACEOF 7945_ACEOF
@@ -7940,7 +7958,7 @@ done
7940for ac_func in getpagesize 7958for ac_func in getpagesize
7941do : 7959do :
7942 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 7960 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7943if test "x$ac_cv_func_getpagesize" = x""yes; then : 7961if test "x$ac_cv_func_getpagesize" = xyes; then :
7944 cat >>confdefs.h <<_ACEOF 7962 cat >>confdefs.h <<_ACEOF
7945#define HAVE_GETPAGESIZE 1 7963#define HAVE_GETPAGESIZE 1
7946_ACEOF 7964_ACEOF
@@ -7950,7 +7968,7 @@ done
7950 7968
7951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 7969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7952$as_echo_n "checking for working mmap... " >&6; } 7970$as_echo_n "checking for working mmap... " >&6; }
7953if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 7971if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
7954 $as_echo_n "(cached) " >&6 7972 $as_echo_n "(cached) " >&6
7955else 7973else
7956 if test "$cross_compiling" = yes; then : 7974 if test "$cross_compiling" = yes; then :
@@ -8027,6 +8045,7 @@ int
8027main () 8045main ()
8028{ 8046{
8029 char *data, *data2, *data3; 8047 char *data, *data2, *data3;
8048 const char *cdata2;
8030 int i, pagesize; 8049 int i, pagesize;
8031 int fd, fd2; 8050 int fd, fd2;
8032 8051
@@ -8051,10 +8070,10 @@ main ()
8051 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 8070 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
8052 if (fd2 < 0) 8071 if (fd2 < 0)
8053 return 4; 8072 return 4;
8054 data2 = ""; 8073 cdata2 = "";
8055 if (write (fd2, data2, 1) != 1) 8074 if (write (fd2, cdata2, 1) != 1)
8056 return 5; 8075 return 5;
8057 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 8076 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
8058 if (data2 == MAP_FAILED) 8077 if (data2 == MAP_FAILED)
8059 return 6; 8078 return 6;
8060 for (i = 0; i < pagesize; ++i) 8079 for (i = 0; i < pagesize; ++i)
@@ -8124,7 +8143,7 @@ LIBS="$LIBS_SYSTEM $LIBS"
8124 8143
8125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 8144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8126$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 8145$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8127if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 8146if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8128 $as_echo_n "(cached) " >&6 8147 $as_echo_n "(cached) " >&6
8129else 8148else
8130 ac_check_lib_save_LIBS=$LIBS 8149 ac_check_lib_save_LIBS=$LIBS
@@ -8158,7 +8177,7 @@ LIBS=$ac_check_lib_save_LIBS
8158fi 8177fi
8159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 8178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8160$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 8179$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8161if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 8180if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8162 cat >>confdefs.h <<_ACEOF 8181 cat >>confdefs.h <<_ACEOF
8163#define HAVE_LIBDNET 1 8182#define HAVE_LIBDNET 1
8164_ACEOF 8183_ACEOF
@@ -8170,7 +8189,7 @@ fi
8170 8189
8171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
8172$as_echo_n "checking for main in -lXbsd... " >&6; } 8191$as_echo_n "checking for main in -lXbsd... " >&6; }
8173if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 8192if ${ac_cv_lib_Xbsd_main+:} false; then :
8174 $as_echo_n "(cached) " >&6 8193 $as_echo_n "(cached) " >&6
8175else 8194else
8176 ac_check_lib_save_LIBS=$LIBS 8195 ac_check_lib_save_LIBS=$LIBS
@@ -8198,14 +8217,14 @@ LIBS=$ac_check_lib_save_LIBS
8198fi 8217fi
8199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 8218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
8200$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 8219$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
8201if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 8220if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
8202 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 8221 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
8203fi 8222fi
8204 8223
8205 8224
8206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 8225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
8207$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 8226$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
8208if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 8227if ${ac_cv_lib_pthreads_cma_open+:} false; then :
8209 $as_echo_n "(cached) " >&6 8228 $as_echo_n "(cached) " >&6
8210else 8229else
8211 ac_check_lib_save_LIBS=$LIBS 8230 ac_check_lib_save_LIBS=$LIBS
@@ -8239,7 +8258,7 @@ LIBS=$ac_check_lib_save_LIBS
8239fi 8258fi
8240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 8259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
8241$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 8260$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
8242if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 8261if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
8243 cat >>confdefs.h <<_ACEOF 8262 cat >>confdefs.h <<_ACEOF
8244#define HAVE_LIBPTHREADS 1 8263#define HAVE_LIBPTHREADS 1
8245_ACEOF 8264_ACEOF
@@ -8266,7 +8285,7 @@ case ${host_os} in
8266aix*) 8285aix*)
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
8268$as_echo_n "checking for -bbigtoc option... " >&6; } 8287$as_echo_n "checking for -bbigtoc option... " >&6; }
8269if test "${gdb_cv_bigtoc+set}" = set; then : 8288if ${gdb_cv_bigtoc+:} false; then :
8270 $as_echo_n "(cached) " >&6 8289 $as_echo_n "(cached) " >&6
8271else 8290else
8272 8291
@@ -8427,8 +8446,7 @@ XScreenNumberOfScreen XSetWMProtocols
8427do : 8446do :
8428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8429ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8448ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8430eval as_val=\$$as_ac_var 8449if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8431 if test "x$as_val" = x""yes; then :
8432 cat >>confdefs.h <<_ACEOF 8450 cat >>confdefs.h <<_ACEOF
8433#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8451#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8434_ACEOF 8452_ACEOF
@@ -8441,7 +8459,7 @@ fi
8441if test "${window_system}" = "x11"; then 8459if test "${window_system}" = "x11"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
8443$as_echo_n "checking X11 version 6... " >&6; } 8461$as_echo_n "checking X11 version 6... " >&6; }
8444 if test "${emacs_cv_x11_version_6+set}" = set; then : 8462 if ${emacs_cv_x11_version_6+:} false; then :
8445 $as_echo_n "(cached) " >&6 8463 $as_echo_n "(cached) " >&6
8446else 8464else
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8506,7 +8524,7 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
8506set dummy pkg-config; ac_word=$2 8524set dummy pkg-config; ac_word=$2
8507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508$as_echo_n "checking for $ac_word... " >&6; } 8526$as_echo_n "checking for $ac_word... " >&6; }
8509if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8527if ${ac_cv_path_PKG_CONFIG+:} false; then :
8510 $as_echo_n "(cached) " >&6 8528 $as_echo_n "(cached) " >&6
8511else 8529else
8512 case $PKG_CONFIG in 8530 case $PKG_CONFIG in
@@ -8617,7 +8635,7 @@ if test "${HAVE_X11}" = "yes"; then
8617set dummy pkg-config; ac_word=$2 8635set dummy pkg-config; ac_word=$2
8618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8619$as_echo_n "checking for $ac_word... " >&6; } 8637$as_echo_n "checking for $ac_word... " >&6; }
8620if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8638if ${ac_cv_path_PKG_CONFIG+:} false; then :
8621 $as_echo_n "(cached) " >&6 8639 $as_echo_n "(cached) " >&6
8622else 8640else
8623 case $PKG_CONFIG in 8641 case $PKG_CONFIG in
@@ -8716,7 +8734,7 @@ $as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h
8716 for ac_func in MagickExportImagePixels 8734 for ac_func in MagickExportImagePixels
8717do : 8735do :
8718 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 8736 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
8719if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 8737if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
8720 cat >>confdefs.h <<_ACEOF 8738 cat >>confdefs.h <<_ACEOF
8721#define HAVE_MAGICKEXPORTIMAGEPIXELS 1 8739#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
8722_ACEOF 8740_ACEOF
@@ -8742,7 +8760,7 @@ if test "${with_gtk3}" = "yes"; then
8742set dummy pkg-config; ac_word=$2 8760set dummy pkg-config; ac_word=$2
8743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744$as_echo_n "checking for $ac_word... " >&6; } 8762$as_echo_n "checking for $ac_word... " >&6; }
8745if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8763if ${ac_cv_path_PKG_CONFIG+:} false; then :
8746 $as_echo_n "(cached) " >&6 8764 $as_echo_n "(cached) " >&6
8747else 8765else
8748 case $PKG_CONFIG in 8766 case $PKG_CONFIG in
@@ -8830,7 +8848,7 @@ $as_echo "no" >&6; }
8830 fi 8848 fi
8831 8849
8832 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8850 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8833 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8851 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8834 fi 8852 fi
8835fi 8853fi
8836 8854
@@ -8848,7 +8866,7 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
8848set dummy pkg-config; ac_word=$2 8866set dummy pkg-config; ac_word=$2
8849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850$as_echo_n "checking for $ac_word... " >&6; } 8868$as_echo_n "checking for $ac_word... " >&6; }
8851if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8869if ${ac_cv_path_PKG_CONFIG+:} false; then :
8852 $as_echo_n "(cached) " >&6 8870 $as_echo_n "(cached) " >&6
8853else 8871else
8854 case $PKG_CONFIG in 8872 case $PKG_CONFIG in
@@ -8936,7 +8954,7 @@ $as_echo "no" >&6; }
8936 fi 8954 fi
8937 8955
8938 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8956 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8939 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8957 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8940 fi 8958 fi
8941fi 8959fi
8942fi 8960fi
@@ -8953,7 +8971,7 @@ if test x"$pkg_check_gtk" = xyes; then
8953 for ac_func in gtk_main 8971 for ac_func in gtk_main
8954do : 8972do :
8955 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 8973 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
8956if test "x$ac_cv_func_gtk_main" = x""yes; then : 8974if test "x$ac_cv_func_gtk_main" = xyes; then :
8957 cat >>confdefs.h <<_ACEOF 8975 cat >>confdefs.h <<_ACEOF
8958#define HAVE_GTK_MAIN 1 8976#define HAVE_GTK_MAIN 1
8959_ACEOF 8977_ACEOF
@@ -8963,7 +8981,7 @@ done
8963 8981
8964 if test "${GTK_COMPILES}" != "yes"; then 8982 if test "${GTK_COMPILES}" != "yes"; then
8965 if test "$USE_X_TOOLKIT" != "maybe"; then 8983 if test "$USE_X_TOOLKIT" != "maybe"; then
8966 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 8984 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8967 fi 8985 fi
8968 else 8986 else
8969 HAVE_GTK=yes 8987 HAVE_GTK=yes
@@ -9001,7 +9019,7 @@ if test "${HAVE_GTK}" = "yes"; then
9001 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 9019 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
9002#include <gtk/gtk.h> 9020#include <gtk/gtk.h>
9003" 9021"
9004if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 9022if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
9005 HAVE_GTK_FILE_SELECTION=yes 9023 HAVE_GTK_FILE_SELECTION=yes
9006else 9024else
9007 HAVE_GTK_FILE_SELECTION=no 9025 HAVE_GTK_FILE_SELECTION=no
@@ -9011,7 +9029,7 @@ fi
9011 for ac_func in gtk_file_selection_new 9029 for ac_func in gtk_file_selection_new
9012do : 9030do :
9013 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 9031 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
9014if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 9032if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
9015 cat >>confdefs.h <<_ACEOF 9033 cat >>confdefs.h <<_ACEOF
9016#define HAVE_GTK_FILE_SELECTION_NEW 1 9034#define HAVE_GTK_FILE_SELECTION_NEW 1
9017_ACEOF 9035_ACEOF
@@ -9025,7 +9043,7 @@ done
9025 for ac_header in pthread.h 9043 for ac_header in pthread.h
9026do : 9044do :
9027 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 9045 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9028if test "x$ac_cv_header_pthread_h" = x""yes; then : 9046if test "x$ac_cv_header_pthread_h" = xyes; then :
9029 cat >>confdefs.h <<_ACEOF 9047 cat >>confdefs.h <<_ACEOF
9030#define HAVE_PTHREAD_H 1 9048#define HAVE_PTHREAD_H 1
9031_ACEOF 9049_ACEOF
@@ -9037,7 +9055,7 @@ done
9037 if test "$ac_cv_header_pthread_h"; then 9055 if test "$ac_cv_header_pthread_h"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
9039$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 9057$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
9040if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 9058if ${ac_cv_lib_pthread_pthread_self+:} false; then :
9041 $as_echo_n "(cached) " >&6 9059 $as_echo_n "(cached) " >&6
9042else 9060else
9043 ac_check_lib_save_LIBS=$LIBS 9061 ac_check_lib_save_LIBS=$LIBS
@@ -9071,7 +9089,7 @@ LIBS=$ac_check_lib_save_LIBS
9071fi 9089fi
9072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 9090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
9073$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 9091$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
9074if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 9092if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
9075 HAVE_GTK_AND_PTHREAD=yes 9093 HAVE_GTK_AND_PTHREAD=yes
9076fi 9094fi
9077 9095
@@ -9093,8 +9111,7 @@ $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h
9093do : 9111do :
9094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9095ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9113ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9096eval as_val=\$$as_ac_var 9114if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9097 if test "x$as_val" = x""yes; then :
9098 cat >>confdefs.h <<_ACEOF 9115 cat >>confdefs.h <<_ACEOF
9099#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9116#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9100_ACEOF 9117_ACEOF
@@ -9115,7 +9132,7 @@ if test "${with_dbus}" = "yes"; then
9115set dummy pkg-config; ac_word=$2 9132set dummy pkg-config; ac_word=$2
9116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117$as_echo_n "checking for $ac_word... " >&6; } 9134$as_echo_n "checking for $ac_word... " >&6; }
9118if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9135if ${ac_cv_path_PKG_CONFIG+:} false; then :
9119 $as_echo_n "(cached) " >&6 9136 $as_echo_n "(cached) " >&6
9120else 9137else
9121 case $PKG_CONFIG in 9138 case $PKG_CONFIG in
@@ -9210,7 +9227,7 @@ $as_echo "#define HAVE_DBUS 1" >>confdefs.h
9210 for ac_func in dbus_watch_get_unix_fd 9227 for ac_func in dbus_watch_get_unix_fd
9211do : 9228do :
9212 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 9229 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
9213if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 9230if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
9214 cat >>confdefs.h <<_ACEOF 9231 cat >>confdefs.h <<_ACEOF
9215#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 9232#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
9216_ACEOF 9233_ACEOF
@@ -9232,7 +9249,7 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
9232set dummy pkg-config; ac_word=$2 9249set dummy pkg-config; ac_word=$2
9233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9234$as_echo_n "checking for $ac_word... " >&6; } 9251$as_echo_n "checking for $ac_word... " >&6; }
9235if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9252if ${ac_cv_path_PKG_CONFIG+:} false; then :
9236 $as_echo_n "(cached) " >&6 9253 $as_echo_n "(cached) " >&6
9237else 9254else
9238 case $PKG_CONFIG in 9255 case $PKG_CONFIG in
@@ -9326,7 +9343,7 @@ $as_echo "#define HAVE_GCONF 1" >>confdefs.h
9326 for ac_func in g_type_init 9343 for ac_func in g_type_init
9327do : 9344do :
9328 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 9345 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
9329if test "x$ac_cv_func_g_type_init" = x""yes; then : 9346if test "x$ac_cv_func_g_type_init" = xyes; then :
9330 cat >>confdefs.h <<_ACEOF 9347 cat >>confdefs.h <<_ACEOF
9331#define HAVE_G_TYPE_INIT 1 9348#define HAVE_G_TYPE_INIT 1
9332_ACEOF 9349_ACEOF
@@ -9342,7 +9359,7 @@ LIBSELINUX_LIBS=
9342if test "${with_selinux}" = "yes"; then 9359if test "${with_selinux}" = "yes"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
9344$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 9361$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
9345if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 9362if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
9346 $as_echo_n "(cached) " >&6 9363 $as_echo_n "(cached) " >&6
9347else 9364else
9348 ac_check_lib_save_LIBS=$LIBS 9365 ac_check_lib_save_LIBS=$LIBS
@@ -9376,7 +9393,7 @@ LIBS=$ac_check_lib_save_LIBS
9376fi 9393fi
9377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 9394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
9378$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 9395$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
9379if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 9396if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
9380 HAVE_LIBSELINUX=yes 9397 HAVE_LIBSELINUX=yes
9381else 9398else
9382 HAVE_LIBSELINUX=no 9399 HAVE_LIBSELINUX=no
@@ -9400,7 +9417,7 @@ if test "${with_gnutls}" = "yes" ; then
9400set dummy pkg-config; ac_word=$2 9417set dummy pkg-config; ac_word=$2
9401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9402$as_echo_n "checking for $ac_word... " >&6; } 9419$as_echo_n "checking for $ac_word... " >&6; }
9403if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9420if ${ac_cv_path_PKG_CONFIG+:} false; then :
9404 $as_echo_n "(cached) " >&6 9421 $as_echo_n "(cached) " >&6
9405else 9422else
9406 case $PKG_CONFIG in 9423 case $PKG_CONFIG in
@@ -9502,7 +9519,7 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
9502 if test "$with_xaw3d" != no; then 9519 if test "$with_xaw3d" != no; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
9504$as_echo_n "checking for xaw3d... " >&6; } 9521$as_echo_n "checking for xaw3d... " >&6; }
9505 if test "${emacs_cv_xaw3d+set}" = set; then : 9522 if ${emacs_cv_xaw3d+:} false; then :
9506 $as_echo_n "(cached) " >&6 9523 $as_echo_n "(cached) " >&6
9507else 9524else
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9544,7 +9561,7 @@ $as_echo "#define HAVE_XAW3D 1" >>confdefs.h
9544$as_echo "no" >&6; } 9561$as_echo "no" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
9546$as_echo_n "checking for libXaw... " >&6; } 9563$as_echo_n "checking for libXaw... " >&6; }
9547 if test "${emacs_cv_xaw+set}" = set; then : 9564 if ${emacs_cv_xaw+:} false; then :
9548 $as_echo_n "(cached) " >&6 9565 $as_echo_n "(cached) " >&6
9549else 9566else
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9575,7 +9592,7 @@ $as_echo "yes; using Lucid toolkit" >&6; }
9575 USE_X_TOOLKIT=LUCID 9592 USE_X_TOOLKIT=LUCID
9576 LUCID_LIBW=-lXaw 9593 LUCID_LIBW=-lXaw
9577 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9594 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9578 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9595 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9579 else 9596 else
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9581$as_echo "no; do not use toolkit by default" >&6; } 9598$as_echo "no; do not use toolkit by default" >&6; }
@@ -9590,7 +9607,7 @@ LIBXTR6=
9590if test "${USE_X_TOOLKIT}" != "none"; then 9607if test "${USE_X_TOOLKIT}" != "none"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
9592$as_echo_n "checking X11 toolkit version... " >&6; } 9609$as_echo_n "checking X11 toolkit version... " >&6; }
9593 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 9610 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
9594 $as_echo_n "(cached) " >&6 9611 $as_echo_n "(cached) " >&6
9595else 9612else
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9641,7 +9658,7 @@ $as_echo "before 6" >&6; }
9641 fi 9658 fi
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
9643$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 9660$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
9644if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 9661if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
9645 $as_echo_n "(cached) " >&6 9662 $as_echo_n "(cached) " >&6
9646else 9663else
9647 ac_check_lib_save_LIBS=$LIBS 9664 ac_check_lib_save_LIBS=$LIBS
@@ -9675,7 +9692,7 @@ LIBS=$ac_check_lib_save_LIBS
9675fi 9692fi
9676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 9693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
9677$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 9694$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
9678if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 9695if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
9679 cat >>confdefs.h <<_ACEOF 9696 cat >>confdefs.h <<_ACEOF
9680#define HAVE_LIBXMU 1 9697#define HAVE_LIBXMU 1
9681_ACEOF 9698_ACEOF
@@ -9702,7 +9719,7 @@ if test "${HAVE_X11}" = "yes"; then
9702 if test "${USE_X_TOOLKIT}" != "none"; then 9719 if test "${USE_X_TOOLKIT}" != "none"; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9704$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 9721$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9705if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 9722if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9706 $as_echo_n "(cached) " >&6 9723 $as_echo_n "(cached) " >&6
9707else 9724else
9708 ac_check_lib_save_LIBS=$LIBS 9725 ac_check_lib_save_LIBS=$LIBS
@@ -9736,7 +9753,7 @@ LIBS=$ac_check_lib_save_LIBS
9736fi 9753fi
9737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9738$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 9755$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9739if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 9756if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9740 cat >>confdefs.h <<_ACEOF 9757 cat >>confdefs.h <<_ACEOF
9741#define HAVE_LIBXEXT 1 9758#define HAVE_LIBXEXT 1
9742_ACEOF 9759_ACEOF
@@ -9752,7 +9769,7 @@ LIBXP=
9752if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9769if test "${USE_X_TOOLKIT}" = "MOTIF"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
9754$as_echo_n "checking for Motif version 2.1... " >&6; } 9771$as_echo_n "checking for Motif version 2.1... " >&6; }
9755if test "${emacs_cv_motif_version_2_1+set}" = set; then : 9772if ${emacs_cv_motif_version_2_1+:} false; then :
9756 $as_echo_n "(cached) " >&6 9773 $as_echo_n "(cached) " >&6
9757else 9774else
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9782,7 +9799,7 @@ $as_echo "$emacs_cv_motif_version_2_1" >&6; }
9782 if test $emacs_cv_motif_version_2_1 = yes; then 9799 if test $emacs_cv_motif_version_2_1 = yes; then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
9784$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 9801$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
9785if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 9802if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
9786 $as_echo_n "(cached) " >&6 9803 $as_echo_n "(cached) " >&6
9787else 9804else
9788 ac_check_lib_save_LIBS=$LIBS 9805 ac_check_lib_save_LIBS=$LIBS
@@ -9816,14 +9833,14 @@ LIBS=$ac_check_lib_save_LIBS
9816fi 9833fi
9817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 9834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
9818$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 9835$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
9819if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 9836if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
9820 LIBXP=-lXp 9837 LIBXP=-lXp
9821fi 9838fi
9822 9839
9823 else 9840 else
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
9825$as_echo_n "checking for LessTif where some systems put it... " >&6; } 9842$as_echo_n "checking for LessTif where some systems put it... " >&6; }
9826if test "${emacs_cv_lesstif+set}" = set; then : 9843if ${emacs_cv_lesstif+:} false; then :
9827 $as_echo_n "(cached) " >&6 9844 $as_echo_n "(cached) " >&6
9828else 9845else
9829 # We put this in CFLAGS temporarily to precede other -I options 9846 # We put this in CFLAGS temporarily to precede other -I options
@@ -9982,7 +9999,7 @@ if test "${HAVE_X11}" = "yes"; then
9982set dummy pkg-config; ac_word=$2 9999set dummy pkg-config; ac_word=$2
9983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984$as_echo_n "checking for $ac_word... " >&6; } 10001$as_echo_n "checking for $ac_word... " >&6; }
9985if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10002if ${ac_cv_path_PKG_CONFIG+:} false; then :
9986 $as_echo_n "(cached) " >&6 10003 $as_echo_n "(cached) " >&6
9987else 10004else
9988 case $PKG_CONFIG in 10005 case $PKG_CONFIG in
@@ -10084,7 +10101,7 @@ $as_echo "no" >&6; }
10084set dummy pkg-config; ac_word=$2 10101set dummy pkg-config; ac_word=$2
10085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10086$as_echo_n "checking for $ac_word... " >&6; } 10103$as_echo_n "checking for $ac_word... " >&6; }
10087if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10104if ${ac_cv_path_PKG_CONFIG+:} false; then :
10088 $as_echo_n "(cached) " >&6 10105 $as_echo_n "(cached) " >&6
10089else 10106else
10090 case $PKG_CONFIG in 10107 case $PKG_CONFIG in
@@ -10176,7 +10193,7 @@ $as_echo "no" >&6; }
10176 HAVE_XRENDER=no 10193 HAVE_XRENDER=no
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
10178$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 10195$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
10179if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 10196if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
10180 $as_echo_n "(cached) " >&6 10197 $as_echo_n "(cached) " >&6
10181else 10198else
10182 ac_check_lib_save_LIBS=$LIBS 10199 ac_check_lib_save_LIBS=$LIBS
@@ -10210,7 +10227,7 @@ LIBS=$ac_check_lib_save_LIBS
10210fi 10227fi
10211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 10228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
10212$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 10229$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
10213if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 10230if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
10214 HAVE_XRENDER=yes 10231 HAVE_XRENDER=yes
10215fi 10232fi
10216 10233
@@ -10223,10 +10240,10 @@ fi
10223 XFT_LIBS="-lXrender $XFT_LIBS" 10240 XFT_LIBS="-lXrender $XFT_LIBS"
10224 LIBS="$XFT_LIBS $LIBS" 10241 LIBS="$XFT_LIBS $LIBS"
10225 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 10242 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
10226if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 10243if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
10228$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 10245$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
10229if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 10246if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
10230 $as_echo_n "(cached) " >&6 10247 $as_echo_n "(cached) " >&6
10231else 10248else
10232 ac_check_lib_save_LIBS=$LIBS 10249 ac_check_lib_save_LIBS=$LIBS
@@ -10260,7 +10277,7 @@ LIBS=$ac_check_lib_save_LIBS
10260fi 10277fi
10261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 10278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
10262$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 10279$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
10263if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 10280if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
10264 HAVE_XFT=yes 10281 HAVE_XFT=yes
10265fi 10282fi
10266 10283
@@ -10309,7 +10326,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10309set dummy pkg-config; ac_word=$2 10326set dummy pkg-config; ac_word=$2
10310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311$as_echo_n "checking for $ac_word... " >&6; } 10328$as_echo_n "checking for $ac_word... " >&6; }
10312if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10329if ${ac_cv_path_PKG_CONFIG+:} false; then :
10313 $as_echo_n "(cached) " >&6 10330 $as_echo_n "(cached) " >&6
10314else 10331else
10315 case $PKG_CONFIG in 10332 case $PKG_CONFIG in
@@ -10402,7 +10419,7 @@ $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
10402 10419
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
10404$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 10421$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
10405if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 10422if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
10406 $as_echo_n "(cached) " >&6 10423 $as_echo_n "(cached) " >&6
10407else 10424else
10408 ac_check_lib_save_LIBS=$LIBS 10425 ac_check_lib_save_LIBS=$LIBS
@@ -10436,7 +10453,7 @@ LIBS=$ac_check_lib_save_LIBS
10436fi 10453fi
10437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 10454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
10438$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 10455$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
10439if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 10456if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
10440 HAVE_OTF_GET_VARIATION_GLYPHS=yes 10457 HAVE_OTF_GET_VARIATION_GLYPHS=yes
10441else 10458else
10442 HAVE_OTF_GET_VARIATION_GLYPHS=no 10459 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -10461,7 +10478,7 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
10461set dummy pkg-config; ac_word=$2 10478set dummy pkg-config; ac_word=$2
10462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463$as_echo_n "checking for $ac_word... " >&6; } 10480$as_echo_n "checking for $ac_word... " >&6; }
10464if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10481if ${ac_cv_path_PKG_CONFIG+:} false; then :
10465 $as_echo_n "(cached) " >&6 10482 $as_echo_n "(cached) " >&6
10466else 10483else
10467 case $PKG_CONFIG in 10484 case $PKG_CONFIG in
@@ -10579,10 +10596,10 @@ LIBXPM=
10579if test "${HAVE_X11}" = "yes"; then 10596if test "${HAVE_X11}" = "yes"; then
10580 if test "${with_xpm}" != "no"; then 10597 if test "${with_xpm}" != "no"; then
10581 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 10598 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
10582if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 10599if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
10584$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 10601$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
10585if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 10602if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
10586 $as_echo_n "(cached) " >&6 10603 $as_echo_n "(cached) " >&6
10587else 10604else
10588 ac_check_lib_save_LIBS=$LIBS 10605 ac_check_lib_save_LIBS=$LIBS
@@ -10616,7 +10633,7 @@ LIBS=$ac_check_lib_save_LIBS
10616fi 10633fi
10617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 10634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10618$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 10635$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
10619if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 10636if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
10620 HAVE_XPM=yes 10637 HAVE_XPM=yes
10621fi 10638fi
10622 10639
@@ -10668,10 +10685,10 @@ LIBJPEG=
10668if test "${HAVE_X11}" = "yes"; then 10685if test "${HAVE_X11}" = "yes"; then
10669 if test "${with_jpeg}" != "no"; then 10686 if test "${with_jpeg}" != "no"; then
10670 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 10687 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
10671if test "x$ac_cv_header_jerror_h" = x""yes; then : 10688if test "x$ac_cv_header_jerror_h" = xyes; then :
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
10673$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 10690$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
10674if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 10691if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
10675 $as_echo_n "(cached) " >&6 10692 $as_echo_n "(cached) " >&6
10676else 10693else
10677 ac_check_lib_save_LIBS=$LIBS 10694 ac_check_lib_save_LIBS=$LIBS
@@ -10705,7 +10722,7 @@ LIBS=$ac_check_lib_save_LIBS
10705fi 10722fi
10706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 10723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
10707$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 10724$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
10708if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 10725if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
10709 HAVE_JPEG=yes 10726 HAVE_JPEG=yes
10710fi 10727fi
10711 10728
@@ -10752,8 +10769,7 @@ if test "${HAVE_X11}" = "yes"; then
10752do : 10769do :
10753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10754ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10771ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10755eval as_val=\$$as_ac_Header 10772if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10756 if test "x$as_val" = x""yes; then :
10757 cat >>confdefs.h <<_ACEOF 10773 cat >>confdefs.h <<_ACEOF
10758#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10774#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10759_ACEOF 10775_ACEOF
@@ -10765,7 +10781,7 @@ done
10765 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 10781 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
10767$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 10783$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
10768if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 10784if ${ac_cv_lib_png_png_get_channels+:} false; then :
10769 $as_echo_n "(cached) " >&6 10785 $as_echo_n "(cached) " >&6
10770else 10786else
10771 ac_check_lib_save_LIBS=$LIBS 10787 ac_check_lib_save_LIBS=$LIBS
@@ -10799,7 +10815,7 @@ LIBS=$ac_check_lib_save_LIBS
10799fi 10815fi
10800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 10816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
10801$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 10817$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
10802if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 10818if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
10803 HAVE_PNG=yes 10819 HAVE_PNG=yes
10804fi 10820fi
10805 10821
@@ -10821,13 +10837,13 @@ LIBTIFF=
10821if test "${HAVE_X11}" = "yes"; then 10837if test "${HAVE_X11}" = "yes"; then
10822 if test "${with_tiff}" != "no"; then 10838 if test "${with_tiff}" != "no"; then
10823 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 10839 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
10824if test "x$ac_cv_header_tiffio_h" = x""yes; then : 10840if test "x$ac_cv_header_tiffio_h" = xyes; then :
10825 tifflibs="-lz -lm" 10841 tifflibs="-lz -lm"
10826 # At least one tiff package requires the jpeg library. 10842 # At least one tiff package requires the jpeg library.
10827 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10843 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
10829$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10845$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
10830if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 10846if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
10831 $as_echo_n "(cached) " >&6 10847 $as_echo_n "(cached) " >&6
10832else 10848else
10833 ac_check_lib_save_LIBS=$LIBS 10849 ac_check_lib_save_LIBS=$LIBS
@@ -10861,7 +10877,7 @@ LIBS=$ac_check_lib_save_LIBS
10861fi 10877fi
10862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
10863$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10879$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
10864if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 10880if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
10865 HAVE_TIFF=yes 10881 HAVE_TIFF=yes
10866fi 10882fi
10867 10883
@@ -10884,12 +10900,12 @@ HAVE_GIF=no
10884LIBGIF= 10900LIBGIF=
10885if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10901if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
10886 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 10902 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
10887if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 10903if test "x$ac_cv_header_gif_lib_h" = xyes; then :
10888 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10904 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
10889# Earlier versions can crash Emacs. 10905# Earlier versions can crash Emacs.
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
10891$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10907$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
10892if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 10908if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
10893 $as_echo_n "(cached) " >&6 10909 $as_echo_n "(cached) " >&6
10894else 10910else
10895 ac_check_lib_save_LIBS=$LIBS 10911 ac_check_lib_save_LIBS=$LIBS
@@ -10923,7 +10939,7 @@ LIBS=$ac_check_lib_save_LIBS
10923fi 10939fi
10924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
10925$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10941$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
10926if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 10942if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
10927 HAVE_GIF=yes 10943 HAVE_GIF=yes
10928else 10944else
10929 HAVE_GIF=maybe 10945 HAVE_GIF=maybe
@@ -10939,7 +10955,7 @@ fi
10939# If gif_lib.h but no libgif, try libungif. 10955# If gif_lib.h but no libgif, try libungif.
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
10941$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10957$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
10942if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 10958if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
10943 $as_echo_n "(cached) " >&6 10959 $as_echo_n "(cached) " >&6
10944else 10960else
10945 ac_check_lib_save_LIBS=$LIBS 10961 ac_check_lib_save_LIBS=$LIBS
@@ -10973,7 +10989,7 @@ LIBS=$ac_check_lib_save_LIBS
10973fi 10989fi
10974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 10990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
10975$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 10991$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
10976if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 10992if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
10977 HAVE_GIF=yes 10993 HAVE_GIF=yes
10978else 10994else
10979 HAVE_GIF=no 10995 HAVE_GIF=no
@@ -11005,7 +11021,7 @@ if test "${HAVE_X11}" = "yes"; then
11005 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 11021 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
11006 11022
11007 if test "X${MISSING}" != X; then 11023 if test "X${MISSING}" != X; then
11008 as_fn_error "The following required libraries were not found: 11024 as_fn_error $? "The following required libraries were not found:
11009 $MISSING 11025 $MISSING
11010Maybe some development libraries/packages are missing? 11026Maybe some development libraries/packages are missing?
11011If you don't want to link with them give 11027If you don't want to link with them give
@@ -11020,10 +11036,10 @@ LIBGPM=
11020MOUSE_SUPPORT= 11036MOUSE_SUPPORT=
11021if test "${with_gpm}" != "no"; then 11037if test "${with_gpm}" != "no"; then
11022 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 11038 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
11023if test "x$ac_cv_header_gpm_h" = x""yes; then : 11039if test "x$ac_cv_header_gpm_h" = xyes; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
11025$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 11041$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
11026if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 11042if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
11027 $as_echo_n "(cached) " >&6 11043 $as_echo_n "(cached) " >&6
11028else 11044else
11029 ac_check_lib_save_LIBS=$LIBS 11045 ac_check_lib_save_LIBS=$LIBS
@@ -11057,7 +11073,7 @@ LIBS=$ac_check_lib_save_LIBS
11057fi 11073fi
11058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 11074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
11059$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 11075$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
11060if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 11076if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
11061 HAVE_GPM=yes 11077 HAVE_GPM=yes
11062fi 11078fi
11063 11079
@@ -11077,7 +11093,7 @@ fi
11077 11093
11078 11094
11079ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 11095ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
11080if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 11096if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
11081 11097
11082$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 11098$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
11083 11099
@@ -11122,10 +11138,10 @@ HAVE_X_SM=no
11122LIBXSM= 11138LIBXSM=
11123if test "${HAVE_X11}" = "yes"; then 11139if test "${HAVE_X11}" = "yes"; then
11124 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 11140 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
11125if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 11141if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
11127$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 11143$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
11128if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 11144if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
11129 $as_echo_n "(cached) " >&6 11145 $as_echo_n "(cached) " >&6
11130else 11146else
11131 ac_check_lib_save_LIBS=$LIBS 11147 ac_check_lib_save_LIBS=$LIBS
@@ -11159,7 +11175,7 @@ LIBS=$ac_check_lib_save_LIBS
11159fi 11175fi
11160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 11176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
11161$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 11177$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
11162if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 11178if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
11163 HAVE_X_SM=yes 11179 HAVE_X_SM=yes
11164fi 11180fi
11165 11181
@@ -11190,7 +11206,7 @@ if test "${with_xml2}" != "no"; then
11190set dummy pkg-config; ac_word=$2 11206set dummy pkg-config; ac_word=$2
11191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11192$as_echo_n "checking for $ac_word... " >&6; } 11208$as_echo_n "checking for $ac_word... " >&6; }
11193if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11209if ${ac_cv_path_PKG_CONFIG+:} false; then :
11194 $as_echo_n "(cached) " >&6 11210 $as_echo_n "(cached) " >&6
11195else 11211else
11196 case $PKG_CONFIG in 11212 case $PKG_CONFIG in
@@ -11281,7 +11297,7 @@ $as_echo "no" >&6; }
11281 LIBS="$LIBXML2_LIBS $LIBS" 11297 LIBS="$LIBXML2_LIBS $LIBS"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
11283$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 11299$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
11284if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 11300if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
11285 $as_echo_n "(cached) " >&6 11301 $as_echo_n "(cached) " >&6
11286else 11302else
11287 ac_check_lib_save_LIBS=$LIBS 11303 ac_check_lib_save_LIBS=$LIBS
@@ -11315,7 +11331,7 @@ LIBS=$ac_check_lib_save_LIBS
11315fi 11331fi
11316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 11332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
11317$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 11333$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
11318if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 11334if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
11319 HAVE_LIBXML2=yes 11335 HAVE_LIBXML2=yes
11320else 11336else
11321 HAVE_LIBXML2=no 11337 HAVE_LIBXML2=no
@@ -11337,7 +11353,7 @@ fi
11337# If netdb.h doesn't declare h_errno, we must declare it by hand. 11353# If netdb.h doesn't declare h_errno, we must declare it by hand.
11338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 11354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
11339$as_echo_n "checking whether netdb declares h_errno... " >&6; } 11355$as_echo_n "checking whether netdb declares h_errno... " >&6; }
11340if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 11356if ${emacs_cv_netdb_declares_h_errno+:} false; then :
11341 $as_echo_n "(cached) " >&6 11357 $as_echo_n "(cached) " >&6
11342else 11358else
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11367,11 +11383,22 @@ $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
11367 11383
11368fi 11384fi
11369 11385
11386ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11387if test "x$ac_cv_type_size_t" = xyes; then :
11388
11389else
11390
11391cat >>confdefs.h <<_ACEOF
11392#define size_t unsigned int
11393_ACEOF
11394
11395fi
11396
11370# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11397# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11371# for constant arguments. Useless! 11398# for constant arguments. Useless!
11372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 11399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11373$as_echo_n "checking for working alloca.h... " >&6; } 11400$as_echo_n "checking for working alloca.h... " >&6; }
11374if test "${ac_cv_working_alloca_h+set}" = set; then : 11401if ${ac_cv_working_alloca_h+:} false; then :
11375 $as_echo_n "(cached) " >&6 11402 $as_echo_n "(cached) " >&6
11376else 11403else
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11404,7 +11431,7 @@ fi
11404 11431
11405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 11432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11406$as_echo_n "checking for alloca... " >&6; } 11433$as_echo_n "checking for alloca... " >&6; }
11407if test "${ac_cv_func_alloca_works+set}" = set; then : 11434if ${ac_cv_func_alloca_works+:} false; then :
11408 $as_echo_n "(cached) " >&6 11435 $as_echo_n "(cached) " >&6
11409else 11436else
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11423,7 +11450,7 @@ else
11423 #pragma alloca 11450 #pragma alloca
11424# else 11451# else
11425# ifndef alloca /* predefined by HP cc +Olibcalls */ 11452# ifndef alloca /* predefined by HP cc +Olibcalls */
11426char *alloca (); 11453void *alloca (size_t);
11427# endif 11454# endif
11428# endif 11455# endif
11429# endif 11456# endif
@@ -11467,7 +11494,7 @@ $as_echo "#define C_ALLOCA 1" >>confdefs.h
11467 11494
11468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 11495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11469$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 11496$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11470if test "${ac_cv_os_cray+set}" = set; then : 11497if ${ac_cv_os_cray+:} false; then :
11471 $as_echo_n "(cached) " >&6 11498 $as_echo_n "(cached) " >&6
11472else 11499else
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11494,8 +11521,7 @@ if test $ac_cv_os_cray = yes; then
11494 for ac_func in _getb67 GETB67 getb67; do 11521 for ac_func in _getb67 GETB67 getb67; do
11495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11496ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11523ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11497eval as_val=\$$as_ac_var 11524if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11498 if test "x$as_val" = x""yes; then :
11499 11525
11500cat >>confdefs.h <<_ACEOF 11526cat >>confdefs.h <<_ACEOF
11501#define CRAY_STACKSEG_END $ac_func 11527#define CRAY_STACKSEG_END $ac_func
@@ -11509,7 +11535,7 @@ fi
11509 11535
11510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 11536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11511$as_echo_n "checking stack direction for C alloca... " >&6; } 11537$as_echo_n "checking stack direction for C alloca... " >&6; }
11512if test "${ac_cv_c_stack_direction+set}" = set; then : 11538if ${ac_cv_c_stack_direction+:} false; then :
11513 $as_echo_n "(cached) " >&6 11539 $as_echo_n "(cached) " >&6
11514else 11540else
11515 if test "$cross_compiling" = yes; then : 11541 if test "$cross_compiling" = yes; then :
@@ -11559,14 +11585,14 @@ fi
11559 11585
11560 11586
11561if test x"$ac_cv_func_alloca_works" != xyes; then 11587if test x"$ac_cv_func_alloca_works" != xyes; then
11562 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 11588 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5
11563fi 11589fi
11564 11590
11565# fmod, logb, and frexp are found in -lm on most systems. 11591# fmod, logb, and frexp are found in -lm on most systems.
11566# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 11592# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
11567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 11593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11568$as_echo_n "checking for sqrt in -lm... " >&6; } 11594$as_echo_n "checking for sqrt in -lm... " >&6; }
11569if test "${ac_cv_lib_m_sqrt+set}" = set; then : 11595if ${ac_cv_lib_m_sqrt+:} false; then :
11570 $as_echo_n "(cached) " >&6 11596 $as_echo_n "(cached) " >&6
11571else 11597else
11572 ac_check_lib_save_LIBS=$LIBS 11598 ac_check_lib_save_LIBS=$LIBS
@@ -11600,7 +11626,7 @@ LIBS=$ac_check_lib_save_LIBS
11600fi 11626fi
11601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 11627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
11602$as_echo "$ac_cv_lib_m_sqrt" >&6; } 11628$as_echo "$ac_cv_lib_m_sqrt" >&6; }
11603if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 11629if test "x$ac_cv_lib_m_sqrt" = xyes; then :
11604 cat >>confdefs.h <<_ACEOF 11630 cat >>confdefs.h <<_ACEOF
11605#define HAVE_LIBM 1 11631#define HAVE_LIBM 1
11606_ACEOF 11632_ACEOF
@@ -11614,7 +11640,7 @@ fi
11614# have the same check as for liblockfile below. 11640# have the same check as for liblockfile below.
11615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 11641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
11616$as_echo_n "checking for maillock in -lmail... " >&6; } 11642$as_echo_n "checking for maillock in -lmail... " >&6; }
11617if test "${ac_cv_lib_mail_maillock+set}" = set; then : 11643if ${ac_cv_lib_mail_maillock+:} false; then :
11618 $as_echo_n "(cached) " >&6 11644 $as_echo_n "(cached) " >&6
11619else 11645else
11620 ac_check_lib_save_LIBS=$LIBS 11646 ac_check_lib_save_LIBS=$LIBS
@@ -11648,7 +11674,7 @@ LIBS=$ac_check_lib_save_LIBS
11648fi 11674fi
11649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 11675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
11650$as_echo "$ac_cv_lib_mail_maillock" >&6; } 11676$as_echo "$ac_cv_lib_mail_maillock" >&6; }
11651if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 11677if test "x$ac_cv_lib_mail_maillock" = xyes; then :
11652 have_mail=yes 11678 have_mail=yes
11653else 11679else
11654 have_mail=no 11680 have_mail=no
@@ -11665,7 +11691,7 @@ else
11665fi 11691fi
11666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 11692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
11667$as_echo_n "checking for maillock in -llockfile... " >&6; } 11693$as_echo_n "checking for maillock in -llockfile... " >&6; }
11668if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 11694if ${ac_cv_lib_lockfile_maillock+:} false; then :
11669 $as_echo_n "(cached) " >&6 11695 $as_echo_n "(cached) " >&6
11670else 11696else
11671 ac_check_lib_save_LIBS=$LIBS 11697 ac_check_lib_save_LIBS=$LIBS
@@ -11699,7 +11725,7 @@ LIBS=$ac_check_lib_save_LIBS
11699fi 11725fi
11700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 11726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
11701$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 11727$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
11702if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 11728if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
11703 have_lockfile=yes 11729 have_lockfile=yes
11704else 11730else
11705 have_lockfile=no 11731 have_lockfile=no
@@ -11719,7 +11745,7 @@ else
11719set dummy liblockfile.so; ac_word=$2 11745set dummy liblockfile.so; ac_word=$2
11720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721$as_echo_n "checking for $ac_word... " >&6; } 11747$as_echo_n "checking for $ac_word... " >&6; }
11722if test "${ac_cv_prog_liblockfile+set}" = set; then : 11748if ${ac_cv_prog_liblockfile+:} false; then :
11723 $as_echo_n "(cached) " >&6 11749 $as_echo_n "(cached) " >&6
11724else 11750else
11725 if test -n "$liblockfile"; then 11751 if test -n "$liblockfile"; then
@@ -11755,7 +11781,7 @@ fi
11755 11781
11756 11782
11757 if test $ac_cv_prog_liblockfile = yes; then 11783 if test $ac_cv_prog_liblockfile = yes; then
11758 as_fn_error "Shared liblockfile found but can't link against it. 11784 as_fn_error $? "Shared liblockfile found but can't link against it.
11759This probably means that movemail could lose mail. 11785This probably means that movemail could lose mail.
11760There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11786There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11761 fi 11787 fi
@@ -11763,7 +11789,7 @@ fi
11763for ac_func in touchlock 11789for ac_func in touchlock
11764do : 11790do :
11765 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 11791 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
11766if test "x$ac_cv_func_touchlock" = x""yes; then : 11792if test "x$ac_cv_func_touchlock" = xyes; then :
11767 cat >>confdefs.h <<_ACEOF 11793 cat >>confdefs.h <<_ACEOF
11768#define HAVE_TOUCHLOCK 1 11794#define HAVE_TOUCHLOCK 1
11769_ACEOF 11795_ACEOF
@@ -11774,7 +11800,7 @@ done
11774for ac_header in maillock.h 11800for ac_header in maillock.h
11775do : 11801do :
11776 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 11802 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
11777if test "x$ac_cv_header_maillock_h" = x""yes; then : 11803if test "x$ac_cv_header_maillock_h" = xyes; then :
11778 cat >>confdefs.h <<_ACEOF 11804 cat >>confdefs.h <<_ACEOF
11779#define HAVE_MAILLOCK_H 1 11805#define HAVE_MAILLOCK_H 1
11780_ACEOF 11806_ACEOF
@@ -11844,8 +11870,7 @@ cfmakeraw cfsetspeed isnan copysign __executable_start
11844do : 11870do :
11845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11846ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11872ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11847eval as_val=\$$as_ac_var 11873if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11848 if test "x$as_val" = x""yes; then :
11849 cat >>confdefs.h <<_ACEOF 11874 cat >>confdefs.h <<_ACEOF
11850#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11875#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11851_ACEOF 11876_ACEOF
@@ -11854,10 +11879,42 @@ fi
11854done 11879done
11855 11880
11856 11881
11882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5
11883$as_echo_n "checking for __builtin_unwind_init... " >&6; }
11884if ${emacs_cv_func___builtin_unwind_init+:} false; then :
11885 $as_echo_n "(cached) " >&6
11886else
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888/* end confdefs.h. */
11889
11890int
11891main ()
11892{
11893__builtin_unwind_init ();
11894 ;
11895 return 0;
11896}
11897_ACEOF
11898if ac_fn_c_try_link "$LINENO"; then :
11899 emacs_cv_func___builtin_unwind_init=yes
11900else
11901 emacs_cv_func___builtin_unwind_init=no
11902fi
11903rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905fi
11906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_func___builtin_unwind_init" >&5
11907$as_echo "$emacs_cv_func___builtin_unwind_init" >&6; }
11908if test $emacs_cv_func___builtin_unwind_init = yes; then
11909
11910$as_echo "#define HAVE___BUILTIN_UNWIND_INIT 1" >>confdefs.h
11911
11912fi
11913
11857for ac_header in sys/un.h 11914for ac_header in sys/un.h
11858do : 11915do :
11859 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 11916 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
11860if test "x$ac_cv_header_sys_un_h" = x""yes; then : 11917if test "x$ac_cv_header_sys_un_h" = xyes; then :
11861 cat >>confdefs.h <<_ACEOF 11918 cat >>confdefs.h <<_ACEOF
11862#define HAVE_SYS_UN_H 1 11919#define HAVE_SYS_UN_H 1
11863_ACEOF 11920_ACEOF
@@ -11876,8 +11933,7 @@ done
11876do : 11933do :
11877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11935ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11879eval as_val=\$$as_ac_var 11936if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11880 if test "x$as_val" = x""yes; then :
11881 cat >>confdefs.h <<_ACEOF 11937 cat >>confdefs.h <<_ACEOF
11882#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11938#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11883_ACEOF 11939_ACEOF
@@ -11891,7 +11947,7 @@ done
11891 11947
11892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 11948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
11893$as_echo_n "checking for working mktime... " >&6; } 11949$as_echo_n "checking for working mktime... " >&6; }
11894if test "${ac_cv_func_working_mktime+set}" = set; then : 11950if ${ac_cv_func_working_mktime+:} false; then :
11895 $as_echo_n "(cached) " >&6 11951 $as_echo_n "(cached) " >&6
11896else 11952else
11897 if test "$cross_compiling" = yes; then : 11953 if test "$cross_compiling" = yes; then :
@@ -11929,8 +11985,8 @@ static time_t time_t_max;
11929static time_t time_t_min; 11985static time_t time_t_min;
11930 11986
11931/* Values we'll use to set the TZ environment variable. */ 11987/* Values we'll use to set the TZ environment variable. */
11932static char *tz_strings[] = { 11988static const char *tz_strings[] = {
11933 (char *) 0, "TZ=GMT0", "TZ=JST-9", 11989 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
11934 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11990 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11935}; 11991};
11936#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11992#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
@@ -11947,7 +12003,7 @@ spring_forward_gap ()
11947 instead of "TZ=America/Vancouver" in order to detect the bug even 12003 instead of "TZ=America/Vancouver" in order to detect the bug even
11948 on systems that don't support the Olson extension, or don't have the 12004 on systems that don't support the Olson extension, or don't have the
11949 full zoneinfo tables installed. */ 12005 full zoneinfo tables installed. */
11950 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 12006 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
11951 12007
11952 tm.tm_year = 98; 12008 tm.tm_year = 98;
11953 tm.tm_mon = 3; 12009 tm.tm_mon = 3;
@@ -11960,16 +12016,14 @@ spring_forward_gap ()
11960} 12016}
11961 12017
11962static int 12018static int
11963mktime_test1 (now) 12019mktime_test1 (time_t now)
11964 time_t now;
11965{ 12020{
11966 struct tm *lt; 12021 struct tm *lt;
11967 return ! (lt = localtime (&now)) || mktime (lt) == now; 12022 return ! (lt = localtime (&now)) || mktime (lt) == now;
11968} 12023}
11969 12024
11970static int 12025static int
11971mktime_test (now) 12026mktime_test (time_t now)
11972 time_t now;
11973{ 12027{
11974 return (mktime_test1 (now) 12028 return (mktime_test1 (now)
11975 && mktime_test1 ((time_t) (time_t_max - now)) 12029 && mktime_test1 ((time_t) (time_t_max - now))
@@ -11993,8 +12047,7 @@ irix_6_4_bug ()
11993} 12047}
11994 12048
11995static int 12049static int
11996bigtime_test (j) 12050bigtime_test (int j)
11997 int j;
11998{ 12051{
11999 struct tm tm; 12052 struct tm tm;
12000 time_t now; 12053 time_t now;
@@ -12038,7 +12091,7 @@ year_2050_test ()
12038 instead of "TZ=America/Vancouver" in order to detect the bug even 12091 instead of "TZ=America/Vancouver" in order to detect the bug even
12039 on systems that don't support the Olson extension, or don't have the 12092 on systems that don't support the Olson extension, or don't have the
12040 full zoneinfo tables installed. */ 12093 full zoneinfo tables installed. */
12041 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 12094 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
12042 12095
12043 t = mktime (&tm); 12096 t = mktime (&tm);
12044 12097
@@ -12073,7 +12126,7 @@ main ()
12073 for (i = 0; i < N_STRINGS; i++) 12126 for (i = 0; i < N_STRINGS; i++)
12074 { 12127 {
12075 if (tz_strings[i]) 12128 if (tz_strings[i])
12076 putenv (tz_strings[i]); 12129 putenv ((char*) tz_strings[i]);
12077 12130
12078 for (t = 0; t <= time_t_max - delta; t += delta) 12131 for (t = 0; t <= time_t_max - delta; t += delta)
12079 if (! mktime_test (t)) 12132 if (! mktime_test (t))
@@ -12125,13 +12178,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
12125 12178
12126# Make sure getloadavg.c is where it belongs, at configure-time. 12179# Make sure getloadavg.c is where it belongs, at configure-time.
12127test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 12180test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
12128 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 12181 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
12129 12182
12130ac_save_LIBS=$LIBS 12183ac_save_LIBS=$LIBS
12131 12184
12132# Check for getloadavg, but be sure not to touch the cache variable. 12185# Check for getloadavg, but be sure not to touch the cache variable.
12133(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12186(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12134if test "x$ac_cv_func_getloadavg" = x""yes; then : 12187if test "x$ac_cv_func_getloadavg" = xyes; then :
12135 exit 0 12188 exit 0
12136else 12189else
12137 exit 1 12190 exit 1
@@ -12142,7 +12195,7 @@ fi
12142for ac_func in pstat_getdynamic 12195for ac_func in pstat_getdynamic
12143do : 12196do :
12144 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 12197 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
12145if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 12198if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
12146 cat >>confdefs.h <<_ACEOF 12199 cat >>confdefs.h <<_ACEOF
12147#define HAVE_PSTAT_GETDYNAMIC 1 12200#define HAVE_PSTAT_GETDYNAMIC 1
12148_ACEOF 12201_ACEOF
@@ -12154,7 +12207,7 @@ done
12154# Solaris has libkstat which does not require root. 12207# Solaris has libkstat which does not require root.
12155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 12208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12156$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 12209$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12157if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 12210if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12158 $as_echo_n "(cached) " >&6 12211 $as_echo_n "(cached) " >&6
12159else 12212else
12160 ac_check_lib_save_LIBS=$LIBS 12213 ac_check_lib_save_LIBS=$LIBS
@@ -12188,7 +12241,7 @@ LIBS=$ac_check_lib_save_LIBS
12188fi 12241fi
12189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 12242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12190$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 12243$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12191if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 12244if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12192 cat >>confdefs.h <<_ACEOF 12245 cat >>confdefs.h <<_ACEOF
12193#define HAVE_LIBKSTAT 1 12246#define HAVE_LIBKSTAT 1
12194_ACEOF 12247_ACEOF
@@ -12206,7 +12259,7 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
12206if test $ac_have_func = no; then 12259if test $ac_have_func = no; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
12208$as_echo_n "checking for elf_begin in -lelf... " >&6; } 12261$as_echo_n "checking for elf_begin in -lelf... " >&6; }
12209if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 12262if ${ac_cv_lib_elf_elf_begin+:} false; then :
12210 $as_echo_n "(cached) " >&6 12263 $as_echo_n "(cached) " >&6
12211else 12264else
12212 ac_check_lib_save_LIBS=$LIBS 12265 ac_check_lib_save_LIBS=$LIBS
@@ -12240,7 +12293,7 @@ LIBS=$ac_check_lib_save_LIBS
12240fi 12293fi
12241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 12294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
12242$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 12295$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
12243if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 12296if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
12244 LIBS="-lelf $LIBS" 12297 LIBS="-lelf $LIBS"
12245fi 12298fi
12246 12299
@@ -12248,7 +12301,7 @@ fi
12248if test $ac_have_func = no; then 12301if test $ac_have_func = no; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
12250$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 12303$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
12251if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 12304if ${ac_cv_lib_kvm_kvm_open+:} false; then :
12252 $as_echo_n "(cached) " >&6 12305 $as_echo_n "(cached) " >&6
12253else 12306else
12254 ac_check_lib_save_LIBS=$LIBS 12307 ac_check_lib_save_LIBS=$LIBS
@@ -12282,14 +12335,14 @@ LIBS=$ac_check_lib_save_LIBS
12282fi 12335fi
12283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 12336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
12284$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 12337$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
12285if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 12338if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
12286 LIBS="-lkvm $LIBS" 12339 LIBS="-lkvm $LIBS"
12287fi 12340fi
12288 12341
12289 # Check for the 4.4BSD definition of getloadavg. 12342 # Check for the 4.4BSD definition of getloadavg.
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
12291$as_echo_n "checking for getloadavg in -lutil... " >&6; } 12344$as_echo_n "checking for getloadavg in -lutil... " >&6; }
12292if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 12345if ${ac_cv_lib_util_getloadavg+:} false; then :
12293 $as_echo_n "(cached) " >&6 12346 $as_echo_n "(cached) " >&6
12294else 12347else
12295 ac_check_lib_save_LIBS=$LIBS 12348 ac_check_lib_save_LIBS=$LIBS
@@ -12323,7 +12376,7 @@ LIBS=$ac_check_lib_save_LIBS
12323fi 12376fi
12324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 12377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
12325$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 12378$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
12326if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 12379if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
12327 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 12380 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
12328fi 12381fi
12329 12382
@@ -12336,7 +12389,7 @@ if test $ac_have_func = no; then
12336 LIBS="-L/usr/local/lib $LIBS" 12389 LIBS="-L/usr/local/lib $LIBS"
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
12338$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 12391$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
12339if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 12392if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
12340 $as_echo_n "(cached) " >&6 12393 $as_echo_n "(cached) " >&6
12341else 12394else
12342 ac_check_lib_save_LIBS=$LIBS 12395 ac_check_lib_save_LIBS=$LIBS
@@ -12370,7 +12423,7 @@ LIBS=$ac_check_lib_save_LIBS
12370fi 12423fi
12371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 12424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
12372$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 12425$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
12373if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 12426if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
12374 LIBS="-lgetloadavg $LIBS" 12427 LIBS="-lgetloadavg $LIBS"
12375else 12428else
12376 LIBS=$ac_getloadavg_LIBS 12429 LIBS=$ac_getloadavg_LIBS
@@ -12383,7 +12436,7 @@ fi
12383for ac_func in getloadavg 12436for ac_func in getloadavg
12384do : 12437do :
12385 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12438 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12386if test "x$ac_cv_func_getloadavg" = x""yes; then : 12439if test "x$ac_cv_func_getloadavg" = xyes; then :
12387 cat >>confdefs.h <<_ACEOF 12440 cat >>confdefs.h <<_ACEOF
12388#define HAVE_GETLOADAVG 1 12441#define HAVE_GETLOADAVG 1
12389_ACEOF 12442_ACEOF
@@ -12401,14 +12454,14 @@ $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
12401# Figure out what our getloadavg.c needs. 12454# Figure out what our getloadavg.c needs.
12402ac_have_func=no 12455ac_have_func=no
12403ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 12456ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
12404if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 12457if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
12405 ac_have_func=yes 12458 ac_have_func=yes
12406 12459
12407$as_echo "#define DGUX 1" >>confdefs.h 12460$as_echo "#define DGUX 1" >>confdefs.h
12408 12461
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
12410$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 12463$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
12411if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 12464if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
12412 $as_echo_n "(cached) " >&6 12465 $as_echo_n "(cached) " >&6
12413else 12466else
12414 ac_check_lib_save_LIBS=$LIBS 12467 ac_check_lib_save_LIBS=$LIBS
@@ -12442,7 +12495,7 @@ LIBS=$ac_check_lib_save_LIBS
12442fi 12495fi
12443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 12496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
12444$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 12497$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
12445if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 12498if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
12446 cat >>confdefs.h <<_ACEOF 12499 cat >>confdefs.h <<_ACEOF
12447#define HAVE_LIBDGC 1 12500#define HAVE_LIBDGC 1
12448_ACEOF 12501_ACEOF
@@ -12456,7 +12509,7 @@ fi
12456 12509
12457 12510
12458ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12511ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12459if test "x$ac_cv_header_locale_h" = x""yes; then : 12512if test "x$ac_cv_header_locale_h" = xyes; then :
12460 12513
12461fi 12514fi
12462 12515
@@ -12464,7 +12517,7 @@ fi
12464for ac_func in setlocale 12517for ac_func in setlocale
12465do : 12518do :
12466 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 12519 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
12467if test "x$ac_cv_func_setlocale" = x""yes; then : 12520if test "x$ac_cv_func_setlocale" = xyes; then :
12468 cat >>confdefs.h <<_ACEOF 12521 cat >>confdefs.h <<_ACEOF
12469#define HAVE_SETLOCALE 1 12522#define HAVE_SETLOCALE 1
12470_ACEOF 12523_ACEOF
@@ -12476,7 +12529,8 @@ done
12476# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 12529# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
12477# uses stabs), but it is still SVR4. We cannot check for <elf.h> because 12530# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
12478# Irix 4.0.5F has the header but not the library. 12531# Irix 4.0.5F has the header but not the library.
12479if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 12532if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \
12533 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
12480 ac_have_func=yes 12534 ac_have_func=yes
12481 12535
12482$as_echo "#define SVR4 1" >>confdefs.h 12536$as_echo "#define SVR4 1" >>confdefs.h
@@ -12485,7 +12539,7 @@ fi
12485 12539
12486if test $ac_have_func = no; then 12540if test $ac_have_func = no; then
12487 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 12541 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
12488if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 12542if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
12489 ac_have_func=yes 12543 ac_have_func=yes
12490 12544
12491$as_echo "#define UMAX 1" >>confdefs.h 12545$as_echo "#define UMAX 1" >>confdefs.h
@@ -12500,7 +12554,7 @@ fi
12500 12554
12501if test $ac_have_func = no; then 12555if test $ac_have_func = no; then
12502 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 12556 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
12503if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 12557if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
12504 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 12558 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
12505 12559
12506fi 12560fi
@@ -12512,7 +12566,7 @@ if test $ac_have_func = no; then
12512 for ac_header in mach/mach.h 12566 for ac_header in mach/mach.h
12513do : 12567do :
12514 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 12568 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
12515if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 12569if test "x$ac_cv_header_mach_mach_h" = xyes; then :
12516 cat >>confdefs.h <<_ACEOF 12570 cat >>confdefs.h <<_ACEOF
12517#define HAVE_MACH_MACH_H 1 12571#define HAVE_MACH_MACH_H 1
12518_ACEOF 12572_ACEOF
@@ -12526,13 +12580,13 @@ fi
12526for ac_header in nlist.h 12580for ac_header in nlist.h
12527do : 12581do :
12528 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 12582 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
12529if test "x$ac_cv_header_nlist_h" = x""yes; then : 12583if test "x$ac_cv_header_nlist_h" = xyes; then :
12530 cat >>confdefs.h <<_ACEOF 12584 cat >>confdefs.h <<_ACEOF
12531#define HAVE_NLIST_H 1 12585#define HAVE_NLIST_H 1
12532_ACEOF 12586_ACEOF
12533 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 12587 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
12534" 12588"
12535if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 12589if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
12536 12590
12537cat >>confdefs.h <<_ACEOF 12591cat >>confdefs.h <<_ACEOF
12538#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12592#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
@@ -12555,7 +12609,7 @@ done
12555# Some definitions of getloadavg require that the program be installed setgid. 12609# Some definitions of getloadavg require that the program be installed setgid.
12556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 12610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
12557$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 12611$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
12558if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 12612if ${ac_cv_func_getloadavg_setgid+:} false; then :
12559 $as_echo_n "(cached) " >&6 12613 $as_echo_n "(cached) " >&6
12560else 12614else
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12588,7 +12642,7 @@ fi
12588if test $ac_cv_func_getloadavg_setgid = yes; then 12642if test $ac_cv_func_getloadavg_setgid = yes; then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
12590$as_echo_n "checking group of /dev/kmem... " >&6; } 12644$as_echo_n "checking group of /dev/kmem... " >&6; }
12591if test "${ac_cv_group_kmem+set}" = set; then : 12645if ${ac_cv_group_kmem+:} false; then :
12592 $as_echo_n "(cached) " >&6 12646 $as_echo_n "(cached) " >&6
12593else 12647else
12594 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 12648 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -12616,7 +12670,7 @@ LIBS=$ac_save_LIBS
12616 12670
12617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12618$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12672$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12619if test "${ac_cv_sys_largefile_source+set}" = set; then : 12673if ${ac_cv_sys_largefile_source+:} false; then :
12620 $as_echo_n "(cached) " >&6 12674 $as_echo_n "(cached) " >&6
12621else 12675else
12622 while :; do 12676 while :; do
@@ -12709,7 +12763,7 @@ fi
12709 for ac_header in getopt.h 12763 for ac_header in getopt.h
12710do : 12764do :
12711 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 12765 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12712if test "x$ac_cv_header_getopt_h" = x""yes; then : 12766if test "x$ac_cv_header_getopt_h" = xyes; then :
12713 cat >>confdefs.h <<_ACEOF 12767 cat >>confdefs.h <<_ACEOF
12714#define HAVE_GETOPT_H 1 12768#define HAVE_GETOPT_H 1
12715_ACEOF 12769_ACEOF
@@ -12724,7 +12778,7 @@ done
12724 for ac_func in getopt_long_only 12778 for ac_func in getopt_long_only
12725do : 12779do :
12726 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 12780 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
12727if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 12781if test "x$ac_cv_func_getopt_long_only" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF 12782 cat >>confdefs.h <<_ACEOF
12729#define HAVE_GETOPT_LONG_ONLY 1 12783#define HAVE_GETOPT_LONG_ONLY 1
12730_ACEOF 12784_ACEOF
@@ -12739,7 +12793,7 @@ done
12739 if test -z "$GETOPT_H"; then 12793 if test -z "$GETOPT_H"; then
12740 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 12794 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
12741" 12795"
12742if test "x$ac_cv_have_decl_optreset" = x""yes; then : 12796if test "x$ac_cv_have_decl_optreset" = xyes; then :
12743 GETOPT_H=getopt.h 12797 GETOPT_H=getopt.h
12744fi 12798fi
12745 12799
@@ -12748,13 +12802,13 @@ fi
12748 if test -z "$GETOPT_H"; then 12802 if test -z "$GETOPT_H"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
12750$as_echo_n "checking for working GNU getopt function... " >&6; } 12804$as_echo_n "checking for working GNU getopt function... " >&6; }
12751if test "${gl_cv_func_gnu_getopt+set}" = set; then : 12805if ${gl_cv_func_gnu_getopt+:} false; then :
12752 $as_echo_n "(cached) " >&6 12806 $as_echo_n "(cached) " >&6
12753else 12807else
12754 if test "$cross_compiling" = yes; then : 12808 if test "$cross_compiling" = yes; then :
12755 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 12809 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
12756" 12810"
12757if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 12811if test "x$ac_cv_have_decl_getopt_clip" = xyes; then :
12758 gl_cv_func_gnu_getopt=no 12812 gl_cv_func_gnu_getopt=no
12759else 12813else
12760 gl_cv_func_gnu_getopt=yes 12814 gl_cv_func_gnu_getopt=yes
@@ -12815,7 +12869,7 @@ fi
12815 12869
12816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 12870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
12817$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12871$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
12818if test "${ac_cv_func_getpgrp_void+set}" = set; then : 12872if ${ac_cv_func_getpgrp_void+:} false; then :
12819 $as_echo_n "(cached) " >&6 12873 $as_echo_n "(cached) " >&6
12820else 12874else
12821 # Use it with a single arg. 12875 # Use it with a single arg.
@@ -12850,7 +12904,7 @@ fi
12850for ac_func in strftime 12904for ac_func in strftime
12851do : 12905do :
12852 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 12906 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12853if test "x$ac_cv_func_strftime" = x""yes; then : 12907if test "x$ac_cv_func_strftime" = xyes; then :
12854 cat >>confdefs.h <<_ACEOF 12908 cat >>confdefs.h <<_ACEOF
12855#define HAVE_STRFTIME 1 12909#define HAVE_STRFTIME 1
12856_ACEOF 12910_ACEOF
@@ -12859,7 +12913,7 @@ else
12859 # strftime is in -lintl on SCO UNIX. 12913 # strftime is in -lintl on SCO UNIX.
12860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12861$as_echo_n "checking for strftime in -lintl... " >&6; } 12915$as_echo_n "checking for strftime in -lintl... " >&6; }
12862if test "${ac_cv_lib_intl_strftime+set}" = set; then : 12916if ${ac_cv_lib_intl_strftime+:} false; then :
12863 $as_echo_n "(cached) " >&6 12917 $as_echo_n "(cached) " >&6
12864else 12918else
12865 ac_check_lib_save_LIBS=$LIBS 12919 ac_check_lib_save_LIBS=$LIBS
@@ -12893,7 +12947,7 @@ LIBS=$ac_check_lib_save_LIBS
12893fi 12947fi
12894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 12948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12895$as_echo "$ac_cv_lib_intl_strftime" >&6; } 12949$as_echo "$ac_cv_lib_intl_strftime" >&6; }
12896if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 12950if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12897 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 12951 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12898 12952
12899LIBS="-lintl $LIBS" 12953LIBS="-lintl $LIBS"
@@ -12907,7 +12961,7 @@ done
12907for ac_func in grantpt 12961for ac_func in grantpt
12908do : 12962do :
12909 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 12963 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
12910if test "x$ac_cv_func_grantpt" = x""yes; then : 12964if test "x$ac_cv_func_grantpt" = xyes; then :
12911 cat >>confdefs.h <<_ACEOF 12965 cat >>confdefs.h <<_ACEOF
12912#define HAVE_GRANTPT 1 12966#define HAVE_GRANTPT 1
12913_ACEOF 12967_ACEOF
@@ -12920,7 +12974,7 @@ done
12920for ac_func in getpt 12974for ac_func in getpt
12921do : 12975do :
12922 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 12976 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
12923if test "x$ac_cv_func_getpt" = x""yes; then : 12977if test "x$ac_cv_func_getpt" = xyes; then :
12924 cat >>confdefs.h <<_ACEOF 12978 cat >>confdefs.h <<_ACEOF
12925#define HAVE_GETPT 1 12979#define HAVE_GETPT 1
12926_ACEOF 12980_ACEOF
@@ -12937,7 +12991,7 @@ done
12937have_tputs_et_al=true 12991have_tputs_et_al=true
12938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 12992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
12939$as_echo_n "checking for library containing tputs... " >&6; } 12993$as_echo_n "checking for library containing tputs... " >&6; }
12940if test "${ac_cv_search_tputs+set}" = set; then : 12994if ${ac_cv_search_tputs+:} false; then :
12941 $as_echo_n "(cached) " >&6 12995 $as_echo_n "(cached) " >&6
12942else 12996else
12943 ac_func_search_save_LIBS=$LIBS 12997 ac_func_search_save_LIBS=$LIBS
@@ -12971,11 +13025,11 @@ for ac_lib in '' ncurses terminfo termcap; do
12971fi 13025fi
12972rm -f core conftest.err conftest.$ac_objext \ 13026rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext 13027 conftest$ac_exeext
12974 if test "${ac_cv_search_tputs+set}" = set; then : 13028 if ${ac_cv_search_tputs+:} false; then :
12975 break 13029 break
12976fi 13030fi
12977done 13031done
12978if test "${ac_cv_search_tputs+set}" = set; then : 13032if ${ac_cv_search_tputs+:} false; then :
12979 13033
12980else 13034else
12981 ac_cv_search_tputs=no 13035 ac_cv_search_tputs=no
@@ -12994,7 +13048,7 @@ else
12994fi 13048fi
12995 13049
12996if test "$have_tputs_et_al" != true; then 13050if test "$have_tputs_et_al" != true; then
12997 as_fn_error "I couldn't find termcap functions (tputs and friends). 13051 as_fn_error $? "I couldn't find termcap functions (tputs and friends).
12998Maybe some development libraries/packages are missing? Try installing 13052Maybe some development libraries/packages are missing? Try installing
12999libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 13053libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
13000fi 13054fi
@@ -13034,7 +13088,7 @@ case "$opsys" in
13034 freebsd) 13088 freebsd)
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
13036$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 13090$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
13037 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 13091 if ${emacs_cv_freebsd_terminfo+:} false; then :
13038 $as_echo_n "(cached) " >&6 13092 $as_echo_n "(cached) " >&6
13039else 13093else
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13176,16 +13230,16 @@ LIBHESIOD=
13176if test "$with_hesiod" != no ; then 13230if test "$with_hesiod" != no ; then
13177 # Don't set $LIBS here -- see comments above. FIXME which comments? 13231 # Don't set $LIBS here -- see comments above. FIXME which comments?
13178 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 13232 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
13179if test "x$ac_cv_func_res_send" = x""yes; then : 13233if test "x$ac_cv_func_res_send" = xyes; then :
13180 13234
13181else 13235else
13182 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 13236 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
13183if test "x$ac_cv_func___res_send" = x""yes; then : 13237if test "x$ac_cv_func___res_send" = xyes; then :
13184 13238
13185else 13239else
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
13187$as_echo_n "checking for res_send in -lresolv... " >&6; } 13241$as_echo_n "checking for res_send in -lresolv... " >&6; }
13188if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 13242if ${ac_cv_lib_resolv_res_send+:} false; then :
13189 $as_echo_n "(cached) " >&6 13243 $as_echo_n "(cached) " >&6
13190else 13244else
13191 ac_check_lib_save_LIBS=$LIBS 13245 ac_check_lib_save_LIBS=$LIBS
@@ -13219,12 +13273,12 @@ LIBS=$ac_check_lib_save_LIBS
13219fi 13273fi
13220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 13274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
13221$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 13275$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
13222if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 13276if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
13223 resolv=yes 13277 resolv=yes
13224else 13278else
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
13226$as_echo_n "checking for __res_send in -lresolv... " >&6; } 13280$as_echo_n "checking for __res_send in -lresolv... " >&6; }
13227if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 13281if ${ac_cv_lib_resolv___res_send+:} false; then :
13228 $as_echo_n "(cached) " >&6 13282 $as_echo_n "(cached) " >&6
13229else 13283else
13230 ac_check_lib_save_LIBS=$LIBS 13284 ac_check_lib_save_LIBS=$LIBS
@@ -13258,7 +13312,7 @@ LIBS=$ac_check_lib_save_LIBS
13258fi 13312fi
13259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 13313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
13260$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 13314$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
13261if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 13315if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
13262 resolv=yes 13316 resolv=yes
13263fi 13317fi
13264 13318
@@ -13274,12 +13328,12 @@ fi
13274 RESOLVLIB= 13328 RESOLVLIB=
13275 fi 13329 fi
13276 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 13330 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
13277if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 13331if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
13278 13332
13279else 13333else
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
13281$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 13335$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
13282if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 13336if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
13283 $as_echo_n "(cached) " >&6 13337 $as_echo_n "(cached) " >&6
13284else 13338else
13285 ac_check_lib_save_LIBS=$LIBS 13339 ac_check_lib_save_LIBS=$LIBS
@@ -13313,7 +13367,7 @@ LIBS=$ac_check_lib_save_LIBS
13313fi 13367fi
13314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
13315$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 13369$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
13316if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 13370if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
13317 hesiod=yes 13371 hesiod=yes
13318else 13372else
13319 : 13373 :
@@ -13352,7 +13406,7 @@ KRB4LIB=
13352if test "${with_kerberos}" != no; then 13406if test "${with_kerberos}" != no; then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13354$as_echo_n "checking for com_err in -lcom_err... " >&6; } 13408$as_echo_n "checking for com_err in -lcom_err... " >&6; }
13355if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 13409if ${ac_cv_lib_com_err_com_err+:} false; then :
13356 $as_echo_n "(cached) " >&6 13410 $as_echo_n "(cached) " >&6
13357else 13411else
13358 ac_check_lib_save_LIBS=$LIBS 13412 ac_check_lib_save_LIBS=$LIBS
@@ -13386,7 +13440,7 @@ LIBS=$ac_check_lib_save_LIBS
13386fi 13440fi
13387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 13441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13388$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 13442$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13389if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 13443if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13390 have_com_err=yes 13444 have_com_err=yes
13391else 13445else
13392 have_com_err=no 13446 have_com_err=no
@@ -13401,7 +13455,7 @@ $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
13401 fi 13455 fi
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13403$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 13457$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
13404if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 13458if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
13405 $as_echo_n "(cached) " >&6 13459 $as_echo_n "(cached) " >&6
13406else 13460else
13407 ac_check_lib_save_LIBS=$LIBS 13461 ac_check_lib_save_LIBS=$LIBS
@@ -13435,7 +13489,7 @@ LIBS=$ac_check_lib_save_LIBS
13435fi 13489fi
13436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
13437$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 13491$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
13438if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 13492if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
13439 have_crypto=yes 13493 have_crypto=yes
13440else 13494else
13441 have_crypto=no 13495 have_crypto=no
@@ -13450,7 +13504,7 @@ $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13450 fi 13504 fi
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13452$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 13506$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
13453if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 13507if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
13454 $as_echo_n "(cached) " >&6 13508 $as_echo_n "(cached) " >&6
13455else 13509else
13456 ac_check_lib_save_LIBS=$LIBS 13510 ac_check_lib_save_LIBS=$LIBS
@@ -13484,7 +13538,7 @@ LIBS=$ac_check_lib_save_LIBS
13484fi 13538fi
13485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
13486$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 13540$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
13487if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 13541if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
13488 have_k5crypto=yes 13542 have_k5crypto=yes
13489else 13543else
13490 have_k5crypto=no 13544 have_k5crypto=no
@@ -13499,7 +13553,7 @@ $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
13499 fi 13553 fi
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13501$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 13555$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13502if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 13556if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13503 $as_echo_n "(cached) " >&6 13557 $as_echo_n "(cached) " >&6
13504else 13558else
13505 ac_check_lib_save_LIBS=$LIBS 13559 ac_check_lib_save_LIBS=$LIBS
@@ -13533,7 +13587,7 @@ LIBS=$ac_check_lib_save_LIBS
13533fi 13587fi
13534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13535$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 13589$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13536if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 13590if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13537 have_krb5=yes 13591 have_krb5=yes
13538else 13592else
13539 have_krb5=no 13593 have_krb5=no
@@ -13549,7 +13603,7 @@ $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
13549 if test "${with_kerberos5}" = no; then 13603 if test "${with_kerberos5}" = no; then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
13551$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 13605$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
13552if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 13606if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
13553 $as_echo_n "(cached) " >&6 13607 $as_echo_n "(cached) " >&6
13554else 13608else
13555 ac_check_lib_save_LIBS=$LIBS 13609 ac_check_lib_save_LIBS=$LIBS
@@ -13583,7 +13637,7 @@ LIBS=$ac_check_lib_save_LIBS
13583fi 13637fi
13584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
13585$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 13639$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
13586if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 13640if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
13587 have_des425=yes 13641 have_des425=yes
13588else 13642else
13589 have_des425=no 13643 have_des425=no
@@ -13598,7 +13652,7 @@ $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
13598 else 13652 else
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
13600$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 13654$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
13601if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 13655if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
13602 $as_echo_n "(cached) " >&6 13656 $as_echo_n "(cached) " >&6
13603else 13657else
13604 ac_check_lib_save_LIBS=$LIBS 13658 ac_check_lib_save_LIBS=$LIBS
@@ -13632,7 +13686,7 @@ LIBS=$ac_check_lib_save_LIBS
13632fi 13686fi
13633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
13634$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 13688$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
13635if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 13689if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
13636 have_des=yes 13690 have_des=yes
13637else 13691else
13638 have_des=no 13692 have_des=no
@@ -13648,7 +13702,7 @@ $as_echo "#define HAVE_LIBDES 1" >>confdefs.h
13648 fi 13702 fi
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
13650$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 13704$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
13651if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 13705if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
13652 $as_echo_n "(cached) " >&6 13706 $as_echo_n "(cached) " >&6
13653else 13707else
13654 ac_check_lib_save_LIBS=$LIBS 13708 ac_check_lib_save_LIBS=$LIBS
@@ -13682,7 +13736,7 @@ LIBS=$ac_check_lib_save_LIBS
13682fi 13736fi
13683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
13684$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 13738$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
13685if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 13739if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
13686 have_krb4=yes 13740 have_krb4=yes
13687else 13741else
13688 have_krb4=no 13742 have_krb4=no
@@ -13697,7 +13751,7 @@ $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
13697 else 13751 else
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
13699$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 13753$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
13700if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 13754if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
13701 $as_echo_n "(cached) " >&6 13755 $as_echo_n "(cached) " >&6
13702else 13756else
13703 ac_check_lib_save_LIBS=$LIBS 13757 ac_check_lib_save_LIBS=$LIBS
@@ -13731,7 +13785,7 @@ LIBS=$ac_check_lib_save_LIBS
13731fi 13785fi
13732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 13786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
13733$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 13787$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
13734if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 13788if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
13735 have_krb=yes 13789 have_krb=yes
13736else 13790else
13737 have_krb=no 13791 have_krb=no
@@ -13751,13 +13805,13 @@ $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
13751 for ac_header in krb5.h 13805 for ac_header in krb5.h
13752do : 13806do :
13753 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 13807 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
13754if test "x$ac_cv_header_krb5_h" = x""yes; then : 13808if test "x$ac_cv_header_krb5_h" = xyes; then :
13755 cat >>confdefs.h <<_ACEOF 13809 cat >>confdefs.h <<_ACEOF
13756#define HAVE_KRB5_H 1 13810#define HAVE_KRB5_H 1
13757_ACEOF 13811_ACEOF
13758 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 13812 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
13759" 13813"
13760if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 13814if test "x$ac_cv_member_krb5_error_text" = xyes; then :
13761 13815
13762cat >>confdefs.h <<_ACEOF 13816cat >>confdefs.h <<_ACEOF
13763#define HAVE_KRB5_ERROR_TEXT 1 13817#define HAVE_KRB5_ERROR_TEXT 1
@@ -13767,7 +13821,7 @@ _ACEOF
13767fi 13821fi
13768ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 13822ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
13769" 13823"
13770if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 13824if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
13771 13825
13772cat >>confdefs.h <<_ACEOF 13826cat >>confdefs.h <<_ACEOF
13773#define HAVE_KRB5_ERROR_E_TEXT 1 13827#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -13784,7 +13838,7 @@ done
13784 for ac_header in des.h 13838 for ac_header in des.h
13785do : 13839do :
13786 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 13840 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
13787if test "x$ac_cv_header_des_h" = x""yes; then : 13841if test "x$ac_cv_header_des_h" = xyes; then :
13788 cat >>confdefs.h <<_ACEOF 13842 cat >>confdefs.h <<_ACEOF
13789#define HAVE_DES_H 1 13843#define HAVE_DES_H 1
13790_ACEOF 13844_ACEOF
@@ -13793,7 +13847,7 @@ else
13793 for ac_header in kerberosIV/des.h 13847 for ac_header in kerberosIV/des.h
13794do : 13848do :
13795 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 13849 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
13796if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 13850if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF 13851 cat >>confdefs.h <<_ACEOF
13798#define HAVE_KERBEROSIV_DES_H 1 13852#define HAVE_KERBEROSIV_DES_H 1
13799_ACEOF 13853_ACEOF
@@ -13802,7 +13856,7 @@ else
13802 for ac_header in kerberos/des.h 13856 for ac_header in kerberos/des.h
13803do : 13857do :
13804 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 13858 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
13805if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 13859if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF 13860 cat >>confdefs.h <<_ACEOF
13807#define HAVE_KERBEROS_DES_H 1 13861#define HAVE_KERBEROS_DES_H 1
13808_ACEOF 13862_ACEOF
@@ -13822,7 +13876,7 @@ done
13822 for ac_header in krb.h 13876 for ac_header in krb.h
13823do : 13877do :
13824 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 13878 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
13825if test "x$ac_cv_header_krb_h" = x""yes; then : 13879if test "x$ac_cv_header_krb_h" = xyes; then :
13826 cat >>confdefs.h <<_ACEOF 13880 cat >>confdefs.h <<_ACEOF
13827#define HAVE_KRB_H 1 13881#define HAVE_KRB_H 1
13828_ACEOF 13882_ACEOF
@@ -13831,7 +13885,7 @@ else
13831 for ac_header in kerberosIV/krb.h 13885 for ac_header in kerberosIV/krb.h
13832do : 13886do :
13833 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 13887 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
13834if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 13888if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
13835 cat >>confdefs.h <<_ACEOF 13889 cat >>confdefs.h <<_ACEOF
13836#define HAVE_KERBEROSIV_KRB_H 1 13890#define HAVE_KERBEROSIV_KRB_H 1
13837_ACEOF 13891_ACEOF
@@ -13840,7 +13894,7 @@ else
13840 for ac_header in kerberos/krb.h 13894 for ac_header in kerberos/krb.h
13841do : 13895do :
13842 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 13896 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
13843if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 13897if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF 13898 cat >>confdefs.h <<_ACEOF
13845#define HAVE_KERBEROS_KRB_H 1 13899#define HAVE_KERBEROS_KRB_H 1
13846_ACEOF 13900_ACEOF
@@ -13861,7 +13915,7 @@ done
13861 for ac_header in com_err.h 13915 for ac_header in com_err.h
13862do : 13916do :
13863 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 13917 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
13864if test "x$ac_cv_header_com_err_h" = x""yes; then : 13918if test "x$ac_cv_header_com_err_h" = xyes; then :
13865 cat >>confdefs.h <<_ACEOF 13919 cat >>confdefs.h <<_ACEOF
13866#define HAVE_COM_ERR_H 1 13920#define HAVE_COM_ERR_H 1
13867_ACEOF 13921_ACEOF
@@ -13882,7 +13936,7 @@ fi
13882# to return localized messages. 13936# to return localized messages.
13883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 13937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13884$as_echo_n "checking for dgettext in -lintl... " >&6; } 13938$as_echo_n "checking for dgettext in -lintl... " >&6; }
13885if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 13939if ${ac_cv_lib_intl_dgettext+:} false; then :
13886 $as_echo_n "(cached) " >&6 13940 $as_echo_n "(cached) " >&6
13887else 13941else
13888 ac_check_lib_save_LIBS=$LIBS 13942 ac_check_lib_save_LIBS=$LIBS
@@ -13916,7 +13970,7 @@ LIBS=$ac_check_lib_save_LIBS
13916fi 13970fi
13917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 13971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13918$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 13972$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13919if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 13973if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13920 cat >>confdefs.h <<_ACEOF 13974 cat >>confdefs.h <<_ACEOF
13921#define HAVE_LIBINTL 1 13975#define HAVE_LIBINTL 1
13922_ACEOF 13976_ACEOF
@@ -13928,7 +13982,7 @@ fi
13928 13982
13929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 13983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
13930$as_echo_n "checking whether localtime caches TZ... " >&6; } 13984$as_echo_n "checking whether localtime caches TZ... " >&6; }
13931if test "${emacs_cv_localtime_cache+set}" = set; then : 13985if ${emacs_cv_localtime_cache+:} false; then :
13932 $as_echo_n "(cached) " >&6 13986 $as_echo_n "(cached) " >&6
13933else 13987else
13934 if test x$ac_cv_func_tzset = xyes; then 13988 if test x$ac_cv_func_tzset = xyes; then
@@ -13987,7 +14041,7 @@ if test "x$HAVE_TIMEVAL" = xyes; then
13987 for ac_func in gettimeofday 14041 for ac_func in gettimeofday
13988do : 14042do :
13989 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 14043 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13990if test "x$ac_cv_func_gettimeofday" = x""yes; then : 14044if test "x$ac_cv_func_gettimeofday" = xyes; then :
13991 cat >>confdefs.h <<_ACEOF 14045 cat >>confdefs.h <<_ACEOF
13992#define HAVE_GETTIMEOFDAY 1 14046#define HAVE_GETTIMEOFDAY 1
13993_ACEOF 14047_ACEOF
@@ -13998,7 +14052,7 @@ done
13998 if test $ac_cv_func_gettimeofday = yes; then 14052 if test $ac_cv_func_gettimeofday = yes; then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
14000$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 14054$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
14001if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 14055if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
14002 $as_echo_n "(cached) " >&6 14056 $as_echo_n "(cached) " >&6
14003else 14057else
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14042,7 +14096,7 @@ fi
14042 14096
14043ok_so_far=yes 14097ok_so_far=yes
14044ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 14098ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
14045if test "x$ac_cv_func_socket" = x""yes; then : 14099if test "x$ac_cv_func_socket" = xyes; then :
14046 14100
14047else 14101else
14048 ok_so_far=no 14102 ok_so_far=no
@@ -14050,7 +14104,7 @@ fi
14050 14104
14051if test $ok_so_far = yes; then 14105if test $ok_so_far = yes; then
14052 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 14106 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14053if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 14107if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14054 14108
14055else 14109else
14056 ok_so_far=no 14110 ok_so_far=no
@@ -14060,7 +14114,7 @@ fi
14060fi 14114fi
14061if test $ok_so_far = yes; then 14115if test $ok_so_far = yes; then
14062 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 14116 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
14063if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 14117if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14064 14118
14065else 14119else
14066 ok_so_far=no 14120 ok_so_far=no
@@ -14094,7 +14148,7 @@ $as_echo "no" >&6; }
14094fi 14148fi
14095 14149
14096ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 14150ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14097if test "x$ac_cv_type_pid_t" = x""yes; then : 14151if test "x$ac_cv_type_pid_t" = xyes; then :
14098 14152
14099else 14153else
14100 14154
@@ -14107,7 +14161,7 @@ fi
14107for ac_header in vfork.h 14161for ac_header in vfork.h
14108do : 14162do :
14109 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 14163 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14110if test "x$ac_cv_header_vfork_h" = x""yes; then : 14164if test "x$ac_cv_header_vfork_h" = xyes; then :
14111 cat >>confdefs.h <<_ACEOF 14165 cat >>confdefs.h <<_ACEOF
14112#define HAVE_VFORK_H 1 14166#define HAVE_VFORK_H 1
14113_ACEOF 14167_ACEOF
@@ -14120,8 +14174,7 @@ for ac_func in fork vfork
14120do : 14174do :
14121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14122ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14176ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14123eval as_val=\$$as_ac_var 14177if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14124 if test "x$as_val" = x""yes; then :
14125 cat >>confdefs.h <<_ACEOF 14178 cat >>confdefs.h <<_ACEOF
14126#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14179#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14127_ACEOF 14180_ACEOF
@@ -14132,7 +14185,7 @@ done
14132if test "x$ac_cv_func_fork" = xyes; then 14185if test "x$ac_cv_func_fork" = xyes; then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14134$as_echo_n "checking for working fork... " >&6; } 14187$as_echo_n "checking for working fork... " >&6; }
14135if test "${ac_cv_func_fork_works+set}" = set; then : 14188if ${ac_cv_func_fork_works+:} false; then :
14136 $as_echo_n "(cached) " >&6 14189 $as_echo_n "(cached) " >&6
14137else 14190else
14138 if test "$cross_compiling" = yes; then : 14191 if test "$cross_compiling" = yes; then :
@@ -14185,7 +14238,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork
14185if test "x$ac_cv_func_vfork" = xyes; then 14238if test "x$ac_cv_func_vfork" = xyes; then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14187$as_echo_n "checking for working vfork... " >&6; } 14240$as_echo_n "checking for working vfork... " >&6; }
14188if test "${ac_cv_func_vfork_works+set}" = set; then : 14241if ${ac_cv_func_vfork_works+:} false; then :
14189 $as_echo_n "(cached) " >&6 14242 $as_echo_n "(cached) " >&6
14190else 14243else
14191 if test "$cross_compiling" = yes; then : 14244 if test "$cross_compiling" = yes; then :
@@ -14321,7 +14374,7 @@ fi
14321 14374
14322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 14375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14323$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 14376$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14324if test "${emacs_cv_langinfo_codeset+set}" = set; then : 14377if ${emacs_cv_langinfo_codeset+:} false; then :
14325 $as_echo_n "(cached) " >&6 14378 $as_echo_n "(cached) " >&6
14326else 14379else
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14353,7 +14406,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14353fi 14406fi
14354 14407
14355ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14408ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14356if test "x$ac_cv_type_size_t" = x""yes; then : 14409if test "x$ac_cv_type_size_t" = xyes; then :
14357 14410
14358cat >>confdefs.h <<_ACEOF 14411cat >>confdefs.h <<_ACEOF
14359#define HAVE_SIZE_T 1 14412#define HAVE_SIZE_T 1
@@ -14365,7 +14418,7 @@ fi
14365 14418
14366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 14419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
14367$as_echo_n "checking for mbstate_t... " >&6; } 14420$as_echo_n "checking for mbstate_t... " >&6; }
14368if test "${ac_cv_type_mbstate_t+set}" = set; then : 14421if ${ac_cv_type_mbstate_t+:} false; then :
14369 $as_echo_n "(cached) " >&6 14422 $as_echo_n "(cached) " >&6
14370else 14423else
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14401,7 +14454,7 @@ $as_echo "#define mbstate_t int" >>confdefs.h
14401 14454
14402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 14455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
14403$as_echo_n "checking for C restrict keyword... " >&6; } 14456$as_echo_n "checking for C restrict keyword... " >&6; }
14404if test "${emacs_cv_c_restrict+set}" = set; then : 14457if ${emacs_cv_c_restrict+:} false; then :
14405 $as_echo_n "(cached) " >&6 14458 $as_echo_n "(cached) " >&6
14406else 14459else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14455,7 +14508,7 @@ fi
14455 14508
14456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 14509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
14457$as_echo_n "checking for C restricted array declarations... " >&6; } 14510$as_echo_n "checking for C restricted array declarations... " >&6; }
14458if test "${emacs_cv_c_restrict_arr+set}" = set; then : 14511if ${emacs_cv_c_restrict_arr+:} false; then :
14459 $as_echo_n "(cached) " >&6 14512 $as_echo_n "(cached) " >&6
14460else 14513else
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14495,14 +14548,14 @@ if test "x$GCC" = xyes \
14495 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 14548 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
14496 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 14549 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
14497 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 14550 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
14498 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 14551 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
14499fi 14552fi
14500 14553
14501#### Find out which version of Emacs this is. 14554#### Find out which version of Emacs this is.
14502version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 14555version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
14503 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 14556 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
14504if test x"${version}" = x; then 14557if test x"${version}" = x; then
14505 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 14558 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
14506fi 14559fi
14507if test x"${version}" != x"$PACKAGE_VERSION"; then 14560if test x"${version}" != x"$PACKAGE_VERSION"; then
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 14561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
@@ -15054,10 +15107,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15054 :end' >>confcache 15107 :end' >>confcache
15055if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15108if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15056 if test -w "$cache_file"; then 15109 if test -w "$cache_file"; then
15057 test "x$cache_file" != "x/dev/null" && 15110 if test "x$cache_file" != "x/dev/null"; then
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15111 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15059$as_echo "$as_me: updating cache $cache_file" >&6;} 15112$as_echo "$as_me: updating cache $cache_file" >&6;}
15060 cat confcache >$cache_file 15113 if test ! -f "$cache_file" || test -h "$cache_file"; then
15114 cat confcache >"$cache_file"
15115 else
15116 case $cache_file in #(
15117 */* | ?:*)
15118 mv -f confcache "$cache_file"$$ &&
15119 mv -f "$cache_file"$$ "$cache_file" ;; #(
15120 *)
15121 mv -f confcache "$cache_file" ;;
15122 esac
15123 fi
15124 fi
15061 else 15125 else
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15126 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15063$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15127$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -15073,6 +15137,7 @@ DEFS=-DHAVE_CONFIG_H
15073 15137
15074ac_libobjs= 15138ac_libobjs=
15075ac_ltlibobjs= 15139ac_ltlibobjs=
15140U=
15076for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15141for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15077 # 1. Remove the extension, and $U if already installed. 15142 # 1. Remove the extension, and $U if already installed.
15078 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15143 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -15089,7 +15154,7 @@ LTLIBOBJS=$ac_ltlibobjs
15089 15154
15090 15155
15091 15156
15092: ${CONFIG_STATUS=./config.status} 15157: "${CONFIG_STATUS=./config.status}"
15093ac_write_fail=0 15158ac_write_fail=0
15094ac_clean_files_save=$ac_clean_files 15159ac_clean_files_save=$ac_clean_files
15095ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15160ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -15190,6 +15255,7 @@ fi
15190IFS=" "" $as_nl" 15255IFS=" "" $as_nl"
15191 15256
15192# Find who we are. Look in the path if we contain no directory separator. 15257# Find who we are. Look in the path if we contain no directory separator.
15258as_myself=
15193case $0 in #(( 15259case $0 in #((
15194 *[\\/]* ) as_myself=$0 ;; 15260 *[\\/]* ) as_myself=$0 ;;
15195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15261 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -15235,19 +15301,19 @@ export LANGUAGE
15235(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15301(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15236 15302
15237 15303
15238# as_fn_error ERROR [LINENO LOG_FD] 15304# as_fn_error STATUS ERROR [LINENO LOG_FD]
15239# --------------------------------- 15305# ----------------------------------------
15240# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15306# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15241# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15307# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15242# script with status $?, using 1 if that was 0. 15308# script with STATUS, using 1 if that was 0.
15243as_fn_error () 15309as_fn_error ()
15244{ 15310{
15245 as_status=$?; test $as_status -eq 0 && as_status=1 15311 as_status=$1; test $as_status -eq 0 && as_status=1
15246 if test "$3"; then 15312 if test "$4"; then
15247 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15313 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15248 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15314 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15249 fi 15315 fi
15250 $as_echo "$as_me: error: $1" >&2 15316 $as_echo "$as_me: error: $2" >&2
15251 as_fn_exit $as_status 15317 as_fn_exit $as_status
15252} # as_fn_error 15318} # as_fn_error
15253 15319
@@ -15443,7 +15509,7 @@ $as_echo X"$as_dir" |
15443 test -d "$as_dir" && break 15509 test -d "$as_dir" && break
15444 done 15510 done
15445 test -z "$as_dirs" || eval "mkdir $as_dirs" 15511 test -z "$as_dirs" || eval "mkdir $as_dirs"
15446 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 15512 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15447 15513
15448 15514
15449} # as_fn_mkdir_p 15515} # as_fn_mkdir_p
@@ -15497,7 +15563,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15497# values after options handling. 15563# values after options handling.
15498ac_log=" 15564ac_log="
15499This file was extended by emacs $as_me 24.0.50, which was 15565This file was extended by emacs $as_me 24.0.50, which was
15500generated by GNU Autoconf 2.65. Invocation command line was 15566generated by GNU Autoconf 2.68. Invocation command line was
15501 15567
15502 CONFIG_FILES = $CONFIG_FILES 15568 CONFIG_FILES = $CONFIG_FILES
15503 CONFIG_HEADERS = $CONFIG_HEADERS 15569 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -15563,10 +15629,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15563ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15629ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15564ac_cs_version="\\ 15630ac_cs_version="\\
15565emacs config.status 24.0.50 15631emacs config.status 24.0.50
15566configured by $0, generated by GNU Autoconf 2.65, 15632configured by $0, generated by GNU Autoconf 2.68,
15567 with options \\"\$ac_cs_config\\" 15633 with options \\"\$ac_cs_config\\"
15568 15634
15569Copyright (C) 2009 Free Software Foundation, Inc. 15635Copyright (C) 2010 Free Software Foundation, Inc.
15570This config.status script is free software; the Free Software Foundation 15636This config.status script is free software; the Free Software Foundation
15571gives unlimited permission to copy, distribute and modify it." 15637gives unlimited permission to copy, distribute and modify it."
15572 15638
@@ -15582,11 +15648,16 @@ ac_need_defaults=:
15582while test $# != 0 15648while test $# != 0
15583do 15649do
15584 case $1 in 15650 case $1 in
15585 --*=*) 15651 --*=?*)
15586 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15652 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15587 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15653 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15588 ac_shift=: 15654 ac_shift=:
15589 ;; 15655 ;;
15656 --*=)
15657 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15658 ac_optarg=
15659 ac_shift=:
15660 ;;
15590 *) 15661 *)
15591 ac_option=$1 15662 ac_option=$1
15592 ac_optarg=$2 15663 ac_optarg=$2
@@ -15608,6 +15679,7 @@ do
15608 $ac_shift 15679 $ac_shift
15609 case $ac_optarg in 15680 case $ac_optarg in
15610 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15682 '') as_fn_error $? "missing file argument" ;;
15611 esac 15683 esac
15612 as_fn_append CONFIG_FILES " '$ac_optarg'" 15684 as_fn_append CONFIG_FILES " '$ac_optarg'"
15613 ac_need_defaults=false;; 15685 ac_need_defaults=false;;
@@ -15620,7 +15692,7 @@ do
15620 ac_need_defaults=false;; 15692 ac_need_defaults=false;;
15621 --he | --h) 15693 --he | --h)
15622 # Conflict between --help and --header 15694 # Conflict between --help and --header
15623 as_fn_error "ambiguous option: \`$1' 15695 as_fn_error $? "ambiguous option: \`$1'
15624Try \`$0 --help' for more information.";; 15696Try \`$0 --help' for more information.";;
15625 --help | --hel | -h ) 15697 --help | --hel | -h )
15626 $as_echo "$ac_cs_usage"; exit ;; 15698 $as_echo "$ac_cs_usage"; exit ;;
@@ -15629,7 +15701,7 @@ Try \`$0 --help' for more information.";;
15629 ac_cs_silent=: ;; 15701 ac_cs_silent=: ;;
15630 15702
15631 # This is an error. 15703 # This is an error.
15632 -*) as_fn_error "unrecognized option: \`$1' 15704 -*) as_fn_error $? "unrecognized option: \`$1'
15633Try \`$0 --help' for more information." ;; 15705Try \`$0 --help' for more information." ;;
15634 15706
15635 *) as_fn_append ac_config_targets " $1" 15707 *) as_fn_append ac_config_targets " $1"
@@ -15697,7 +15769,7 @@ do
15697 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15769 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15698 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15770 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15699 15771
15700 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15772 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15701 esac 15773 esac
15702done 15774done
15703 15775
@@ -15720,9 +15792,10 @@ fi
15720# after its creation but before its name has been assigned to `$tmp'. 15792# after its creation but before its name has been assigned to `$tmp'.
15721$debug || 15793$debug ||
15722{ 15794{
15723 tmp= 15795 tmp= ac_tmp=
15724 trap 'exit_status=$? 15796 trap 'exit_status=$?
15725 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15797 : "${ac_tmp:=$tmp}"
15798 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15726' 0 15799' 0
15727 trap 'as_fn_exit 1' 1 2 13 15 15800 trap 'as_fn_exit 1' 1 2 13 15
15728} 15801}
@@ -15730,12 +15803,13 @@ $debug ||
15730 15803
15731{ 15804{
15732 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15805 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15733 test -n "$tmp" && test -d "$tmp" 15806 test -d "$tmp"
15734} || 15807} ||
15735{ 15808{
15736 tmp=./conf$$-$RANDOM 15809 tmp=./conf$$-$RANDOM
15737 (umask 077 && mkdir "$tmp") 15810 (umask 077 && mkdir "$tmp")
15738} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 15811} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15812ac_tmp=$tmp
15739 15813
15740# Set up the scripts for CONFIG_FILES section. 15814# Set up the scripts for CONFIG_FILES section.
15741# No need to generate them if there are no CONFIG_FILES. 15815# No need to generate them if there are no CONFIG_FILES.
@@ -15769,24 +15843,24 @@ if test "x$ac_cr" = x; then
15769fi 15843fi
15770ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15844ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15771if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15845if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15772 ac_cs_awk_cr='\r' 15846 ac_cs_awk_cr='\\r'
15773else 15847else
15774 ac_cs_awk_cr=$ac_cr 15848 ac_cs_awk_cr=$ac_cr
15775fi 15849fi
15776 15850
15777echo 'BEGIN {' >"$tmp/subs1.awk" && 15851echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15778_ACEOF 15852_ACEOF
15779 15853
15780# Create commands to substitute file output variables. 15854# Create commands to substitute file output variables.
15781{ 15855{
15782 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 15856 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15783 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 15857 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15784 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15858 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15785 echo "_ACAWK" && 15859 echo "_ACAWK" &&
15786 echo "_ACEOF" 15860 echo "_ACEOF"
15787} >conf$$files.sh && 15861} >conf$$files.sh &&
15788. ./conf$$files.sh || 15862. ./conf$$files.sh ||
15789 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15863 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15790rm -f conf$$files.sh 15864rm -f conf$$files.sh
15791 15865
15792{ 15866{
@@ -15794,18 +15868,18 @@ rm -f conf$$files.sh
15794 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15868 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15795 echo "_ACEOF" 15869 echo "_ACEOF"
15796} >conf$$subs.sh || 15870} >conf$$subs.sh ||
15797 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15871 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15798ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15872ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15799ac_delim='%!_!# ' 15873ac_delim='%!_!# '
15800for ac_last_try in false false false false false :; do 15874for ac_last_try in false false false false false :; do
15801 . ./conf$$subs.sh || 15875 . ./conf$$subs.sh ||
15802 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15876 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15803 15877
15804 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15878 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15805 if test $ac_delim_n = $ac_delim_num; then 15879 if test $ac_delim_n = $ac_delim_num; then
15806 break 15880 break
15807 elif $ac_last_try; then 15881 elif $ac_last_try; then
15808 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15882 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15809 else 15883 else
15810 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15811 fi 15885 fi
@@ -15813,7 +15887,7 @@ done
15813rm -f conf$$subs.sh 15887rm -f conf$$subs.sh
15814 15888
15815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15816cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15890cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15817_ACEOF 15891_ACEOF
15818sed -n ' 15892sed -n '
15819h 15893h
@@ -15861,7 +15935,7 @@ t delim
15861rm -f conf$$subs.awk 15935rm -f conf$$subs.awk
15862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15863_ACAWK 15937_ACAWK
15864cat >>"\$tmp/subs1.awk" <<_ACAWK && 15938cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15865 for (key in S) S_is_set[key] = 1 15939 for (key in S) S_is_set[key] = 1
15866 FS = "" 15940 FS = ""
15867 \$ac_cs_awk_pipe_init 15941 \$ac_cs_awk_pipe_init
@@ -15899,21 +15973,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15899 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15973 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15900else 15974else
15901 cat 15975 cat
15902fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15976fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15903 || as_fn_error "could not setup config files machinery" "$LINENO" 5 15977 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15904_ACEOF 15978_ACEOF
15905 15979
15906# VPATH may cause trouble with some makes, so we remove $(srcdir), 15980# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15907# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15981# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15908# trailing colons and then remove the whole line if VPATH becomes empty 15982# trailing colons and then remove the whole line if VPATH becomes empty
15909# (actually we leave an empty line to preserve line numbers). 15983# (actually we leave an empty line to preserve line numbers).
15910if test "x$srcdir" = x.; then 15984if test "x$srcdir" = x.; then
15911 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15985 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15912s/:*\$(srcdir):*/:/ 15986h
15913s/:*\${srcdir}:*/:/ 15987s///
15914s/:*@srcdir@:*/:/ 15988s/^/:/
15915s/^\([^=]*=[ ]*\):*/\1/ 15989s/[ ]*$/:/
15990s/:\$(srcdir):/:/g
15991s/:\${srcdir}:/:/g
15992s/:@srcdir@:/:/g
15993s/^:*//
15916s/:*$// 15994s/:*$//
15995x
15996s/\(=[ ]*\).*/\1/
15997G
15998s/\n//
15917s/^[^=]*=[ ]*$// 15999s/^[^=]*=[ ]*$//
15918}' 16000}'
15919fi 16001fi
@@ -15925,7 +16007,7 @@ fi # test -n "$CONFIG_FILES"
15925# No need to generate them if there are no CONFIG_HEADERS. 16007# No need to generate them if there are no CONFIG_HEADERS.
15926# This happens for instance with `./config.status Makefile'. 16008# This happens for instance with `./config.status Makefile'.
15927if test -n "$CONFIG_HEADERS"; then 16009if test -n "$CONFIG_HEADERS"; then
15928cat >"$tmp/defines.awk" <<\_ACAWK || 16010cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15929BEGIN { 16011BEGIN {
15930_ACEOF 16012_ACEOF
15931 16013
@@ -15937,11 +16019,11 @@ _ACEOF
15937# handling of long lines. 16019# handling of long lines.
15938ac_delim='%!_!# ' 16020ac_delim='%!_!# '
15939for ac_last_try in false false :; do 16021for ac_last_try in false false :; do
15940 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 16022 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15941 if test -z "$ac_t"; then 16023 if test -z "$ac_tt"; then
15942 break 16024 break
15943 elif $ac_last_try; then 16025 elif $ac_last_try; then
15944 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 16026 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15945 else 16027 else
15946 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15947 fi 16029 fi
@@ -16026,7 +16108,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026_ACAWK 16108_ACAWK
16027_ACEOF 16109_ACEOF
16028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16029 as_fn_error "could not setup config headers machinery" "$LINENO" 5 16111 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16030fi # test -n "$CONFIG_HEADERS" 16112fi # test -n "$CONFIG_HEADERS"
16031 16113
16032 16114
@@ -16039,7 +16121,7 @@ do
16039 esac 16121 esac
16040 case $ac_mode$ac_tag in 16122 case $ac_mode$ac_tag in
16041 :[FHL]*:*);; 16123 :[FHL]*:*);;
16042 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16124 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16043 :[FH]-) ac_tag=-:-;; 16125 :[FH]-) ac_tag=-:-;;
16044 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16126 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16045 esac 16127 esac
@@ -16058,7 +16140,7 @@ do
16058 for ac_f 16140 for ac_f
16059 do 16141 do
16060 case $ac_f in 16142 case $ac_f in
16061 -) ac_f="$tmp/stdin";; 16143 -) ac_f="$ac_tmp/stdin";;
16062 *) # Look for the file first in the build tree, then in the source tree 16144 *) # Look for the file first in the build tree, then in the source tree
16063 # (if the path is not absolute). The absolute path cannot be DOS-style, 16145 # (if the path is not absolute). The absolute path cannot be DOS-style,
16064 # because $ac_f cannot contain `:'. 16146 # because $ac_f cannot contain `:'.
@@ -16067,7 +16149,7 @@ do
16067 [\\/$]*) false;; 16149 [\\/$]*) false;;
16068 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16150 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16069 esac || 16151 esac ||
16070 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16152 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16071 esac 16153 esac
16072 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16154 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16073 as_fn_append ac_file_inputs " '$ac_f'" 16155 as_fn_append ac_file_inputs " '$ac_f'"
@@ -16093,8 +16175,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
16093 esac 16175 esac
16094 16176
16095 case $ac_tag in 16177 case $ac_tag in
16096 *:-:* | *:-) cat >"$tmp/stdin" \ 16178 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16097 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16179 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16098 esac 16180 esac
16099 ;; 16181 ;;
16100 esac 16182 esac
@@ -16226,26 +16308,27 @@ $ac_datarootdir_hack
16226" 16308"
16227eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 16309eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16228if $ac_cs_awk_getline; then 16310if $ac_cs_awk_getline; then
16229 $AWK -f "$tmp/subs.awk" 16311 $AWK -f "$ac_tmp/subs.awk"
16230else 16312else
16231 $AWK -f "$tmp/subs.awk" | $SHELL 16313 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16232fi >$tmp/out \ 16314fi \
16233 || as_fn_error "could not create $ac_file" "$LINENO" 5 16315 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16234 16316
16235test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16317test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16236 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16318 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16237 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16319 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16320 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16239which seems to be undefined. Please make sure it is defined." >&5 16322which seems to be undefined. Please make sure it is defined" >&5
16240$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16323$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16241which seems to be undefined. Please make sure it is defined." >&2;} 16324which seems to be undefined. Please make sure it is defined" >&2;}
16242 16325
16243 rm -f "$tmp/stdin" 16326 rm -f "$ac_tmp/stdin"
16244 case $ac_file in 16327 case $ac_file in
16245 -) cat "$tmp/out" && rm -f "$tmp/out";; 16328 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16246 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16329 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16247 esac \ 16330 esac \
16248 || as_fn_error "could not create $ac_file" "$LINENO" 5 16331 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16249 ;; 16332 ;;
16250 :H) 16333 :H)
16251 # 16334 #
@@ -16254,21 +16337,21 @@ which seems to be undefined. Please make sure it is defined." >&2;}
16254 if test x"$ac_file" != x-; then 16337 if test x"$ac_file" != x-; then
16255 { 16338 {
16256 $as_echo "/* $configure_input */" \ 16339 $as_echo "/* $configure_input */" \
16257 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16340 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16258 } >"$tmp/config.h" \ 16341 } >"$ac_tmp/config.h" \
16259 || as_fn_error "could not create $ac_file" "$LINENO" 5 16342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16260 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16343 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16344 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16262$as_echo "$as_me: $ac_file is unchanged" >&6;} 16345$as_echo "$as_me: $ac_file is unchanged" >&6;}
16263 else 16346 else
16264 rm -f "$ac_file" 16347 rm -f "$ac_file"
16265 mv "$tmp/config.h" "$ac_file" \ 16348 mv "$ac_tmp/config.h" "$ac_file" \
16266 || as_fn_error "could not create $ac_file" "$LINENO" 5 16349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16267 fi 16350 fi
16268 else 16351 else
16269 $as_echo "/* $configure_input */" \ 16352 $as_echo "/* $configure_input */" \
16270 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16353 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16271 || as_fn_error "could not create -" "$LINENO" 5 16354 || as_fn_error $? "could not create -" "$LINENO" 5
16272 fi 16355 fi
16273 ;; 16356 ;;
16274 16357
@@ -16305,7 +16388,7 @@ _ACEOF
16305ac_clean_files=$ac_clean_files_save 16388ac_clean_files=$ac_clean_files_save
16306 16389
16307test $ac_write_fail = 0 || 16390test $ac_write_fail = 0 ||
16308 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16391 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16309 16392
16310 16393
16311# configure is writing to config.log, and then calls config.status. 16394# configure is writing to config.log, and then calls config.status.
@@ -16326,7 +16409,7 @@ if test "$no_create" != yes; then
16326 exec 5>>config.log 16409 exec 5>>config.log
16327 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16328 # would make configure fail if this is the last instruction. 16411 # would make configure fail if this is the last instruction.
16329 $ac_cs_success || as_fn_exit $? 16412 $ac_cs_success || as_fn_exit 1
16330fi 16413fi
16331if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16414if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/configure.in b/configure.in
index 3a646f4c154..00c4721028f 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@ dnl in the directory containing this script.
5dnl If you changed any AC_DEFINES, also run autoheader. 5dnl If you changed any AC_DEFINES, also run autoheader.
6dnl 6dnl
7dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 7dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004,
8dnl 2005, 2006, 2007, 2008, 2009, 2010 8dnl 2005, 2006, 2007, 2008, 2009, 2010, 2011
9dnl Free Software Foundation, Inc. 9dnl Free Software Foundation, Inc.
10dnl 10dnl
11dnl This file is part of GNU Emacs. 11dnl This file is part of GNU Emacs.
@@ -2635,6 +2635,17 @@ gai_strerror mkstemp getline getdelim mremap memmove fsync sync \
2635memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 2635memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
2636cfmakeraw cfsetspeed isnan copysign __executable_start) 2636cfmakeraw cfsetspeed isnan copysign __executable_start)
2637 2637
2638dnl Cannot use AC_CHECK_FUNCS
2639AC_CACHE_CHECK([for __builtin_unwind_init],
2640 emacs_cv_func___builtin_unwind_init,
2641[AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_unwind_init ();])],
2642 emacs_cv_func___builtin_unwind_init=yes,
2643 emacs_cv_func___builtin_unwind_init=no)])
2644if test $emacs_cv_func___builtin_unwind_init = yes; then
2645 AC_DEFINE(HAVE___BUILTIN_UNWIND_INIT, 1,
2646 [Define to 1 if you have the `__builtin_unwind_init' function.])
2647fi
2648
2638AC_CHECK_HEADERS(sys/un.h) 2649AC_CHECK_HEADERS(sys/un.h)
2639 2650
2640AC_FUNC_MKTIME 2651AC_FUNC_MKTIME
diff --git a/src/ChangeLog b/src/ChangeLog
index d2ad0afc7cd..a32e7a28dc3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-01-05 Andreas Schwab <schwab@linux-m68k.org>
2
3 * alloc.c (mark_stack): Use __builtin_unwind_init if available.
4
12011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de> 52011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2 6
3 * dbusbind.c (Fdbus_register_method): Added optional parameter 7 * dbusbind.c (Fdbus_register_method): Added optional parameter
@@ -29431,7 +29435,7 @@ See ChangeLog.10 for earlier changes.
29431;; coding: utf-8 29435;; coding: utf-8
29432;; End: 29436;; End:
29433 29437
29434 Copyright (C) 2007, 2008, 2009, 2010 29438 Copyright (C) 2007, 2008, 2009, 2010, 2011
29435 Free Software Foundation, Inc. 29439 Free Software Foundation, Inc.
29436 29440
29437 This file is part of GNU Emacs. 29441 This file is part of GNU Emacs.
diff --git a/src/alloc.c b/src/alloc.c
index e754e2f6aa2..089a7766ca4 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1,6 +1,6 @@
1/* Storage allocation and gc for GNU Emacs Lisp interpreter. 1/* Storage allocation and gc for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999,
3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
@@ -4222,7 +4222,7 @@ Please mail the result to <emacs-devel@gnu.org>.\n\
4222 can prove that. */ 4222 can prove that. */
4223 4223
4224static void 4224static void
4225test_setjmp () 4225test_setjmp (void)
4226{ 4226{
4227 char buf[10]; 4227 char buf[10];
4228 register int x; 4228 register int x;
@@ -4270,7 +4270,7 @@ test_setjmp ()
4270/* Abort if anything GCPRO'd doesn't survive the GC. */ 4270/* Abort if anything GCPRO'd doesn't survive the GC. */
4271 4271
4272static void 4272static void
4273check_gcpros () 4273check_gcpros (void)
4274{ 4274{
4275 struct gcpro *p; 4275 struct gcpro *p;
4276 int i; 4276 int i;
@@ -4286,7 +4286,7 @@ check_gcpros ()
4286#elif GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES 4286#elif GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
4287 4287
4288static void 4288static void
4289dump_zombies () 4289dump_zombies (void)
4290{ 4290{
4291 int i; 4291 int i;
4292 4292
@@ -4321,6 +4321,11 @@ dump_zombies ()
4321 have to be true! It must be verified for each system, possibly 4321 have to be true! It must be verified for each system, possibly
4322 by taking a look at the source code of setjmp. 4322 by taking a look at the source code of setjmp.
4323 4323
4324 If __builtin_unwind_init is available (defined by GCC >= 2.8) we
4325 can use it as a machine independent method to store all registers
4326 to the stack. In this case the macros described in the previous
4327 two paragraphs are not used.
4328
4324 Stack Layout 4329 Stack Layout
4325 4330
4326 Architectures differ in the way their processor stack is organized. 4331 Architectures differ in the way their processor stack is organized.
@@ -4359,6 +4364,13 @@ mark_stack (void)
4359 volatile int stack_grows_down_p = (char *) &j > (char *) stack_base; 4364 volatile int stack_grows_down_p = (char *) &j > (char *) stack_base;
4360 void *end; 4365 void *end;
4361 4366
4367#ifdef HAVE___BUILTIN_UNWIND_INIT
4368 /* Force callee-saved registers and register windows onto the stack.
4369 This is the preferred method if available, obviating the need for
4370 machine dependent methods. */
4371 __builtin_unwind_init ();
4372 end = &end;
4373#else /* not HAVE___BUILTIN_UNWIND_INIT */
4362 /* This trick flushes the register windows so that all the state of 4374 /* This trick flushes the register windows so that all the state of
4363 the process is contained in the stack. */ 4375 the process is contained in the stack. */
4364 /* Fixme: Code in the Boehm GC suggests flushing (with `flushrs') is 4376 /* Fixme: Code in the Boehm GC suggests flushing (with `flushrs') is
@@ -4394,6 +4406,7 @@ mark_stack (void)
4394 setjmp (j.j); 4406 setjmp (j.j);
4395 end = stack_grows_down_p ? (char *) &j + sizeof j : (char *) &j; 4407 end = stack_grows_down_p ? (char *) &j + sizeof j : (char *) &j;
4396#endif /* not GC_SAVE_REGISTERS_ON_STACK */ 4408#endif /* not GC_SAVE_REGISTERS_ON_STACK */
4409#endif /* not HAVE___BUILTIN_UNWIND_INIT */
4397 4410
4398 /* This assumes that the stack is a contiguous region in memory. If 4411 /* This assumes that the stack is a contiguous region in memory. If
4399 that's not the case, something has to be done here to iterate 4412 that's not the case, something has to be done here to iterate
diff --git a/src/config.in b/src/config.in
index 737d3827363..509f086a99c 100644
--- a/src/config.in
+++ b/src/config.in
@@ -816,6 +816,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
816/* Define to 1 if you want to use the X window system. */ 816/* Define to 1 if you want to use the X window system. */
817#undef HAVE_X_WINDOWS 817#undef HAVE_X_WINDOWS
818 818
819/* Define to 1 if you have the `__builtin_unwind_init' function. */
820#undef HAVE___BUILTIN_UNWIND_INIT
821
819/* Define to 1 if you have the `__executable_start' function. */ 822/* Define to 1 if you have the `__executable_start' function. */
820#undef HAVE___EXECUTABLE_START 823#undef HAVE___EXECUTABLE_START
821 824
@@ -1053,6 +1056,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1053/* Define to `int' if <sys/types.h> does not define. */ 1056/* Define to `int' if <sys/types.h> does not define. */
1054#undef pid_t 1057#undef pid_t
1055 1058
1059/* Define to `unsigned int' if <sys/types.h> does not define. */
1060#undef size_t
1061
1056/* Define to any substitute for sys_siglist. */ 1062/* Define to any substitute for sys_siglist. */
1057#undef sys_siglist 1063#undef sys_siglist
1058 1064