aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2010-12-04 20:50:39 +0100
committerAndreas Schwab2010-12-04 20:50:39 +0100
commitd6a003a8b50ed3441bfc710bd54534d45adbc263 (patch)
tree68bc698cfca8cddcd366ab8c41ab509e89f28ef2
parent15af15e54912d52e1840a257d0e01593e311b6d5 (diff)
downloademacs-d6a003a8b50ed3441bfc710bd54534d45adbc263.tar.gz
emacs-d6a003a8b50ed3441bfc710bd54534d45adbc263.zip
Remove empty machine description files
* configure.in: Remove reference to removed machine description files and allow $machine and $machfile to be empty. Substitute M_FILE/S_FILE instead of machfile/opsysfile. * msdos/sed1v2.inp (M_FILE, S_FILE): Add $(srcdir)/ prefix. * Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@. (S_FILE): Substitute @S_FILE@ instead of @opsysfile@. * src/m/arm.h, src/m/sh3.h, src/m/xtensa.h: Remove files.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure1216
-rw-r--r--configure.in129
-rw-r--r--msdos/ChangeLog4
-rw-r--r--msdos/sed1v2.inp4
-rw-r--r--src/ChangeLog6
-rw-r--r--src/Makefile.in4
-rw-r--r--src/config.in7
-rw-r--r--src/m/arm.h22
-rw-r--r--src/m/sh3.h4
-rw-r--r--src/m/xtensa.h6
11 files changed, 688 insertions, 720 deletions
diff --git a/ChangeLog b/ChangeLog
index 770f05e6c1b..ac14beb0b4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12010-12-04 Andreas Schwab <schwab@linux-m68k.org>
2
3 * configure.in: Remove reference to removed machine description
4 files and allow $machine and $machfile to be empty. Substitute
5 M_FILE/S_FILE instead of machfile/opsysfile.
6
12010-12-03 Glenn Morris <rgm@gnu.org> 72010-12-03 Glenn Morris <rgm@gnu.org>
2 8
3 * make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing. 9 * make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing.
diff --git a/configure b/configure
index f6509d87a01..06fa2dc8ab5 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
@@ -622,8 +630,8 @@ ns_appsrc
622ns_appresdir 630ns_appresdir
623ns_appbindir 631ns_appbindir
624ns_appdir 632ns_appdir
625opsysfile 633S_FILE
626machfile 634M_FILE
627X_TOOLKIT_TYPE 635X_TOOLKIT_TYPE
628C_SWITCH_X_SYSTEM 636C_SWITCH_X_SYSTEM
629C_SWITCH_X_SITE 637C_SWITCH_X_SITE
@@ -912,8 +920,9 @@ do
912 fi 920 fi
913 921
914 case $ac_option in 922 case $ac_option in
915 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 *) ac_optarg=yes ;; 924 *=) ac_optarg= ;;
925 *) ac_optarg=yes ;;
917 esac 926 esac
918 927
919 # Accept the important Cygnus configure options, so we can diagnose typos. 928 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -958,7 +967,7 @@ do
958 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
959 # Reject names that are not valid shell variable names. 968 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error "invalid feature name: $ac_useropt" 970 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt 971 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in 973 case $ac_user_opts in
@@ -984,7 +993,7 @@ do
984 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
985 # Reject names that are not valid shell variable names. 994 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987 as_fn_error "invalid feature name: $ac_useropt" 996 as_fn_error $? "invalid feature name: $ac_useropt"
988 ac_useropt_orig=$ac_useropt 997 ac_useropt_orig=$ac_useropt
989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in 999 case $ac_user_opts in
@@ -1188,7 +1197,7 @@ do
1188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names. 1198 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191 as_fn_error "invalid package name: $ac_useropt" 1200 as_fn_error $? "invalid package name: $ac_useropt"
1192 ac_useropt_orig=$ac_useropt 1201 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in 1203 case $ac_user_opts in
@@ -1204,7 +1213,7 @@ do
1204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205 # Reject names that are not valid shell variable names. 1214 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error "invalid package name: $ac_useropt" 1216 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt 1217 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in 1219 case $ac_user_opts in
@@ -1234,8 +1243,8 @@ do
1234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1235 x_libraries=$ac_optarg ;; 1244 x_libraries=$ac_optarg ;;
1236 1245
1237 -*) as_fn_error "unrecognized option: \`$ac_option' 1246 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1238Try \`$0 --help' for more information." 1247Try \`$0 --help' for more information"
1239 ;; 1248 ;;
1240 1249
1241 *=*) 1250 *=*)
@@ -1243,7 +1252,7 @@ Try \`$0 --help' for more information."
1243 # Reject names that are not valid shell variable names. 1252 # Reject names that are not valid shell variable names.
1244 case $ac_envvar in #( 1253 case $ac_envvar in #(
1245 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
1246 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1255 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247 esac 1256 esac
1248 eval $ac_envvar=\$ac_optarg 1257 eval $ac_envvar=\$ac_optarg
1249 export $ac_envvar ;; 1258 export $ac_envvar ;;
@@ -1253,7 +1262,7 @@ Try \`$0 --help' for more information."
1253 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1255 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1257 ;; 1266 ;;
1258 1267
1259 esac 1268 esac
@@ -1261,13 +1270,13 @@ done
1261 1270
1262if test -n "$ac_prev"; then 1271if test -n "$ac_prev"; then
1263 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1264 as_fn_error "missing argument to $ac_option" 1273 as_fn_error $? "missing argument to $ac_option"
1265fi 1274fi
1266 1275
1267if test -n "$ac_unrecognized_opts"; then 1276if test -n "$ac_unrecognized_opts"; then
1268 case $enable_option_checking in 1277 case $enable_option_checking in
1269 no) ;; 1278 no) ;;
1270 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1279 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 esac 1281 esac
1273fi 1282fi
@@ -1290,7 +1299,7 @@ do
1290 [\\/$]* | ?:[\\/]* ) continue;; 1299 [\\/$]* | ?:[\\/]* ) continue;;
1291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 esac 1301 esac
1293 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1302 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1294done 1303done
1295 1304
1296# There might be people who depend on the old broken behavior: `$host' 1305# There might be people who depend on the old broken behavior: `$host'
@@ -1304,8 +1313,8 @@ target=$target_alias
1304if test "x$host_alias" != x; then 1313if test "x$host_alias" != x; then
1305 if test "x$build_alias" = x; then 1314 if test "x$build_alias" = x; then
1306 cross_compiling=maybe 1315 cross_compiling=maybe
1307 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1316 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1308 If a cross compiler is detected then cross compile mode will be used." >&2 1317 If a cross compiler is detected then cross compile mode will be used" >&2
1309 elif test "x$build_alias" != "x$host_alias"; then 1318 elif test "x$build_alias" != "x$host_alias"; then
1310 cross_compiling=yes 1319 cross_compiling=yes
1311 fi 1320 fi
@@ -1320,9 +1329,9 @@ test "$silent" = yes && exec 6>/dev/null
1320ac_pwd=`pwd` && test -n "$ac_pwd" && 1329ac_pwd=`pwd` && test -n "$ac_pwd" &&
1321ac_ls_di=`ls -di .` && 1330ac_ls_di=`ls -di .` &&
1322ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1331ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1323 as_fn_error "working directory cannot be determined" 1332 as_fn_error $? "working directory cannot be determined"
1324test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1333test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 as_fn_error "pwd does not report name of working directory" 1334 as_fn_error $? "pwd does not report name of working directory"
1326 1335
1327 1336
1328# Find the source files, if location was not specified. 1337# Find the source files, if location was not specified.
@@ -1361,11 +1370,11 @@ else
1361fi 1370fi
1362if test ! -r "$srcdir/$ac_unique_file"; then 1371if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365fi 1374fi
1366ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367ac_abs_confdir=`( 1376ac_abs_confdir=`(
1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 pwd)` 1378 pwd)`
1370# When building in place, set srcdir=. 1379# When building in place, set srcdir=.
1371if test "$ac_abs_confdir" = "$ac_pwd"; then 1380if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1405,7 +1414,7 @@ Configuration:
1405 --help=short display options specific to this package 1414 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages 1415 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit 1416 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages 1417 -q, --quiet, --silent do not print \`checking ...' messages
1409 --cache-file=FILE cache test results in FILE [disabled] 1418 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache' 1419 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files 1420 -n, --no-create do not create output files
@@ -1624,9 +1633,9 @@ test -n "$ac_init_help" && exit $ac_status
1624if $ac_init_version; then 1633if $ac_init_version; then
1625 cat <<\_ACEOF 1634 cat <<\_ACEOF
1626emacs configure 24.0.50 1635emacs configure 24.0.50
1627generated by GNU Autoconf 2.65 1636generated by GNU Autoconf 2.68
1628 1637
1629Copyright (C) 2009 Free Software Foundation, Inc. 1638Copyright (C) 2010 Free Software Foundation, Inc.
1630This configure script is free software; the Free Software Foundation 1639This configure script is free software; the Free Software Foundation
1631gives unlimited permission to copy, distribute and modify it. 1640gives unlimited permission to copy, distribute and modify it.
1632_ACEOF 1641_ACEOF
@@ -1670,7 +1679,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1670 1679
1671 ac_retval=1 1680 ac_retval=1
1672fi 1681fi
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval 1683 as_fn_set_status $ac_retval
1675 1684
1676} # ac_fn_c_try_compile 1685} # ac_fn_c_try_compile
@@ -1716,7 +1725,7 @@ fi
1716 # interfere with the next link command; also delete a directory that is 1725 # interfere with the next link command; also delete a directory that is
1717 # left behind by Apple's compiler. We do this before executing the actions. 1726 # left behind by Apple's compiler. We do this before executing the actions.
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval 1729 as_fn_set_status $ac_retval
1721 1730
1722} # ac_fn_c_try_link 1731} # ac_fn_c_try_link
@@ -1742,7 +1751,7 @@ $as_echo "$ac_try_echo"; } >&5
1742 mv -f conftest.er1 conftest.err 1751 mv -f conftest.er1 conftest.err
1743 fi 1752 fi
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } >/dev/null && { 1754 test $ac_status = 0; } > conftest.i && {
1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1747 test ! -s conftest.err 1756 test ! -s conftest.err
1748 }; then : 1757 }; then :
@@ -1753,7 +1762,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1753 1762
1754 ac_retval=1 1763 ac_retval=1
1755fi 1764fi
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval 1766 as_fn_set_status $ac_retval
1758 1767
1759} # ac_fn_c_try_cpp 1768} # ac_fn_c_try_cpp
@@ -1766,10 +1775,10 @@ fi
1766ac_fn_c_check_header_mongrel () 1775ac_fn_c_check_header_mongrel ()
1767{ 1776{
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1778 if eval \${$3+:} false; then :
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771$as_echo_n "checking for $2... " >&6; } 1780$as_echo_n "checking for $2... " >&6; }
1772if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1781if eval \${$3+:} false; then :
1773 $as_echo_n "(cached) " >&6 1782 $as_echo_n "(cached) " >&6
1774fi 1783fi
1775eval ac_res=\$$3 1784eval ac_res=\$$3
@@ -1805,7 +1814,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1805else 1814else
1806 ac_header_preproc=no 1815 ac_header_preproc=no
1807fi 1816fi
1808rm -f conftest.err conftest.$ac_ext 1817rm -f conftest.err conftest.i conftest.$ac_ext
1809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1810$as_echo "$ac_header_preproc" >&6; } 1819$as_echo "$ac_header_preproc" >&6; }
1811 1820
@@ -1832,7 +1841,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832esac 1841esac
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834$as_echo_n "checking for $2... " >&6; } 1843$as_echo_n "checking for $2... " >&6; }
1835if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1844if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6 1845 $as_echo_n "(cached) " >&6
1837else 1846else
1838 eval "$3=\$ac_header_compiler" 1847 eval "$3=\$ac_header_compiler"
@@ -1841,7 +1850,7 @@ eval ac_res=\$$3
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842$as_echo "$ac_res" >&6; } 1851$as_echo "$ac_res" >&6; }
1843fi 1852fi
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 1854
1846} # ac_fn_c_check_header_mongrel 1855} # ac_fn_c_check_header_mongrel
1847 1856
@@ -1882,7 +1891,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
1882 ac_retval=$ac_status 1891 ac_retval=$ac_status
1883fi 1892fi
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_status $ac_retval 1895 as_fn_set_status $ac_retval
1887 1896
1888} # ac_fn_c_try_run 1897} # ac_fn_c_try_run
@@ -1896,7 +1905,7 @@ ac_fn_c_check_header_compile ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898$as_echo_n "checking for $2... " >&6; } 1907$as_echo_n "checking for $2... " >&6; }
1899if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1908if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6 1909 $as_echo_n "(cached) " >&6
1901else 1910else
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1914,19 +1923,22 @@ fi
1914eval ac_res=\$$3 1923eval ac_res=\$$3
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916$as_echo "$ac_res" >&6; } 1925$as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 1927
1919} # ac_fn_c_check_header_compile 1928} # ac_fn_c_check_header_compile
1920 1929
1921# ac_fn_c_check_decl LINENO SYMBOL VAR 1930# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1922# ------------------------------------ 1931# ---------------------------------------------
1923# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1932# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1933# accordingly.
1924ac_fn_c_check_decl () 1934ac_fn_c_check_decl ()
1925{ 1935{
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1937 as_decl_name=`echo $2|sed 's/ *(.*//'`
1928$as_echo_n "checking whether $2 is declared... " >&6; } 1938 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1929if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1940$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1941if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6 1942 $as_echo_n "(cached) " >&6
1931else 1943else
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1935,8 +1947,12 @@ $4
1935int 1947int
1936main () 1948main ()
1937{ 1949{
1938#ifndef $2 1950#ifndef $as_decl_name
1939 (void) $2; 1951#ifdef __cplusplus
1952 (void) $as_decl_use;
1953#else
1954 (void) $as_decl_name;
1955#endif
1940#endif 1956#endif
1941 1957
1942 ; 1958 ;
@@ -1953,7 +1969,7 @@ fi
1953eval ac_res=\$$3 1969eval ac_res=\$$3
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955$as_echo "$ac_res" >&6; } 1971$as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 1973
1958} # ac_fn_c_check_decl 1974} # ac_fn_c_check_decl
1959 1975
@@ -1965,7 +1981,7 @@ ac_fn_c_check_header_preproc ()
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967$as_echo_n "checking for $2... " >&6; } 1983$as_echo_n "checking for $2... " >&6; }
1968if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1984if eval \${$3+:} false; then :
1969 $as_echo_n "(cached) " >&6 1985 $as_echo_n "(cached) " >&6
1970else 1986else
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1977,12 +1993,12 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1977else 1993else
1978 eval "$3=no" 1994 eval "$3=no"
1979fi 1995fi
1980rm -f conftest.err conftest.$ac_ext 1996rm -f conftest.err conftest.i conftest.$ac_ext
1981fi 1997fi
1982eval ac_res=\$$3 1998eval ac_res=\$$3
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984$as_echo "$ac_res" >&6; } 2000$as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 2002
1987} # ac_fn_c_check_header_preproc 2003} # ac_fn_c_check_header_preproc
1988 2004
@@ -1995,7 +2011,7 @@ ac_fn_c_check_member ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1997$as_echo_n "checking for $2.$3... " >&6; } 2013$as_echo_n "checking for $2.$3... " >&6; }
1998if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2014if eval \${$4+:} false; then :
1999 $as_echo_n "(cached) " >&6 2015 $as_echo_n "(cached) " >&6
2000else 2016else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2039,7 +2055,7 @@ fi
2039eval ac_res=\$$4 2055eval ac_res=\$$4
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041$as_echo "$ac_res" >&6; } 2057$as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 2059
2044} # ac_fn_c_check_member 2060} # ac_fn_c_check_member
2045 2061
@@ -2051,7 +2067,7 @@ ac_fn_c_check_func ()
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053$as_echo_n "checking for $2... " >&6; } 2069$as_echo_n "checking for $2... " >&6; }
2054if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2070if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6 2071 $as_echo_n "(cached) " >&6
2056else 2072else
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2106,7 +2122,7 @@ fi
2106eval ac_res=\$$3 2122eval ac_res=\$$3
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108$as_echo "$ac_res" >&6; } 2124$as_echo "$ac_res" >&6; }
2109 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 2126
2111} # ac_fn_c_check_func 2127} # ac_fn_c_check_func
2112 2128
@@ -2119,7 +2135,7 @@ ac_fn_c_check_type ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; } 2137$as_echo_n "checking for $2... " >&6; }
2122if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2138if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6 2139 $as_echo_n "(cached) " >&6
2124else 2140else
2125 eval "$3=no" 2141 eval "$3=no"
@@ -2160,7 +2176,7 @@ fi
2160eval ac_res=\$$3 2176eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162$as_echo "$ac_res" >&6; } 2178$as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 2180
2165} # ac_fn_c_check_type 2181} # ac_fn_c_check_type
2166cat >config.log <<_ACEOF 2182cat >config.log <<_ACEOF
@@ -2168,7 +2184,7 @@ This file contains any messages produced by compilers while
2168running configure, to aid debugging if configure makes a mistake. 2184running configure, to aid debugging if configure makes a mistake.
2169 2185
2170It was created by emacs $as_me 24.0.50, which was 2186It was created by emacs $as_me 24.0.50, which was
2171generated by GNU Autoconf 2.65. Invocation command line was 2187generated by GNU Autoconf 2.68. Invocation command line was
2172 2188
2173 $ $0 $@ 2189 $ $0 $@
2174 2190
@@ -2278,11 +2294,9 @@ trap 'exit_status=$?
2278 { 2294 {
2279 echo 2295 echo
2280 2296
2281 cat <<\_ASBOX 2297 $as_echo "## ---------------- ##
2282## ---------------- ##
2283## Cache variables. ## 2298## Cache variables. ##
2284## ---------------- ## 2299## ---------------- ##"
2285_ASBOX
2286 echo 2300 echo
2287 # The following way of writing the cache mishandles newlines in values, 2301 # The following way of writing the cache mishandles newlines in values,
2288( 2302(
@@ -2316,11 +2330,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2316) 2330)
2317 echo 2331 echo
2318 2332
2319 cat <<\_ASBOX 2333 $as_echo "## ----------------- ##
2320## ----------------- ##
2321## Output variables. ## 2334## Output variables. ##
2322## ----------------- ## 2335## ----------------- ##"
2323_ASBOX
2324 echo 2336 echo
2325 for ac_var in $ac_subst_vars 2337 for ac_var in $ac_subst_vars
2326 do 2338 do
@@ -2333,11 +2345,9 @@ _ASBOX
2333 echo 2345 echo
2334 2346
2335 if test -n "$ac_subst_files"; then 2347 if test -n "$ac_subst_files"; then
2336 cat <<\_ASBOX 2348 $as_echo "## ------------------- ##
2337## ------------------- ##
2338## File substitutions. ## 2349## File substitutions. ##
2339## ------------------- ## 2350## ------------------- ##"
2340_ASBOX
2341 echo 2351 echo
2342 for ac_var in $ac_subst_files 2352 for ac_var in $ac_subst_files
2343 do 2353 do
@@ -2351,11 +2361,9 @@ _ASBOX
2351 fi 2361 fi
2352 2362
2353 if test -s confdefs.h; then 2363 if test -s confdefs.h; then
2354 cat <<\_ASBOX 2364 $as_echo "## ----------- ##
2355## ----------- ##
2356## confdefs.h. ## 2365## confdefs.h. ##
2357## ----------- ## 2366## ----------- ##"
2358_ASBOX
2359 echo 2367 echo
2360 cat confdefs.h 2368 cat confdefs.h
2361 echo 2369 echo
@@ -2410,7 +2418,12 @@ _ACEOF
2410ac_site_file1=NONE 2418ac_site_file1=NONE
2411ac_site_file2=NONE 2419ac_site_file2=NONE
2412if test -n "$CONFIG_SITE"; then 2420if test -n "$CONFIG_SITE"; then
2413 ac_site_file1=$CONFIG_SITE 2421 # We do not want a PATH search for config.site.
2422 case $CONFIG_SITE in #((
2423 -*) ac_site_file1=./$CONFIG_SITE;;
2424 */*) ac_site_file1=$CONFIG_SITE;;
2425 *) ac_site_file1=./$CONFIG_SITE;;
2426 esac
2414elif test "x$prefix" != xNONE; then 2427elif test "x$prefix" != xNONE; then
2415 ac_site_file1=$prefix/share/config.site 2428 ac_site_file1=$prefix/share/config.site
2416 ac_site_file2=$prefix/etc/config.site 2429 ac_site_file2=$prefix/etc/config.site
@@ -2425,7 +2438,11 @@ do
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2426$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2439$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2427 sed 's/^/| /' "$ac_site_file" >&5 2440 sed 's/^/| /' "$ac_site_file" >&5
2428 . "$ac_site_file" 2441 . "$ac_site_file" \
2442 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444as_fn_error $? "failed to load site script $ac_site_file
2445See \`config.log' for more details" "$LINENO" 5; }
2429 fi 2446 fi
2430done 2447done
2431 2448
@@ -2506,7 +2523,7 @@ if $ac_cache_corrupted; then
2506$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2508$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2525$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2509 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2526 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2510fi 2527fi
2511## -------------------- ## 2528## -------------------- ##
2512## Main body of script. ## 2529## Main body of script. ##
@@ -2680,7 +2697,7 @@ if test "${with_x_toolkit+set}" = set; then :
2680 g | gt | gtk ) val=gtk ;; 2697 g | gt | gtk ) val=gtk ;;
2681 gtk3 ) val=gtk3 ;; 2698 gtk3 ) val=gtk3 ;;
2682 * ) 2699 * )
2683as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2700as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
2684this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2701this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
2685\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2702\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2686 ;; 2703 ;;
@@ -2983,7 +3000,7 @@ do
2983 stringfreelist) ac_gc_check_string_free_list=1 ;; 3000 stringfreelist) ac_gc_check_string_free_list=1 ;;
2984 xmallocoverrun) ac_xmalloc_overrun=1 ;; 3001 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2985 conslist) ac_gc_check_cons_list=1 ;; 3002 conslist) ac_gc_check_cons_list=1 ;;
2986 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 3003 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
2987 esac 3004 esac
2988done 3005done
2989IFS="$ac_save_IFS" 3006IFS="$ac_save_IFS"
@@ -3098,16 +3115,22 @@ fi
3098 3115
3099ac_aux_dir= 3116ac_aux_dir=
3100for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3117for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3101 for ac_t in install-sh install.sh shtool; do 3118 if test -f "$ac_dir/install-sh"; then
3102 if test -f "$ac_dir/$ac_t"; then 3119 ac_aux_dir=$ac_dir
3103 ac_aux_dir=$ac_dir 3120 ac_install_sh="$ac_aux_dir/install-sh -c"
3104 ac_install_sh="$ac_aux_dir/$ac_t -c" 3121 break
3105 break 2 3122 elif test -f "$ac_dir/install.sh"; then
3106 fi 3123 ac_aux_dir=$ac_dir
3107 done 3124 ac_install_sh="$ac_aux_dir/install.sh -c"
3125 break
3126 elif test -f "$ac_dir/shtool"; then
3127 ac_aux_dir=$ac_dir
3128 ac_install_sh="$ac_aux_dir/shtool install -c"
3129 break
3130 fi
3108done 3131done
3109if test -z "$ac_aux_dir"; then 3132if test -z "$ac_aux_dir"; then
3110 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3133 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3111fi 3134fi
3112 3135
3113# These three variables are undocumented and unsupported, 3136# These three variables are undocumented and unsupported,
@@ -3121,27 +3144,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3121 3144
3122# Make sure we can run config.sub. 3145# Make sure we can run config.sub.
3123$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3146$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3124 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3147 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3125 3148
3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3127$as_echo_n "checking build system type... " >&6; } 3150$as_echo_n "checking build system type... " >&6; }
3128if test "${ac_cv_build+set}" = set; then : 3151if ${ac_cv_build+:} false; then :
3129 $as_echo_n "(cached) " >&6 3152 $as_echo_n "(cached) " >&6
3130else 3153else
3131 ac_build_alias=$build_alias 3154 ac_build_alias=$build_alias
3132test "x$ac_build_alias" = x && 3155test "x$ac_build_alias" = x &&
3133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3156 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3134test "x$ac_build_alias" = x && 3157test "x$ac_build_alias" = x &&
3135 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3158 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3136ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3159ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3160 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3138 3161
3139fi 3162fi
3140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3141$as_echo "$ac_cv_build" >&6; } 3164$as_echo "$ac_cv_build" >&6; }
3142case $ac_cv_build in 3165case $ac_cv_build in
3143*-*-*) ;; 3166*-*-*) ;;
3144*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3167*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3145esac 3168esac
3146build=$ac_cv_build 3169build=$ac_cv_build
3147ac_save_IFS=$IFS; IFS='-' 3170ac_save_IFS=$IFS; IFS='-'
@@ -3159,14 +3182,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3159 3182
3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3161$as_echo_n "checking host system type... " >&6; } 3184$as_echo_n "checking host system type... " >&6; }
3162if test "${ac_cv_host+set}" = set; then : 3185if ${ac_cv_host+:} false; then :
3163 $as_echo_n "(cached) " >&6 3186 $as_echo_n "(cached) " >&6
3164else 3187else
3165 if test "x$host_alias" = x; then 3188 if test "x$host_alias" = x; then
3166 ac_cv_host=$ac_cv_build 3189 ac_cv_host=$ac_cv_build
3167else 3190else
3168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3191 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3169 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3192 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3170fi 3193fi
3171 3194
3172fi 3195fi
@@ -3174,7 +3197,7 @@ fi
3174$as_echo "$ac_cv_host" >&6; } 3197$as_echo "$ac_cv_host" >&6; }
3175case $ac_cv_host in 3198case $ac_cv_host in
3176*-*-*) ;; 3199*-*-*) ;;
3177*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3200*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3178esac 3201esac
3179host=$ac_cv_host 3202host=$ac_cv_host
3180ac_save_IFS=$IFS; IFS='-' 3203ac_save_IFS=$IFS; IFS='-'
@@ -3216,13 +3239,27 @@ configuration=${host_alias-${build_alias-$host}}
3216machine='' opsys='' unported=no 3239machine='' opsys='' unported=no
3217case "${canonical}" in 3240case "${canonical}" in
3218 3241
3242 ## GNU/Linux ports
3243 *-*-linux-gnu*)
3244 opsys=gnu-linux
3245 case ${canonical} in
3246 alpha*) machine=alpha ;;
3247 s390-*) machine=ibms390 ;;
3248 s390x-*) machine=ibms390x ;;
3249 powerpc*) machine=macppc ;;
3250 sparc*) machine=sparc ;;
3251 ia64*) machine=ia64 ;;
3252 m68k*) machine=m68k ;;
3253 x86_64*) machine=amdx86-64 ;;
3254 esac
3255 ;;
3256
3219 ## FreeBSD ports 3257 ## FreeBSD ports
3220 *-*-freebsd* ) 3258 *-*-freebsd* )
3221 opsys=freebsd 3259 opsys=freebsd
3222 case "${canonical}" in 3260 case "${canonical}" in
3223 alpha*) machine=alpha ;; 3261 alpha*) machine=alpha ;;
3224 amd64-*|x86_64-*) machine=amdx86-64 ;; 3262 amd64-*|x86_64-*) machine=amdx86-64 ;;
3225 arm*) machine=arm ;;
3226 ia64-*) machine=ia64 ;; 3263 ia64-*) machine=ia64 ;;
3227 i[3456]86-*) machine=intel386 ;; 3264 i[3456]86-*) machine=intel386 ;;
3228 powerpc-*) machine=macppc ;; 3265 powerpc-*) machine=macppc ;;
@@ -3251,13 +3288,9 @@ case "${canonical}" in
3251 case "${canonical}" in 3288 case "${canonical}" in
3252 alpha*) machine=alpha ;; 3289 alpha*) machine=alpha ;;
3253 x86_64-*) machine=amdx86-64 ;; 3290 x86_64-*) machine=amdx86-64 ;;
3254 arm-*) machine=arm ;;
3255 hppa-*) machine=hp800 ;;
3256 i[3456]86-*) machine=intel386 ;; 3291 i[3456]86-*) machine=intel386 ;;
3257 m68k-*) machine=m68k ;; 3292 m68k-*) machine=m68k ;;
3258 powerpc-*) machine=macppc ;; 3293 powerpc-*) machine=macppc ;;
3259 mips-*) machine=mips ;;
3260 mipse[bl]-*) machine=mips ;;
3261 sparc*-) machine=sparc ;; 3294 sparc*-) machine=sparc ;;
3262 vax-*) machine=vax ;; 3295 vax-*) machine=vax ;;
3263 esac 3296 esac
@@ -3269,8 +3302,6 @@ case "${canonical}" in
3269 case "${canonical}" in 3302 case "${canonical}" in
3270 alpha*) machine=alpha ;; 3303 alpha*) machine=alpha ;;
3271 x86_64-*) machine=amdx86-64 ;; 3304 x86_64-*) machine=amdx86-64 ;;
3272 arm-*) machine=arm ;;
3273 hppa-*) machine=hp800 ;;
3274 i386-*) machine=intel386 ;; 3305 i386-*) machine=intel386 ;;
3275 powerpc-*) machine=macppc ;; 3306 powerpc-*) machine=macppc ;;
3276 sparc*) machine=sparc ;; 3307 sparc*) machine=sparc ;;
@@ -3278,14 +3309,6 @@ case "${canonical}" in
3278 esac 3309 esac
3279 ;; 3310 ;;
3280 3311
3281 alpha*-*-linux-gnu* )
3282 machine=alpha opsys=gnu-linux
3283 ;;
3284
3285 arm*-*-linux-gnu* )
3286 machine=arm opsys=gnu-linux
3287 ;;
3288
3289 ## Apple Darwin / Mac OS X 3312 ## Apple Darwin / Mac OS X
3290 *-apple-darwin* ) 3313 *-apple-darwin* )
3291 case "${canonical}" in 3314 case "${canonical}" in
@@ -3307,24 +3330,14 @@ case "${canonical}" in
3307 3330
3308 ## HP 9000 series 700 and 800, running HP/UX 3331 ## HP 9000 series 700 and 800, running HP/UX
3309 hppa*-hp-hpux10.2* ) 3332 hppa*-hp-hpux10.2* )
3310 machine=hp800 opsys=hpux10-20 3333 opsys=hpux10-20
3311 ;; 3334 ;;
3312 hppa*-hp-hpux1[1-9]* ) 3335 hppa*-hp-hpux1[1-9]* )
3313 machine=hp800 opsys=hpux11 3336 opsys=hpux11
3314 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" 3337 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
3315 ;; 3338 ;;
3316 3339
3317 hppa*-*-linux-gnu* )
3318 machine=hp800 opsys=gnu-linux
3319 ;;
3320
3321 ## IBM machines 3340 ## IBM machines
3322 s390-*-linux-gnu* )
3323 machine=ibms390 opsys=gnu-linux
3324 ;;
3325 s390x-*-linux-gnu* )
3326 machine=ibms390x opsys=gnu-linux
3327 ;;
3328 rs6000-ibm-aix4.[23]* ) 3341 rs6000-ibm-aix4.[23]* )
3329 machine=ibmrs6000 opsys=aix4-2 3342 machine=ibmrs6000 opsys=aix4-2
3330 ;; 3343 ;;
@@ -3338,11 +3351,6 @@ case "${canonical}" in
3338 machine=ibmrs6000 opsys=aix4-2 3351 machine=ibmrs6000 opsys=aix4-2
3339 ;; 3352 ;;
3340 3353
3341 ## Macintosh PowerPC
3342 powerpc*-*-linux-gnu* )
3343 machine=macppc opsys=gnu-linux
3344 ;;
3345
3346 ## Silicon Graphics machines 3354 ## Silicon Graphics machines
3347 ## Iris 4D 3355 ## Iris 4D
3348 mips-sgi-irix6.5 ) 3356 mips-sgi-irix6.5 )
@@ -3355,10 +3363,6 @@ case "${canonical}" in
3355 ;; 3363 ;;
3356 3364
3357 ## Suns 3365 ## Suns
3358 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
3359 machine=sparc opsys=gnu-linux
3360 ;;
3361
3362 *-sun-solaris* \ 3366 *-sun-solaris* \
3363 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \ 3367 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \
3364 | x86_64-*-solaris2* | x86_64-*-sunos5*) 3368 | x86_64-*-solaris2* | x86_64-*-sunos5*)
@@ -3398,11 +3402,6 @@ case "${canonical}" in
3398 esac 3402 esac
3399 ;; 3403 ;;
3400 3404
3401 ## IA-64
3402 ia64*-*-linux* )
3403 machine=ia64 opsys=gnu-linux
3404 ;;
3405
3406 ## Intel 386 machines where we don't care about the manufacturer. 3405 ## Intel 386 machines where we don't care about the manufacturer.
3407 i[3456]86-*-* ) 3406 i[3456]86-*-* )
3408 machine=intel386 3407 machine=intel386
@@ -3411,7 +3410,6 @@ case "${canonical}" in
3411 *-darwin* ) opsys=darwin 3410 *-darwin* ) opsys=darwin
3412 CPP="${CC-cc} -E -no-cpp-precomp" 3411 CPP="${CC-cc} -E -no-cpp-precomp"
3413 ;; 3412 ;;
3414 *-linux-gnu* ) opsys=gnu-linux ;;
3415 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 3413 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
3416 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 3414 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
3417 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 3415 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
@@ -3419,32 +3417,6 @@ case "${canonical}" in
3419 esac 3417 esac
3420 ;; 3418 ;;
3421 3419
3422 ## m68k Linux-based GNU system
3423 m68k-*-linux-gnu* )
3424 machine=m68k opsys=gnu-linux
3425 ;;
3426
3427 ## Mips Linux-based GNU system
3428 mips-*-linux-gnu* | mipsel-*-linux-gnu* \
3429 | mips64-*-linux-gnu* | mips64el-*-linux-gnu* )
3430 machine=mips opsys=gnu-linux
3431 ;;
3432
3433 ## AMD x86-64 Linux-based GNU system
3434 x86_64-*-linux-gnu* )
3435 machine=amdx86-64 opsys=gnu-linux
3436 ;;
3437
3438 ## Tensilica Xtensa Linux-based GNU system
3439 xtensa*-*-linux-gnu* )
3440 machine=xtensa opsys=gnu-linux
3441 ;;
3442
3443 ## SuperH Linux-based GNU system
3444 sh[34]*-*-linux-gnu* )
3445 machine=sh3 opsys=gnu-linux
3446 ;;
3447
3448 * ) 3420 * )
3449 unported=yes 3421 unported=yes
3450 ;; 3422 ;;
@@ -3468,11 +3440,15 @@ fi
3468 3440
3469 3441
3470if test $unported = yes; then 3442if test $unported = yes; then
3471 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 3443 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
3472Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3444Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3473fi 3445fi
3474 3446
3475machfile="m/${machine}.h" 3447if test -n "$machine"; then
3448 machfile="m/${machine}.h"
3449else
3450 machfile=
3451fi
3476opsysfile="s/${opsys}.h" 3452opsysfile="s/${opsys}.h"
3477 3453
3478 3454
@@ -3492,7 +3468,7 @@ if test -n "$ac_tool_prefix"; then
3492set dummy ${ac_tool_prefix}gcc; ac_word=$2 3468set dummy ${ac_tool_prefix}gcc; ac_word=$2
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494$as_echo_n "checking for $ac_word... " >&6; } 3470$as_echo_n "checking for $ac_word... " >&6; }
3495if test "${ac_cv_prog_CC+set}" = set; then : 3471if ${ac_cv_prog_CC+:} false; then :
3496 $as_echo_n "(cached) " >&6 3472 $as_echo_n "(cached) " >&6
3497else 3473else
3498 if test -n "$CC"; then 3474 if test -n "$CC"; then
@@ -3532,7 +3508,7 @@ if test -z "$ac_cv_prog_CC"; then
3532set dummy gcc; ac_word=$2 3508set dummy gcc; ac_word=$2
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534$as_echo_n "checking for $ac_word... " >&6; } 3510$as_echo_n "checking for $ac_word... " >&6; }
3535if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3511if ${ac_cv_prog_ac_ct_CC+:} false; then :
3536 $as_echo_n "(cached) " >&6 3512 $as_echo_n "(cached) " >&6
3537else 3513else
3538 if test -n "$ac_ct_CC"; then 3514 if test -n "$ac_ct_CC"; then
@@ -3585,7 +3561,7 @@ if test -z "$CC"; then
3585set dummy ${ac_tool_prefix}cc; ac_word=$2 3561set dummy ${ac_tool_prefix}cc; ac_word=$2
3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587$as_echo_n "checking for $ac_word... " >&6; } 3563$as_echo_n "checking for $ac_word... " >&6; }
3588if test "${ac_cv_prog_CC+set}" = set; then : 3564if ${ac_cv_prog_CC+:} false; then :
3589 $as_echo_n "(cached) " >&6 3565 $as_echo_n "(cached) " >&6
3590else 3566else
3591 if test -n "$CC"; then 3567 if test -n "$CC"; then
@@ -3625,7 +3601,7 @@ if test -z "$CC"; then
3625set dummy cc; ac_word=$2 3601set dummy cc; ac_word=$2
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627$as_echo_n "checking for $ac_word... " >&6; } 3603$as_echo_n "checking for $ac_word... " >&6; }
3628if test "${ac_cv_prog_CC+set}" = set; then : 3604if ${ac_cv_prog_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6 3605 $as_echo_n "(cached) " >&6
3630else 3606else
3631 if test -n "$CC"; then 3607 if test -n "$CC"; then
@@ -3684,7 +3660,7 @@ if test -z "$CC"; then
3684set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3660set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686$as_echo_n "checking for $ac_word... " >&6; } 3662$as_echo_n "checking for $ac_word... " >&6; }
3687if test "${ac_cv_prog_CC+set}" = set; then : 3663if ${ac_cv_prog_CC+:} false; then :
3688 $as_echo_n "(cached) " >&6 3664 $as_echo_n "(cached) " >&6
3689else 3665else
3690 if test -n "$CC"; then 3666 if test -n "$CC"; then
@@ -3728,7 +3704,7 @@ do
3728set dummy $ac_prog; ac_word=$2 3704set dummy $ac_prog; ac_word=$2
3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730$as_echo_n "checking for $ac_word... " >&6; } 3706$as_echo_n "checking for $ac_word... " >&6; }
3731if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3707if ${ac_cv_prog_ac_ct_CC+:} false; then :
3732 $as_echo_n "(cached) " >&6 3708 $as_echo_n "(cached) " >&6
3733else 3709else
3734 if test -n "$ac_ct_CC"; then 3710 if test -n "$ac_ct_CC"; then
@@ -3782,8 +3758,8 @@ fi
3782 3758
3783test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3759test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3760$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785as_fn_error "no acceptable C compiler found in \$PATH 3761as_fn_error $? "no acceptable C compiler found in \$PATH
3786See \`config.log' for more details." "$LINENO" 5; } 3762See \`config.log' for more details" "$LINENO" 5; }
3787 3763
3788# Provide some information about the compiler. 3764# Provide some information about the compiler.
3789$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3765$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3897,9 +3873,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3897 3873
3898{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3874{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3875$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900{ as_fn_set_status 77 3876as_fn_error 77 "C compiler cannot create executables
3901as_fn_error "C compiler cannot create executables 3877See \`config.log' for more details" "$LINENO" 5; }
3902See \`config.log' for more details." "$LINENO" 5; }; }
3903else 3878else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3905$as_echo "yes" >&6; } 3880$as_echo "yes" >&6; }
@@ -3941,8 +3916,8 @@ done
3941else 3916else
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944as_fn_error "cannot compute suffix of executables: cannot compile and link 3919as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3945See \`config.log' for more details." "$LINENO" 5; } 3920See \`config.log' for more details" "$LINENO" 5; }
3946fi 3921fi
3947rm -f conftest conftest$ac_cv_exeext 3922rm -f conftest conftest$ac_cv_exeext
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3999,9 +3974,9 @@ $as_echo "$ac_try_echo"; } >&5
3999 else 3974 else
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3976$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002as_fn_error "cannot run C compiled programs. 3977as_fn_error $? "cannot run C compiled programs.
4003If you meant to cross compile, use \`--host'. 3978If you meant to cross compile, use \`--host'.
4004See \`config.log' for more details." "$LINENO" 5; } 3979See \`config.log' for more details" "$LINENO" 5; }
4005 fi 3980 fi
4006 fi 3981 fi
4007fi 3982fi
@@ -4012,7 +3987,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4012ac_clean_files=$ac_clean_files_save 3987ac_clean_files=$ac_clean_files_save
4013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4014$as_echo_n "checking for suffix of object files... " >&6; } 3989$as_echo_n "checking for suffix of object files... " >&6; }
4015if test "${ac_cv_objext+set}" = set; then : 3990if ${ac_cv_objext+:} false; then :
4016 $as_echo_n "(cached) " >&6 3991 $as_echo_n "(cached) " >&6
4017else 3992else
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4052,8 +4027,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4052 4027
4053{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4028{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4029$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055as_fn_error "cannot compute suffix of object files: cannot compile 4030as_fn_error $? "cannot compute suffix of object files: cannot compile
4056See \`config.log' for more details." "$LINENO" 5; } 4031See \`config.log' for more details" "$LINENO" 5; }
4057fi 4032fi
4058rm -f conftest.$ac_cv_objext conftest.$ac_ext 4033rm -f conftest.$ac_cv_objext conftest.$ac_ext
4059fi 4034fi
@@ -4063,7 +4038,7 @@ OBJEXT=$ac_cv_objext
4063ac_objext=$OBJEXT 4038ac_objext=$OBJEXT
4064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4065$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4040$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4066if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4041if ${ac_cv_c_compiler_gnu+:} false; then :
4067 $as_echo_n "(cached) " >&6 4042 $as_echo_n "(cached) " >&6
4068else 4043else
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4100,7 +4075,7 @@ ac_test_CFLAGS=${CFLAGS+set}
4100ac_save_CFLAGS=$CFLAGS 4075ac_save_CFLAGS=$CFLAGS
4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4102$as_echo_n "checking whether $CC accepts -g... " >&6; } 4077$as_echo_n "checking whether $CC accepts -g... " >&6; }
4103if test "${ac_cv_prog_cc_g+set}" = set; then : 4078if ${ac_cv_prog_cc_g+:} false; then :
4104 $as_echo_n "(cached) " >&6 4079 $as_echo_n "(cached) " >&6
4105else 4080else
4106 ac_save_c_werror_flag=$ac_c_werror_flag 4081 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4178,7 +4153,7 @@ else
4178fi 4153fi
4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4180$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4155$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4181if test "${ac_cv_prog_cc_c89+set}" = set; then : 4156if ${ac_cv_prog_cc_c89+:} false; then :
4182 $as_echo_n "(cached) " >&6 4157 $as_echo_n "(cached) " >&6
4183else 4158else
4184 ac_cv_prog_cc_c89=no 4159 ac_cv_prog_cc_c89=no
@@ -4286,7 +4261,7 @@ if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
4287$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 4262$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4288 4263
4289if test "${emacs_cv_sunpro_c+set}" = set; then : 4264if ${emacs_cv_sunpro_c+:} false; then :
4290 $as_echo_n "(cached) " >&6 4265 $as_echo_n "(cached) " >&6
4291else 4266else
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4355,7 +4330,7 @@ if test -n "$CPP" && test -d "$CPP"; then
4355 CPP= 4330 CPP=
4356fi 4331fi
4357if test -z "$CPP"; then 4332if test -z "$CPP"; then
4358 if test "${ac_cv_prog_CPP+set}" = set; then : 4333 if ${ac_cv_prog_CPP+:} false; then :
4359 $as_echo_n "(cached) " >&6 4334 $as_echo_n "(cached) " >&6
4360else 4335else
4361 # Double quotes because CPP needs to be expanded 4336 # Double quotes because CPP needs to be expanded
@@ -4385,7 +4360,7 @@ else
4385 # Broken: fails on valid input. 4360 # Broken: fails on valid input.
4386continue 4361continue
4387fi 4362fi
4388rm -f conftest.err conftest.$ac_ext 4363rm -f conftest.err conftest.i conftest.$ac_ext
4389 4364
4390 # OK, works on sane cases. Now check whether nonexistent headers 4365 # OK, works on sane cases. Now check whether nonexistent headers
4391 # can be detected and how. 4366 # can be detected and how.
@@ -4401,11 +4376,11 @@ else
4401ac_preproc_ok=: 4376ac_preproc_ok=:
4402break 4377break
4403fi 4378fi
4404rm -f conftest.err conftest.$ac_ext 4379rm -f conftest.err conftest.i conftest.$ac_ext
4405 4380
4406done 4381done
4407# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4382# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4408rm -f conftest.err conftest.$ac_ext 4383rm -f conftest.i conftest.err conftest.$ac_ext
4409if $ac_preproc_ok; then : 4384if $ac_preproc_ok; then :
4410 break 4385 break
4411fi 4386fi
@@ -4444,7 +4419,7 @@ else
4444 # Broken: fails on valid input. 4419 # Broken: fails on valid input.
4445continue 4420continue
4446fi 4421fi
4447rm -f conftest.err conftest.$ac_ext 4422rm -f conftest.err conftest.i conftest.$ac_ext
4448 4423
4449 # OK, works on sane cases. Now check whether nonexistent headers 4424 # OK, works on sane cases. Now check whether nonexistent headers
4450 # can be detected and how. 4425 # can be detected and how.
@@ -4460,18 +4435,18 @@ else
4460ac_preproc_ok=: 4435ac_preproc_ok=:
4461break 4436break
4462fi 4437fi
4463rm -f conftest.err conftest.$ac_ext 4438rm -f conftest.err conftest.i conftest.$ac_ext
4464 4439
4465done 4440done
4466# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4441# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4467rm -f conftest.err conftest.$ac_ext 4442rm -f conftest.i conftest.err conftest.$ac_ext
4468if $ac_preproc_ok; then : 4443if $ac_preproc_ok; then :
4469 4444
4470else 4445else
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473as_fn_error "C preprocessor \"$CPP\" fails sanity check 4448as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4474See \`config.log' for more details." "$LINENO" 5; } 4449See \`config.log' for more details" "$LINENO" 5; }
4475fi 4450fi
4476 4451
4477ac_ext=c 4452ac_ext=c
@@ -4483,7 +4458,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4483 4458
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4485$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4460$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4486if test "${ac_cv_path_GREP+set}" = set; then : 4461if ${ac_cv_path_GREP+:} false; then :
4487 $as_echo_n "(cached) " >&6 4462 $as_echo_n "(cached) " >&6
4488else 4463else
4489 if test -z "$GREP"; then 4464 if test -z "$GREP"; then
@@ -4532,7 +4507,7 @@ esac
4532 done 4507 done
4533IFS=$as_save_IFS 4508IFS=$as_save_IFS
4534 if test -z "$ac_cv_path_GREP"; then 4509 if test -z "$ac_cv_path_GREP"; then
4535 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4510 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 fi 4511 fi
4537else 4512else
4538 ac_cv_path_GREP=$GREP 4513 ac_cv_path_GREP=$GREP
@@ -4546,7 +4521,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
4546 4521
4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4548$as_echo_n "checking for egrep... " >&6; } 4523$as_echo_n "checking for egrep... " >&6; }
4549if test "${ac_cv_path_EGREP+set}" = set; then : 4524if ${ac_cv_path_EGREP+:} false; then :
4550 $as_echo_n "(cached) " >&6 4525 $as_echo_n "(cached) " >&6
4551else 4526else
4552 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4527 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4598,7 +4573,7 @@ esac
4598 done 4573 done
4599IFS=$as_save_IFS 4574IFS=$as_save_IFS
4600 if test -z "$ac_cv_path_EGREP"; then 4575 if test -z "$ac_cv_path_EGREP"; then
4601 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4576 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 fi 4577 fi
4603else 4578else
4604 ac_cv_path_EGREP=$EGREP 4579 ac_cv_path_EGREP=$EGREP
@@ -4613,7 +4588,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
4613 4588
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4615$as_echo_n "checking for ANSI C header files... " >&6; } 4590$as_echo_n "checking for ANSI C header files... " >&6; }
4616if test "${ac_cv_header_stdc+set}" = set; then : 4591if ${ac_cv_header_stdc+:} false; then :
4617 $as_echo_n "(cached) " >&6 4592 $as_echo_n "(cached) " >&6
4618else 4593else
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4730,8 +4705,7 @@ do :
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4706ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4732" 4707"
4733eval as_val=\$$as_ac_Header 4708if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4734 if test "x$as_val" = x""yes; then :
4735 cat >>confdefs.h <<_ACEOF 4709 cat >>confdefs.h <<_ACEOF
4736#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4710#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737_ACEOF 4711_ACEOF
@@ -4743,7 +4717,7 @@ done
4743 4717
4744 4718
4745 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4719 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4746if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4720if test "x$ac_cv_header_minix_config_h" = xyes; then :
4747 MINIX=yes 4721 MINIX=yes
4748else 4722else
4749 MINIX= 4723 MINIX=
@@ -4765,7 +4739,7 @@ $as_echo "#define _MINIX 1" >>confdefs.h
4765 4739
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4767$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4741$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4768if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4742if ${ac_cv_safe_to_define___extensions__+:} false; then :
4769 $as_echo_n "(cached) " >&6 4743 $as_echo_n "(cached) " >&6
4770else 4744else
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4945,7 +4919,7 @@ if test -n "$CPP" && test -d "$CPP"; then
4945 CPP= 4919 CPP=
4946fi 4920fi
4947if test -z "$CPP"; then 4921if test -z "$CPP"; then
4948 if test "${ac_cv_prog_CPP+set}" = set; then : 4922 if ${ac_cv_prog_CPP+:} false; then :
4949 $as_echo_n "(cached) " >&6 4923 $as_echo_n "(cached) " >&6
4950else 4924else
4951 # Double quotes because CPP needs to be expanded 4925 # Double quotes because CPP needs to be expanded
@@ -4975,7 +4949,7 @@ else
4975 # Broken: fails on valid input. 4949 # Broken: fails on valid input.
4976continue 4950continue
4977fi 4951fi
4978rm -f conftest.err conftest.$ac_ext 4952rm -f conftest.err conftest.i conftest.$ac_ext
4979 4953
4980 # OK, works on sane cases. Now check whether nonexistent headers 4954 # OK, works on sane cases. Now check whether nonexistent headers
4981 # can be detected and how. 4955 # can be detected and how.
@@ -4991,11 +4965,11 @@ else
4991ac_preproc_ok=: 4965ac_preproc_ok=:
4992break 4966break
4993fi 4967fi
4994rm -f conftest.err conftest.$ac_ext 4968rm -f conftest.err conftest.i conftest.$ac_ext
4995 4969
4996done 4970done
4997# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4971# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4998rm -f conftest.err conftest.$ac_ext 4972rm -f conftest.i conftest.err conftest.$ac_ext
4999if $ac_preproc_ok; then : 4973if $ac_preproc_ok; then :
5000 break 4974 break
5001fi 4975fi
@@ -5034,7 +5008,7 @@ else
5034 # Broken: fails on valid input. 5008 # Broken: fails on valid input.
5035continue 5009continue
5036fi 5010fi
5037rm -f conftest.err conftest.$ac_ext 5011rm -f conftest.err conftest.i conftest.$ac_ext
5038 5012
5039 # OK, works on sane cases. Now check whether nonexistent headers 5013 # OK, works on sane cases. Now check whether nonexistent headers
5040 # can be detected and how. 5014 # can be detected and how.
@@ -5050,18 +5024,18 @@ else
5050ac_preproc_ok=: 5024ac_preproc_ok=:
5051break 5025break
5052fi 5026fi
5053rm -f conftest.err conftest.$ac_ext 5027rm -f conftest.err conftest.i conftest.$ac_ext
5054 5028
5055done 5029done
5056# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5030# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5057rm -f conftest.err conftest.$ac_ext 5031rm -f conftest.i conftest.err conftest.$ac_ext
5058if $ac_preproc_ok; then : 5032if $ac_preproc_ok; then :
5059 5033
5060else 5034else
5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5036$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5063as_fn_error "C preprocessor \"$CPP\" fails sanity check 5037as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5064See \`config.log' for more details." "$LINENO" 5; } 5038See \`config.log' for more details" "$LINENO" 5; }
5065fi 5039fi
5066 5040
5067ac_ext=c 5041ac_ext=c
@@ -5087,7 +5061,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5088$as_echo_n "checking for a BSD-compatible install... " >&6; } 5062$as_echo_n "checking for a BSD-compatible install... " >&6; }
5089if test -z "$INSTALL"; then 5063if test -z "$INSTALL"; then
5090if test "${ac_cv_path_install+set}" = set; then : 5064if ${ac_cv_path_install+:} false; then :
5091 $as_echo_n "(cached) " >&6 5065 $as_echo_n "(cached) " >&6
5092else 5066else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5169,7 +5143,7 @@ if test "x$RANLIB" = x; then
5169set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5143set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171$as_echo_n "checking for $ac_word... " >&6; } 5145$as_echo_n "checking for $ac_word... " >&6; }
5172if test "${ac_cv_prog_RANLIB+set}" = set; then : 5146if ${ac_cv_prog_RANLIB+:} false; then :
5173 $as_echo_n "(cached) " >&6 5147 $as_echo_n "(cached) " >&6
5174else 5148else
5175 if test -n "$RANLIB"; then 5149 if test -n "$RANLIB"; then
@@ -5209,7 +5183,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
5209set dummy ranlib; ac_word=$2 5183set dummy ranlib; ac_word=$2
5210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211$as_echo_n "checking for $ac_word... " >&6; } 5185$as_echo_n "checking for $ac_word... " >&6; }
5212if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5186if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5213 $as_echo_n "(cached) " >&6 5187 $as_echo_n "(cached) " >&6
5214else 5188else
5215 if test -n "$ac_ct_RANLIB"; then 5189 if test -n "$ac_ct_RANLIB"; then
@@ -5264,7 +5238,7 @@ fi
5264## is running in i386 mode, we can help them out. 5238## is running in i386 mode, we can help them out.
5265if test "$machine" = "amdx86-64"; then 5239if test "$machine" = "amdx86-64"; then
5266 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 5240 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
5267if test "x$ac_cv_have_decl_i386" = x""yes; then : 5241if test "x$ac_cv_have_decl_i386" = xyes; then :
5268 5242
5269fi 5243fi
5270 5244
@@ -5279,7 +5253,7 @@ fi
5279set dummy install-info; ac_word=$2 5253set dummy install-info; ac_word=$2
5280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281$as_echo_n "checking for $ac_word... " >&6; } 5255$as_echo_n "checking for $ac_word... " >&6; }
5282if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5256if ${ac_cv_path_INSTALL_INFO+:} false; then :
5283 $as_echo_n "(cached) " >&6 5257 $as_echo_n "(cached) " >&6
5284else 5258else
5285 case $INSTALL_INFO in 5259 case $INSTALL_INFO in
@@ -5319,7 +5293,7 @@ fi
5319set dummy install-info; ac_word=$2 5293set dummy install-info; ac_word=$2
5320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321$as_echo_n "checking for $ac_word... " >&6; } 5295$as_echo_n "checking for $ac_word... " >&6; }
5322if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5296if ${ac_cv_path_INSTALL_INFO+:} false; then :
5323 $as_echo_n "(cached) " >&6 5297 $as_echo_n "(cached) " >&6
5324else 5298else
5325 case $INSTALL_INFO in 5299 case $INSTALL_INFO in
@@ -5359,7 +5333,7 @@ fi
5359set dummy install-info; ac_word=$2 5333set dummy install-info; ac_word=$2
5360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361$as_echo_n "checking for $ac_word... " >&6; } 5335$as_echo_n "checking for $ac_word... " >&6; }
5362if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5336if ${ac_cv_path_INSTALL_INFO+:} false; then :
5363 $as_echo_n "(cached) " >&6 5337 $as_echo_n "(cached) " >&6
5364else 5338else
5365 case $INSTALL_INFO in 5339 case $INSTALL_INFO in
@@ -5400,7 +5374,7 @@ fi
5400set dummy gzip; ac_word=$2 5374set dummy gzip; ac_word=$2
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402$as_echo_n "checking for $ac_word... " >&6; } 5376$as_echo_n "checking for $ac_word... " >&6; }
5403if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5377if ${ac_cv_path_GZIP_PROG+:} false; then :
5404 $as_echo_n "(cached) " >&6 5378 $as_echo_n "(cached) " >&6
5405else 5379else
5406 case $GZIP_PROG in 5380 case $GZIP_PROG in
@@ -5443,7 +5417,7 @@ fi
5443set dummy makeinfo; ac_word=$2 5417set dummy makeinfo; ac_word=$2
5444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445$as_echo_n "checking for $ac_word... " >&6; } 5419$as_echo_n "checking for $ac_word... " >&6; }
5446if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5420if ${ac_cv_path_MAKEINFO+:} false; then :
5447 $as_echo_n "(cached) " >&6 5421 $as_echo_n "(cached) " >&6
5448else 5422else
5449 case $MAKEINFO in 5423 case $MAKEINFO in
@@ -5498,7 +5472,7 @@ if test "$MAKEINFO" = "no"; then
5498 if test "x${with_makeinfo}" = "xno"; then 5472 if test "x${with_makeinfo}" = "xno"; then
5499 MAKEINFO=off 5473 MAKEINFO=off
5500 elif test ! -e $srcdir/info/emacs; then 5474 elif test ! -e $srcdir/info/emacs; then
5501 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5475 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
5502source tree does not seem to have pre-built manuals in the \`info' directory. 5476source tree does not seem to have pre-built manuals in the \`info' directory.
5503Either install a suitable version of makeinfo, or re-run configure 5477Either install a suitable version of makeinfo, or re-run configure
5504with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5478with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
@@ -5607,7 +5581,7 @@ case "$opsys" in
5607 5581
5608 gnu-linux) 5582 gnu-linux)
5609 ## cpp test was "ifdef __mips__", but presumably this is equivalent... 5583 ## cpp test was "ifdef __mips__", but presumably this is equivalent...
5610 test "$machine" = "mips" && LD_SWITCH_SYSTEM="-G 0" 5584 case $host_cpu in mips*) LD_SWITCH_SYSTEM="-G 0";; esac
5611 ;; 5585 ;;
5612 5586
5613 netbsd) 5587 netbsd)
@@ -5644,7 +5618,7 @@ esac
5644C_SWITCH_MACHINE= 5618C_SWITCH_MACHINE=
5645if test "$machine" = "alpha"; then 5619if test "$machine" = "alpha"; then
5646 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 5620 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
5647if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 5621if test "x$ac_cv_have_decl___ELF__" = xyes; then :
5648 5622
5649fi 5623fi
5650 5624
@@ -5657,7 +5631,7 @@ fi
5657 if test "x$GCC" = "xyes"; then 5631 if test "x$GCC" = "xyes"; then
5658 C_SWITCH_MACHINE="-fno-common" 5632 C_SWITCH_MACHINE="-fno-common"
5659 else 5633 else
5660 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5634 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5661 fi 5635 fi
5662 else 5636 else
5663 UNEXEC_OBJ=unexalpha.o 5637 UNEXEC_OBJ=unexalpha.o
@@ -5714,7 +5688,7 @@ if test "$enable_largefile" != no; then
5714 5688
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5716$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5690$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5717if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5691if ${ac_cv_sys_largefile_CC+:} false; then :
5718 $as_echo_n "(cached) " >&6 5692 $as_echo_n "(cached) " >&6
5719else 5693else
5720 ac_cv_sys_largefile_CC=no 5694 ac_cv_sys_largefile_CC=no
@@ -5765,7 +5739,7 @@ $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5765 5739
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5767$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5741$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5768if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5742if ${ac_cv_sys_file_offset_bits+:} false; then :
5769 $as_echo_n "(cached) " >&6 5743 $as_echo_n "(cached) " >&6
5770else 5744else
5771 while :; do 5745 while :; do
@@ -5834,7 +5808,7 @@ rm -rf conftest*
5834 if test $ac_cv_sys_file_offset_bits = unknown; then 5808 if test $ac_cv_sys_file_offset_bits = unknown; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5836$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5810$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5837if test "${ac_cv_sys_large_files+set}" = set; then : 5811if ${ac_cv_sys_large_files+:} false; then :
5838 $as_echo_n "(cached) " >&6 5812 $as_echo_n "(cached) " >&6
5839else 5813else
5840 while :; do 5814 while :; do
@@ -5935,7 +5909,7 @@ else
5935 ## Some platforms don't use any of these files, so it is not 5909 ## Some platforms don't use any of these files, so it is not
5936 ## appropriate to put this test outside the if block. 5910 ## appropriate to put this test outside the if block.
5937 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5911 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5938 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 5912 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5
5939 5913
5940fi 5914fi
5941 5915
@@ -5990,8 +5964,7 @@ if test "${with_sound}" != "no"; then
5990do : 5964do :
5991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5965 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5966ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5993eval as_val=\$$as_ac_Header 5967if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5994 if test "x$as_val" = x""yes; then :
5995 cat >>confdefs.h <<_ACEOF 5968 cat >>confdefs.h <<_ACEOF
5996#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5969#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5997_ACEOF 5970_ACEOF
@@ -6003,7 +5976,7 @@ done
6003 # Emulation library used on NetBSD. 5976 # Emulation library used on NetBSD.
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6005$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 5978$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6006if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 5979if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6007 $as_echo_n "(cached) " >&6 5980 $as_echo_n "(cached) " >&6
6008else 5981else
6009 ac_check_lib_save_LIBS=$LIBS 5982 ac_check_lib_save_LIBS=$LIBS
@@ -6037,7 +6010,7 @@ LIBS=$ac_check_lib_save_LIBS
6037fi 6010fi
6038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6039$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6012$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6040if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6013if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6041 LIBSOUND=-lossaudio 6014 LIBSOUND=-lossaudio
6042else 6015else
6043 LIBSOUND= 6016 LIBSOUND=
@@ -6054,7 +6027,7 @@ fi
6054set dummy pkg-config; ac_word=$2 6027set dummy pkg-config; ac_word=$2
6055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056$as_echo_n "checking for $ac_word... " >&6; } 6029$as_echo_n "checking for $ac_word... " >&6; }
6057if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6030if ${ac_cv_path_PKG_CONFIG+:} false; then :
6058 $as_echo_n "(cached) " >&6 6031 $as_echo_n "(cached) " >&6
6059else 6032else
6060 case $PKG_CONFIG in 6033 case $PKG_CONFIG in
@@ -6182,7 +6155,7 @@ else
6182fi 6155fi
6183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 if test "$emacs_alsa_subdir" != yes; then 6157 if test "$emacs_alsa_subdir" != yes; then
6185 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6158 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6186 fi 6159 fi
6187 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6160 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6188 fi 6161 fi
@@ -6217,8 +6190,7 @@ for ac_header in sys/select.h sys/time.h unistd.h utime.h \
6217do : 6190do :
6218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6219ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6192ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6220eval as_val=\$$as_ac_Header 6193if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6221 if test "x$as_val" = x""yes; then :
6222 cat >>confdefs.h <<_ACEOF 6194 cat >>confdefs.h <<_ACEOF
6223#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6195#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6224_ACEOF 6196_ACEOF
@@ -6259,7 +6231,7 @@ fi
6259for ac_header in term.h 6231for ac_header in term.h
6260do : 6232do :
6261 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6233 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
6262if test "x$ac_cv_header_term_h" = x""yes; then : 6234if test "x$ac_cv_header_term_h" = xyes; then :
6263 cat >>confdefs.h <<_ACEOF 6235 cat >>confdefs.h <<_ACEOF
6264#define HAVE_TERM_H 1 6236#define HAVE_TERM_H 1
6265_ACEOF 6237_ACEOF
@@ -6270,7 +6242,7 @@ done
6270 6242
6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6272$as_echo_n "checking for ANSI C header files... " >&6; } 6244$as_echo_n "checking for ANSI C header files... " >&6; }
6273if test "${ac_cv_header_stdc+set}" = set; then : 6245if ${ac_cv_header_stdc+:} false; then :
6274 $as_echo_n "(cached) " >&6 6246 $as_echo_n "(cached) " >&6
6275else 6247else
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6382,7 +6354,7 @@ fi
6382 6354
6383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6384$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6356$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6385if test "${ac_cv_header_time+set}" = set; then : 6357if ${ac_cv_header_time+:} false; then :
6386 $as_echo_n "(cached) " >&6 6358 $as_echo_n "(cached) " >&6
6387else 6359else
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6416,7 +6388,7 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6416fi 6388fi
6417 6389
6418ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 6390ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
6419if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 6391if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
6420 ac_have_decl=1 6392 ac_have_decl=1
6421else 6393else
6422 ac_have_decl=0 6394 ac_have_decl=0
@@ -6429,7 +6401,7 @@ _ACEOF
6429if test $ac_cv_have_decl_sys_siglist != yes; then 6401if test $ac_cv_have_decl_sys_siglist != yes; then
6430 # For Tru64, at least: 6402 # For Tru64, at least:
6431 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 6403 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
6432if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 6404if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
6433 ac_have_decl=1 6405 ac_have_decl=1
6434else 6406else
6435 ac_have_decl=0 6407 ac_have_decl=0
@@ -6447,7 +6419,7 @@ $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
6447fi 6419fi
6448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 6420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6449$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6421$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6450if test "${ac_cv_header_sys_wait_h+set}" = set; then : 6422if ${ac_cv_header_sys_wait_h+:} false; then :
6451 $as_echo_n "(cached) " >&6 6423 $as_echo_n "(cached) " >&6
6452else 6424else
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6489,7 +6461,7 @@ fi
6489 6461
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 6462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
6491$as_echo_n "checking for struct utimbuf... " >&6; } 6463$as_echo_n "checking for struct utimbuf... " >&6; }
6492if test "${emacs_cv_struct_utimbuf+set}" = set; then : 6464if ${emacs_cv_struct_utimbuf+:} false; then :
6493 $as_echo_n "(cached) " >&6 6465 $as_echo_n "(cached) " >&6
6494else 6466else
6495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6532,7 +6504,7 @@ fi
6532 6504
6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6534$as_echo_n "checking return type of signal handlers... " >&6; } 6506$as_echo_n "checking return type of signal handlers... " >&6; }
6535if test "${ac_cv_type_signal+set}" = set; then : 6507if ${ac_cv_type_signal+:} false; then :
6536 $as_echo_n "(cached) " >&6 6508 $as_echo_n "(cached) " >&6
6537else 6509else
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6566,7 +6538,7 @@ _ACEOF
6566 6538
6567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 6539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
6568$as_echo_n "checking for speed_t... " >&6; } 6540$as_echo_n "checking for speed_t... " >&6; }
6569if test "${emacs_cv_speed_t+set}" = set; then : 6541if ${emacs_cv_speed_t+:} false; then :
6570 $as_echo_n "(cached) " >&6 6542 $as_echo_n "(cached) " >&6
6571else 6543else
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6597,7 +6569,7 @@ fi
6597 6569
6598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 6570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
6599$as_echo_n "checking for struct timeval... " >&6; } 6571$as_echo_n "checking for struct timeval... " >&6; }
6600if test "${emacs_cv_struct_timeval+set}" = set; then : 6572if ${emacs_cv_struct_timeval+:} false; then :
6601 $as_echo_n "(cached) " >&6 6573 $as_echo_n "(cached) " >&6
6602else 6574else
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6638,7 +6610,7 @@ fi
6638 6610
6639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 6611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
6640$as_echo_n "checking for struct exception... " >&6; } 6612$as_echo_n "checking for struct exception... " >&6; }
6641if test "${emacs_cv_struct_exception+set}" = set; then : 6613if ${emacs_cv_struct_exception+:} false; then :
6642 $as_echo_n "(cached) " >&6 6614 $as_echo_n "(cached) " >&6
6643else 6615else
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6671,7 +6643,7 @@ fi
6671for ac_header in sys/socket.h 6643for ac_header in sys/socket.h
6672do : 6644do :
6673 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 6645 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
6674if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 6646if test "x$ac_cv_header_sys_socket_h" = xyes; then :
6675 cat >>confdefs.h <<_ACEOF 6647 cat >>confdefs.h <<_ACEOF
6676#define HAVE_SYS_SOCKET_H 1 6648#define HAVE_SYS_SOCKET_H 1
6677_ACEOF 6649_ACEOF
@@ -6687,7 +6659,7 @@ do :
6687#include <sys/socket.h> 6659#include <sys/socket.h>
6688#endif 6660#endif
6689" 6661"
6690if test "x$ac_cv_header_net_if_h" = x""yes; then : 6662if test "x$ac_cv_header_net_if_h" = xyes; then :
6691 cat >>confdefs.h <<_ACEOF 6663 cat >>confdefs.h <<_ACEOF
6692#define HAVE_NET_IF_H 1 6664#define HAVE_NET_IF_H 1
6693_ACEOF 6665_ACEOF
@@ -6699,7 +6671,7 @@ done
6699 6671
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6701$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6673$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6702if test "${ac_cv_struct_tm+set}" = set; then : 6674if ${ac_cv_struct_tm+:} false; then :
6703 $as_echo_n "(cached) " >&6 6675 $as_echo_n "(cached) " >&6
6704else 6676else
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6736,7 +6708,7 @@ ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_
6736#include <$ac_cv_struct_tm> 6708#include <$ac_cv_struct_tm>
6737 6709
6738" 6710"
6739if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 6711if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
6740 6712
6741cat >>confdefs.h <<_ACEOF 6713cat >>confdefs.h <<_ACEOF
6742#define HAVE_STRUCT_TM_TM_ZONE 1 6714#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -6752,7 +6724,7 @@ $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6752else 6724else
6753 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 6725 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6754" 6726"
6755if test "x$ac_cv_have_decl_tzname" = x""yes; then : 6727if test "x$ac_cv_have_decl_tzname" = xyes; then :
6756 ac_have_decl=1 6728 ac_have_decl=1
6757else 6729else
6758 ac_have_decl=0 6730 ac_have_decl=0
@@ -6764,7 +6736,7 @@ _ACEOF
6764 6736
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6766$as_echo_n "checking for tzname... " >&6; } 6738$as_echo_n "checking for tzname... " >&6; }
6767if test "${ac_cv_var_tzname+set}" = set; then : 6739if ${ac_cv_var_tzname+:} false; then :
6768 $as_echo_n "(cached) " >&6 6740 $as_echo_n "(cached) " >&6
6769else 6741else
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6801,7 +6773,7 @@ fi
6801 6773
6802ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 6774ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
6803" 6775"
6804if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 6776if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
6805 6777
6806$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 6778$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
6807 6779
@@ -6815,7 +6787,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_i
6815#include <net/if.h> 6787#include <net/if.h>
6816#endif 6788#endif
6817" 6789"
6818if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 6790if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
6819 6791
6820cat >>confdefs.h <<_ACEOF 6792cat >>confdefs.h <<_ACEOF
6821#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6793#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -6831,7 +6803,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_
6831#include <net/if.h> 6803#include <net/if.h>
6832#endif 6804#endif
6833" 6805"
6834if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 6806if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
6835 6807
6836cat >>confdefs.h <<_ACEOF 6808cat >>confdefs.h <<_ACEOF
6837#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6809#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -6847,7 +6819,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct
6847#include <net/if.h> 6819#include <net/if.h>
6848#endif 6820#endif
6849" 6821"
6850if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 6822if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
6851 6823
6852cat >>confdefs.h <<_ACEOF 6824cat >>confdefs.h <<_ACEOF
6853#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6825#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -6863,7 +6835,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_stru
6863#include <net/if.h> 6835#include <net/if.h>
6864#endif 6836#endif
6865" 6837"
6866if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 6838if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
6867 6839
6868cat >>confdefs.h <<_ACEOF 6840cat >>confdefs.h <<_ACEOF
6869#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6841#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -6879,7 +6851,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_if
6879#include <net/if.h> 6851#include <net/if.h>
6880#endif 6852#endif
6881" 6853"
6882if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 6854if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
6883 6855
6884cat >>confdefs.h <<_ACEOF 6856cat >>confdefs.h <<_ACEOF
6885#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6857#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -6908,7 +6880,7 @@ fi
6908 6880
6909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 6881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6910$as_echo_n "checking for working volatile... " >&6; } 6882$as_echo_n "checking for working volatile... " >&6; }
6911if test "${ac_cv_c_volatile+set}" = set; then : 6883if ${ac_cv_c_volatile+:} false; then :
6912 $as_echo_n "(cached) " >&6 6884 $as_echo_n "(cached) " >&6
6913else 6885else
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6942,7 +6914,7 @@ fi
6942 6914
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6944$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6916$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6945if test "${ac_cv_c_const+set}" = set; then : 6917if ${ac_cv_c_const+:} false; then :
6946 $as_echo_n "(cached) " >&6 6918 $as_echo_n "(cached) " >&6
6947else 6919else
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7022,7 +6994,7 @@ fi
7022 6994
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
7024$as_echo_n "checking for void * support... " >&6; } 6996$as_echo_n "checking for void * support... " >&6; }
7025if test "${emacs_cv_void_star+set}" = set; then : 6997if ${emacs_cv_void_star+:} false; then :
7026 $as_echo_n "(cached) " >&6 6998 $as_echo_n "(cached) " >&6
7027else 6999else
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7055,7 +7027,7 @@ fi
7055 7027
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7057$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7029$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7058if test "${ac_cv_c_bigendian+set}" = set; then : 7030if ${ac_cv_c_bigendian+:} false; then :
7059 $as_echo_n "(cached) " >&6 7031 $as_echo_n "(cached) " >&6
7060else 7032else
7061 ac_cv_c_bigendian=unknown 7033 ac_cv_c_bigendian=unknown
@@ -7273,7 +7245,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7273 7245
7274 ;; #( 7246 ;; #(
7275 *) 7247 *)
7276 as_fn_error "unknown endianness 7248 as_fn_error $? "unknown endianness
7277 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7249 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7278 esac 7250 esac
7279 7251
@@ -7282,7 +7254,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7282$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7254$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7283set x ${MAKE-make} 7255set x ${MAKE-make}
7284ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7256ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7285if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 7257if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
7286 $as_echo_n "(cached) " >&6 7258 $as_echo_n "(cached) " >&6
7287else 7259else
7288 cat >conftest.make <<\_ACEOF 7260 cat >conftest.make <<\_ACEOF
@@ -7290,7 +7262,7 @@ SHELL = /bin/sh
7290all: 7262all:
7291 @echo '@@@%%%=$(MAKE)=@@@%%%' 7263 @echo '@@@%%%=$(MAKE)=@@@%%%'
7292_ACEOF 7264_ACEOF
7293# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7265# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7294case `${MAKE-make} -f conftest.make 2>/dev/null` in 7266case `${MAKE-make} -f conftest.make 2>/dev/null` in
7295 *@@@%%%=?*=@@@%%%*) 7267 *@@@%%%=?*=@@@%%%*)
7296 eval ac_cv_prog_make_${ac_make}_set=yes;; 7268 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -7370,7 +7342,7 @@ deps_frag=$srcdir/src/$deps_frag
7370 7342
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 7343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
7372$as_echo_n "checking for long file names... " >&6; } 7344$as_echo_n "checking for long file names... " >&6; }
7373if test "${ac_cv_sys_long_file_names+set}" = set; then : 7345if ${ac_cv_sys_long_file_names+:} false; then :
7374 $as_echo_n "(cached) " >&6 7346 $as_echo_n "(cached) " >&6
7375else 7347else
7376 ac_cv_sys_long_file_names=yes 7348 ac_cv_sys_long_file_names=yes
@@ -7426,8 +7398,8 @@ if test "x$with_x" = xno; then
7426 have_x=disabled 7398 have_x=disabled
7427else 7399else
7428 case $x_includes,$x_libraries in #( 7400 case $x_includes,$x_libraries in #(
7429 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 7401 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7430 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7402 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7431 $as_echo_n "(cached) " >&6 7403 $as_echo_n "(cached) " >&6
7432else 7404else
7433 # One or both of the vars are not set, and there is no cached value. 7405 # One or both of the vars are not set, and there is no cached value.
@@ -7444,7 +7416,7 @@ libdir:
7444 @echo libdir='${LIBDIR}' 7416 @echo libdir='${LIBDIR}'
7445_ACEOF 7417_ACEOF
7446 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7418 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7419 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7448 for ac_var in incroot usrlibdir libdir; do 7420 for ac_var in incroot usrlibdir libdir; do
7449 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7421 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7450 done 7422 done
@@ -7530,7 +7502,7 @@ else
7530 fi 7502 fi
7531done 7503done
7532fi 7504fi
7533rm -f conftest.err conftest.$ac_ext 7505rm -f conftest.err conftest.i conftest.$ac_ext
7534fi # $ac_x_includes = no 7506fi # $ac_x_includes = no
7535 7507
7536if test "$ac_x_libraries" = no; then 7508if test "$ac_x_libraries" = no; then
@@ -7710,10 +7682,10 @@ if test "${with_ns}" != no; then
7710 TEMACS_LDFLAGS2= 7682 TEMACS_LDFLAGS2=
7711 fi 7683 fi
7712 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7684 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7713if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7685if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
7714 HAVE_NS=yes 7686 HAVE_NS=yes
7715else 7687else
7716 as_fn_error "\`--with-ns' was specified, but the include 7688 as_fn_error $? "\`--with-ns' was specified, but the include
7717 files are missing or cannot be compiled." "$LINENO" 5 7689 files are missing or cannot be compiled." "$LINENO" 5
7718fi 7690fi
7719 7691
@@ -7792,7 +7764,7 @@ if test "$window_system" = none && test "X$with_x" != "Xno"; then
7792set dummy X; ac_word=$2 7764set dummy X; ac_word=$2
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794$as_echo_n "checking for $ac_word... " >&6; } 7766$as_echo_n "checking for $ac_word... " >&6; }
7795if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 7767if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
7796 $as_echo_n "(cached) " >&6 7768 $as_echo_n "(cached) " >&6
7797else 7769else
7798 if test -n "$HAVE_XSERVER"; then 7770 if test -n "$HAVE_XSERVER"; then
@@ -7829,7 +7801,7 @@ fi
7829 if test "$HAVE_XSERVER" = true || 7801 if test "$HAVE_XSERVER" = true ||
7830 test -n "$DISPLAY" || 7802 test -n "$DISPLAY" ||
7831 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7803 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7832 as_fn_error "You seem to be running X, but no X development libraries 7804 as_fn_error $? "You seem to be running X, but no X development libraries
7833were found. You should install the relevant development files for X 7805were found. You should install the relevant development files for X
7834and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7806and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7835sure you have development files for image handling, i.e. 7807sure you have development files for image handling, i.e.
@@ -7851,14 +7823,14 @@ esac
7851GNU_MALLOC=yes 7823GNU_MALLOC=yes
7852doug_lea_malloc=yes 7824doug_lea_malloc=yes
7853ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 7825ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
7854if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 7826if test "x$ac_cv_func_malloc_get_state" = xyes; then :
7855 7827
7856else 7828else
7857 doug_lea_malloc=no 7829 doug_lea_malloc=no
7858fi 7830fi
7859 7831
7860ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 7832ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
7861if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 7833if test "x$ac_cv_func_malloc_set_state" = xyes; then :
7862 7834
7863else 7835else
7864 doug_lea_malloc=no 7836 doug_lea_malloc=no
@@ -7866,7 +7838,7 @@ fi
7866 7838
7867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 7839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
7868$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7840$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7869if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 7841if ${emacs_cv_var___after_morecore_hook+:} false; then :
7870 $as_echo_n "(cached) " >&6 7842 $as_echo_n "(cached) " >&6
7871else 7843else
7872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7952,8 +7924,7 @@ do :
7952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7953ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7925ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7954" 7926"
7955eval as_val=\$$as_ac_Header 7927if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7956 if test "x$as_val" = x""yes; then :
7957 cat >>confdefs.h <<_ACEOF 7928 cat >>confdefs.h <<_ACEOF
7958#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7929#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7959_ACEOF 7930_ACEOF
@@ -7972,7 +7943,7 @@ done
7972for ac_func in getpagesize 7943for ac_func in getpagesize
7973do : 7944do :
7974 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 7945 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7975if test "x$ac_cv_func_getpagesize" = x""yes; then : 7946if test "x$ac_cv_func_getpagesize" = xyes; then :
7976 cat >>confdefs.h <<_ACEOF 7947 cat >>confdefs.h <<_ACEOF
7977#define HAVE_GETPAGESIZE 1 7948#define HAVE_GETPAGESIZE 1
7978_ACEOF 7949_ACEOF
@@ -7982,7 +7953,7 @@ done
7982 7953
7983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 7954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7984$as_echo_n "checking for working mmap... " >&6; } 7955$as_echo_n "checking for working mmap... " >&6; }
7985if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 7956if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
7986 $as_echo_n "(cached) " >&6 7957 $as_echo_n "(cached) " >&6
7987else 7958else
7988 if test "$cross_compiling" = yes; then : 7959 if test "$cross_compiling" = yes; then :
@@ -8059,6 +8030,7 @@ int
8059main () 8030main ()
8060{ 8031{
8061 char *data, *data2, *data3; 8032 char *data, *data2, *data3;
8033 const char *cdata2;
8062 int i, pagesize; 8034 int i, pagesize;
8063 int fd, fd2; 8035 int fd, fd2;
8064 8036
@@ -8083,10 +8055,10 @@ main ()
8083 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 8055 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
8084 if (fd2 < 0) 8056 if (fd2 < 0)
8085 return 4; 8057 return 4;
8086 data2 = ""; 8058 cdata2 = "";
8087 if (write (fd2, data2, 1) != 1) 8059 if (write (fd2, cdata2, 1) != 1)
8088 return 5; 8060 return 5;
8089 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 8061 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
8090 if (data2 == MAP_FAILED) 8062 if (data2 == MAP_FAILED)
8091 return 6; 8063 return 6;
8092 for (i = 0; i < pagesize; ++i) 8064 for (i = 0; i < pagesize; ++i)
@@ -8156,7 +8128,7 @@ LIBS="$LIBS_SYSTEM $LIBS"
8156 8128
8157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 8129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8158$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 8130$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8159if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 8131if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8160 $as_echo_n "(cached) " >&6 8132 $as_echo_n "(cached) " >&6
8161else 8133else
8162 ac_check_lib_save_LIBS=$LIBS 8134 ac_check_lib_save_LIBS=$LIBS
@@ -8190,7 +8162,7 @@ LIBS=$ac_check_lib_save_LIBS
8190fi 8162fi
8191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 8163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8192$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 8164$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8193if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 8165if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8194 cat >>confdefs.h <<_ACEOF 8166 cat >>confdefs.h <<_ACEOF
8195#define HAVE_LIBDNET 1 8167#define HAVE_LIBDNET 1
8196_ACEOF 8168_ACEOF
@@ -8202,7 +8174,7 @@ fi
8202 8174
8203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 8175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
8204$as_echo_n "checking for main in -lXbsd... " >&6; } 8176$as_echo_n "checking for main in -lXbsd... " >&6; }
8205if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 8177if ${ac_cv_lib_Xbsd_main+:} false; then :
8206 $as_echo_n "(cached) " >&6 8178 $as_echo_n "(cached) " >&6
8207else 8179else
8208 ac_check_lib_save_LIBS=$LIBS 8180 ac_check_lib_save_LIBS=$LIBS
@@ -8230,14 +8202,14 @@ LIBS=$ac_check_lib_save_LIBS
8230fi 8202fi
8231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 8203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
8232$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 8204$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
8233if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 8205if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
8234 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 8206 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
8235fi 8207fi
8236 8208
8237 8209
8238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 8210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
8239$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 8211$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
8240if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 8212if ${ac_cv_lib_pthreads_cma_open+:} false; then :
8241 $as_echo_n "(cached) " >&6 8213 $as_echo_n "(cached) " >&6
8242else 8214else
8243 ac_check_lib_save_LIBS=$LIBS 8215 ac_check_lib_save_LIBS=$LIBS
@@ -8271,7 +8243,7 @@ LIBS=$ac_check_lib_save_LIBS
8271fi 8243fi
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 8244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
8273$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 8245$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
8274if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 8246if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
8275 cat >>confdefs.h <<_ACEOF 8247 cat >>confdefs.h <<_ACEOF
8276#define HAVE_LIBPTHREADS 1 8248#define HAVE_LIBPTHREADS 1
8277_ACEOF 8249_ACEOF
@@ -8298,7 +8270,7 @@ case ${host_os} in
8298aix*) 8270aix*)
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
8300$as_echo_n "checking for -bbigtoc option... " >&6; } 8272$as_echo_n "checking for -bbigtoc option... " >&6; }
8301if test "${gdb_cv_bigtoc+set}" = set; then : 8273if ${gdb_cv_bigtoc+:} false; then :
8302 $as_echo_n "(cached) " >&6 8274 $as_echo_n "(cached) " >&6
8303else 8275else
8304 8276
@@ -8459,8 +8431,7 @@ XScreenNumberOfScreen XSetWMProtocols
8459do : 8431do :
8460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8461ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8433ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8462eval as_val=\$$as_ac_var 8434if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8463 if test "x$as_val" = x""yes; then :
8464 cat >>confdefs.h <<_ACEOF 8435 cat >>confdefs.h <<_ACEOF
8465#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8436#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8466_ACEOF 8437_ACEOF
@@ -8473,7 +8444,7 @@ fi
8473if test "${window_system}" = "x11"; then 8444if test "${window_system}" = "x11"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
8475$as_echo_n "checking X11 version 6... " >&6; } 8446$as_echo_n "checking X11 version 6... " >&6; }
8476 if test "${emacs_cv_x11_version_6+set}" = set; then : 8447 if ${emacs_cv_x11_version_6+:} false; then :
8477 $as_echo_n "(cached) " >&6 8448 $as_echo_n "(cached) " >&6
8478else 8449else
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8538,7 +8509,7 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
8538set dummy pkg-config; ac_word=$2 8509set dummy pkg-config; ac_word=$2
8539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540$as_echo_n "checking for $ac_word... " >&6; } 8511$as_echo_n "checking for $ac_word... " >&6; }
8541if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8512if ${ac_cv_path_PKG_CONFIG+:} false; then :
8542 $as_echo_n "(cached) " >&6 8513 $as_echo_n "(cached) " >&6
8543else 8514else
8544 case $PKG_CONFIG in 8515 case $PKG_CONFIG in
@@ -8649,7 +8620,7 @@ if test "${HAVE_X11}" = "yes"; then
8649set dummy pkg-config; ac_word=$2 8620set dummy pkg-config; ac_word=$2
8650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8651$as_echo_n "checking for $ac_word... " >&6; } 8622$as_echo_n "checking for $ac_word... " >&6; }
8652if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8623if ${ac_cv_path_PKG_CONFIG+:} false; then :
8653 $as_echo_n "(cached) " >&6 8624 $as_echo_n "(cached) " >&6
8654else 8625else
8655 case $PKG_CONFIG in 8626 case $PKG_CONFIG in
@@ -8748,7 +8719,7 @@ $as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h
8748 for ac_func in MagickExportImagePixels 8719 for ac_func in MagickExportImagePixels
8749do : 8720do :
8750 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 8721 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
8751if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 8722if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
8752 cat >>confdefs.h <<_ACEOF 8723 cat >>confdefs.h <<_ACEOF
8753#define HAVE_MAGICKEXPORTIMAGEPIXELS 1 8724#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
8754_ACEOF 8725_ACEOF
@@ -8774,7 +8745,7 @@ if test "${with_gtk3}" = "yes"; then
8774set dummy pkg-config; ac_word=$2 8745set dummy pkg-config; ac_word=$2
8775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776$as_echo_n "checking for $ac_word... " >&6; } 8747$as_echo_n "checking for $ac_word... " >&6; }
8777if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8748if ${ac_cv_path_PKG_CONFIG+:} false; then :
8778 $as_echo_n "(cached) " >&6 8749 $as_echo_n "(cached) " >&6
8779else 8750else
8780 case $PKG_CONFIG in 8751 case $PKG_CONFIG in
@@ -8862,7 +8833,7 @@ $as_echo "no" >&6; }
8862 fi 8833 fi
8863 8834
8864 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8835 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8865 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8836 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8866 fi 8837 fi
8867fi 8838fi
8868 8839
@@ -8880,7 +8851,7 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
8880set dummy pkg-config; ac_word=$2 8851set dummy pkg-config; ac_word=$2
8881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882$as_echo_n "checking for $ac_word... " >&6; } 8853$as_echo_n "checking for $ac_word... " >&6; }
8883if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8854if ${ac_cv_path_PKG_CONFIG+:} false; then :
8884 $as_echo_n "(cached) " >&6 8855 $as_echo_n "(cached) " >&6
8885else 8856else
8886 case $PKG_CONFIG in 8857 case $PKG_CONFIG in
@@ -8968,7 +8939,7 @@ $as_echo "no" >&6; }
8968 fi 8939 fi
8969 8940
8970 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8941 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8971 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8942 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8972 fi 8943 fi
8973fi 8944fi
8974fi 8945fi
@@ -8985,7 +8956,7 @@ if test x"$pkg_check_gtk" = xyes; then
8985 for ac_func in gtk_main 8956 for ac_func in gtk_main
8986do : 8957do :
8987 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 8958 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
8988if test "x$ac_cv_func_gtk_main" = x""yes; then : 8959if test "x$ac_cv_func_gtk_main" = xyes; then :
8989 cat >>confdefs.h <<_ACEOF 8960 cat >>confdefs.h <<_ACEOF
8990#define HAVE_GTK_MAIN 1 8961#define HAVE_GTK_MAIN 1
8991_ACEOF 8962_ACEOF
@@ -8995,7 +8966,7 @@ done
8995 8966
8996 if test "${GTK_COMPILES}" != "yes"; then 8967 if test "${GTK_COMPILES}" != "yes"; then
8997 if test "$USE_X_TOOLKIT" != "maybe"; then 8968 if test "$USE_X_TOOLKIT" != "maybe"; then
8998 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 8969 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8999 fi 8970 fi
9000 else 8971 else
9001 HAVE_GTK=yes 8972 HAVE_GTK=yes
@@ -9033,7 +9004,7 @@ if test "${HAVE_GTK}" = "yes"; then
9033 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 9004 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
9034#include <gtk/gtk.h> 9005#include <gtk/gtk.h>
9035" 9006"
9036if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 9007if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
9037 HAVE_GTK_FILE_SELECTION=yes 9008 HAVE_GTK_FILE_SELECTION=yes
9038else 9009else
9039 HAVE_GTK_FILE_SELECTION=no 9010 HAVE_GTK_FILE_SELECTION=no
@@ -9043,7 +9014,7 @@ fi
9043 for ac_func in gtk_file_selection_new 9014 for ac_func in gtk_file_selection_new
9044do : 9015do :
9045 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 9016 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
9046if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 9017if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
9047 cat >>confdefs.h <<_ACEOF 9018 cat >>confdefs.h <<_ACEOF
9048#define HAVE_GTK_FILE_SELECTION_NEW 1 9019#define HAVE_GTK_FILE_SELECTION_NEW 1
9049_ACEOF 9020_ACEOF
@@ -9057,7 +9028,7 @@ done
9057 for ac_header in pthread.h 9028 for ac_header in pthread.h
9058do : 9029do :
9059 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 9030 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9060if test "x$ac_cv_header_pthread_h" = x""yes; then : 9031if test "x$ac_cv_header_pthread_h" = xyes; then :
9061 cat >>confdefs.h <<_ACEOF 9032 cat >>confdefs.h <<_ACEOF
9062#define HAVE_PTHREAD_H 1 9033#define HAVE_PTHREAD_H 1
9063_ACEOF 9034_ACEOF
@@ -9069,7 +9040,7 @@ done
9069 if test "$ac_cv_header_pthread_h"; then 9040 if test "$ac_cv_header_pthread_h"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
9071$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 9042$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
9072if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 9043if ${ac_cv_lib_pthread_pthread_self+:} false; then :
9073 $as_echo_n "(cached) " >&6 9044 $as_echo_n "(cached) " >&6
9074else 9045else
9075 ac_check_lib_save_LIBS=$LIBS 9046 ac_check_lib_save_LIBS=$LIBS
@@ -9103,7 +9074,7 @@ LIBS=$ac_check_lib_save_LIBS
9103fi 9074fi
9104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 9075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
9105$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 9076$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
9106if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 9077if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
9107 HAVE_GTK_AND_PTHREAD=yes 9078 HAVE_GTK_AND_PTHREAD=yes
9108fi 9079fi
9109 9080
@@ -9125,8 +9096,7 @@ $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h
9125do : 9096do :
9126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9127ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9098ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9128eval as_val=\$$as_ac_var 9099if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 if test "x$as_val" = x""yes; then :
9130 cat >>confdefs.h <<_ACEOF 9100 cat >>confdefs.h <<_ACEOF
9131#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9101#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9132_ACEOF 9102_ACEOF
@@ -9147,7 +9117,7 @@ if test "${with_dbus}" = "yes"; then
9147set dummy pkg-config; ac_word=$2 9117set dummy pkg-config; ac_word=$2
9148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9149$as_echo_n "checking for $ac_word... " >&6; } 9119$as_echo_n "checking for $ac_word... " >&6; }
9150if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9120if ${ac_cv_path_PKG_CONFIG+:} false; then :
9151 $as_echo_n "(cached) " >&6 9121 $as_echo_n "(cached) " >&6
9152else 9122else
9153 case $PKG_CONFIG in 9123 case $PKG_CONFIG in
@@ -9242,7 +9212,7 @@ $as_echo "#define HAVE_DBUS 1" >>confdefs.h
9242 for ac_func in dbus_watch_get_unix_fd 9212 for ac_func in dbus_watch_get_unix_fd
9243do : 9213do :
9244 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 9214 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
9245if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 9215if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
9246 cat >>confdefs.h <<_ACEOF 9216 cat >>confdefs.h <<_ACEOF
9247#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 9217#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
9248_ACEOF 9218_ACEOF
@@ -9264,7 +9234,7 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
9264set dummy pkg-config; ac_word=$2 9234set dummy pkg-config; ac_word=$2
9265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266$as_echo_n "checking for $ac_word... " >&6; } 9236$as_echo_n "checking for $ac_word... " >&6; }
9267if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9237if ${ac_cv_path_PKG_CONFIG+:} false; then :
9268 $as_echo_n "(cached) " >&6 9238 $as_echo_n "(cached) " >&6
9269else 9239else
9270 case $PKG_CONFIG in 9240 case $PKG_CONFIG in
@@ -9358,7 +9328,7 @@ $as_echo "#define HAVE_GCONF 1" >>confdefs.h
9358 for ac_func in g_type_init 9328 for ac_func in g_type_init
9359do : 9329do :
9360 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 9330 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
9361if test "x$ac_cv_func_g_type_init" = x""yes; then : 9331if test "x$ac_cv_func_g_type_init" = xyes; then :
9362 cat >>confdefs.h <<_ACEOF 9332 cat >>confdefs.h <<_ACEOF
9363#define HAVE_G_TYPE_INIT 1 9333#define HAVE_G_TYPE_INIT 1
9364_ACEOF 9334_ACEOF
@@ -9374,7 +9344,7 @@ LIBSELINUX_LIBS=
9374if test "${with_selinux}" = "yes"; then 9344if test "${with_selinux}" = "yes"; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
9376$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 9346$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
9377if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 9347if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
9378 $as_echo_n "(cached) " >&6 9348 $as_echo_n "(cached) " >&6
9379else 9349else
9380 ac_check_lib_save_LIBS=$LIBS 9350 ac_check_lib_save_LIBS=$LIBS
@@ -9408,7 +9378,7 @@ LIBS=$ac_check_lib_save_LIBS
9408fi 9378fi
9409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 9379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
9410$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 9380$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
9411if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 9381if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
9412 HAVE_LIBSELINUX=yes 9382 HAVE_LIBSELINUX=yes
9413else 9383else
9414 HAVE_LIBSELINUX=no 9384 HAVE_LIBSELINUX=no
@@ -9432,7 +9402,7 @@ if test "${with_gnutls}" = "yes" ; then
9432set dummy pkg-config; ac_word=$2 9402set dummy pkg-config; ac_word=$2
9433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9434$as_echo_n "checking for $ac_word... " >&6; } 9404$as_echo_n "checking for $ac_word... " >&6; }
9435if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9405if ${ac_cv_path_PKG_CONFIG+:} false; then :
9436 $as_echo_n "(cached) " >&6 9406 $as_echo_n "(cached) " >&6
9437else 9407else
9438 case $PKG_CONFIG in 9408 case $PKG_CONFIG in
@@ -9534,7 +9504,7 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
9534 if test "$with_xaw3d" != no; then 9504 if test "$with_xaw3d" != no; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
9536$as_echo_n "checking for xaw3d... " >&6; } 9506$as_echo_n "checking for xaw3d... " >&6; }
9537 if test "${emacs_cv_xaw3d+set}" = set; then : 9507 if ${emacs_cv_xaw3d+:} false; then :
9538 $as_echo_n "(cached) " >&6 9508 $as_echo_n "(cached) " >&6
9539else 9509else
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9576,7 +9546,7 @@ $as_echo "#define HAVE_XAW3D 1" >>confdefs.h
9576$as_echo "no" >&6; } 9546$as_echo "no" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
9578$as_echo_n "checking for libXaw... " >&6; } 9548$as_echo_n "checking for libXaw... " >&6; }
9579 if test "${emacs_cv_xaw+set}" = set; then : 9549 if ${emacs_cv_xaw+:} false; then :
9580 $as_echo_n "(cached) " >&6 9550 $as_echo_n "(cached) " >&6
9581else 9551else
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9607,7 +9577,7 @@ $as_echo "yes; using Lucid toolkit" >&6; }
9607 USE_X_TOOLKIT=LUCID 9577 USE_X_TOOLKIT=LUCID
9608 LUCID_LIBW=-lXaw 9578 LUCID_LIBW=-lXaw
9609 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9579 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9610 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9580 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9611 else 9581 else
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9613$as_echo "no; do not use toolkit by default" >&6; } 9583$as_echo "no; do not use toolkit by default" >&6; }
@@ -9622,7 +9592,7 @@ LIBXTR6=
9622if test "${USE_X_TOOLKIT}" != "none"; then 9592if test "${USE_X_TOOLKIT}" != "none"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
9624$as_echo_n "checking X11 toolkit version... " >&6; } 9594$as_echo_n "checking X11 toolkit version... " >&6; }
9625 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 9595 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
9626 $as_echo_n "(cached) " >&6 9596 $as_echo_n "(cached) " >&6
9627else 9597else
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9673,7 +9643,7 @@ $as_echo "before 6" >&6; }
9673 fi 9643 fi
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
9675$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 9645$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
9676if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 9646if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
9677 $as_echo_n "(cached) " >&6 9647 $as_echo_n "(cached) " >&6
9678else 9648else
9679 ac_check_lib_save_LIBS=$LIBS 9649 ac_check_lib_save_LIBS=$LIBS
@@ -9707,7 +9677,7 @@ LIBS=$ac_check_lib_save_LIBS
9707fi 9677fi
9708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 9678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
9709$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 9679$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
9710if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 9680if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
9711 cat >>confdefs.h <<_ACEOF 9681 cat >>confdefs.h <<_ACEOF
9712#define HAVE_LIBXMU 1 9682#define HAVE_LIBXMU 1
9713_ACEOF 9683_ACEOF
@@ -9721,8 +9691,8 @@ fi
9721 9691
9722 9692
9723LIBXMU=-lXmu 9693LIBXMU=-lXmu
9724case "$machine" in 9694case $opsys in
9725 ## These machines don't supply Xmu. 9695 ## These systems don't supply Xmu.
9726 hpux* | aix4-2 ) 9696 hpux* | aix4-2 )
9727 test "X$ac_cv_lib_Xmu_XmuConvertStandardSelection" != "Xyes" && LIBXMU= 9697 test "X$ac_cv_lib_Xmu_XmuConvertStandardSelection" != "Xyes" && LIBXMU=
9728 ;; 9698 ;;
@@ -9734,7 +9704,7 @@ if test "${HAVE_X11}" = "yes"; then
9734 if test "${USE_X_TOOLKIT}" != "none"; then 9704 if test "${USE_X_TOOLKIT}" != "none"; then
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9736$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 9706$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9737if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 9707if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9738 $as_echo_n "(cached) " >&6 9708 $as_echo_n "(cached) " >&6
9739else 9709else
9740 ac_check_lib_save_LIBS=$LIBS 9710 ac_check_lib_save_LIBS=$LIBS
@@ -9768,7 +9738,7 @@ LIBS=$ac_check_lib_save_LIBS
9768fi 9738fi
9769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9770$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 9740$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9771if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 9741if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9772 cat >>confdefs.h <<_ACEOF 9742 cat >>confdefs.h <<_ACEOF
9773#define HAVE_LIBXEXT 1 9743#define HAVE_LIBXEXT 1
9774_ACEOF 9744_ACEOF
@@ -9784,7 +9754,7 @@ LIBXP=
9784if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9754if test "${USE_X_TOOLKIT}" = "MOTIF"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
9786$as_echo_n "checking for Motif version 2.1... " >&6; } 9756$as_echo_n "checking for Motif version 2.1... " >&6; }
9787if test "${emacs_cv_motif_version_2_1+set}" = set; then : 9757if ${emacs_cv_motif_version_2_1+:} false; then :
9788 $as_echo_n "(cached) " >&6 9758 $as_echo_n "(cached) " >&6
9789else 9759else
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9814,7 +9784,7 @@ $as_echo "$emacs_cv_motif_version_2_1" >&6; }
9814 if test $emacs_cv_motif_version_2_1 = yes; then 9784 if test $emacs_cv_motif_version_2_1 = yes; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
9816$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 9786$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
9817if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 9787if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
9818 $as_echo_n "(cached) " >&6 9788 $as_echo_n "(cached) " >&6
9819else 9789else
9820 ac_check_lib_save_LIBS=$LIBS 9790 ac_check_lib_save_LIBS=$LIBS
@@ -9848,14 +9818,14 @@ LIBS=$ac_check_lib_save_LIBS
9848fi 9818fi
9849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 9819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
9850$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 9820$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
9851if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 9821if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
9852 LIBXP=-lXp 9822 LIBXP=-lXp
9853fi 9823fi
9854 9824
9855 else 9825 else
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
9857$as_echo_n "checking for LessTif where some systems put it... " >&6; } 9827$as_echo_n "checking for LessTif where some systems put it... " >&6; }
9858if test "${emacs_cv_lesstif+set}" = set; then : 9828if ${emacs_cv_lesstif+:} false; then :
9859 $as_echo_n "(cached) " >&6 9829 $as_echo_n "(cached) " >&6
9860else 9830else
9861 # We put this in CFLAGS temporarily to precede other -I options 9831 # We put this in CFLAGS temporarily to precede other -I options
@@ -10014,7 +9984,7 @@ if test "${HAVE_X11}" = "yes"; then
10014set dummy pkg-config; ac_word=$2 9984set dummy pkg-config; ac_word=$2
10015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10016$as_echo_n "checking for $ac_word... " >&6; } 9986$as_echo_n "checking for $ac_word... " >&6; }
10017if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9987if ${ac_cv_path_PKG_CONFIG+:} false; then :
10018 $as_echo_n "(cached) " >&6 9988 $as_echo_n "(cached) " >&6
10019else 9989else
10020 case $PKG_CONFIG in 9990 case $PKG_CONFIG in
@@ -10116,7 +10086,7 @@ $as_echo "no" >&6; }
10116set dummy pkg-config; ac_word=$2 10086set dummy pkg-config; ac_word=$2
10117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10118$as_echo_n "checking for $ac_word... " >&6; } 10088$as_echo_n "checking for $ac_word... " >&6; }
10119if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10089if ${ac_cv_path_PKG_CONFIG+:} false; then :
10120 $as_echo_n "(cached) " >&6 10090 $as_echo_n "(cached) " >&6
10121else 10091else
10122 case $PKG_CONFIG in 10092 case $PKG_CONFIG in
@@ -10208,7 +10178,7 @@ $as_echo "no" >&6; }
10208 HAVE_XRENDER=no 10178 HAVE_XRENDER=no
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
10210$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 10180$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
10211if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 10181if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
10212 $as_echo_n "(cached) " >&6 10182 $as_echo_n "(cached) " >&6
10213else 10183else
10214 ac_check_lib_save_LIBS=$LIBS 10184 ac_check_lib_save_LIBS=$LIBS
@@ -10242,7 +10212,7 @@ LIBS=$ac_check_lib_save_LIBS
10242fi 10212fi
10243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 10213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
10244$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 10214$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
10245if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 10215if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
10246 HAVE_XRENDER=yes 10216 HAVE_XRENDER=yes
10247fi 10217fi
10248 10218
@@ -10255,10 +10225,10 @@ fi
10255 XFT_LIBS="-lXrender $XFT_LIBS" 10225 XFT_LIBS="-lXrender $XFT_LIBS"
10256 LIBS="$XFT_LIBS $LIBS" 10226 LIBS="$XFT_LIBS $LIBS"
10257 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 10227 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
10258if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 10228if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
10260$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 10230$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
10261if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 10231if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
10262 $as_echo_n "(cached) " >&6 10232 $as_echo_n "(cached) " >&6
10263else 10233else
10264 ac_check_lib_save_LIBS=$LIBS 10234 ac_check_lib_save_LIBS=$LIBS
@@ -10292,7 +10262,7 @@ LIBS=$ac_check_lib_save_LIBS
10292fi 10262fi
10293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 10263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
10294$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 10264$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
10295if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 10265if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
10296 HAVE_XFT=yes 10266 HAVE_XFT=yes
10297fi 10267fi
10298 10268
@@ -10341,7 +10311,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10341set dummy pkg-config; ac_word=$2 10311set dummy pkg-config; ac_word=$2
10342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10343$as_echo_n "checking for $ac_word... " >&6; } 10313$as_echo_n "checking for $ac_word... " >&6; }
10344if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10314if ${ac_cv_path_PKG_CONFIG+:} false; then :
10345 $as_echo_n "(cached) " >&6 10315 $as_echo_n "(cached) " >&6
10346else 10316else
10347 case $PKG_CONFIG in 10317 case $PKG_CONFIG in
@@ -10434,7 +10404,7 @@ $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
10434 10404
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
10436$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 10406$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
10437if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 10407if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
10438 $as_echo_n "(cached) " >&6 10408 $as_echo_n "(cached) " >&6
10439else 10409else
10440 ac_check_lib_save_LIBS=$LIBS 10410 ac_check_lib_save_LIBS=$LIBS
@@ -10468,7 +10438,7 @@ LIBS=$ac_check_lib_save_LIBS
10468fi 10438fi
10469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 10439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
10470$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 10440$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
10471if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 10441if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
10472 HAVE_OTF_GET_VARIATION_GLYPHS=yes 10442 HAVE_OTF_GET_VARIATION_GLYPHS=yes
10473else 10443else
10474 HAVE_OTF_GET_VARIATION_GLYPHS=no 10444 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -10493,7 +10463,7 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
10493set dummy pkg-config; ac_word=$2 10463set dummy pkg-config; ac_word=$2
10494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10495$as_echo_n "checking for $ac_word... " >&6; } 10465$as_echo_n "checking for $ac_word... " >&6; }
10496if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10466if ${ac_cv_path_PKG_CONFIG+:} false; then :
10497 $as_echo_n "(cached) " >&6 10467 $as_echo_n "(cached) " >&6
10498else 10468else
10499 case $PKG_CONFIG in 10469 case $PKG_CONFIG in
@@ -10611,10 +10581,10 @@ LIBXPM=
10611if test "${HAVE_X11}" = "yes"; then 10581if test "${HAVE_X11}" = "yes"; then
10612 if test "${with_xpm}" != "no"; then 10582 if test "${with_xpm}" != "no"; then
10613 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 10583 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
10614if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 10584if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
10616$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 10586$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
10617if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 10587if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
10618 $as_echo_n "(cached) " >&6 10588 $as_echo_n "(cached) " >&6
10619else 10589else
10620 ac_check_lib_save_LIBS=$LIBS 10590 ac_check_lib_save_LIBS=$LIBS
@@ -10648,7 +10618,7 @@ LIBS=$ac_check_lib_save_LIBS
10648fi 10618fi
10649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 10619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10650$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 10620$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
10651if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 10621if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
10652 HAVE_XPM=yes 10622 HAVE_XPM=yes
10653fi 10623fi
10654 10624
@@ -10700,10 +10670,10 @@ LIBJPEG=
10700if test "${HAVE_X11}" = "yes"; then 10670if test "${HAVE_X11}" = "yes"; then
10701 if test "${with_jpeg}" != "no"; then 10671 if test "${with_jpeg}" != "no"; then
10702 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 10672 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
10703if test "x$ac_cv_header_jerror_h" = x""yes; then : 10673if test "x$ac_cv_header_jerror_h" = xyes; then :
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
10705$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 10675$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
10706if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 10676if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
10707 $as_echo_n "(cached) " >&6 10677 $as_echo_n "(cached) " >&6
10708else 10678else
10709 ac_check_lib_save_LIBS=$LIBS 10679 ac_check_lib_save_LIBS=$LIBS
@@ -10737,7 +10707,7 @@ LIBS=$ac_check_lib_save_LIBS
10737fi 10707fi
10738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 10708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
10739$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 10709$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
10740if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 10710if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
10741 HAVE_JPEG=yes 10711 HAVE_JPEG=yes
10742fi 10712fi
10743 10713
@@ -10784,8 +10754,7 @@ if test "${HAVE_X11}" = "yes"; then
10784do : 10754do :
10785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10786ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10756ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10787eval as_val=\$$as_ac_Header 10757if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10788 if test "x$as_val" = x""yes; then :
10789 cat >>confdefs.h <<_ACEOF 10758 cat >>confdefs.h <<_ACEOF
10790#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10759#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10791_ACEOF 10760_ACEOF
@@ -10797,7 +10766,7 @@ done
10797 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 10766 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
10799$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 10768$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
10800if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 10769if ${ac_cv_lib_png_png_get_channels+:} false; then :
10801 $as_echo_n "(cached) " >&6 10770 $as_echo_n "(cached) " >&6
10802else 10771else
10803 ac_check_lib_save_LIBS=$LIBS 10772 ac_check_lib_save_LIBS=$LIBS
@@ -10831,7 +10800,7 @@ LIBS=$ac_check_lib_save_LIBS
10831fi 10800fi
10832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 10801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
10833$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 10802$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
10834if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 10803if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
10835 HAVE_PNG=yes 10804 HAVE_PNG=yes
10836fi 10805fi
10837 10806
@@ -10853,13 +10822,13 @@ LIBTIFF=
10853if test "${HAVE_X11}" = "yes"; then 10822if test "${HAVE_X11}" = "yes"; then
10854 if test "${with_tiff}" != "no"; then 10823 if test "${with_tiff}" != "no"; then
10855 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 10824 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
10856if test "x$ac_cv_header_tiffio_h" = x""yes; then : 10825if test "x$ac_cv_header_tiffio_h" = xyes; then :
10857 tifflibs="-lz -lm" 10826 tifflibs="-lz -lm"
10858 # At least one tiff package requires the jpeg library. 10827 # At least one tiff package requires the jpeg library.
10859 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10828 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
10861$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10830$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
10862if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 10831if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
10863 $as_echo_n "(cached) " >&6 10832 $as_echo_n "(cached) " >&6
10864else 10833else
10865 ac_check_lib_save_LIBS=$LIBS 10834 ac_check_lib_save_LIBS=$LIBS
@@ -10893,7 +10862,7 @@ LIBS=$ac_check_lib_save_LIBS
10893fi 10862fi
10894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
10895$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10864$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
10896if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 10865if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
10897 HAVE_TIFF=yes 10866 HAVE_TIFF=yes
10898fi 10867fi
10899 10868
@@ -10916,12 +10885,12 @@ HAVE_GIF=no
10916LIBGIF= 10885LIBGIF=
10917if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10886if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
10918 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 10887 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
10919if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 10888if test "x$ac_cv_header_gif_lib_h" = xyes; then :
10920 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10889 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
10921# Earlier versions can crash Emacs. 10890# Earlier versions can crash Emacs.
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
10923$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10892$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
10924if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 10893if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
10925 $as_echo_n "(cached) " >&6 10894 $as_echo_n "(cached) " >&6
10926else 10895else
10927 ac_check_lib_save_LIBS=$LIBS 10896 ac_check_lib_save_LIBS=$LIBS
@@ -10955,7 +10924,7 @@ LIBS=$ac_check_lib_save_LIBS
10955fi 10924fi
10956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
10957$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10926$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
10958if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 10927if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
10959 HAVE_GIF=yes 10928 HAVE_GIF=yes
10960else 10929else
10961 HAVE_GIF=maybe 10930 HAVE_GIF=maybe
@@ -10971,7 +10940,7 @@ fi
10971# If gif_lib.h but no libgif, try libungif. 10940# If gif_lib.h but no libgif, try libungif.
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
10973$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10942$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
10974if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 10943if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
10975 $as_echo_n "(cached) " >&6 10944 $as_echo_n "(cached) " >&6
10976else 10945else
10977 ac_check_lib_save_LIBS=$LIBS 10946 ac_check_lib_save_LIBS=$LIBS
@@ -11005,7 +10974,7 @@ LIBS=$ac_check_lib_save_LIBS
11005fi 10974fi
11006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 10975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
11007$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 10976$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
11008if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 10977if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
11009 HAVE_GIF=yes 10978 HAVE_GIF=yes
11010else 10979else
11011 HAVE_GIF=no 10980 HAVE_GIF=no
@@ -11037,7 +11006,7 @@ if test "${HAVE_X11}" = "yes"; then
11037 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 11006 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
11038 11007
11039 if test "X${MISSING}" != X; then 11008 if test "X${MISSING}" != X; then
11040 as_fn_error "The following required libraries were not found: 11009 as_fn_error $? "The following required libraries were not found:
11041 $MISSING 11010 $MISSING
11042Maybe some development libraries/packages are missing? 11011Maybe some development libraries/packages are missing?
11043If you don't want to link with them give 11012If you don't want to link with them give
@@ -11052,10 +11021,10 @@ LIBGPM=
11052MOUSE_SUPPORT= 11021MOUSE_SUPPORT=
11053if test "${with_gpm}" != "no"; then 11022if test "${with_gpm}" != "no"; then
11054 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 11023 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
11055if test "x$ac_cv_header_gpm_h" = x""yes; then : 11024if test "x$ac_cv_header_gpm_h" = xyes; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
11057$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 11026$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
11058if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 11027if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
11059 $as_echo_n "(cached) " >&6 11028 $as_echo_n "(cached) " >&6
11060else 11029else
11061 ac_check_lib_save_LIBS=$LIBS 11030 ac_check_lib_save_LIBS=$LIBS
@@ -11089,7 +11058,7 @@ LIBS=$ac_check_lib_save_LIBS
11089fi 11058fi
11090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
11091$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 11060$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
11092if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 11061if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
11093 HAVE_GPM=yes 11062 HAVE_GPM=yes
11094fi 11063fi
11095 11064
@@ -11109,7 +11078,7 @@ fi
11109 11078
11110 11079
11111ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 11080ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
11112if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 11081if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
11113 11082
11114$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 11083$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
11115 11084
@@ -11154,10 +11123,10 @@ HAVE_X_SM=no
11154LIBXSM= 11123LIBXSM=
11155if test "${HAVE_X11}" = "yes"; then 11124if test "${HAVE_X11}" = "yes"; then
11156 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 11125 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
11157if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 11126if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
11159$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 11128$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
11160if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 11129if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
11161 $as_echo_n "(cached) " >&6 11130 $as_echo_n "(cached) " >&6
11162else 11131else
11163 ac_check_lib_save_LIBS=$LIBS 11132 ac_check_lib_save_LIBS=$LIBS
@@ -11191,7 +11160,7 @@ LIBS=$ac_check_lib_save_LIBS
11191fi 11160fi
11192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 11161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
11193$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 11162$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
11194if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 11163if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
11195 HAVE_X_SM=yes 11164 HAVE_X_SM=yes
11196fi 11165fi
11197 11166
@@ -11222,7 +11191,7 @@ if test "${with_xml2}" != "no"; then
11222set dummy pkg-config; ac_word=$2 11191set dummy pkg-config; ac_word=$2
11223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224$as_echo_n "checking for $ac_word... " >&6; } 11193$as_echo_n "checking for $ac_word... " >&6; }
11225if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11194if ${ac_cv_path_PKG_CONFIG+:} false; then :
11226 $as_echo_n "(cached) " >&6 11195 $as_echo_n "(cached) " >&6
11227else 11196else
11228 case $PKG_CONFIG in 11197 case $PKG_CONFIG in
@@ -11313,7 +11282,7 @@ $as_echo "no" >&6; }
11313 LIBS="$LIBXML2_LIBS $LIBS" 11282 LIBS="$LIBXML2_LIBS $LIBS"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
11315$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 11284$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
11316if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 11285if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
11317 $as_echo_n "(cached) " >&6 11286 $as_echo_n "(cached) " >&6
11318else 11287else
11319 ac_check_lib_save_LIBS=$LIBS 11288 ac_check_lib_save_LIBS=$LIBS
@@ -11347,7 +11316,7 @@ LIBS=$ac_check_lib_save_LIBS
11347fi 11316fi
11348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 11317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
11349$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 11318$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
11350if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 11319if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
11351 HAVE_LIBXML2=yes 11320 HAVE_LIBXML2=yes
11352else 11321else
11353 HAVE_LIBXML2=no 11322 HAVE_LIBXML2=no
@@ -11369,7 +11338,7 @@ fi
11369# If netdb.h doesn't declare h_errno, we must declare it by hand. 11338# If netdb.h doesn't declare h_errno, we must declare it by hand.
11370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 11339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
11371$as_echo_n "checking whether netdb declares h_errno... " >&6; } 11340$as_echo_n "checking whether netdb declares h_errno... " >&6; }
11372if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 11341if ${emacs_cv_netdb_declares_h_errno+:} false; then :
11373 $as_echo_n "(cached) " >&6 11342 $as_echo_n "(cached) " >&6
11374else 11343else
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11399,11 +11368,22 @@ $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
11399 11368
11400fi 11369fi
11401 11370
11371ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11372if test "x$ac_cv_type_size_t" = xyes; then :
11373
11374else
11375
11376cat >>confdefs.h <<_ACEOF
11377#define size_t unsigned int
11378_ACEOF
11379
11380fi
11381
11402# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11382# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11403# for constant arguments. Useless! 11383# for constant arguments. Useless!
11404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 11384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11405$as_echo_n "checking for working alloca.h... " >&6; } 11385$as_echo_n "checking for working alloca.h... " >&6; }
11406if test "${ac_cv_working_alloca_h+set}" = set; then : 11386if ${ac_cv_working_alloca_h+:} false; then :
11407 $as_echo_n "(cached) " >&6 11387 $as_echo_n "(cached) " >&6
11408else 11388else
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11436,7 +11416,7 @@ fi
11436 11416
11437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 11417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11438$as_echo_n "checking for alloca... " >&6; } 11418$as_echo_n "checking for alloca... " >&6; }
11439if test "${ac_cv_func_alloca_works+set}" = set; then : 11419if ${ac_cv_func_alloca_works+:} false; then :
11440 $as_echo_n "(cached) " >&6 11420 $as_echo_n "(cached) " >&6
11441else 11421else
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11455,7 +11435,7 @@ else
11455 #pragma alloca 11435 #pragma alloca
11456# else 11436# else
11457# ifndef alloca /* predefined by HP cc +Olibcalls */ 11437# ifndef alloca /* predefined by HP cc +Olibcalls */
11458char *alloca (); 11438void *alloca (size_t);
11459# endif 11439# endif
11460# endif 11440# endif
11461# endif 11441# endif
@@ -11499,7 +11479,7 @@ $as_echo "#define C_ALLOCA 1" >>confdefs.h
11499 11479
11500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 11480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11501$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 11481$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11502if test "${ac_cv_os_cray+set}" = set; then : 11482if ${ac_cv_os_cray+:} false; then :
11503 $as_echo_n "(cached) " >&6 11483 $as_echo_n "(cached) " >&6
11504else 11484else
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11526,8 +11506,7 @@ if test $ac_cv_os_cray = yes; then
11526 for ac_func in _getb67 GETB67 getb67; do 11506 for ac_func in _getb67 GETB67 getb67; do
11527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11528ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11508ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11529eval as_val=\$$as_ac_var 11509if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11530 if test "x$as_val" = x""yes; then :
11531 11510
11532cat >>confdefs.h <<_ACEOF 11511cat >>confdefs.h <<_ACEOF
11533#define CRAY_STACKSEG_END $ac_func 11512#define CRAY_STACKSEG_END $ac_func
@@ -11541,7 +11520,7 @@ fi
11541 11520
11542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 11521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11543$as_echo_n "checking stack direction for C alloca... " >&6; } 11522$as_echo_n "checking stack direction for C alloca... " >&6; }
11544if test "${ac_cv_c_stack_direction+set}" = set; then : 11523if ${ac_cv_c_stack_direction+:} false; then :
11545 $as_echo_n "(cached) " >&6 11524 $as_echo_n "(cached) " >&6
11546else 11525else
11547 if test "$cross_compiling" = yes; then : 11526 if test "$cross_compiling" = yes; then :
@@ -11591,14 +11570,14 @@ fi
11591 11570
11592 11571
11593if test x"$ac_cv_func_alloca_works" != xyes; then 11572if test x"$ac_cv_func_alloca_works" != xyes; then
11594 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 11573 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5
11595fi 11574fi
11596 11575
11597# fmod, logb, and frexp are found in -lm on most systems. 11576# fmod, logb, and frexp are found in -lm on most systems.
11598# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 11577# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
11599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 11578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11600$as_echo_n "checking for sqrt in -lm... " >&6; } 11579$as_echo_n "checking for sqrt in -lm... " >&6; }
11601if test "${ac_cv_lib_m_sqrt+set}" = set; then : 11580if ${ac_cv_lib_m_sqrt+:} false; then :
11602 $as_echo_n "(cached) " >&6 11581 $as_echo_n "(cached) " >&6
11603else 11582else
11604 ac_check_lib_save_LIBS=$LIBS 11583 ac_check_lib_save_LIBS=$LIBS
@@ -11632,7 +11611,7 @@ LIBS=$ac_check_lib_save_LIBS
11632fi 11611fi
11633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 11612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
11634$as_echo "$ac_cv_lib_m_sqrt" >&6; } 11613$as_echo "$ac_cv_lib_m_sqrt" >&6; }
11635if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 11614if test "x$ac_cv_lib_m_sqrt" = xyes; then :
11636 cat >>confdefs.h <<_ACEOF 11615 cat >>confdefs.h <<_ACEOF
11637#define HAVE_LIBM 1 11616#define HAVE_LIBM 1
11638_ACEOF 11617_ACEOF
@@ -11646,7 +11625,7 @@ fi
11646# have the same check as for liblockfile below. 11625# have the same check as for liblockfile below.
11647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 11626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
11648$as_echo_n "checking for maillock in -lmail... " >&6; } 11627$as_echo_n "checking for maillock in -lmail... " >&6; }
11649if test "${ac_cv_lib_mail_maillock+set}" = set; then : 11628if ${ac_cv_lib_mail_maillock+:} false; then :
11650 $as_echo_n "(cached) " >&6 11629 $as_echo_n "(cached) " >&6
11651else 11630else
11652 ac_check_lib_save_LIBS=$LIBS 11631 ac_check_lib_save_LIBS=$LIBS
@@ -11680,7 +11659,7 @@ LIBS=$ac_check_lib_save_LIBS
11680fi 11659fi
11681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 11660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
11682$as_echo "$ac_cv_lib_mail_maillock" >&6; } 11661$as_echo "$ac_cv_lib_mail_maillock" >&6; }
11683if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 11662if test "x$ac_cv_lib_mail_maillock" = xyes; then :
11684 have_mail=yes 11663 have_mail=yes
11685else 11664else
11686 have_mail=no 11665 have_mail=no
@@ -11697,7 +11676,7 @@ else
11697fi 11676fi
11698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 11677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
11699$as_echo_n "checking for maillock in -llockfile... " >&6; } 11678$as_echo_n "checking for maillock in -llockfile... " >&6; }
11700if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 11679if ${ac_cv_lib_lockfile_maillock+:} false; then :
11701 $as_echo_n "(cached) " >&6 11680 $as_echo_n "(cached) " >&6
11702else 11681else
11703 ac_check_lib_save_LIBS=$LIBS 11682 ac_check_lib_save_LIBS=$LIBS
@@ -11731,7 +11710,7 @@ LIBS=$ac_check_lib_save_LIBS
11731fi 11710fi
11732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 11711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
11733$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 11712$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
11734if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 11713if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
11735 have_lockfile=yes 11714 have_lockfile=yes
11736else 11715else
11737 have_lockfile=no 11716 have_lockfile=no
@@ -11751,7 +11730,7 @@ else
11751set dummy liblockfile.so; ac_word=$2 11730set dummy liblockfile.so; ac_word=$2
11752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753$as_echo_n "checking for $ac_word... " >&6; } 11732$as_echo_n "checking for $ac_word... " >&6; }
11754if test "${ac_cv_prog_liblockfile+set}" = set; then : 11733if ${ac_cv_prog_liblockfile+:} false; then :
11755 $as_echo_n "(cached) " >&6 11734 $as_echo_n "(cached) " >&6
11756else 11735else
11757 if test -n "$liblockfile"; then 11736 if test -n "$liblockfile"; then
@@ -11787,7 +11766,7 @@ fi
11787 11766
11788 11767
11789 if test $ac_cv_prog_liblockfile = yes; then 11768 if test $ac_cv_prog_liblockfile = yes; then
11790 as_fn_error "Shared liblockfile found but can't link against it. 11769 as_fn_error $? "Shared liblockfile found but can't link against it.
11791This probably means that movemail could lose mail. 11770This probably means that movemail could lose mail.
11792There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11771There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11793 fi 11772 fi
@@ -11795,7 +11774,7 @@ fi
11795for ac_func in touchlock 11774for ac_func in touchlock
11796do : 11775do :
11797 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 11776 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
11798if test "x$ac_cv_func_touchlock" = x""yes; then : 11777if test "x$ac_cv_func_touchlock" = xyes; then :
11799 cat >>confdefs.h <<_ACEOF 11778 cat >>confdefs.h <<_ACEOF
11800#define HAVE_TOUCHLOCK 1 11779#define HAVE_TOUCHLOCK 1
11801_ACEOF 11780_ACEOF
@@ -11806,7 +11785,7 @@ done
11806for ac_header in maillock.h 11785for ac_header in maillock.h
11807do : 11786do :
11808 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 11787 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
11809if test "x$ac_cv_header_maillock_h" = x""yes; then : 11788if test "x$ac_cv_header_maillock_h" = xyes; then :
11810 cat >>confdefs.h <<_ACEOF 11789 cat >>confdefs.h <<_ACEOF
11811#define HAVE_MAILLOCK_H 1 11790#define HAVE_MAILLOCK_H 1
11812_ACEOF 11791_ACEOF
@@ -11876,8 +11855,7 @@ cfmakeraw cfsetspeed isnan copysign __executable_start
11876do : 11855do :
11877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11857ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11879eval as_val=\$$as_ac_var 11858if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11880 if test "x$as_val" = x""yes; then :
11881 cat >>confdefs.h <<_ACEOF 11859 cat >>confdefs.h <<_ACEOF
11882#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11860#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11883_ACEOF 11861_ACEOF
@@ -11889,7 +11867,7 @@ done
11889for ac_header in sys/un.h 11867for ac_header in sys/un.h
11890do : 11868do :
11891 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 11869 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
11892if test "x$ac_cv_header_sys_un_h" = x""yes; then : 11870if test "x$ac_cv_header_sys_un_h" = xyes; then :
11893 cat >>confdefs.h <<_ACEOF 11871 cat >>confdefs.h <<_ACEOF
11894#define HAVE_SYS_UN_H 1 11872#define HAVE_SYS_UN_H 1
11895_ACEOF 11873_ACEOF
@@ -11908,8 +11886,7 @@ done
11908do : 11886do :
11909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11910ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11888ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11911eval as_val=\$$as_ac_var 11889if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11912 if test "x$as_val" = x""yes; then :
11913 cat >>confdefs.h <<_ACEOF 11890 cat >>confdefs.h <<_ACEOF
11914#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11891#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11915_ACEOF 11892_ACEOF
@@ -11923,7 +11900,7 @@ done
11923 11900
11924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 11901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
11925$as_echo_n "checking for working mktime... " >&6; } 11902$as_echo_n "checking for working mktime... " >&6; }
11926if test "${ac_cv_func_working_mktime+set}" = set; then : 11903if ${ac_cv_func_working_mktime+:} false; then :
11927 $as_echo_n "(cached) " >&6 11904 $as_echo_n "(cached) " >&6
11928else 11905else
11929 if test "$cross_compiling" = yes; then : 11906 if test "$cross_compiling" = yes; then :
@@ -11961,8 +11938,8 @@ static time_t time_t_max;
11961static time_t time_t_min; 11938static time_t time_t_min;
11962 11939
11963/* Values we'll use to set the TZ environment variable. */ 11940/* Values we'll use to set the TZ environment variable. */
11964static char *tz_strings[] = { 11941static const char *tz_strings[] = {
11965 (char *) 0, "TZ=GMT0", "TZ=JST-9", 11942 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
11966 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11943 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11967}; 11944};
11968#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11945#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
@@ -11979,7 +11956,7 @@ spring_forward_gap ()
11979 instead of "TZ=America/Vancouver" in order to detect the bug even 11956 instead of "TZ=America/Vancouver" in order to detect the bug even
11980 on systems that don't support the Olson extension, or don't have the 11957 on systems that don't support the Olson extension, or don't have the
11981 full zoneinfo tables installed. */ 11958 full zoneinfo tables installed. */
11982 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 11959 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
11983 11960
11984 tm.tm_year = 98; 11961 tm.tm_year = 98;
11985 tm.tm_mon = 3; 11962 tm.tm_mon = 3;
@@ -11992,16 +11969,14 @@ spring_forward_gap ()
11992} 11969}
11993 11970
11994static int 11971static int
11995mktime_test1 (now) 11972mktime_test1 (time_t now)
11996 time_t now;
11997{ 11973{
11998 struct tm *lt; 11974 struct tm *lt;
11999 return ! (lt = localtime (&now)) || mktime (lt) == now; 11975 return ! (lt = localtime (&now)) || mktime (lt) == now;
12000} 11976}
12001 11977
12002static int 11978static int
12003mktime_test (now) 11979mktime_test (time_t now)
12004 time_t now;
12005{ 11980{
12006 return (mktime_test1 (now) 11981 return (mktime_test1 (now)
12007 && mktime_test1 ((time_t) (time_t_max - now)) 11982 && mktime_test1 ((time_t) (time_t_max - now))
@@ -12025,8 +12000,7 @@ irix_6_4_bug ()
12025} 12000}
12026 12001
12027static int 12002static int
12028bigtime_test (j) 12003bigtime_test (int j)
12029 int j;
12030{ 12004{
12031 struct tm tm; 12005 struct tm tm;
12032 time_t now; 12006 time_t now;
@@ -12070,7 +12044,7 @@ year_2050_test ()
12070 instead of "TZ=America/Vancouver" in order to detect the bug even 12044 instead of "TZ=America/Vancouver" in order to detect the bug even
12071 on systems that don't support the Olson extension, or don't have the 12045 on systems that don't support the Olson extension, or don't have the
12072 full zoneinfo tables installed. */ 12046 full zoneinfo tables installed. */
12073 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 12047 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
12074 12048
12075 t = mktime (&tm); 12049 t = mktime (&tm);
12076 12050
@@ -12105,7 +12079,7 @@ main ()
12105 for (i = 0; i < N_STRINGS; i++) 12079 for (i = 0; i < N_STRINGS; i++)
12106 { 12080 {
12107 if (tz_strings[i]) 12081 if (tz_strings[i])
12108 putenv (tz_strings[i]); 12082 putenv ((char*) tz_strings[i]);
12109 12083
12110 for (t = 0; t <= time_t_max - delta; t += delta) 12084 for (t = 0; t <= time_t_max - delta; t += delta)
12111 if (! mktime_test (t)) 12085 if (! mktime_test (t))
@@ -12157,13 +12131,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
12157 12131
12158# Make sure getloadavg.c is where it belongs, at configure-time. 12132# Make sure getloadavg.c is where it belongs, at configure-time.
12159test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 12133test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
12160 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 12134 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
12161 12135
12162ac_save_LIBS=$LIBS 12136ac_save_LIBS=$LIBS
12163 12137
12164# Check for getloadavg, but be sure not to touch the cache variable. 12138# Check for getloadavg, but be sure not to touch the cache variable.
12165(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12139(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12166if test "x$ac_cv_func_getloadavg" = x""yes; then : 12140if test "x$ac_cv_func_getloadavg" = xyes; then :
12167 exit 0 12141 exit 0
12168else 12142else
12169 exit 1 12143 exit 1
@@ -12174,7 +12148,7 @@ fi
12174for ac_func in pstat_getdynamic 12148for ac_func in pstat_getdynamic
12175do : 12149do :
12176 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 12150 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
12177if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 12151if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
12178 cat >>confdefs.h <<_ACEOF 12152 cat >>confdefs.h <<_ACEOF
12179#define HAVE_PSTAT_GETDYNAMIC 1 12153#define HAVE_PSTAT_GETDYNAMIC 1
12180_ACEOF 12154_ACEOF
@@ -12186,7 +12160,7 @@ done
12186# Solaris has libkstat which does not require root. 12160# Solaris has libkstat which does not require root.
12187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 12161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12188$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 12162$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12189if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 12163if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12190 $as_echo_n "(cached) " >&6 12164 $as_echo_n "(cached) " >&6
12191else 12165else
12192 ac_check_lib_save_LIBS=$LIBS 12166 ac_check_lib_save_LIBS=$LIBS
@@ -12220,7 +12194,7 @@ LIBS=$ac_check_lib_save_LIBS
12220fi 12194fi
12221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 12195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12222$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 12196$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12223if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 12197if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12224 cat >>confdefs.h <<_ACEOF 12198 cat >>confdefs.h <<_ACEOF
12225#define HAVE_LIBKSTAT 1 12199#define HAVE_LIBKSTAT 1
12226_ACEOF 12200_ACEOF
@@ -12238,7 +12212,7 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
12238if test $ac_have_func = no; then 12212if test $ac_have_func = no; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
12240$as_echo_n "checking for elf_begin in -lelf... " >&6; } 12214$as_echo_n "checking for elf_begin in -lelf... " >&6; }
12241if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 12215if ${ac_cv_lib_elf_elf_begin+:} false; then :
12242 $as_echo_n "(cached) " >&6 12216 $as_echo_n "(cached) " >&6
12243else 12217else
12244 ac_check_lib_save_LIBS=$LIBS 12218 ac_check_lib_save_LIBS=$LIBS
@@ -12272,7 +12246,7 @@ LIBS=$ac_check_lib_save_LIBS
12272fi 12246fi
12273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 12247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
12274$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 12248$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
12275if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 12249if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
12276 LIBS="-lelf $LIBS" 12250 LIBS="-lelf $LIBS"
12277fi 12251fi
12278 12252
@@ -12280,7 +12254,7 @@ fi
12280if test $ac_have_func = no; then 12254if test $ac_have_func = no; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
12282$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 12256$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
12283if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 12257if ${ac_cv_lib_kvm_kvm_open+:} false; then :
12284 $as_echo_n "(cached) " >&6 12258 $as_echo_n "(cached) " >&6
12285else 12259else
12286 ac_check_lib_save_LIBS=$LIBS 12260 ac_check_lib_save_LIBS=$LIBS
@@ -12314,14 +12288,14 @@ LIBS=$ac_check_lib_save_LIBS
12314fi 12288fi
12315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 12289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
12316$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 12290$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
12317if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 12291if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
12318 LIBS="-lkvm $LIBS" 12292 LIBS="-lkvm $LIBS"
12319fi 12293fi
12320 12294
12321 # Check for the 4.4BSD definition of getloadavg. 12295 # Check for the 4.4BSD definition of getloadavg.
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
12323$as_echo_n "checking for getloadavg in -lutil... " >&6; } 12297$as_echo_n "checking for getloadavg in -lutil... " >&6; }
12324if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 12298if ${ac_cv_lib_util_getloadavg+:} false; then :
12325 $as_echo_n "(cached) " >&6 12299 $as_echo_n "(cached) " >&6
12326else 12300else
12327 ac_check_lib_save_LIBS=$LIBS 12301 ac_check_lib_save_LIBS=$LIBS
@@ -12355,7 +12329,7 @@ LIBS=$ac_check_lib_save_LIBS
12355fi 12329fi
12356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 12330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
12357$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 12331$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
12358if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 12332if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
12359 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 12333 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
12360fi 12334fi
12361 12335
@@ -12368,7 +12342,7 @@ if test $ac_have_func = no; then
12368 LIBS="-L/usr/local/lib $LIBS" 12342 LIBS="-L/usr/local/lib $LIBS"
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
12370$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 12344$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
12371if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 12345if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
12372 $as_echo_n "(cached) " >&6 12346 $as_echo_n "(cached) " >&6
12373else 12347else
12374 ac_check_lib_save_LIBS=$LIBS 12348 ac_check_lib_save_LIBS=$LIBS
@@ -12402,7 +12376,7 @@ LIBS=$ac_check_lib_save_LIBS
12402fi 12376fi
12403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 12377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
12404$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 12378$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
12405if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 12379if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
12406 LIBS="-lgetloadavg $LIBS" 12380 LIBS="-lgetloadavg $LIBS"
12407else 12381else
12408 LIBS=$ac_getloadavg_LIBS 12382 LIBS=$ac_getloadavg_LIBS
@@ -12415,7 +12389,7 @@ fi
12415for ac_func in getloadavg 12389for ac_func in getloadavg
12416do : 12390do :
12417 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12391 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12418if test "x$ac_cv_func_getloadavg" = x""yes; then : 12392if test "x$ac_cv_func_getloadavg" = xyes; then :
12419 cat >>confdefs.h <<_ACEOF 12393 cat >>confdefs.h <<_ACEOF
12420#define HAVE_GETLOADAVG 1 12394#define HAVE_GETLOADAVG 1
12421_ACEOF 12395_ACEOF
@@ -12433,14 +12407,14 @@ $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
12433# Figure out what our getloadavg.c needs. 12407# Figure out what our getloadavg.c needs.
12434ac_have_func=no 12408ac_have_func=no
12435ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 12409ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
12436if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 12410if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
12437 ac_have_func=yes 12411 ac_have_func=yes
12438 12412
12439$as_echo "#define DGUX 1" >>confdefs.h 12413$as_echo "#define DGUX 1" >>confdefs.h
12440 12414
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
12442$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 12416$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
12443if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 12417if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
12444 $as_echo_n "(cached) " >&6 12418 $as_echo_n "(cached) " >&6
12445else 12419else
12446 ac_check_lib_save_LIBS=$LIBS 12420 ac_check_lib_save_LIBS=$LIBS
@@ -12474,7 +12448,7 @@ LIBS=$ac_check_lib_save_LIBS
12474fi 12448fi
12475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 12449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
12476$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 12450$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
12477if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 12451if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
12478 cat >>confdefs.h <<_ACEOF 12452 cat >>confdefs.h <<_ACEOF
12479#define HAVE_LIBDGC 1 12453#define HAVE_LIBDGC 1
12480_ACEOF 12454_ACEOF
@@ -12488,7 +12462,7 @@ fi
12488 12462
12489 12463
12490ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12464ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12491if test "x$ac_cv_header_locale_h" = x""yes; then : 12465if test "x$ac_cv_header_locale_h" = xyes; then :
12492 12466
12493fi 12467fi
12494 12468
@@ -12496,7 +12470,7 @@ fi
12496for ac_func in setlocale 12470for ac_func in setlocale
12497do : 12471do :
12498 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 12472 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
12499if test "x$ac_cv_func_setlocale" = x""yes; then : 12473if test "x$ac_cv_func_setlocale" = xyes; then :
12500 cat >>confdefs.h <<_ACEOF 12474 cat >>confdefs.h <<_ACEOF
12501#define HAVE_SETLOCALE 1 12475#define HAVE_SETLOCALE 1
12502_ACEOF 12476_ACEOF
@@ -12508,7 +12482,8 @@ done
12508# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 12482# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
12509# uses stabs), but it is still SVR4. We cannot check for <elf.h> because 12483# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
12510# Irix 4.0.5F has the header but not the library. 12484# Irix 4.0.5F has the header but not the library.
12511if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 12485if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \
12486 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
12512 ac_have_func=yes 12487 ac_have_func=yes
12513 12488
12514$as_echo "#define SVR4 1" >>confdefs.h 12489$as_echo "#define SVR4 1" >>confdefs.h
@@ -12517,7 +12492,7 @@ fi
12517 12492
12518if test $ac_have_func = no; then 12493if test $ac_have_func = no; then
12519 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 12494 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
12520if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 12495if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
12521 ac_have_func=yes 12496 ac_have_func=yes
12522 12497
12523$as_echo "#define UMAX 1" >>confdefs.h 12498$as_echo "#define UMAX 1" >>confdefs.h
@@ -12532,7 +12507,7 @@ fi
12532 12507
12533if test $ac_have_func = no; then 12508if test $ac_have_func = no; then
12534 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 12509 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
12535if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 12510if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
12536 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 12511 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
12537 12512
12538fi 12513fi
@@ -12544,7 +12519,7 @@ if test $ac_have_func = no; then
12544 for ac_header in mach/mach.h 12519 for ac_header in mach/mach.h
12545do : 12520do :
12546 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 12521 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
12547if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 12522if test "x$ac_cv_header_mach_mach_h" = xyes; then :
12548 cat >>confdefs.h <<_ACEOF 12523 cat >>confdefs.h <<_ACEOF
12549#define HAVE_MACH_MACH_H 1 12524#define HAVE_MACH_MACH_H 1
12550_ACEOF 12525_ACEOF
@@ -12558,13 +12533,13 @@ fi
12558for ac_header in nlist.h 12533for ac_header in nlist.h
12559do : 12534do :
12560 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 12535 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
12561if test "x$ac_cv_header_nlist_h" = x""yes; then : 12536if test "x$ac_cv_header_nlist_h" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF 12537 cat >>confdefs.h <<_ACEOF
12563#define HAVE_NLIST_H 1 12538#define HAVE_NLIST_H 1
12564_ACEOF 12539_ACEOF
12565 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 12540 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
12566" 12541"
12567if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 12542if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
12568 12543
12569cat >>confdefs.h <<_ACEOF 12544cat >>confdefs.h <<_ACEOF
12570#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12545#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
@@ -12587,7 +12562,7 @@ done
12587# Some definitions of getloadavg require that the program be installed setgid. 12562# Some definitions of getloadavg require that the program be installed setgid.
12588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 12563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
12589$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 12564$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
12590if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 12565if ${ac_cv_func_getloadavg_setgid+:} false; then :
12591 $as_echo_n "(cached) " >&6 12566 $as_echo_n "(cached) " >&6
12592else 12567else
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12620,7 +12595,7 @@ fi
12620if test $ac_cv_func_getloadavg_setgid = yes; then 12595if test $ac_cv_func_getloadavg_setgid = yes; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
12622$as_echo_n "checking group of /dev/kmem... " >&6; } 12597$as_echo_n "checking group of /dev/kmem... " >&6; }
12623if test "${ac_cv_group_kmem+set}" = set; then : 12598if ${ac_cv_group_kmem+:} false; then :
12624 $as_echo_n "(cached) " >&6 12599 $as_echo_n "(cached) " >&6
12625else 12600else
12626 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 12601 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -12648,7 +12623,7 @@ LIBS=$ac_save_LIBS
12648 12623
12649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12650$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12625$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12651if test "${ac_cv_sys_largefile_source+set}" = set; then : 12626if ${ac_cv_sys_largefile_source+:} false; then :
12652 $as_echo_n "(cached) " >&6 12627 $as_echo_n "(cached) " >&6
12653else 12628else
12654 while :; do 12629 while :; do
@@ -12741,7 +12716,7 @@ fi
12741 for ac_header in getopt.h 12716 for ac_header in getopt.h
12742do : 12717do :
12743 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 12718 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12744if test "x$ac_cv_header_getopt_h" = x""yes; then : 12719if test "x$ac_cv_header_getopt_h" = xyes; then :
12745 cat >>confdefs.h <<_ACEOF 12720 cat >>confdefs.h <<_ACEOF
12746#define HAVE_GETOPT_H 1 12721#define HAVE_GETOPT_H 1
12747_ACEOF 12722_ACEOF
@@ -12756,7 +12731,7 @@ done
12756 for ac_func in getopt_long_only 12731 for ac_func in getopt_long_only
12757do : 12732do :
12758 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 12733 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
12759if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 12734if test "x$ac_cv_func_getopt_long_only" = xyes; then :
12760 cat >>confdefs.h <<_ACEOF 12735 cat >>confdefs.h <<_ACEOF
12761#define HAVE_GETOPT_LONG_ONLY 1 12736#define HAVE_GETOPT_LONG_ONLY 1
12762_ACEOF 12737_ACEOF
@@ -12771,7 +12746,7 @@ done
12771 if test -z "$GETOPT_H"; then 12746 if test -z "$GETOPT_H"; then
12772 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 12747 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
12773" 12748"
12774if test "x$ac_cv_have_decl_optreset" = x""yes; then : 12749if test "x$ac_cv_have_decl_optreset" = xyes; then :
12775 GETOPT_H=getopt.h 12750 GETOPT_H=getopt.h
12776fi 12751fi
12777 12752
@@ -12780,13 +12755,13 @@ fi
12780 if test -z "$GETOPT_H"; then 12755 if test -z "$GETOPT_H"; then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
12782$as_echo_n "checking for working GNU getopt function... " >&6; } 12757$as_echo_n "checking for working GNU getopt function... " >&6; }
12783if test "${gl_cv_func_gnu_getopt+set}" = set; then : 12758if ${gl_cv_func_gnu_getopt+:} false; then :
12784 $as_echo_n "(cached) " >&6 12759 $as_echo_n "(cached) " >&6
12785else 12760else
12786 if test "$cross_compiling" = yes; then : 12761 if test "$cross_compiling" = yes; then :
12787 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 12762 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
12788" 12763"
12789if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 12764if test "x$ac_cv_have_decl_getopt_clip" = xyes; then :
12790 gl_cv_func_gnu_getopt=no 12765 gl_cv_func_gnu_getopt=no
12791else 12766else
12792 gl_cv_func_gnu_getopt=yes 12767 gl_cv_func_gnu_getopt=yes
@@ -12847,7 +12822,7 @@ fi
12847 12822
12848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 12823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
12849$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12824$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
12850if test "${ac_cv_func_getpgrp_void+set}" = set; then : 12825if ${ac_cv_func_getpgrp_void+:} false; then :
12851 $as_echo_n "(cached) " >&6 12826 $as_echo_n "(cached) " >&6
12852else 12827else
12853 # Use it with a single arg. 12828 # Use it with a single arg.
@@ -12882,7 +12857,7 @@ fi
12882for ac_func in strftime 12857for ac_func in strftime
12883do : 12858do :
12884 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 12859 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12885if test "x$ac_cv_func_strftime" = x""yes; then : 12860if test "x$ac_cv_func_strftime" = xyes; then :
12886 cat >>confdefs.h <<_ACEOF 12861 cat >>confdefs.h <<_ACEOF
12887#define HAVE_STRFTIME 1 12862#define HAVE_STRFTIME 1
12888_ACEOF 12863_ACEOF
@@ -12891,7 +12866,7 @@ else
12891 # strftime is in -lintl on SCO UNIX. 12866 # strftime is in -lintl on SCO UNIX.
12892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 12867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12893$as_echo_n "checking for strftime in -lintl... " >&6; } 12868$as_echo_n "checking for strftime in -lintl... " >&6; }
12894if test "${ac_cv_lib_intl_strftime+set}" = set; then : 12869if ${ac_cv_lib_intl_strftime+:} false; then :
12895 $as_echo_n "(cached) " >&6 12870 $as_echo_n "(cached) " >&6
12896else 12871else
12897 ac_check_lib_save_LIBS=$LIBS 12872 ac_check_lib_save_LIBS=$LIBS
@@ -12925,7 +12900,7 @@ LIBS=$ac_check_lib_save_LIBS
12925fi 12900fi
12926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 12901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12927$as_echo "$ac_cv_lib_intl_strftime" >&6; } 12902$as_echo "$ac_cv_lib_intl_strftime" >&6; }
12928if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 12903if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12929 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 12904 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12930 12905
12931LIBS="-lintl $LIBS" 12906LIBS="-lintl $LIBS"
@@ -12939,7 +12914,7 @@ done
12939for ac_func in grantpt 12914for ac_func in grantpt
12940do : 12915do :
12941 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 12916 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
12942if test "x$ac_cv_func_grantpt" = x""yes; then : 12917if test "x$ac_cv_func_grantpt" = xyes; then :
12943 cat >>confdefs.h <<_ACEOF 12918 cat >>confdefs.h <<_ACEOF
12944#define HAVE_GRANTPT 1 12919#define HAVE_GRANTPT 1
12945_ACEOF 12920_ACEOF
@@ -12952,7 +12927,7 @@ done
12952for ac_func in getpt 12927for ac_func in getpt
12953do : 12928do :
12954 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 12929 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
12955if test "x$ac_cv_func_getpt" = x""yes; then : 12930if test "x$ac_cv_func_getpt" = xyes; then :
12956 cat >>confdefs.h <<_ACEOF 12931 cat >>confdefs.h <<_ACEOF
12957#define HAVE_GETPT 1 12932#define HAVE_GETPT 1
12958_ACEOF 12933_ACEOF
@@ -12969,7 +12944,7 @@ done
12969have_tputs_et_al=true 12944have_tputs_et_al=true
12970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 12945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
12971$as_echo_n "checking for library containing tputs... " >&6; } 12946$as_echo_n "checking for library containing tputs... " >&6; }
12972if test "${ac_cv_search_tputs+set}" = set; then : 12947if ${ac_cv_search_tputs+:} false; then :
12973 $as_echo_n "(cached) " >&6 12948 $as_echo_n "(cached) " >&6
12974else 12949else
12975 ac_func_search_save_LIBS=$LIBS 12950 ac_func_search_save_LIBS=$LIBS
@@ -13003,11 +12978,11 @@ for ac_lib in '' ncurses terminfo termcap; do
13003fi 12978fi
13004rm -f core conftest.err conftest.$ac_objext \ 12979rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext 12980 conftest$ac_exeext
13006 if test "${ac_cv_search_tputs+set}" = set; then : 12981 if ${ac_cv_search_tputs+:} false; then :
13007 break 12982 break
13008fi 12983fi
13009done 12984done
13010if test "${ac_cv_search_tputs+set}" = set; then : 12985if ${ac_cv_search_tputs+:} false; then :
13011 12986
13012else 12987else
13013 ac_cv_search_tputs=no 12988 ac_cv_search_tputs=no
@@ -13026,7 +13001,7 @@ else
13026fi 13001fi
13027 13002
13028if test "$have_tputs_et_al" != true; then 13003if test "$have_tputs_et_al" != true; then
13029 as_fn_error "I couldn't find termcap functions (tputs and friends). 13004 as_fn_error $? "I couldn't find termcap functions (tputs and friends).
13030Maybe some development libraries/packages are missing? Try installing 13005Maybe some development libraries/packages are missing? Try installing
13031libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 13006libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
13032fi 13007fi
@@ -13066,7 +13041,7 @@ case "$opsys" in
13066 freebsd) 13041 freebsd)
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
13068$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 13043$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
13069 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 13044 if ${emacs_cv_freebsd_terminfo+:} false; then :
13070 $as_echo_n "(cached) " >&6 13045 $as_echo_n "(cached) " >&6
13071else 13046else
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13208,16 +13183,16 @@ LIBHESIOD=
13208if test "$with_hesiod" != no ; then 13183if test "$with_hesiod" != no ; then
13209 # Don't set $LIBS here -- see comments above. FIXME which comments? 13184 # Don't set $LIBS here -- see comments above. FIXME which comments?
13210 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 13185 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
13211if test "x$ac_cv_func_res_send" = x""yes; then : 13186if test "x$ac_cv_func_res_send" = xyes; then :
13212 13187
13213else 13188else
13214 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 13189 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
13215if test "x$ac_cv_func___res_send" = x""yes; then : 13190if test "x$ac_cv_func___res_send" = xyes; then :
13216 13191
13217else 13192else
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
13219$as_echo_n "checking for res_send in -lresolv... " >&6; } 13194$as_echo_n "checking for res_send in -lresolv... " >&6; }
13220if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 13195if ${ac_cv_lib_resolv_res_send+:} false; then :
13221 $as_echo_n "(cached) " >&6 13196 $as_echo_n "(cached) " >&6
13222else 13197else
13223 ac_check_lib_save_LIBS=$LIBS 13198 ac_check_lib_save_LIBS=$LIBS
@@ -13251,12 +13226,12 @@ LIBS=$ac_check_lib_save_LIBS
13251fi 13226fi
13252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 13227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
13253$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 13228$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
13254if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 13229if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
13255 resolv=yes 13230 resolv=yes
13256else 13231else
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
13258$as_echo_n "checking for __res_send in -lresolv... " >&6; } 13233$as_echo_n "checking for __res_send in -lresolv... " >&6; }
13259if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 13234if ${ac_cv_lib_resolv___res_send+:} false; then :
13260 $as_echo_n "(cached) " >&6 13235 $as_echo_n "(cached) " >&6
13261else 13236else
13262 ac_check_lib_save_LIBS=$LIBS 13237 ac_check_lib_save_LIBS=$LIBS
@@ -13290,7 +13265,7 @@ LIBS=$ac_check_lib_save_LIBS
13290fi 13265fi
13291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 13266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
13292$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 13267$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
13293if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 13268if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
13294 resolv=yes 13269 resolv=yes
13295fi 13270fi
13296 13271
@@ -13306,12 +13281,12 @@ fi
13306 RESOLVLIB= 13281 RESOLVLIB=
13307 fi 13282 fi
13308 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 13283 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
13309if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 13284if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
13310 13285
13311else 13286else
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
13313$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 13288$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
13314if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 13289if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
13315 $as_echo_n "(cached) " >&6 13290 $as_echo_n "(cached) " >&6
13316else 13291else
13317 ac_check_lib_save_LIBS=$LIBS 13292 ac_check_lib_save_LIBS=$LIBS
@@ -13345,7 +13320,7 @@ LIBS=$ac_check_lib_save_LIBS
13345fi 13320fi
13346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
13347$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 13322$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
13348if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 13323if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
13349 hesiod=yes 13324 hesiod=yes
13350else 13325else
13351 : 13326 :
@@ -13384,7 +13359,7 @@ KRB4LIB=
13384if test "${with_kerberos}" != no; then 13359if test "${with_kerberos}" != no; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13386$as_echo_n "checking for com_err in -lcom_err... " >&6; } 13361$as_echo_n "checking for com_err in -lcom_err... " >&6; }
13387if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 13362if ${ac_cv_lib_com_err_com_err+:} false; then :
13388 $as_echo_n "(cached) " >&6 13363 $as_echo_n "(cached) " >&6
13389else 13364else
13390 ac_check_lib_save_LIBS=$LIBS 13365 ac_check_lib_save_LIBS=$LIBS
@@ -13418,7 +13393,7 @@ LIBS=$ac_check_lib_save_LIBS
13418fi 13393fi
13419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 13394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13420$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 13395$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13421if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 13396if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13422 have_com_err=yes 13397 have_com_err=yes
13423else 13398else
13424 have_com_err=no 13399 have_com_err=no
@@ -13433,7 +13408,7 @@ $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
13433 fi 13408 fi
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13435$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 13410$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
13436if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 13411if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
13437 $as_echo_n "(cached) " >&6 13412 $as_echo_n "(cached) " >&6
13438else 13413else
13439 ac_check_lib_save_LIBS=$LIBS 13414 ac_check_lib_save_LIBS=$LIBS
@@ -13467,7 +13442,7 @@ LIBS=$ac_check_lib_save_LIBS
13467fi 13442fi
13468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
13469$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 13444$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
13470if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 13445if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
13471 have_crypto=yes 13446 have_crypto=yes
13472else 13447else
13473 have_crypto=no 13448 have_crypto=no
@@ -13482,7 +13457,7 @@ $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13482 fi 13457 fi
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13484$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 13459$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
13485if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 13460if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
13486 $as_echo_n "(cached) " >&6 13461 $as_echo_n "(cached) " >&6
13487else 13462else
13488 ac_check_lib_save_LIBS=$LIBS 13463 ac_check_lib_save_LIBS=$LIBS
@@ -13516,7 +13491,7 @@ LIBS=$ac_check_lib_save_LIBS
13516fi 13491fi
13517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
13518$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 13493$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
13519if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 13494if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
13520 have_k5crypto=yes 13495 have_k5crypto=yes
13521else 13496else
13522 have_k5crypto=no 13497 have_k5crypto=no
@@ -13531,7 +13506,7 @@ $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
13531 fi 13506 fi
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13533$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 13508$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13534if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 13509if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13535 $as_echo_n "(cached) " >&6 13510 $as_echo_n "(cached) " >&6
13536else 13511else
13537 ac_check_lib_save_LIBS=$LIBS 13512 ac_check_lib_save_LIBS=$LIBS
@@ -13565,7 +13540,7 @@ LIBS=$ac_check_lib_save_LIBS
13565fi 13540fi
13566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13567$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 13542$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13568if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 13543if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13569 have_krb5=yes 13544 have_krb5=yes
13570else 13545else
13571 have_krb5=no 13546 have_krb5=no
@@ -13581,7 +13556,7 @@ $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
13581 if test "${with_kerberos5}" = no; then 13556 if test "${with_kerberos5}" = no; then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
13583$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 13558$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
13584if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 13559if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
13585 $as_echo_n "(cached) " >&6 13560 $as_echo_n "(cached) " >&6
13586else 13561else
13587 ac_check_lib_save_LIBS=$LIBS 13562 ac_check_lib_save_LIBS=$LIBS
@@ -13615,7 +13590,7 @@ LIBS=$ac_check_lib_save_LIBS
13615fi 13590fi
13616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
13617$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 13592$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
13618if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 13593if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
13619 have_des425=yes 13594 have_des425=yes
13620else 13595else
13621 have_des425=no 13596 have_des425=no
@@ -13630,7 +13605,7 @@ $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
13630 else 13605 else
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
13632$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 13607$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
13633if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 13608if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
13634 $as_echo_n "(cached) " >&6 13609 $as_echo_n "(cached) " >&6
13635else 13610else
13636 ac_check_lib_save_LIBS=$LIBS 13611 ac_check_lib_save_LIBS=$LIBS
@@ -13664,7 +13639,7 @@ LIBS=$ac_check_lib_save_LIBS
13664fi 13639fi
13665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
13666$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 13641$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
13667if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 13642if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
13668 have_des=yes 13643 have_des=yes
13669else 13644else
13670 have_des=no 13645 have_des=no
@@ -13680,7 +13655,7 @@ $as_echo "#define HAVE_LIBDES 1" >>confdefs.h
13680 fi 13655 fi
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
13682$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 13657$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
13683if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 13658if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
13684 $as_echo_n "(cached) " >&6 13659 $as_echo_n "(cached) " >&6
13685else 13660else
13686 ac_check_lib_save_LIBS=$LIBS 13661 ac_check_lib_save_LIBS=$LIBS
@@ -13714,7 +13689,7 @@ LIBS=$ac_check_lib_save_LIBS
13714fi 13689fi
13715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
13716$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 13691$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
13717if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 13692if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
13718 have_krb4=yes 13693 have_krb4=yes
13719else 13694else
13720 have_krb4=no 13695 have_krb4=no
@@ -13729,7 +13704,7 @@ $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
13729 else 13704 else
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
13731$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 13706$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
13732if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 13707if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
13733 $as_echo_n "(cached) " >&6 13708 $as_echo_n "(cached) " >&6
13734else 13709else
13735 ac_check_lib_save_LIBS=$LIBS 13710 ac_check_lib_save_LIBS=$LIBS
@@ -13763,7 +13738,7 @@ LIBS=$ac_check_lib_save_LIBS
13763fi 13738fi
13764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 13739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
13765$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 13740$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
13766if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 13741if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
13767 have_krb=yes 13742 have_krb=yes
13768else 13743else
13769 have_krb=no 13744 have_krb=no
@@ -13783,13 +13758,13 @@ $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
13783 for ac_header in krb5.h 13758 for ac_header in krb5.h
13784do : 13759do :
13785 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 13760 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
13786if test "x$ac_cv_header_krb5_h" = x""yes; then : 13761if test "x$ac_cv_header_krb5_h" = xyes; then :
13787 cat >>confdefs.h <<_ACEOF 13762 cat >>confdefs.h <<_ACEOF
13788#define HAVE_KRB5_H 1 13763#define HAVE_KRB5_H 1
13789_ACEOF 13764_ACEOF
13790 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 13765 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
13791" 13766"
13792if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 13767if test "x$ac_cv_member_krb5_error_text" = xyes; then :
13793 13768
13794cat >>confdefs.h <<_ACEOF 13769cat >>confdefs.h <<_ACEOF
13795#define HAVE_KRB5_ERROR_TEXT 1 13770#define HAVE_KRB5_ERROR_TEXT 1
@@ -13799,7 +13774,7 @@ _ACEOF
13799fi 13774fi
13800ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 13775ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
13801" 13776"
13802if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 13777if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
13803 13778
13804cat >>confdefs.h <<_ACEOF 13779cat >>confdefs.h <<_ACEOF
13805#define HAVE_KRB5_ERROR_E_TEXT 1 13780#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -13816,7 +13791,7 @@ done
13816 for ac_header in des.h 13791 for ac_header in des.h
13817do : 13792do :
13818 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 13793 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
13819if test "x$ac_cv_header_des_h" = x""yes; then : 13794if test "x$ac_cv_header_des_h" = xyes; then :
13820 cat >>confdefs.h <<_ACEOF 13795 cat >>confdefs.h <<_ACEOF
13821#define HAVE_DES_H 1 13796#define HAVE_DES_H 1
13822_ACEOF 13797_ACEOF
@@ -13825,7 +13800,7 @@ else
13825 for ac_header in kerberosIV/des.h 13800 for ac_header in kerberosIV/des.h
13826do : 13801do :
13827 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 13802 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
13828if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 13803if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
13829 cat >>confdefs.h <<_ACEOF 13804 cat >>confdefs.h <<_ACEOF
13830#define HAVE_KERBEROSIV_DES_H 1 13805#define HAVE_KERBEROSIV_DES_H 1
13831_ACEOF 13806_ACEOF
@@ -13834,7 +13809,7 @@ else
13834 for ac_header in kerberos/des.h 13809 for ac_header in kerberos/des.h
13835do : 13810do :
13836 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 13811 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
13837if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 13812if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
13838 cat >>confdefs.h <<_ACEOF 13813 cat >>confdefs.h <<_ACEOF
13839#define HAVE_KERBEROS_DES_H 1 13814#define HAVE_KERBEROS_DES_H 1
13840_ACEOF 13815_ACEOF
@@ -13854,7 +13829,7 @@ done
13854 for ac_header in krb.h 13829 for ac_header in krb.h
13855do : 13830do :
13856 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 13831 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
13857if test "x$ac_cv_header_krb_h" = x""yes; then : 13832if test "x$ac_cv_header_krb_h" = xyes; then :
13858 cat >>confdefs.h <<_ACEOF 13833 cat >>confdefs.h <<_ACEOF
13859#define HAVE_KRB_H 1 13834#define HAVE_KRB_H 1
13860_ACEOF 13835_ACEOF
@@ -13863,7 +13838,7 @@ else
13863 for ac_header in kerberosIV/krb.h 13838 for ac_header in kerberosIV/krb.h
13864do : 13839do :
13865 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 13840 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
13866if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 13841if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
13867 cat >>confdefs.h <<_ACEOF 13842 cat >>confdefs.h <<_ACEOF
13868#define HAVE_KERBEROSIV_KRB_H 1 13843#define HAVE_KERBEROSIV_KRB_H 1
13869_ACEOF 13844_ACEOF
@@ -13872,7 +13847,7 @@ else
13872 for ac_header in kerberos/krb.h 13847 for ac_header in kerberos/krb.h
13873do : 13848do :
13874 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 13849 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
13875if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 13850if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
13876 cat >>confdefs.h <<_ACEOF 13851 cat >>confdefs.h <<_ACEOF
13877#define HAVE_KERBEROS_KRB_H 1 13852#define HAVE_KERBEROS_KRB_H 1
13878_ACEOF 13853_ACEOF
@@ -13893,7 +13868,7 @@ done
13893 for ac_header in com_err.h 13868 for ac_header in com_err.h
13894do : 13869do :
13895 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 13870 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
13896if test "x$ac_cv_header_com_err_h" = x""yes; then : 13871if test "x$ac_cv_header_com_err_h" = xyes; then :
13897 cat >>confdefs.h <<_ACEOF 13872 cat >>confdefs.h <<_ACEOF
13898#define HAVE_COM_ERR_H 1 13873#define HAVE_COM_ERR_H 1
13899_ACEOF 13874_ACEOF
@@ -13914,7 +13889,7 @@ fi
13914# to return localized messages. 13889# to return localized messages.
13915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 13890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13916$as_echo_n "checking for dgettext in -lintl... " >&6; } 13891$as_echo_n "checking for dgettext in -lintl... " >&6; }
13917if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 13892if ${ac_cv_lib_intl_dgettext+:} false; then :
13918 $as_echo_n "(cached) " >&6 13893 $as_echo_n "(cached) " >&6
13919else 13894else
13920 ac_check_lib_save_LIBS=$LIBS 13895 ac_check_lib_save_LIBS=$LIBS
@@ -13948,7 +13923,7 @@ LIBS=$ac_check_lib_save_LIBS
13948fi 13923fi
13949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 13924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13950$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 13925$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13951if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 13926if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13952 cat >>confdefs.h <<_ACEOF 13927 cat >>confdefs.h <<_ACEOF
13953#define HAVE_LIBINTL 1 13928#define HAVE_LIBINTL 1
13954_ACEOF 13929_ACEOF
@@ -13960,7 +13935,7 @@ fi
13960 13935
13961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 13936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
13962$as_echo_n "checking whether localtime caches TZ... " >&6; } 13937$as_echo_n "checking whether localtime caches TZ... " >&6; }
13963if test "${emacs_cv_localtime_cache+set}" = set; then : 13938if ${emacs_cv_localtime_cache+:} false; then :
13964 $as_echo_n "(cached) " >&6 13939 $as_echo_n "(cached) " >&6
13965else 13940else
13966 if test x$ac_cv_func_tzset = xyes; then 13941 if test x$ac_cv_func_tzset = xyes; then
@@ -14019,7 +13994,7 @@ if test "x$HAVE_TIMEVAL" = xyes; then
14019 for ac_func in gettimeofday 13994 for ac_func in gettimeofday
14020do : 13995do :
14021 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 13996 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
14022if test "x$ac_cv_func_gettimeofday" = x""yes; then : 13997if test "x$ac_cv_func_gettimeofday" = xyes; then :
14023 cat >>confdefs.h <<_ACEOF 13998 cat >>confdefs.h <<_ACEOF
14024#define HAVE_GETTIMEOFDAY 1 13999#define HAVE_GETTIMEOFDAY 1
14025_ACEOF 14000_ACEOF
@@ -14030,7 +14005,7 @@ done
14030 if test $ac_cv_func_gettimeofday = yes; then 14005 if test $ac_cv_func_gettimeofday = yes; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
14032$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 14007$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
14033if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 14008if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
14034 $as_echo_n "(cached) " >&6 14009 $as_echo_n "(cached) " >&6
14035else 14010else
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14074,7 +14049,7 @@ fi
14074 14049
14075ok_so_far=yes 14050ok_so_far=yes
14076ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 14051ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
14077if test "x$ac_cv_func_socket" = x""yes; then : 14052if test "x$ac_cv_func_socket" = xyes; then :
14078 14053
14079else 14054else
14080 ok_so_far=no 14055 ok_so_far=no
@@ -14082,7 +14057,7 @@ fi
14082 14057
14083if test $ok_so_far = yes; then 14058if test $ok_so_far = yes; then
14084 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 14059 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14085if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 14060if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14086 14061
14087else 14062else
14088 ok_so_far=no 14063 ok_so_far=no
@@ -14092,7 +14067,7 @@ fi
14092fi 14067fi
14093if test $ok_so_far = yes; then 14068if test $ok_so_far = yes; then
14094 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 14069 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
14095if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 14070if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14096 14071
14097else 14072else
14098 ok_so_far=no 14073 ok_so_far=no
@@ -14126,7 +14101,7 @@ $as_echo "no" >&6; }
14126fi 14101fi
14127 14102
14128ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 14103ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14129if test "x$ac_cv_type_pid_t" = x""yes; then : 14104if test "x$ac_cv_type_pid_t" = xyes; then :
14130 14105
14131else 14106else
14132 14107
@@ -14139,7 +14114,7 @@ fi
14139for ac_header in vfork.h 14114for ac_header in vfork.h
14140do : 14115do :
14141 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 14116 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14142if test "x$ac_cv_header_vfork_h" = x""yes; then : 14117if test "x$ac_cv_header_vfork_h" = xyes; then :
14143 cat >>confdefs.h <<_ACEOF 14118 cat >>confdefs.h <<_ACEOF
14144#define HAVE_VFORK_H 1 14119#define HAVE_VFORK_H 1
14145_ACEOF 14120_ACEOF
@@ -14152,8 +14127,7 @@ for ac_func in fork vfork
14152do : 14127do :
14153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14154ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14129ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14155eval as_val=\$$as_ac_var 14130if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14156 if test "x$as_val" = x""yes; then :
14157 cat >>confdefs.h <<_ACEOF 14131 cat >>confdefs.h <<_ACEOF
14158#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14132#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14159_ACEOF 14133_ACEOF
@@ -14164,7 +14138,7 @@ done
14164if test "x$ac_cv_func_fork" = xyes; then 14138if test "x$ac_cv_func_fork" = xyes; then
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14166$as_echo_n "checking for working fork... " >&6; } 14140$as_echo_n "checking for working fork... " >&6; }
14167if test "${ac_cv_func_fork_works+set}" = set; then : 14141if ${ac_cv_func_fork_works+:} false; then :
14168 $as_echo_n "(cached) " >&6 14142 $as_echo_n "(cached) " >&6
14169else 14143else
14170 if test "$cross_compiling" = yes; then : 14144 if test "$cross_compiling" = yes; then :
@@ -14217,7 +14191,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork
14217if test "x$ac_cv_func_vfork" = xyes; then 14191if test "x$ac_cv_func_vfork" = xyes; then
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14219$as_echo_n "checking for working vfork... " >&6; } 14193$as_echo_n "checking for working vfork... " >&6; }
14220if test "${ac_cv_func_vfork_works+set}" = set; then : 14194if ${ac_cv_func_vfork_works+:} false; then :
14221 $as_echo_n "(cached) " >&6 14195 $as_echo_n "(cached) " >&6
14222else 14196else
14223 if test "$cross_compiling" = yes; then : 14197 if test "$cross_compiling" = yes; then :
@@ -14353,7 +14327,7 @@ fi
14353 14327
14354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 14328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14355$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 14329$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14356if test "${emacs_cv_langinfo_codeset+set}" = set; then : 14330if ${emacs_cv_langinfo_codeset+:} false; then :
14357 $as_echo_n "(cached) " >&6 14331 $as_echo_n "(cached) " >&6
14358else 14332else
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14385,7 +14359,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14385fi 14359fi
14386 14360
14387ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14361ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14388if test "x$ac_cv_type_size_t" = x""yes; then : 14362if test "x$ac_cv_type_size_t" = xyes; then :
14389 14363
14390cat >>confdefs.h <<_ACEOF 14364cat >>confdefs.h <<_ACEOF
14391#define HAVE_SIZE_T 1 14365#define HAVE_SIZE_T 1
@@ -14397,7 +14371,7 @@ fi
14397 14371
14398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 14372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
14399$as_echo_n "checking for mbstate_t... " >&6; } 14373$as_echo_n "checking for mbstate_t... " >&6; }
14400if test "${ac_cv_type_mbstate_t+set}" = set; then : 14374if ${ac_cv_type_mbstate_t+:} false; then :
14401 $as_echo_n "(cached) " >&6 14375 $as_echo_n "(cached) " >&6
14402else 14376else
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14433,7 +14407,7 @@ $as_echo "#define mbstate_t int" >>confdefs.h
14433 14407
14434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 14408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
14435$as_echo_n "checking for C restrict keyword... " >&6; } 14409$as_echo_n "checking for C restrict keyword... " >&6; }
14436if test "${emacs_cv_c_restrict+set}" = set; then : 14410if ${emacs_cv_c_restrict+:} false; then :
14437 $as_echo_n "(cached) " >&6 14411 $as_echo_n "(cached) " >&6
14438else 14412else
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14487,7 +14461,7 @@ fi
14487 14461
14488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 14462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
14489$as_echo_n "checking for C restricted array declarations... " >&6; } 14463$as_echo_n "checking for C restricted array declarations... " >&6; }
14490if test "${emacs_cv_c_restrict_arr+set}" = set; then : 14464if ${emacs_cv_c_restrict_arr+:} false; then :
14491 $as_echo_n "(cached) " >&6 14465 $as_echo_n "(cached) " >&6
14492else 14466else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14527,14 +14501,14 @@ if test "x$GCC" = xyes \
14527 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 14501 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
14528 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 14502 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
14529 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 14503 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
14530 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 14504 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
14531fi 14505fi
14532 14506
14533#### Find out which version of Emacs this is. 14507#### Find out which version of Emacs this is.
14534version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 14508version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
14535 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 14509 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
14536if test x"${version}" = x; then 14510if test x"${version}" = x; then
14537 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 14511 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
14538fi 14512fi
14539if test x"${version}" != x"$PACKAGE_VERSION"; then 14513if test x"${version}" != x"$PACKAGE_VERSION"; then
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 14514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
@@ -14575,6 +14549,12 @@ fi
14575 14549
14576## Used in lwlib/Makefile.in. 14550## Used in lwlib/Makefile.in.
14577 14551
14552if test -n "${machfile}"; then
14553 M_FILE="\$(srcdir)/${machfile}"
14554else
14555 M_FILE=
14556fi
14557S_FILE="\$(srcdir)/${opsysfile}"
14578 14558
14579 14559
14580 14560
@@ -14595,11 +14575,13 @@ cat >>confdefs.h <<_ACEOF
14595#define EMACS_CONFIG_OPTIONS "${ac_configure_args}" 14575#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
14596_ACEOF 14576_ACEOF
14597 14577
14578if test -n "$machfile"; then
14598 14579
14599cat >>confdefs.h <<_ACEOF 14580cat >>confdefs.h <<_ACEOF
14600#define config_machfile "${machfile}" 14581#define config_machfile "${machfile}"
14601_ACEOF 14582_ACEOF
14602 14583
14584fi
14603 14585
14604cat >>confdefs.h <<_ACEOF 14586cat >>confdefs.h <<_ACEOF
14605#define config_opsysfile "${opsysfile}" 14587#define config_opsysfile "${opsysfile}"
@@ -14875,16 +14857,18 @@ if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then
14875 gnu-*) 14857 gnu-*)
14876 ## armin76@gentoo.org reported that the lgcc_s flag is necessary to 14858 ## armin76@gentoo.org reported that the lgcc_s flag is necessary to
14877 ## build on ARM EABI under GNU/Linux. (Bug#5518) 14859 ## build on ARM EABI under GNU/Linux. (Bug#5518)
14878 ## Note that m/arm.h never bothered to undefine LIB_GCC first. 14860 case $host_cpu in
14879 if test "$machine" = "arm"; then 14861 arm*)
14880 LIB_GCC="-lgcc_s" 14862 LIB_GCC="-lgcc_s"
14881 else 14863 ;;
14864 *)
14882 ## FIXME? s/gnu-linux.h used to define LIB_GCC as below, then 14865 ## FIXME? s/gnu-linux.h used to define LIB_GCC as below, then
14883 ## immediately undefine it again and redefine it to empty. 14866 ## immediately undefine it again and redefine it to empty.
14884 ## Was the C_SWITCH_X_SITE part really necessary? 14867 ## Was the C_SWITCH_X_SITE part really necessary?
14885## LIB_GCC=`$CC $C_SWITCH_X_SITE -print-libgcc-file-name` 14868## LIB_GCC=`$CC $C_SWITCH_X_SITE -print-libgcc-file-name`
14886 LIB_GCC= 14869 LIB_GCC=
14887 fi 14870 ;;
14871 esac
14888 ;; 14872 ;;
14889 14873
14890 ## Ask GCC where to find libgcc.a. 14874 ## Ask GCC where to find libgcc.a.
@@ -14931,7 +14915,7 @@ Configured for \`${canonical}'.
14931 14915
14932 Where should the build process find the source code? ${srcdir} 14916 Where should the build process find the source code? ${srcdir}
14933 What operating system and machine description files should Emacs use? 14917 What operating system and machine description files should Emacs use?
14934 \`${opsysfile}' and \`${machfile}' 14918 \`${opsysfile}' and ${machfile:+\`${machfile}'}${machfile:-none}
14935 What compiler should emacs be built with? ${CC} ${CFLAGS} 14919 What compiler should emacs be built with? ${CC} ${CFLAGS}
14936 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 14920 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
14937 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} 14921 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
@@ -15071,10 +15055,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15071 :end' >>confcache 15055 :end' >>confcache
15072if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15056if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15073 if test -w "$cache_file"; then 15057 if test -w "$cache_file"; then
15074 test "x$cache_file" != "x/dev/null" && 15058 if test "x$cache_file" != "x/dev/null"; then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15059 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15076$as_echo "$as_me: updating cache $cache_file" >&6;} 15060$as_echo "$as_me: updating cache $cache_file" >&6;}
15077 cat confcache >$cache_file 15061 if test ! -f "$cache_file" || test -h "$cache_file"; then
15062 cat confcache >"$cache_file"
15063 else
15064 case $cache_file in #(
15065 */* | ?:*)
15066 mv -f confcache "$cache_file"$$ &&
15067 mv -f "$cache_file"$$ "$cache_file" ;; #(
15068 *)
15069 mv -f confcache "$cache_file" ;;
15070 esac
15071 fi
15072 fi
15078 else 15073 else
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15074 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15080$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15075$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -15090,6 +15085,7 @@ DEFS=-DHAVE_CONFIG_H
15090 15085
15091ac_libobjs= 15086ac_libobjs=
15092ac_ltlibobjs= 15087ac_ltlibobjs=
15088U=
15093for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15089for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15094 # 1. Remove the extension, and $U if already installed. 15090 # 1. Remove the extension, and $U if already installed.
15095 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15091 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -15106,7 +15102,7 @@ LTLIBOBJS=$ac_ltlibobjs
15106 15102
15107 15103
15108 15104
15109: ${CONFIG_STATUS=./config.status} 15105: "${CONFIG_STATUS=./config.status}"
15110ac_write_fail=0 15106ac_write_fail=0
15111ac_clean_files_save=$ac_clean_files 15107ac_clean_files_save=$ac_clean_files
15112ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15108ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -15207,6 +15203,7 @@ fi
15207IFS=" "" $as_nl" 15203IFS=" "" $as_nl"
15208 15204
15209# Find who we are. Look in the path if we contain no directory separator. 15205# Find who we are. Look in the path if we contain no directory separator.
15206as_myself=
15210case $0 in #(( 15207case $0 in #((
15211 *[\\/]* ) as_myself=$0 ;; 15208 *[\\/]* ) as_myself=$0 ;;
15212 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15209 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -15252,19 +15249,19 @@ export LANGUAGE
15252(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15249(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15253 15250
15254 15251
15255# as_fn_error ERROR [LINENO LOG_FD] 15252# as_fn_error STATUS ERROR [LINENO LOG_FD]
15256# --------------------------------- 15253# ----------------------------------------
15257# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15254# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15258# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15255# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15259# script with status $?, using 1 if that was 0. 15256# script with STATUS, using 1 if that was 0.
15260as_fn_error () 15257as_fn_error ()
15261{ 15258{
15262 as_status=$?; test $as_status -eq 0 && as_status=1 15259 as_status=$1; test $as_status -eq 0 && as_status=1
15263 if test "$3"; then 15260 if test "$4"; then
15264 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15261 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15265 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15262 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15266 fi 15263 fi
15267 $as_echo "$as_me: error: $1" >&2 15264 $as_echo "$as_me: error: $2" >&2
15268 as_fn_exit $as_status 15265 as_fn_exit $as_status
15269} # as_fn_error 15266} # as_fn_error
15270 15267
@@ -15460,7 +15457,7 @@ $as_echo X"$as_dir" |
15460 test -d "$as_dir" && break 15457 test -d "$as_dir" && break
15461 done 15458 done
15462 test -z "$as_dirs" || eval "mkdir $as_dirs" 15459 test -z "$as_dirs" || eval "mkdir $as_dirs"
15463 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 15460 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15464 15461
15465 15462
15466} # as_fn_mkdir_p 15463} # as_fn_mkdir_p
@@ -15514,7 +15511,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15514# values after options handling. 15511# values after options handling.
15515ac_log=" 15512ac_log="
15516This file was extended by emacs $as_me 24.0.50, which was 15513This file was extended by emacs $as_me 24.0.50, which was
15517generated by GNU Autoconf 2.65. Invocation command line was 15514generated by GNU Autoconf 2.68. Invocation command line was
15518 15515
15519 CONFIG_FILES = $CONFIG_FILES 15516 CONFIG_FILES = $CONFIG_FILES
15520 CONFIG_HEADERS = $CONFIG_HEADERS 15517 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -15580,10 +15577,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15580ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15577ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15581ac_cs_version="\\ 15578ac_cs_version="\\
15582emacs config.status 24.0.50 15579emacs config.status 24.0.50
15583configured by $0, generated by GNU Autoconf 2.65, 15580configured by $0, generated by GNU Autoconf 2.68,
15584 with options \\"\$ac_cs_config\\" 15581 with options \\"\$ac_cs_config\\"
15585 15582
15586Copyright (C) 2009 Free Software Foundation, Inc. 15583Copyright (C) 2010 Free Software Foundation, Inc.
15587This config.status script is free software; the Free Software Foundation 15584This config.status script is free software; the Free Software Foundation
15588gives unlimited permission to copy, distribute and modify it." 15585gives unlimited permission to copy, distribute and modify it."
15589 15586
@@ -15599,11 +15596,16 @@ ac_need_defaults=:
15599while test $# != 0 15596while test $# != 0
15600do 15597do
15601 case $1 in 15598 case $1 in
15602 --*=*) 15599 --*=?*)
15603 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15600 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15604 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15601 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15605 ac_shift=: 15602 ac_shift=:
15606 ;; 15603 ;;
15604 --*=)
15605 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15606 ac_optarg=
15607 ac_shift=:
15608 ;;
15607 *) 15609 *)
15608 ac_option=$1 15610 ac_option=$1
15609 ac_optarg=$2 15611 ac_optarg=$2
@@ -15625,6 +15627,7 @@ do
15625 $ac_shift 15627 $ac_shift
15626 case $ac_optarg in 15628 case $ac_optarg in
15627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15629 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15630 '') as_fn_error $? "missing file argument" ;;
15628 esac 15631 esac
15629 as_fn_append CONFIG_FILES " '$ac_optarg'" 15632 as_fn_append CONFIG_FILES " '$ac_optarg'"
15630 ac_need_defaults=false;; 15633 ac_need_defaults=false;;
@@ -15637,7 +15640,7 @@ do
15637 ac_need_defaults=false;; 15640 ac_need_defaults=false;;
15638 --he | --h) 15641 --he | --h)
15639 # Conflict between --help and --header 15642 # Conflict between --help and --header
15640 as_fn_error "ambiguous option: \`$1' 15643 as_fn_error $? "ambiguous option: \`$1'
15641Try \`$0 --help' for more information.";; 15644Try \`$0 --help' for more information.";;
15642 --help | --hel | -h ) 15645 --help | --hel | -h )
15643 $as_echo "$ac_cs_usage"; exit ;; 15646 $as_echo "$ac_cs_usage"; exit ;;
@@ -15646,7 +15649,7 @@ Try \`$0 --help' for more information.";;
15646 ac_cs_silent=: ;; 15649 ac_cs_silent=: ;;
15647 15650
15648 # This is an error. 15651 # This is an error.
15649 -*) as_fn_error "unrecognized option: \`$1' 15652 -*) as_fn_error $? "unrecognized option: \`$1'
15650Try \`$0 --help' for more information." ;; 15653Try \`$0 --help' for more information." ;;
15651 15654
15652 *) as_fn_append ac_config_targets " $1" 15655 *) as_fn_append ac_config_targets " $1"
@@ -15714,7 +15717,7 @@ do
15714 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15717 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15715 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15718 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15716 15719
15717 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15720 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15718 esac 15721 esac
15719done 15722done
15720 15723
@@ -15737,9 +15740,10 @@ fi
15737# after its creation but before its name has been assigned to `$tmp'. 15740# after its creation but before its name has been assigned to `$tmp'.
15738$debug || 15741$debug ||
15739{ 15742{
15740 tmp= 15743 tmp= ac_tmp=
15741 trap 'exit_status=$? 15744 trap 'exit_status=$?
15742 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15745 : "${ac_tmp:=$tmp}"
15746 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15743' 0 15747' 0
15744 trap 'as_fn_exit 1' 1 2 13 15 15748 trap 'as_fn_exit 1' 1 2 13 15
15745} 15749}
@@ -15747,12 +15751,13 @@ $debug ||
15747 15751
15748{ 15752{
15749 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15753 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15750 test -n "$tmp" && test -d "$tmp" 15754 test -d "$tmp"
15751} || 15755} ||
15752{ 15756{
15753 tmp=./conf$$-$RANDOM 15757 tmp=./conf$$-$RANDOM
15754 (umask 077 && mkdir "$tmp") 15758 (umask 077 && mkdir "$tmp")
15755} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 15759} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15760ac_tmp=$tmp
15756 15761
15757# Set up the scripts for CONFIG_FILES section. 15762# Set up the scripts for CONFIG_FILES section.
15758# No need to generate them if there are no CONFIG_FILES. 15763# No need to generate them if there are no CONFIG_FILES.
@@ -15786,24 +15791,24 @@ if test "x$ac_cr" = x; then
15786fi 15791fi
15787ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15792ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15788if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15793if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15789 ac_cs_awk_cr='\r' 15794 ac_cs_awk_cr='\\r'
15790else 15795else
15791 ac_cs_awk_cr=$ac_cr 15796 ac_cs_awk_cr=$ac_cr
15792fi 15797fi
15793 15798
15794echo 'BEGIN {' >"$tmp/subs1.awk" && 15799echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15795_ACEOF 15800_ACEOF
15796 15801
15797# Create commands to substitute file output variables. 15802# Create commands to substitute file output variables.
15798{ 15803{
15799 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 15804 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15800 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 15805 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15801 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15806 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15802 echo "_ACAWK" && 15807 echo "_ACAWK" &&
15803 echo "_ACEOF" 15808 echo "_ACEOF"
15804} >conf$$files.sh && 15809} >conf$$files.sh &&
15805. ./conf$$files.sh || 15810. ./conf$$files.sh ||
15806 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15811 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15807rm -f conf$$files.sh 15812rm -f conf$$files.sh
15808 15813
15809{ 15814{
@@ -15811,18 +15816,18 @@ rm -f conf$$files.sh
15811 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15816 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15812 echo "_ACEOF" 15817 echo "_ACEOF"
15813} >conf$$subs.sh || 15818} >conf$$subs.sh ||
15814 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15815ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15820ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15816ac_delim='%!_!# ' 15821ac_delim='%!_!# '
15817for ac_last_try in false false false false false :; do 15822for ac_last_try in false false false false false :; do
15818 . ./conf$$subs.sh || 15823 . ./conf$$subs.sh ||
15819 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15820 15825
15821 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15826 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15822 if test $ac_delim_n = $ac_delim_num; then 15827 if test $ac_delim_n = $ac_delim_num; then
15823 break 15828 break
15824 elif $ac_last_try; then 15829 elif $ac_last_try; then
15825 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15826 else 15831 else
15827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15828 fi 15833 fi
@@ -15830,7 +15835,7 @@ done
15830rm -f conf$$subs.sh 15835rm -f conf$$subs.sh
15831 15836
15832cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15837cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15838cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15834_ACEOF 15839_ACEOF
15835sed -n ' 15840sed -n '
15836h 15841h
@@ -15878,7 +15883,7 @@ t delim
15878rm -f conf$$subs.awk 15883rm -f conf$$subs.awk
15879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15884cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880_ACAWK 15885_ACAWK
15881cat >>"\$tmp/subs1.awk" <<_ACAWK && 15886cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15882 for (key in S) S_is_set[key] = 1 15887 for (key in S) S_is_set[key] = 1
15883 FS = "" 15888 FS = ""
15884 \$ac_cs_awk_pipe_init 15889 \$ac_cs_awk_pipe_init
@@ -15916,21 +15921,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15916 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15921 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15917else 15922else
15918 cat 15923 cat
15919fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15924fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15920 || as_fn_error "could not setup config files machinery" "$LINENO" 5 15925 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15921_ACEOF 15926_ACEOF
15922 15927
15923# VPATH may cause trouble with some makes, so we remove $(srcdir), 15928# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15924# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15929# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15925# trailing colons and then remove the whole line if VPATH becomes empty 15930# trailing colons and then remove the whole line if VPATH becomes empty
15926# (actually we leave an empty line to preserve line numbers). 15931# (actually we leave an empty line to preserve line numbers).
15927if test "x$srcdir" = x.; then 15932if test "x$srcdir" = x.; then
15928 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15933 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15929s/:*\$(srcdir):*/:/ 15934h
15930s/:*\${srcdir}:*/:/ 15935s///
15931s/:*@srcdir@:*/:/ 15936s/^/:/
15932s/^\([^=]*=[ ]*\):*/\1/ 15937s/[ ]*$/:/
15938s/:\$(srcdir):/:/g
15939s/:\${srcdir}:/:/g
15940s/:@srcdir@:/:/g
15941s/^:*//
15933s/:*$// 15942s/:*$//
15943x
15944s/\(=[ ]*\).*/\1/
15945G
15946s/\n//
15934s/^[^=]*=[ ]*$// 15947s/^[^=]*=[ ]*$//
15935}' 15948}'
15936fi 15949fi
@@ -15942,7 +15955,7 @@ fi # test -n "$CONFIG_FILES"
15942# No need to generate them if there are no CONFIG_HEADERS. 15955# No need to generate them if there are no CONFIG_HEADERS.
15943# This happens for instance with `./config.status Makefile'. 15956# This happens for instance with `./config.status Makefile'.
15944if test -n "$CONFIG_HEADERS"; then 15957if test -n "$CONFIG_HEADERS"; then
15945cat >"$tmp/defines.awk" <<\_ACAWK || 15958cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15946BEGIN { 15959BEGIN {
15947_ACEOF 15960_ACEOF
15948 15961
@@ -15954,11 +15967,11 @@ _ACEOF
15954# handling of long lines. 15967# handling of long lines.
15955ac_delim='%!_!# ' 15968ac_delim='%!_!# '
15956for ac_last_try in false false :; do 15969for ac_last_try in false false :; do
15957 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15970 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15958 if test -z "$ac_t"; then 15971 if test -z "$ac_tt"; then
15959 break 15972 break
15960 elif $ac_last_try; then 15973 elif $ac_last_try; then
15961 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 15974 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15962 else 15975 else
15963 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15976 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15964 fi 15977 fi
@@ -16043,7 +16056,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16043_ACAWK 16056_ACAWK
16044_ACEOF 16057_ACEOF
16045cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16046 as_fn_error "could not setup config headers machinery" "$LINENO" 5 16059 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16047fi # test -n "$CONFIG_HEADERS" 16060fi # test -n "$CONFIG_HEADERS"
16048 16061
16049 16062
@@ -16056,7 +16069,7 @@ do
16056 esac 16069 esac
16057 case $ac_mode$ac_tag in 16070 case $ac_mode$ac_tag in
16058 :[FHL]*:*);; 16071 :[FHL]*:*);;
16059 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16072 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16060 :[FH]-) ac_tag=-:-;; 16073 :[FH]-) ac_tag=-:-;;
16061 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16074 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16062 esac 16075 esac
@@ -16075,7 +16088,7 @@ do
16075 for ac_f 16088 for ac_f
16076 do 16089 do
16077 case $ac_f in 16090 case $ac_f in
16078 -) ac_f="$tmp/stdin";; 16091 -) ac_f="$ac_tmp/stdin";;
16079 *) # Look for the file first in the build tree, then in the source tree 16092 *) # Look for the file first in the build tree, then in the source tree
16080 # (if the path is not absolute). The absolute path cannot be DOS-style, 16093 # (if the path is not absolute). The absolute path cannot be DOS-style,
16081 # because $ac_f cannot contain `:'. 16094 # because $ac_f cannot contain `:'.
@@ -16084,7 +16097,7 @@ do
16084 [\\/$]*) false;; 16097 [\\/$]*) false;;
16085 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16098 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16086 esac || 16099 esac ||
16087 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16100 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16088 esac 16101 esac
16089 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16102 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16090 as_fn_append ac_file_inputs " '$ac_f'" 16103 as_fn_append ac_file_inputs " '$ac_f'"
@@ -16110,8 +16123,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
16110 esac 16123 esac
16111 16124
16112 case $ac_tag in 16125 case $ac_tag in
16113 *:-:* | *:-) cat >"$tmp/stdin" \ 16126 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16114 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16115 esac 16128 esac
16116 ;; 16129 ;;
16117 esac 16130 esac
@@ -16243,26 +16256,27 @@ $ac_datarootdir_hack
16243" 16256"
16244eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 16257eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16245if $ac_cs_awk_getline; then 16258if $ac_cs_awk_getline; then
16246 $AWK -f "$tmp/subs.awk" 16259 $AWK -f "$ac_tmp/subs.awk"
16247else 16260else
16248 $AWK -f "$tmp/subs.awk" | $SHELL 16261 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16249fi >$tmp/out \ 16262fi \
16250 || as_fn_error "could not create $ac_file" "$LINENO" 5 16263 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16251 16264
16252test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16265test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16253 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16266 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16254 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16268 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16256which seems to be undefined. Please make sure it is defined." >&5 16270which seems to be undefined. Please make sure it is defined" >&5
16257$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16271$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16258which seems to be undefined. Please make sure it is defined." >&2;} 16272which seems to be undefined. Please make sure it is defined" >&2;}
16259 16273
16260 rm -f "$tmp/stdin" 16274 rm -f "$ac_tmp/stdin"
16261 case $ac_file in 16275 case $ac_file in
16262 -) cat "$tmp/out" && rm -f "$tmp/out";; 16276 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16263 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16277 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16264 esac \ 16278 esac \
16265 || as_fn_error "could not create $ac_file" "$LINENO" 5 16279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16266 ;; 16280 ;;
16267 :H) 16281 :H)
16268 # 16282 #
@@ -16271,21 +16285,21 @@ which seems to be undefined. Please make sure it is defined." >&2;}
16271 if test x"$ac_file" != x-; then 16285 if test x"$ac_file" != x-; then
16272 { 16286 {
16273 $as_echo "/* $configure_input */" \ 16287 $as_echo "/* $configure_input */" \
16274 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16288 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16275 } >"$tmp/config.h" \ 16289 } >"$ac_tmp/config.h" \
16276 || as_fn_error "could not create $ac_file" "$LINENO" 5 16290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16277 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16291 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16292 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16279$as_echo "$as_me: $ac_file is unchanged" >&6;} 16293$as_echo "$as_me: $ac_file is unchanged" >&6;}
16280 else 16294 else
16281 rm -f "$ac_file" 16295 rm -f "$ac_file"
16282 mv "$tmp/config.h" "$ac_file" \ 16296 mv "$ac_tmp/config.h" "$ac_file" \
16283 || as_fn_error "could not create $ac_file" "$LINENO" 5 16297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16284 fi 16298 fi
16285 else 16299 else
16286 $as_echo "/* $configure_input */" \ 16300 $as_echo "/* $configure_input */" \
16287 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16301 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16288 || as_fn_error "could not create -" "$LINENO" 5 16302 || as_fn_error $? "could not create -" "$LINENO" 5
16289 fi 16303 fi
16290 ;; 16304 ;;
16291 16305
@@ -16322,7 +16336,7 @@ _ACEOF
16322ac_clean_files=$ac_clean_files_save 16336ac_clean_files=$ac_clean_files_save
16323 16337
16324test $ac_write_fail = 0 || 16338test $ac_write_fail = 0 ||
16325 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16339 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16326 16340
16327 16341
16328# configure is writing to config.log, and then calls config.status. 16342# configure is writing to config.log, and then calls config.status.
@@ -16343,7 +16357,7 @@ if test "$no_create" != yes; then
16343 exec 5>>config.log 16357 exec 5>>config.log
16344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16358 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16345 # would make configure fail if this is the last instruction. 16359 # would make configure fail if this is the last instruction.
16346 $ac_cs_success || as_fn_exit $? 16360 $ac_cs_success || as_fn_exit 1
16347fi 16361fi
16348if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16362if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/configure.in b/configure.in
index f6741087b9c..6a57e8ca60e 100644
--- a/configure.in
+++ b/configure.in
@@ -412,13 +412,27 @@ dnl quotation begins
412machine='' opsys='' unported=no 412machine='' opsys='' unported=no
413case "${canonical}" in 413case "${canonical}" in
414 414
415 ## GNU/Linux ports
416 *-*-linux-gnu*)
417 opsys=gnu-linux
418 case ${canonical} in
419 alpha*) machine=alpha ;;
420 s390-*) machine=ibms390 ;;
421 s390x-*) machine=ibms390x ;;
422 powerpc*) machine=macppc ;;
423 sparc*) machine=sparc ;;
424 ia64*) machine=ia64 ;;
425 m68k*) machine=m68k ;;
426 x86_64*) machine=amdx86-64 ;;
427 esac
428 ;;
429
415 ## FreeBSD ports 430 ## FreeBSD ports
416 *-*-freebsd* ) 431 *-*-freebsd* )
417 opsys=freebsd 432 opsys=freebsd
418 case "${canonical}" in 433 case "${canonical}" in
419 alpha*) machine=alpha ;; 434 alpha*) machine=alpha ;;
420 amd64-*|x86_64-*) machine=amdx86-64 ;; 435 amd64-*|x86_64-*) machine=amdx86-64 ;;
421 arm*) machine=arm ;;
422 ia64-*) machine=ia64 ;; 436 ia64-*) machine=ia64 ;;
423 i[3456]86-*) machine=intel386 ;; 437 i[3456]86-*) machine=intel386 ;;
424 powerpc-*) machine=macppc ;; 438 powerpc-*) machine=macppc ;;
@@ -447,13 +461,9 @@ case "${canonical}" in
447 case "${canonical}" in 461 case "${canonical}" in
448 alpha*) machine=alpha ;; 462 alpha*) machine=alpha ;;
449 x86_64-*) machine=amdx86-64 ;; 463 x86_64-*) machine=amdx86-64 ;;
450 arm-*) machine=arm ;;
451 hppa-*) machine=hp800 ;;
452 i[3456]86-*) machine=intel386 ;; 464 i[3456]86-*) machine=intel386 ;;
453 m68k-*) machine=m68k ;; 465 m68k-*) machine=m68k ;;
454 powerpc-*) machine=macppc ;; 466 powerpc-*) machine=macppc ;;
455 mips-*) machine=mips ;;
456 mipse[bl]-*) machine=mips ;;
457 sparc*-) machine=sparc ;; 467 sparc*-) machine=sparc ;;
458 vax-*) machine=vax ;; 468 vax-*) machine=vax ;;
459 esac 469 esac
@@ -465,8 +475,6 @@ case "${canonical}" in
465 case "${canonical}" in 475 case "${canonical}" in
466 alpha*) machine=alpha ;; 476 alpha*) machine=alpha ;;
467 x86_64-*) machine=amdx86-64 ;; 477 x86_64-*) machine=amdx86-64 ;;
468 arm-*) machine=arm ;;
469 hppa-*) machine=hp800 ;;
470 i386-*) machine=intel386 ;; 478 i386-*) machine=intel386 ;;
471 powerpc-*) machine=macppc ;; 479 powerpc-*) machine=macppc ;;
472 sparc*) machine=sparc ;; 480 sparc*) machine=sparc ;;
@@ -474,14 +482,6 @@ case "${canonical}" in
474 esac 482 esac
475 ;; 483 ;;
476 484
477 alpha*-*-linux-gnu* )
478 machine=alpha opsys=gnu-linux
479 ;;
480
481 arm*-*-linux-gnu* )
482 machine=arm opsys=gnu-linux
483 ;;
484
485 ## Apple Darwin / Mac OS X 485 ## Apple Darwin / Mac OS X
486 *-apple-darwin* ) 486 *-apple-darwin* )
487 case "${canonical}" in 487 case "${canonical}" in
@@ -503,24 +503,14 @@ case "${canonical}" in
503 503
504 ## HP 9000 series 700 and 800, running HP/UX 504 ## HP 9000 series 700 and 800, running HP/UX
505 hppa*-hp-hpux10.2* ) 505 hppa*-hp-hpux10.2* )
506 machine=hp800 opsys=hpux10-20 506 opsys=hpux10-20
507 ;; 507 ;;
508 hppa*-hp-hpux1[1-9]* ) 508 hppa*-hp-hpux1[1-9]* )
509 machine=hp800 opsys=hpux11 509 opsys=hpux11
510 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" 510 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
511 ;; 511 ;;
512 512
513 hppa*-*-linux-gnu* )
514 machine=hp800 opsys=gnu-linux
515 ;;
516
517 ## IBM machines 513 ## IBM machines
518 s390-*-linux-gnu* )
519 machine=ibms390 opsys=gnu-linux
520 ;;
521 s390x-*-linux-gnu* )
522 machine=ibms390x opsys=gnu-linux
523 ;;
524 rs6000-ibm-aix4.[23]* ) 514 rs6000-ibm-aix4.[23]* )
525 machine=ibmrs6000 opsys=aix4-2 515 machine=ibmrs6000 opsys=aix4-2
526 ;; 516 ;;
@@ -534,11 +524,6 @@ case "${canonical}" in
534 machine=ibmrs6000 opsys=aix4-2 524 machine=ibmrs6000 opsys=aix4-2
535 ;; 525 ;;
536 526
537 ## Macintosh PowerPC
538 powerpc*-*-linux-gnu* )
539 machine=macppc opsys=gnu-linux
540 ;;
541
542 ## Silicon Graphics machines 527 ## Silicon Graphics machines
543 ## Iris 4D 528 ## Iris 4D
544 mips-sgi-irix6.5 ) 529 mips-sgi-irix6.5 )
@@ -551,10 +536,6 @@ case "${canonical}" in
551 ;; 536 ;;
552 537
553 ## Suns 538 ## Suns
554 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
555 machine=sparc opsys=gnu-linux
556 ;;
557
558 *-sun-solaris* \ 539 *-sun-solaris* \
559 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \ 540 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \
560 | x86_64-*-solaris2* | x86_64-*-sunos5*) 541 | x86_64-*-solaris2* | x86_64-*-sunos5*)
@@ -594,11 +575,6 @@ case "${canonical}" in
594 esac 575 esac
595 ;; 576 ;;
596 577
597 ## IA-64
598 ia64*-*-linux* )
599 machine=ia64 opsys=gnu-linux
600 ;;
601
602 ## Intel 386 machines where we don't care about the manufacturer. 578 ## Intel 386 machines where we don't care about the manufacturer.
603 i[3456]86-*-* ) 579 i[3456]86-*-* )
604 machine=intel386 580 machine=intel386
@@ -607,7 +583,6 @@ case "${canonical}" in
607 *-darwin* ) opsys=darwin 583 *-darwin* ) opsys=darwin
608 CPP="${CC-cc} -E -no-cpp-precomp" 584 CPP="${CC-cc} -E -no-cpp-precomp"
609 ;; 585 ;;
610 *-linux-gnu* ) opsys=gnu-linux ;;
611 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 586 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
612 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 587 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
613 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 588 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
@@ -615,32 +590,6 @@ case "${canonical}" in
615 esac 590 esac
616 ;; 591 ;;
617 592
618 ## m68k Linux-based GNU system
619 m68k-*-linux-gnu* )
620 machine=m68k opsys=gnu-linux
621 ;;
622
623 ## Mips Linux-based GNU system
624 mips-*-linux-gnu* | mipsel-*-linux-gnu* \
625 | mips64-*-linux-gnu* | mips64el-*-linux-gnu* )
626 machine=mips opsys=gnu-linux
627 ;;
628
629 ## AMD x86-64 Linux-based GNU system
630 x86_64-*-linux-gnu* )
631 machine=amdx86-64 opsys=gnu-linux
632 ;;
633
634 ## Tensilica Xtensa Linux-based GNU system
635 xtensa*-*-linux-gnu* )
636 machine=xtensa opsys=gnu-linux
637 ;;
638
639 ## SuperH Linux-based GNU system
640 sh[34]*-*-linux-gnu* )
641 machine=sh3 opsys=gnu-linux
642 ;;
643
644 * ) 593 * )
645 unported=yes 594 unported=yes
646 ;; 595 ;;
@@ -669,7 +618,11 @@ if test $unported = yes; then
669Check `etc/MACHINES' for recognized configuration names.]) 618Check `etc/MACHINES' for recognized configuration names.])
670fi 619fi
671 620
672machfile="m/${machine}.h" 621if test -n "$machine"; then
622 machfile="m/${machine}.h"
623else
624 machfile=
625fi
673opsysfile="s/${opsys}.h" 626opsysfile="s/${opsys}.h"
674 627
675 628
@@ -936,7 +889,7 @@ case "$opsys" in
936 889
937 gnu-linux) 890 gnu-linux)
938 ## cpp test was "ifdef __mips__", but presumably this is equivalent... 891 ## cpp test was "ifdef __mips__", but presumably this is equivalent...
939 test "$machine" = "mips" && LD_SWITCH_SYSTEM="-G 0" 892 case $host_cpu in mips*) LD_SWITCH_SYSTEM="-G 0";; esac
940 ;; 893 ;;
941 894
942 netbsd) 895 netbsd)
@@ -2097,8 +2050,8 @@ AC_SUBST(LIBXTR6)
2097dnl FIXME the logic here seems weird, but this is what cpp was doing. 2050dnl FIXME the logic here seems weird, but this is what cpp was doing.
2098dnl Why not just test for libxmu in the normal way? 2051dnl Why not just test for libxmu in the normal way?
2099LIBXMU=-lXmu 2052LIBXMU=-lXmu
2100case "$machine" in 2053case $opsys in
2101 ## These machines don't supply Xmu. 2054 ## These systems don't supply Xmu.
2102 hpux* | aix4-2 ) 2055 hpux* | aix4-2 )
2103 test "X$ac_cv_lib_Xmu_XmuConvertStandardSelection" != "Xyes" && LIBXMU= 2056 test "X$ac_cv_lib_Xmu_XmuConvertStandardSelection" != "Xyes" && LIBXMU=
2104 ;; 2057 ;;
@@ -3155,8 +3108,14 @@ AC_SUBST(C_SWITCH_X_SYSTEM)
3155AC_SUBST(CFLAGS) 3108AC_SUBST(CFLAGS)
3156## Used in lwlib/Makefile.in. 3109## Used in lwlib/Makefile.in.
3157AC_SUBST(X_TOOLKIT_TYPE) 3110AC_SUBST(X_TOOLKIT_TYPE)
3158AC_SUBST(machfile) 3111if test -n "${machfile}"; then
3159AC_SUBST(opsysfile) 3112 M_FILE="\$(srcdir)/${machfile}"
3113else
3114 M_FILE=
3115fi
3116S_FILE="\$(srcdir)/${opsysfile}"
3117AC_SUBST(M_FILE)
3118AC_SUBST(S_FILE)
3160AC_SUBST(GETLOADAVG_LIBS) 3119AC_SUBST(GETLOADAVG_LIBS)
3161AC_SUBST(ns_appdir) 3120AC_SUBST(ns_appdir)
3162AC_SUBST(ns_appbindir) 3121AC_SUBST(ns_appbindir)
@@ -3169,8 +3128,10 @@ AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}",
3169 [Define to the canonical Emacs configuration name.]) 3128 [Define to the canonical Emacs configuration name.])
3170AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}", 3129AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}",
3171 [Define to the options passed to configure.]) 3130 [Define to the options passed to configure.])
3172AC_DEFINE_UNQUOTED(config_machfile, "${machfile}", 3131if test -n "$machfile"; then
3173 [Define to the used machine dependent file.]) 3132 AC_DEFINE_UNQUOTED(config_machfile, "${machfile}",
3133 [Define to the used machine dependent file.])
3134fi
3174AC_DEFINE_UNQUOTED(config_opsysfile, "${opsysfile}", 3135AC_DEFINE_UNQUOTED(config_opsysfile, "${opsysfile}",
3175 [Define to the used os dependent file.]) 3136 [Define to the used os dependent file.])
3176 3137
@@ -3434,16 +3395,18 @@ if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then
3434 gnu-*) 3395 gnu-*)
3435 ## armin76@gentoo.org reported that the lgcc_s flag is necessary to 3396 ## armin76@gentoo.org reported that the lgcc_s flag is necessary to
3436 ## build on ARM EABI under GNU/Linux. (Bug#5518) 3397 ## build on ARM EABI under GNU/Linux. (Bug#5518)
3437 ## Note that m/arm.h never bothered to undefine LIB_GCC first. 3398 case $host_cpu in
3438 if test "$machine" = "arm"; then 3399 arm*)
3439 LIB_GCC="-lgcc_s" 3400 LIB_GCC="-lgcc_s"
3440 else 3401 ;;
3402 *)
3441 ## FIXME? s/gnu-linux.h used to define LIB_GCC as below, then 3403 ## FIXME? s/gnu-linux.h used to define LIB_GCC as below, then
3442 ## immediately undefine it again and redefine it to empty. 3404 ## immediately undefine it again and redefine it to empty.
3443 ## Was the C_SWITCH_X_SITE part really necessary? 3405 ## Was the C_SWITCH_X_SITE part really necessary?
3444## LIB_GCC=`$CC $C_SWITCH_X_SITE -print-libgcc-file-name` 3406## LIB_GCC=`$CC $C_SWITCH_X_SITE -print-libgcc-file-name`
3445 LIB_GCC= 3407 LIB_GCC=
3446 fi 3408 ;;
3409 esac
3447 ;; 3410 ;;
3448 3411
3449 ## Ask GCC where to find libgcc.a. 3412 ## Ask GCC where to find libgcc.a.
@@ -3525,7 +3488,9 @@ AH_BOTTOM([
3525 3488
3526/* Include the os and machine dependent files. */ 3489/* Include the os and machine dependent files. */
3527#include config_opsysfile 3490#include config_opsysfile
3528#include config_machfile 3491#ifdef config_machfile
3492# include config_machfile
3493#endif
3529 3494
3530/* GNUstep needs a bit more pure memory. Of the existing knobs, 3495/* GNUstep needs a bit more pure memory. Of the existing knobs,
3531 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. 3496 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
@@ -3678,7 +3643,7 @@ Configured for \`${canonical}'.
3678 3643
3679 Where should the build process find the source code? ${srcdir} 3644 Where should the build process find the source code? ${srcdir}
3680 What operating system and machine description files should Emacs use? 3645 What operating system and machine description files should Emacs use?
3681 \`${opsysfile}' and \`${machfile}' 3646 \`${opsysfile}' and ${machfile:+\`${machfile}'}${machfile:-none}
3682 What compiler should emacs be built with? ${CC} ${CFLAGS} 3647 What compiler should emacs be built with? ${CC} ${CFLAGS}
3683 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 3648 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
3684 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} 3649 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 4f466436ecc..10cb8c7daed 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,7 @@
12010-12-04 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sed1v2.inp (M_FILE, S_FILE): Add $(srcdir)/ prefix.
4
12010-10-15 Eli Zaretskii <eliz@gnu.org> 52010-10-15 Eli Zaretskii <eliz@gnu.org>
2 6
3 * sed1v2.inp: Use $(..) instead of ${..} in all edit commands. 7 * sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 19f0d9dc0a9..e2384ef2866 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -128,8 +128,8 @@ s/\.h\.in/.h-in/
128/^DEPFLAGS *=/s/@DEPFLAGS@// 128/^DEPFLAGS *=/s/@DEPFLAGS@//
129/^MKDEPDIR *=/s/@MKDEPDIR@// 129/^MKDEPDIR *=/s/@MKDEPDIR@//
130/^version *=/s/@[^@\n]*@// 130/^version *=/s/@[^@\n]*@//
131/^M_FILE *=/s!@[^@\n]*@!m/intel386.h! 131/^M_FILE *=/s!@M_FILE@!$(srcdir)/m/intel386.h!
132/^S_FILE *=/s!@[^@\n]*@!s/msdos.h! 132/^S_FILE *=/s!@S_FILE@!$(srcdir)/s/msdos.h!
133/^@SET_MAKE@$/s/@SET_MAKE@// 133/^@SET_MAKE@$/s/@SET_MAKE@//
134/^.\$(libsrc)\/make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! 134/^.\$(libsrc)\/make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
135/^.\$(libsrc)\/make-doc/s!>.*$!! 135/^.\$(libsrc)\/make-doc/s!>.*$!!
diff --git a/src/ChangeLog b/src/ChangeLog
index 732c902b41e..584a81cd88c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-12-04 Andreas Schwab <schwab@linux-m68k.org>
2
3 * Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
4 (S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
5 * m/arm.h, m/sh3.h, m/xtensa.h: Remove files.
6
12010-12-03 Andreas Schwab <schwab@linux-m68k.org> 72010-12-03 Andreas Schwab <schwab@linux-m68k.org>
2 8
3 * lisp.h (union Lisp_Object): Explicitly declare signedness of 9 * lisp.h (union Lisp_Object): Explicitly declare signedness of
diff --git a/src/Makefile.in b/src/Makefile.in
index 4d45248b396..61b42f17030 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -54,8 +54,8 @@ lwlibdir = ../lwlib
54lispdir = ../lisp 54lispdir = ../lisp
55 55
56# Configuration files for .o files to depend on. 56# Configuration files for .o files to depend on.
57M_FILE = $(srcdir)/@machfile@ 57M_FILE = @M_FILE@
58S_FILE = $(srcdir)/@opsysfile@ 58S_FILE = @S_FILE@
59config_h = config.h $(M_FILE) $(S_FILE) 59config_h = config.h $(M_FILE) $(S_FILE)
60 60
61bootstrap_exe = $(abs_builddir)/bootstrap-emacs$(EXEEXT) 61bootstrap_exe = $(abs_builddir)/bootstrap-emacs$(EXEEXT)
diff --git a/src/config.in b/src/config.in
index 487009b4511..105f343870c 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1053,6 +1053,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1053/* Define to `int' if <sys/types.h> does not define. */ 1053/* Define to `int' if <sys/types.h> does not define. */
1054#undef pid_t 1054#undef pid_t
1055 1055
1056/* Define to `unsigned int' if <sys/types.h> does not define. */
1057#undef size_t
1058
1056/* Define to any substitute for sys_siglist. */ 1059/* Define to any substitute for sys_siglist. */
1057#undef sys_siglist 1060#undef sys_siglist
1058 1061
@@ -1089,7 +1092,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1089 1092
1090/* Include the os and machine dependent files. */ 1093/* Include the os and machine dependent files. */
1091#include config_opsysfile 1094#include config_opsysfile
1092#include config_machfile 1095#ifdef config_machfile
1096# include config_machfile
1097#endif
1093 1098
1094/* GNUstep needs a bit more pure memory. Of the existing knobs, 1099/* GNUstep needs a bit more pure memory. Of the existing knobs,
1095 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. 1100 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
diff --git a/src/m/arm.h b/src/m/arm.h
deleted file mode 100644
index 8b659bb5bd0..00000000000
--- a/src/m/arm.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/* Machine description file for ARM-based non-RISCiX machines.
2
3Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4 2009, 2010 Free Software Foundation, Inc.
5
6This file is part of GNU Emacs.
7
8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21/* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
22 (do not change this comment) */
diff --git a/src/m/sh3.h b/src/m/sh3.h
deleted file mode 100644
index ebfdb5b2d64..00000000000
--- a/src/m/sh3.h
+++ /dev/null
@@ -1,4 +0,0 @@
1/* Machine description file for SuperH. */
2
3/* arch-tag: 1b01b84f-f044-4afa-aa4b-caa54ec38966
4 (do not change this comment) */
diff --git a/src/m/xtensa.h b/src/m/xtensa.h
deleted file mode 100644
index 8e1da54b25b..00000000000
--- a/src/m/xtensa.h
+++ /dev/null
@@ -1,6 +0,0 @@
1/* Machine description file for Tensilica Xtensa.
2
3Add a license notice if this grows to > 10 lines of code. */
4
5/* arch-tag: fe5872de-d565-4d81-8fe0-ea19865b3e6a
6 (do not change this comment) */