comparison configure @ 111573:e89dd9c3633b

merge trunk
author Kenichi Handa <handa@m17n.org>
date Mon, 08 Nov 2010 14:19:54 +0900
parents c16170026954
children 132f2dfd549f
comparison
equal deleted inserted replaced
111572:b3f9490f0b7f 111573:e89dd9c3633b
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
12 # gives unlimited permission to copy, distribute and modify it. 12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ## 13 ## -------------------- ##
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.) 88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl" 89 IFS=" "" $as_nl"
90 90
91 # Find who we are. Look in the path if we contain no directory separator. 91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
92 case $0 in #(( 93 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH 96 for as_dir in $PATH
96 do 97 do
212 213
213 if test "x$CONFIG_SHELL" != x; then : 214 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a 215 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 216 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 219 BASH_ENV=/dev/null
218 ENV=/dev/null 220 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 222 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222 fi 230 fi
223 231
224 if test x$as_have_required = xno; then : 232 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 233 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 234 $as_echo "$0: the shells that I found on your system."
314 } 322 }
315 s/.*/./; q'` 323 s/.*/./; q'`
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
323 # as_fn_append VAR VALUE 331 # as_fn_append VAR VALUE
324 # ---------------------- 332 # ----------------------
354 as_val=`expr "$@" || test $? -eq 1` 362 as_val=`expr "$@" || test $? -eq 1`
355 } 363 }
356 fi # as_fn_arith 364 fi # 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.
364 as_fn_error () 372 as_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
375 if expr a : '\(a\)' >/dev/null 2>&1 && 383 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
528 536
529 test -n "$DJDIR" || exec 7<&0 </dev/null 537 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1 538 exec 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.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 544
537 # 545 #
538 # Initializations. 546 # Initializations.
910 ac_prev= 918 ac_prev=
911 continue 919 continue
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.
920 929
921 case $ac_dashdash$ac_option in 930 case $ac_dashdash$ac_option in
956 965
957 -disable-* | --disable-*) 966 -disable-* | --disable-*)
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
965 *" 974 *"
966 "enable_$ac_useropt" 975 "enable_$ac_useropt"
982 991
983 -enable-* | --enable-*) 992 -enable-* | --enable-*)
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
991 *" 1000 *"
992 "enable_$ac_useropt" 1001 "enable_$ac_useropt"
1186 1195
1187 -with-* | --with-*) 1196 -with-* | --with-*)
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
1195 *" 1204 *"
1196 "with_$ac_useropt" 1205 "with_$ac_useropt"
1202 1211
1203 -without-* | --without-*) 1212 -without-* | --without-*)
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
1211 *" 1220 *"
1212 "with_$ac_useropt" 1221 "with_$ac_useropt"
1232 ac_prev=x_libraries ;; 1241 ac_prev=x_libraries ;;
1233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
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'
1238 Try \`$0 --help' for more information." 1247 Try \`$0 --help' for more information"
1239 ;; 1248 ;;
1240 1249
1241 *=*) 1250 *=*)
1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
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 ;;
1250 1259
1251 *) 1260 *)
1252 # FIXME: should be removed in autoconf 3.0. 1261 # FIXME: should be removed in autoconf 3.0.
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
1260 done 1269 done
1261 1270
1262 if test -n "$ac_prev"; then 1271 if 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"
1265 fi 1274 fi
1266 1275
1267 if test -n "$ac_unrecognized_opts"; then 1276 if 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
1273 fi 1282 fi
1274 1283
1275 # Check all directory arguments for consistency. 1284 # Check all directory arguments for consistency.
1288 # Be sure to have absolute directory names. 1297 # Be sure to have absolute directory names.
1289 case $ac_val in 1298 case $ac_val in
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"
1294 done 1303 done
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'
1297 # used to hold the argument of --host etc. 1306 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day. 1307 # FIXME: To remove some day.
1302 1311
1303 # FIXME: To remove some day. 1312 # FIXME: To remove some day.
1304 if test "x$host_alias" != x; then 1313 if 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
1312 fi 1321 fi
1313 1322
1318 1327
1319 1328
1320 ac_pwd=`pwd` && test -n "$ac_pwd" && 1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di=`ls -di .` && 1330 ac_ls_di=`ls -di .` &&
1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1331 ac_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"
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1333 test "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.
1329 if test -z "$srcdir"; then 1338 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes 1339 ac_srcdir_defaulted=yes
1359 else 1368 else
1360 ac_srcdir_defaulted=no 1369 ac_srcdir_defaulted=no
1361 fi 1370 fi
1362 if test ! -r "$srcdir/$ac_unique_file"; then 1371 if 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"
1365 fi 1374 fi
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 ac_abs_confdir=`( 1376 ac_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=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then 1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 srcdir=. 1381 srcdir=.
1373 fi 1382 fi
1403 Configuration: 1412 Configuration:
1404 -h, --help display this help and exit 1413 -h, --help display this help and exit
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
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 1422
1622 1631
1623 test -n "$ac_init_help" && exit $ac_status 1632 test -n "$ac_init_help" && exit $ac_status
1624 if $ac_init_version; then 1633 if $ac_init_version; then
1625 cat <<\_ACEOF 1634 cat <<\_ACEOF
1626 emacs configure 24.0.50 1635 emacs configure 24.0.50
1627 generated by GNU Autoconf 2.65 1636 generated by GNU Autoconf 2.68
1628 1637
1629 Copyright (C) 2009 Free Software Foundation, Inc. 1638 Copyright (C) 2010 Free Software Foundation, Inc.
1630 This configure script is free software; the Free Software Foundation 1639 This configure script is free software; the Free Software Foundation
1631 gives unlimited permission to copy, distribute and modify it. 1640 gives unlimited permission to copy, distribute and modify it.
1632 _ACEOF 1641 _ACEOF
1633 exit 1642 exit
1634 fi 1643 fi
1668 $as_echo "$as_me: failed program was:" >&5 1677 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5 1678 sed 's/^/| /' conftest.$ac_ext >&5
1670 1679
1671 ac_retval=1 1680 ac_retval=1
1672 fi 1681 fi
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
1677 1686
1678 # ac_fn_c_try_link LINENO 1687 # ac_fn_c_try_link LINENO
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
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
1723 1732
1724 # ac_fn_c_try_cpp LINENO 1733 # ac_fn_c_try_cpp LINENO
1740 grep -v '^ *+' conftest.err >conftest.er1 1749 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5 1750 cat conftest.er1 >&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 :
1749 ac_retval=0 1758 ac_retval=0
1750 else 1759 else
1751 $as_echo "$as_me: failed program was:" >&5 1760 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5 1761 sed 's/^/| /' conftest.$ac_ext >&5
1753 1762
1754 ac_retval=1 1763 ac_retval=1
1755 fi 1764 fi
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
1760 1769
1761 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1764 # the include files in INCLUDES and setting the cache variable VAR 1773 # the include files in INCLUDES and setting the cache variable VAR
1765 # accordingly. 1774 # accordingly.
1766 ac_fn_c_check_header_mongrel () 1775 ac_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; }
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1781 if eval \${$3+:} false; then :
1773 $as_echo_n "(cached) " >&6 1782 $as_echo_n "(cached) " >&6
1774 fi 1783 fi
1775 eval ac_res=\$$3 1784 eval ac_res=\$$3
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; } 1786 $as_echo "$ac_res" >&6; }
1803 if ac_fn_c_try_cpp "$LINENO"; then : 1812 if ac_fn_c_try_cpp "$LINENO"; then :
1804 ac_header_preproc=yes 1813 ac_header_preproc=yes
1805 else 1814 else
1806 ac_header_preproc=no 1815 ac_header_preproc=no
1807 fi 1816 fi
1808 rm -f conftest.err conftest.$ac_ext 1817 rm -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
1812 # So? What about this header? 1821 # So? What about this header?
1813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831 ;; 1840 ;;
1832 esac 1841 esac
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; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1844 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6 1845 $as_echo_n "(cached) " >&6
1837 else 1846 else
1838 eval "$3=\$ac_header_compiler" 1847 eval "$3=\$ac_header_compiler"
1839 fi 1848 fi
1840 eval ac_res=\$$3 1849 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; }
1843 fi 1852 fi
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
1848 # ac_fn_c_try_run LINENO 1857 # ac_fn_c_try_run LINENO
1849 # ---------------------- 1858 # ----------------------
1880 sed 's/^/| /' conftest.$ac_ext >&5 1889 sed 's/^/| /' conftest.$ac_ext >&5
1881 1890
1882 ac_retval=$ac_status 1891 ac_retval=$ac_status
1883 fi 1892 fi
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
1889 1898
1890 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1899 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1894 ac_fn_c_check_header_compile () 1903 ac_fn_c_check_header_compile ()
1895 { 1904 {
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; }
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1908 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6 1909 $as_echo_n "(cached) " >&6
1901 else 1910 else
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */ 1912 /* end confdefs.h. */
1904 $4 1913 $4
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 fi 1922 fi
1914 eval ac_res=\$$3 1923 eval 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.
1924 ac_fn_c_check_decl () 1934 ac_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'`
1929 if { 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; }
1941 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6 1942 $as_echo_n "(cached) " >&6
1931 else 1943 else
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */ 1945 /* end confdefs.h. */
1934 $4 1946 $4
1935 int 1947 int
1936 main () 1948 main ()
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 ;
1943 return 0; 1959 return 0;
1944 } 1960 }
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 fi 1968 fi
1953 eval ac_res=\$$3 1969 eval 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
1960 # ac_fn_c_check_header_preproc LINENO HEADER VAR 1976 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1961 # ---------------------------------------------- 1977 # ----------------------------------------------
1963 ac_fn_c_check_header_preproc () 1979 ac_fn_c_check_header_preproc ()
1964 { 1980 {
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; }
1968 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1984 if eval \${$3+:} false; then :
1969 $as_echo_n "(cached) " >&6 1985 $as_echo_n "(cached) " >&6
1970 else 1986 else
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */ 1988 /* end confdefs.h. */
1973 #include <$2> 1989 #include <$2>
1975 if ac_fn_c_try_cpp "$LINENO"; then : 1991 if ac_fn_c_try_cpp "$LINENO"; then :
1976 eval "$3=yes" 1992 eval "$3=yes"
1977 else 1993 else
1978 eval "$3=no" 1994 eval "$3=no"
1979 fi 1995 fi
1980 rm -f conftest.err conftest.$ac_ext 1996 rm -f conftest.err conftest.i conftest.$ac_ext
1981 fi 1997 fi
1982 eval ac_res=\$$3 1998 eval 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
1989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2005 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1990 # ---------------------------------------------------- 2006 # ----------------------------------------------------
1993 ac_fn_c_check_member () 2009 ac_fn_c_check_member ()
1994 { 2010 {
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; }
1998 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2014 if eval \${$4+:} false; then :
1999 $as_echo_n "(cached) " >&6 2015 $as_echo_n "(cached) " >&6
2000 else 2016 else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */ 2018 /* end confdefs.h. */
2003 $5 2019 $5
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038 fi 2054 fi
2039 eval ac_res=\$$4 2055 eval 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
2046 # ac_fn_c_check_func LINENO FUNC VAR 2062 # ac_fn_c_check_func LINENO FUNC VAR
2047 # ---------------------------------- 2063 # ----------------------------------
2049 ac_fn_c_check_func () 2065 ac_fn_c_check_func ()
2050 { 2066 {
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; }
2054 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2070 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6 2071 $as_echo_n "(cached) " >&6
2056 else 2072 else
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */ 2074 /* end confdefs.h. */
2059 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2104 conftest$ac_exeext conftest.$ac_ext 2120 conftest$ac_exeext conftest.$ac_ext
2105 fi 2121 fi
2106 eval ac_res=\$$3 2122 eval 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
2113 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2129 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2114 # ------------------------------------------- 2130 # -------------------------------------------
2117 ac_fn_c_check_type () 2133 ac_fn_c_check_type ()
2118 { 2134 {
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; }
2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2138 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6 2139 $as_echo_n "(cached) " >&6
2124 else 2140 else
2125 eval "$3=no" 2141 eval "$3=no"
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */ 2143 /* end confdefs.h. */
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 fi 2175 fi
2160 eval ac_res=\$$3 2176 eval 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
2166 cat >config.log <<_ACEOF 2182 cat >config.log <<_ACEOF
2167 This file contains any messages produced by compilers while 2183 This file contains any messages produced by compilers while
2168 running configure, to aid debugging if configure makes a mistake. 2184 running configure, to aid debugging if configure makes a mistake.
2169 2185
2170 It was created by emacs $as_me 24.0.50, which was 2186 It was created by emacs $as_me 24.0.50, which was
2171 generated by GNU Autoconf 2.65. Invocation command line was 2187 generated by GNU Autoconf 2.68. Invocation command line was
2172 2188
2173 $ $0 $@ 2189 $ $0 $@
2174 2190
2175 _ACEOF 2191 _ACEOF
2176 exec 5>>config.log 2192 exec 5>>config.log
2276 trap 'exit_status=$? 2292 trap 'exit_status=$?
2277 # Save into config.log some information that might help in debugging. 2293 # Save into config.log some information that might help in debugging.
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 (
2289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2303 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2290 eval ac_val=\$$ac_var 2304 eval ac_val=\$$ac_var
2314 esac | 2328 esac |
2315 sort 2329 sort
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
2327 eval ac_val=\$$ac_var 2339 eval ac_val=\$$ac_var
2328 case $ac_val in 2340 case $ac_val in
2331 $as_echo "$ac_var='\''$ac_val'\''" 2343 $as_echo "$ac_var='\''$ac_val'\''"
2332 done | sort 2344 done | sort
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
2344 eval ac_val=\$$ac_var 2354 eval ac_val=\$$ac_var
2345 case $ac_val in 2355 case $ac_val in
2349 done | sort 2359 done | sort
2350 echo 2360 echo
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
2362 fi 2370 fi
2363 test "$ac_signal" != 0 && 2371 test "$ac_signal" != 0 &&
2408 # Let the site file select an alternate cache file if it wants to. 2416 # Let the site file select an alternate cache file if it wants to.
2409 # Prefer an explicitly selected file to automatically selected ones. 2417 # Prefer an explicitly selected file to automatically selected ones.
2410 ac_site_file1=NONE 2418 ac_site_file1=NONE
2411 ac_site_file2=NONE 2419 ac_site_file2=NONE
2412 if test -n "$CONFIG_SITE"; then 2420 if 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
2414 elif test "x$prefix" != xNONE; then 2427 elif 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
2417 else 2430 else
2418 ac_site_file1=$ac_default_prefix/share/config.site 2431 ac_site_file1=$ac_default_prefix/share/config.site
2423 test "x$ac_site_file" = xNONE && continue 2436 test "x$ac_site_file" = xNONE && continue
2424 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2437 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
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;}
2444 as_fn_error $? "failed to load site script $ac_site_file
2445 See \`config.log' for more details" "$LINENO" 5; }
2429 fi 2446 fi
2430 done 2447 done
2431 2448
2432 if test -r "$cache_file"; then 2449 if test -r "$cache_file"; then
2433 # Some versions of bash will fail to source /dev/null (special files 2450 # Some versions of bash will fail to source /dev/null (special files
2504 if $ac_cache_corrupted; then 2521 if $ac_cache_corrupted; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
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
2510 fi 2527 fi
2511 ## -------------------- ## 2528 ## -------------------- ##
2512 ## Main body of script. ## 2529 ## Main body of script. ##
2513 ## -------------------- ## 2530 ## -------------------- ##
2514 2531
2678 a | at | ath | athe | athen | athena ) val=athena ;; 2695 a | at | ath | athe | athen | athena ) val=athena ;;
2679 m | mo | mot | moti | motif ) val=motif ;; 2696 m | mo | mot | moti | motif ) val=motif ;;
2680 g | gt | gtk ) val=gtk ;; 2697 g | gt | gtk ) val=gtk ;;
2681 gtk3 ) val=gtk3 ;; 2698 gtk3 ) val=gtk3 ;;
2682 * ) 2699 * )
2683 as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2700 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
2684 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2701 this 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 ;;
2687 esac 2704 esac
2688 with_x_toolkit=$val 2705 with_x_toolkit=$val
2981 stringbytes) ac_gc_check_stringbytes=1 ;; 2998 stringbytes) ac_gc_check_stringbytes=1 ;;
2982 stringoverrun) ac_gc_check_string_overrun=1 ;; 2999 stringoverrun) ac_gc_check_string_overrun=1 ;;
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
2988 done 3005 done
2989 IFS="$ac_save_IFS" 3006 IFS="$ac_save_IFS"
2990 3007
2991 if test x$ac_enable_checking != x ; then 3008 if test x$ac_enable_checking != x ; then
3096 3113
3097 ### Canonicalize the configuration name. 3114 ### Canonicalize the configuration name.
3098 3115
3099 ac_aux_dir= 3116 ac_aux_dir=
3100 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3117 for 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
3108 done 3131 done
3109 if test -z "$ac_aux_dir"; then 3132 if 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
3111 fi 3134 fi
3112 3135
3113 # These three variables are undocumented and unsupported, 3136 # These three variables are undocumented and unsupported,
3114 # and are intended to be withdrawn in a future Autoconf release. 3137 # and are intended to be withdrawn in a future Autoconf release.
3115 # They can cause serious problems if a builder's source tree is in a directory 3138 # They can cause serious problems if a builder's source tree is in a directory
3119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3142 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3120 3143
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; }
3128 if test "${ac_cv_build+set}" = set; then : 3151 if ${ac_cv_build+:} false; then :
3129 $as_echo_n "(cached) " >&6 3152 $as_echo_n "(cached) " >&6
3130 else 3153 else
3131 ac_build_alias=$build_alias 3154 ac_build_alias=$build_alias
3132 test "x$ac_build_alias" = x && 3155 test "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"`
3134 test "x$ac_build_alias" = x && 3157 test "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
3136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3159 ac_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
3139 fi 3162 fi
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; }
3142 case $ac_cv_build in 3165 case $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;;
3145 esac 3168 esac
3146 build=$ac_cv_build 3169 build=$ac_cv_build
3147 ac_save_IFS=$IFS; IFS='-' 3170 ac_save_IFS=$IFS; IFS='-'
3148 set x $ac_cv_build 3171 set x $ac_cv_build
3149 shift 3172 shift
3157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3180 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3158 3181
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; }
3162 if test "${ac_cv_host+set}" = set; then : 3185 if ${ac_cv_host+:} false; then :
3163 $as_echo_n "(cached) " >&6 3186 $as_echo_n "(cached) " >&6
3164 else 3187 else
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
3167 else 3190 else
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
3170 fi 3193 fi
3171 3194
3172 fi 3195 fi
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3174 $as_echo "$ac_cv_host" >&6; } 3197 $as_echo "$ac_cv_host" >&6; }
3175 case $ac_cv_host in 3198 case $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;;
3178 esac 3201 esac
3179 host=$ac_cv_host 3202 host=$ac_cv_host
3180 ac_save_IFS=$IFS; IFS='-' 3203 ac_save_IFS=$IFS; IFS='-'
3181 set x $ac_cv_host 3204 set x $ac_cv_host
3182 shift 3205 shift
3466 fi 3489 fi
3467 3490
3468 3491
3469 3492
3470 if test $unported = yes; then 3493 if test $unported = yes; then
3471 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 3494 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
3472 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3495 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3473 fi 3496 fi
3474 3497
3475 machfile="m/${machine}.h" 3498 machfile="m/${machine}.h"
3476 opsysfile="s/${opsys}.h" 3499 opsysfile="s/${opsys}.h"
3490 if test -n "$ac_tool_prefix"; then 3513 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3492 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3515 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; } 3517 $as_echo_n "checking for $ac_word... " >&6; }
3495 if test "${ac_cv_prog_CC+set}" = set; then : 3518 if ${ac_cv_prog_CC+:} false; then :
3496 $as_echo_n "(cached) " >&6 3519 $as_echo_n "(cached) " >&6
3497 else 3520 else
3498 if test -n "$CC"; then 3521 if test -n "$CC"; then
3499 ac_cv_prog_CC="$CC" # Let the user override the test. 3522 ac_cv_prog_CC="$CC" # Let the user override the test.
3500 else 3523 else
3530 ac_ct_CC=$CC 3553 ac_ct_CC=$CC
3531 # Extract the first word of "gcc", so it can be a program name with args. 3554 # Extract the first word of "gcc", so it can be a program name with args.
3532 set dummy gcc; ac_word=$2 3555 set dummy gcc; ac_word=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; } 3557 $as_echo_n "checking for $ac_word... " >&6; }
3535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3558 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3536 $as_echo_n "(cached) " >&6 3559 $as_echo_n "(cached) " >&6
3537 else 3560 else
3538 if test -n "$ac_ct_CC"; then 3561 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3540 else 3563 else
3583 if test -n "$ac_tool_prefix"; then 3606 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3607 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}cc; ac_word=$2 3608 set dummy ${ac_tool_prefix}cc; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; } 3610 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_CC+set}" = set; then : 3611 if ${ac_cv_prog_CC+:} false; then :
3589 $as_echo_n "(cached) " >&6 3612 $as_echo_n "(cached) " >&6
3590 else 3613 else
3591 if test -n "$CC"; then 3614 if test -n "$CC"; then
3592 ac_cv_prog_CC="$CC" # Let the user override the test. 3615 ac_cv_prog_CC="$CC" # Let the user override the test.
3593 else 3616 else
3623 if test -z "$CC"; then 3646 if test -z "$CC"; then
3624 # Extract the first word of "cc", so it can be a program name with args. 3647 # Extract the first word of "cc", so it can be a program name with args.
3625 set dummy cc; ac_word=$2 3648 set dummy cc; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; } 3650 $as_echo_n "checking for $ac_word... " >&6; }
3628 if test "${ac_cv_prog_CC+set}" = set; then : 3651 if ${ac_cv_prog_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6 3652 $as_echo_n "(cached) " >&6
3630 else 3653 else
3631 if test -n "$CC"; then 3654 if test -n "$CC"; then
3632 ac_cv_prog_CC="$CC" # Let the user override the test. 3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 else 3656 else
3682 do 3705 do
3683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; } 3709 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then : 3710 if ${ac_cv_prog_CC+:} false; then :
3688 $as_echo_n "(cached) " >&6 3711 $as_echo_n "(cached) " >&6
3689 else 3712 else
3690 if test -n "$CC"; then 3713 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test. 3714 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else 3715 else
3726 do 3749 do
3727 # Extract the first word of "$ac_prog", so it can be a program name with args. 3750 # Extract the first word of "$ac_prog", so it can be a program name with args.
3728 set dummy $ac_prog; ac_word=$2 3751 set dummy $ac_prog; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; } 3753 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3754 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3732 $as_echo_n "(cached) " >&6 3755 $as_echo_n "(cached) " >&6
3733 else 3756 else
3734 if test -n "$ac_ct_CC"; then 3757 if test -n "$ac_ct_CC"; then
3735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3736 else 3759 else
3780 fi 3803 fi
3781 3804
3782 3805
3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3806 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785 as_fn_error "no acceptable C compiler found in \$PATH 3808 as_fn_error $? "no acceptable C compiler found in \$PATH
3786 See \`config.log' for more details." "$LINENO" 5; } 3809 See \`config.log' for more details" "$LINENO" 5; }
3787 3810
3788 # Provide some information about the compiler. 3811 # Provide some information about the compiler.
3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3812 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3790 set X $ac_compile 3813 set X $ac_compile
3791 ac_compiler=$2 3814 ac_compiler=$2
3895 $as_echo "$as_me: failed program was:" >&5 3918 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5 3919 sed 's/^/| /' conftest.$ac_ext >&5
3897 3920
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 { as_fn_set_status 77 3923 as_fn_error 77 "C compiler cannot create executables
3901 as_fn_error "C compiler cannot create executables 3924 See \`config.log' for more details" "$LINENO" 5; }
3902 See \`config.log' for more details." "$LINENO" 5; }; }
3903 else 3925 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3905 $as_echo "yes" >&6; } 3927 $as_echo "yes" >&6; }
3906 fi 3928 fi
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3939 esac 3961 esac
3940 done 3962 done
3941 else 3963 else
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error "cannot compute suffix of executables: cannot compile and link 3966 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3945 See \`config.log' for more details." "$LINENO" 5; } 3967 See \`config.log' for more details" "$LINENO" 5; }
3946 fi 3968 fi
3947 rm -f conftest conftest$ac_cv_exeext 3969 rm -f conftest conftest$ac_cv_exeext
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3949 $as_echo "$ac_cv_exeext" >&6; } 3971 $as_echo "$ac_cv_exeext" >&6; }
3950 3972
3997 if test "$cross_compiling" = maybe; then 4019 if test "$cross_compiling" = maybe; then
3998 cross_compiling=yes 4020 cross_compiling=yes
3999 else 4021 else
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error "cannot run C compiled programs. 4024 as_fn_error $? "cannot run C compiled programs.
4003 If you meant to cross compile, use \`--host'. 4025 If you meant to cross compile, use \`--host'.
4004 See \`config.log' for more details." "$LINENO" 5; } 4026 See \`config.log' for more details" "$LINENO" 5; }
4005 fi 4027 fi
4006 fi 4028 fi
4007 fi 4029 fi
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4009 $as_echo "$cross_compiling" >&6; } 4031 $as_echo "$cross_compiling" >&6; }
4010 4032
4011 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4033 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4012 ac_clean_files=$ac_clean_files_save 4034 ac_clean_files=$ac_clean_files_save
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4035 { $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; } 4036 $as_echo_n "checking for suffix of object files... " >&6; }
4015 if test "${ac_cv_objext+set}" = set; then : 4037 if ${ac_cv_objext+:} false; then :
4016 $as_echo_n "(cached) " >&6 4038 $as_echo_n "(cached) " >&6
4017 else 4039 else
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */ 4041 /* end confdefs.h. */
4020 4042
4050 $as_echo "$as_me: failed program was:" >&5 4072 $as_echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5 4073 sed 's/^/| /' conftest.$ac_ext >&5
4052 4074
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of object files: cannot compile 4077 as_fn_error $? "cannot compute suffix of object files: cannot compile
4056 See \`config.log' for more details." "$LINENO" 5; } 4078 See \`config.log' for more details" "$LINENO" 5; }
4057 fi 4079 fi
4058 rm -f conftest.$ac_cv_objext conftest.$ac_ext 4080 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4059 fi 4081 fi
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4061 $as_echo "$ac_cv_objext" >&6; } 4083 $as_echo "$ac_cv_objext" >&6; }
4062 OBJEXT=$ac_cv_objext 4084 OBJEXT=$ac_cv_objext
4063 ac_objext=$OBJEXT 4085 ac_objext=$OBJEXT
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4086 { $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; } 4087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4066 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4088 if ${ac_cv_c_compiler_gnu+:} false; then :
4067 $as_echo_n "(cached) " >&6 4089 $as_echo_n "(cached) " >&6
4068 else 4090 else
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */ 4092 /* end confdefs.h. */
4071 4093
4098 fi 4120 fi
4099 ac_test_CFLAGS=${CFLAGS+set} 4121 ac_test_CFLAGS=${CFLAGS+set}
4100 ac_save_CFLAGS=$CFLAGS 4122 ac_save_CFLAGS=$CFLAGS
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4102 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4124 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4103 if test "${ac_cv_prog_cc_g+set}" = set; then : 4125 if ${ac_cv_prog_cc_g+:} false; then :
4104 $as_echo_n "(cached) " >&6 4126 $as_echo_n "(cached) " >&6
4105 else 4127 else
4106 ac_save_c_werror_flag=$ac_c_werror_flag 4128 ac_save_c_werror_flag=$ac_c_werror_flag
4107 ac_c_werror_flag=yes 4129 ac_c_werror_flag=yes
4108 ac_cv_prog_cc_g=no 4130 ac_cv_prog_cc_g=no
4176 CFLAGS= 4198 CFLAGS=
4177 fi 4199 fi
4178 fi 4200 fi
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4201 { $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; } 4202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4181 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4203 if ${ac_cv_prog_cc_c89+:} false; then :
4182 $as_echo_n "(cached) " >&6 4204 $as_echo_n "(cached) " >&6
4183 else 4205 else
4184 ac_cv_prog_cc_c89=no 4206 ac_cv_prog_cc_c89=no
4185 ac_save_CC=$CC 4207 ac_save_CC=$CC
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 4306 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4285 test x"$CPP" = x; then 4307 test x"$CPP" = x; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 4308 { $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; } 4309 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4288 4310
4289 if test "${emacs_cv_sunpro_c+set}" = set; then : 4311 if ${emacs_cv_sunpro_c+:} false; then :
4290 $as_echo_n "(cached) " >&6 4312 $as_echo_n "(cached) " >&6
4291 else 4313 else
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */ 4315 /* end confdefs.h. */
4294 4316
4353 # On Suns, sometimes $CPP names a directory. 4375 # On Suns, sometimes $CPP names a directory.
4354 if test -n "$CPP" && test -d "$CPP"; then 4376 if test -n "$CPP" && test -d "$CPP"; then
4355 CPP= 4377 CPP=
4356 fi 4378 fi
4357 if test -z "$CPP"; then 4379 if test -z "$CPP"; then
4358 if test "${ac_cv_prog_CPP+set}" = set; then : 4380 if ${ac_cv_prog_CPP+:} false; then :
4359 $as_echo_n "(cached) " >&6 4381 $as_echo_n "(cached) " >&6
4360 else 4382 else
4361 # Double quotes because CPP needs to be expanded 4383 # Double quotes because CPP needs to be expanded
4362 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4363 do 4385 do
4383 4405
4384 else 4406 else
4385 # Broken: fails on valid input. 4407 # Broken: fails on valid input.
4386 continue 4408 continue
4387 fi 4409 fi
4388 rm -f conftest.err conftest.$ac_ext 4410 rm -f conftest.err conftest.i conftest.$ac_ext
4389 4411
4390 # OK, works on sane cases. Now check whether nonexistent headers 4412 # OK, works on sane cases. Now check whether nonexistent headers
4391 # can be detected and how. 4413 # can be detected and how.
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */ 4415 /* end confdefs.h. */
4399 else 4421 else
4400 # Passes both tests. 4422 # Passes both tests.
4401 ac_preproc_ok=: 4423 ac_preproc_ok=:
4402 break 4424 break
4403 fi 4425 fi
4404 rm -f conftest.err conftest.$ac_ext 4426 rm -f conftest.err conftest.i conftest.$ac_ext
4405 4427
4406 done 4428 done
4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4408 rm -f conftest.err conftest.$ac_ext 4430 rm -f conftest.i conftest.err conftest.$ac_ext
4409 if $ac_preproc_ok; then : 4431 if $ac_preproc_ok; then :
4410 break 4432 break
4411 fi 4433 fi
4412 4434
4413 done 4435 done
4442 4464
4443 else 4465 else
4444 # Broken: fails on valid input. 4466 # Broken: fails on valid input.
4445 continue 4467 continue
4446 fi 4468 fi
4447 rm -f conftest.err conftest.$ac_ext 4469 rm -f conftest.err conftest.i conftest.$ac_ext
4448 4470
4449 # OK, works on sane cases. Now check whether nonexistent headers 4471 # OK, works on sane cases. Now check whether nonexistent headers
4450 # can be detected and how. 4472 # can be detected and how.
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */ 4474 /* end confdefs.h. */
4458 else 4480 else
4459 # Passes both tests. 4481 # Passes both tests.
4460 ac_preproc_ok=: 4482 ac_preproc_ok=:
4461 break 4483 break
4462 fi 4484 fi
4463 rm -f conftest.err conftest.$ac_ext 4485 rm -f conftest.err conftest.i conftest.$ac_ext
4464 4486
4465 done 4487 done
4466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4467 rm -f conftest.err conftest.$ac_ext 4489 rm -f conftest.i conftest.err conftest.$ac_ext
4468 if $ac_preproc_ok; then : 4490 if $ac_preproc_ok; then :
4469 4491
4470 else 4492 else
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4495 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4474 See \`config.log' for more details." "$LINENO" 5; } 4496 See \`config.log' for more details" "$LINENO" 5; }
4475 fi 4497 fi
4476 4498
4477 ac_ext=c 4499 ac_ext=c
4478 ac_cpp='$CPP $CPPFLAGS' 4500 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 4504
4483 4505
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4506 { $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; } 4507 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4486 if test "${ac_cv_path_GREP+set}" = set; then : 4508 if ${ac_cv_path_GREP+:} false; then :
4487 $as_echo_n "(cached) " >&6 4509 $as_echo_n "(cached) " >&6
4488 else 4510 else
4489 if test -z "$GREP"; then 4511 if test -z "$GREP"; then
4490 ac_path_GREP_found=false 4512 ac_path_GREP_found=false
4491 # Loop through the user's path and test for each of PROGNAME-LIST 4513 # Loop through the user's path and test for each of PROGNAME-LIST
4530 done 4552 done
4531 done 4553 done
4532 done 4554 done
4533 IFS=$as_save_IFS 4555 IFS=$as_save_IFS
4534 if test -z "$ac_cv_path_GREP"; then 4556 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 4557 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 fi 4558 fi
4537 else 4559 else
4538 ac_cv_path_GREP=$GREP 4560 ac_cv_path_GREP=$GREP
4539 fi 4561 fi
4540 4562
4544 GREP="$ac_cv_path_GREP" 4566 GREP="$ac_cv_path_GREP"
4545 4567
4546 4568
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4548 $as_echo_n "checking for egrep... " >&6; } 4570 $as_echo_n "checking for egrep... " >&6; }
4549 if test "${ac_cv_path_EGREP+set}" = set; then : 4571 if ${ac_cv_path_EGREP+:} false; then :
4550 $as_echo_n "(cached) " >&6 4572 $as_echo_n "(cached) " >&6
4551 else 4573 else
4552 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4574 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4553 then ac_cv_path_EGREP="$GREP -E" 4575 then ac_cv_path_EGREP="$GREP -E"
4554 else 4576 else
4596 done 4618 done
4597 done 4619 done
4598 done 4620 done
4599 IFS=$as_save_IFS 4621 IFS=$as_save_IFS
4600 if test -z "$ac_cv_path_EGREP"; then 4622 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 4623 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 fi 4624 fi
4603 else 4625 else
4604 ac_cv_path_EGREP=$EGREP 4626 ac_cv_path_EGREP=$EGREP
4605 fi 4627 fi
4606 4628
4611 EGREP="$ac_cv_path_EGREP" 4633 EGREP="$ac_cv_path_EGREP"
4612 4634
4613 4635
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4636 { $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; } 4637 $as_echo_n "checking for ANSI C header files... " >&6; }
4616 if test "${ac_cv_header_stdc+set}" = set; then : 4638 if ${ac_cv_header_stdc+:} false; then :
4617 $as_echo_n "(cached) " >&6 4639 $as_echo_n "(cached) " >&6
4618 else 4640 else
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */ 4642 /* end confdefs.h. */
4621 #include <stdlib.h> 4643 #include <stdlib.h>
4728 inttypes.h stdint.h unistd.h 4750 inttypes.h stdint.h unistd.h
4729 do : 4751 do :
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4732 " 4754 "
4733 eval as_val=\$$as_ac_Header 4755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4734 if test "x$as_val" = x""yes; then :
4735 cat >>confdefs.h <<_ACEOF 4756 cat >>confdefs.h <<_ACEOF
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737 _ACEOF 4758 _ACEOF
4738 4759
4739 fi 4760 fi
4741 done 4762 done
4742 4763
4743 4764
4744 4765
4745 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4766 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4746 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4767 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4747 MINIX=yes 4768 MINIX=yes
4748 else 4769 else
4749 MINIX= 4770 MINIX=
4750 fi 4771 fi
4751 4772
4763 fi 4784 fi
4764 4785
4765 4786
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4787 { $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; } 4788 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4768 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4789 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4769 $as_echo_n "(cached) " >&6 4790 $as_echo_n "(cached) " >&6
4770 else 4791 else
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */ 4793 /* end confdefs.h. */
4773 4794
4943 # On Suns, sometimes $CPP names a directory. 4964 # On Suns, sometimes $CPP names a directory.
4944 if test -n "$CPP" && test -d "$CPP"; then 4965 if test -n "$CPP" && test -d "$CPP"; then
4945 CPP= 4966 CPP=
4946 fi 4967 fi
4947 if test -z "$CPP"; then 4968 if test -z "$CPP"; then
4948 if test "${ac_cv_prog_CPP+set}" = set; then : 4969 if ${ac_cv_prog_CPP+:} false; then :
4949 $as_echo_n "(cached) " >&6 4970 $as_echo_n "(cached) " >&6
4950 else 4971 else
4951 # Double quotes because CPP needs to be expanded 4972 # Double quotes because CPP needs to be expanded
4952 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4973 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4953 do 4974 do
4973 4994
4974 else 4995 else
4975 # Broken: fails on valid input. 4996 # Broken: fails on valid input.
4976 continue 4997 continue
4977 fi 4998 fi
4978 rm -f conftest.err conftest.$ac_ext 4999 rm -f conftest.err conftest.i conftest.$ac_ext
4979 5000
4980 # OK, works on sane cases. Now check whether nonexistent headers 5001 # OK, works on sane cases. Now check whether nonexistent headers
4981 # can be detected and how. 5002 # can be detected and how.
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */ 5004 /* end confdefs.h. */
4989 else 5010 else
4990 # Passes both tests. 5011 # Passes both tests.
4991 ac_preproc_ok=: 5012 ac_preproc_ok=:
4992 break 5013 break
4993 fi 5014 fi
4994 rm -f conftest.err conftest.$ac_ext 5015 rm -f conftest.err conftest.i conftest.$ac_ext
4995 5016
4996 done 5017 done
4997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4998 rm -f conftest.err conftest.$ac_ext 5019 rm -f conftest.i conftest.err conftest.$ac_ext
4999 if $ac_preproc_ok; then : 5020 if $ac_preproc_ok; then :
5000 break 5021 break
5001 fi 5022 fi
5002 5023
5003 done 5024 done
5032 5053
5033 else 5054 else
5034 # Broken: fails on valid input. 5055 # Broken: fails on valid input.
5035 continue 5056 continue
5036 fi 5057 fi
5037 rm -f conftest.err conftest.$ac_ext 5058 rm -f conftest.err conftest.i conftest.$ac_ext
5038 5059
5039 # OK, works on sane cases. Now check whether nonexistent headers 5060 # OK, works on sane cases. Now check whether nonexistent headers
5040 # can be detected and how. 5061 # can be detected and how.
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */ 5063 /* end confdefs.h. */
5048 else 5069 else
5049 # Passes both tests. 5070 # Passes both tests.
5050 ac_preproc_ok=: 5071 ac_preproc_ok=:
5051 break 5072 break
5052 fi 5073 fi
5053 rm -f conftest.err conftest.$ac_ext 5074 rm -f conftest.err conftest.i conftest.$ac_ext
5054 5075
5055 done 5076 done
5056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5057 rm -f conftest.err conftest.$ac_ext 5078 rm -f conftest.i conftest.err conftest.$ac_ext
5058 if $ac_preproc_ok; then : 5079 if $ac_preproc_ok; then :
5059 5080
5060 else 5081 else
5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5063 as_fn_error "C preprocessor \"$CPP\" fails sanity check 5084 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5064 See \`config.log' for more details." "$LINENO" 5; } 5085 See \`config.log' for more details" "$LINENO" 5; }
5065 fi 5086 fi
5066 5087
5067 ac_ext=c 5088 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS' 5089 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 # ./install, which can be erroneously created by make from ./install.sh. 5106 # ./install, which can be erroneously created by make from ./install.sh.
5086 # Reject install programs that cannot install multiple files. 5107 # Reject install programs that cannot install multiple files.
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5108 { $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; } 5109 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5089 if test -z "$INSTALL"; then 5110 if test -z "$INSTALL"; then
5090 if test "${ac_cv_path_install+set}" = set; then : 5111 if ${ac_cv_path_install+:} false; then :
5091 $as_echo_n "(cached) " >&6 5112 $as_echo_n "(cached) " >&6
5092 else 5113 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH 5115 for as_dir in $PATH
5095 do 5116 do
5167 if test -n "$ac_tool_prefix"; then 5188 if test -n "$ac_tool_prefix"; then
5168 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5189 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5169 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; } 5192 $as_echo_n "checking for $ac_word... " >&6; }
5172 if test "${ac_cv_prog_RANLIB+set}" = set; then : 5193 if ${ac_cv_prog_RANLIB+:} false; then :
5173 $as_echo_n "(cached) " >&6 5194 $as_echo_n "(cached) " >&6
5174 else 5195 else
5175 if test -n "$RANLIB"; then 5196 if test -n "$RANLIB"; then
5176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5177 else 5198 else
5207 ac_ct_RANLIB=$RANLIB 5228 ac_ct_RANLIB=$RANLIB
5208 # Extract the first word of "ranlib", so it can be a program name with args. 5229 # Extract the first word of "ranlib", so it can be a program name with args.
5209 set dummy ranlib; ac_word=$2 5230 set dummy ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; } 5232 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5233 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5213 $as_echo_n "(cached) " >&6 5234 $as_echo_n "(cached) " >&6
5214 else 5235 else
5215 if test -n "$ac_ct_RANLIB"; then 5236 if test -n "$ac_ct_RANLIB"; then
5216 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5237 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5217 else 5238 else
5262 ## the x86 architecture. The user should probably have provided an 5283 ## the x86 architecture. The user should probably have provided an
5263 ## explicit --build to `configure', but if everything else than the kernel 5284 ## explicit --build to `configure', but if everything else than the kernel
5264 ## is running in i386 mode, we can help them out. 5285 ## is running in i386 mode, we can help them out.
5265 if test "$machine" = "amdx86-64"; then 5286 if test "$machine" = "amdx86-64"; then
5266 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 5287 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
5267 if test "x$ac_cv_have_decl_i386" = x""yes; then : 5288 if test "x$ac_cv_have_decl_i386" = xyes; then :
5268 5289
5269 fi 5290 fi
5270 5291
5271 if test "$ac_cv_have_decl_i386" = "yes"; then 5292 if test "$ac_cv_have_decl_i386" = "yes"; then
5272 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` 5293 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'`
5277 5298
5278 # Extract the first word of "install-info", so it can be a program name with args. 5299 # Extract the first word of "install-info", so it can be a program name with args.
5279 set dummy install-info; ac_word=$2 5300 set dummy install-info; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; } 5302 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5303 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5283 $as_echo_n "(cached) " >&6 5304 $as_echo_n "(cached) " >&6
5284 else 5305 else
5285 case $INSTALL_INFO in 5306 case $INSTALL_INFO in
5286 [\\/]* | ?:[\\/]*) 5307 [\\/]* | ?:[\\/]*)
5287 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5308 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5317 5338
5318 # Extract the first word of "install-info", so it can be a program name with args. 5339 # Extract the first word of "install-info", so it can be a program name with args.
5319 set dummy install-info; ac_word=$2 5340 set dummy install-info; ac_word=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; } 5342 $as_echo_n "checking for $ac_word... " >&6; }
5322 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5343 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5323 $as_echo_n "(cached) " >&6 5344 $as_echo_n "(cached) " >&6
5324 else 5345 else
5325 case $INSTALL_INFO in 5346 case $INSTALL_INFO in
5326 [\\/]* | ?:[\\/]*) 5347 [\\/]* | ?:[\\/]*)
5327 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5348 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5357 5378
5358 # Extract the first word of "install-info", so it can be a program name with args. 5379 # Extract the first word of "install-info", so it can be a program name with args.
5359 set dummy install-info; ac_word=$2 5380 set dummy install-info; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; } 5382 $as_echo_n "checking for $ac_word... " >&6; }
5362 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5383 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5363 $as_echo_n "(cached) " >&6 5384 $as_echo_n "(cached) " >&6
5364 else 5385 else
5365 case $INSTALL_INFO in 5386 case $INSTALL_INFO in
5366 [\\/]* | ?:[\\/]*) 5387 [\\/]* | ?:[\\/]*)
5367 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5388 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5398 5419
5399 # Extract the first word of "gzip", so it can be a program name with args. 5420 # Extract the first word of "gzip", so it can be a program name with args.
5400 set dummy gzip; ac_word=$2 5421 set dummy gzip; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; } 5423 $as_echo_n "checking for $ac_word... " >&6; }
5403 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5424 if ${ac_cv_path_GZIP_PROG+:} false; then :
5404 $as_echo_n "(cached) " >&6 5425 $as_echo_n "(cached) " >&6
5405 else 5426 else
5406 case $GZIP_PROG in 5427 case $GZIP_PROG in
5407 [\\/]* | ?:[\\/]*) 5428 [\\/]* | ?:[\\/]*)
5408 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 5429 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
5441 ## Need makeinfo >= 4.6 (?) to build the manuals. 5462 ## Need makeinfo >= 4.6 (?) to build the manuals.
5442 # Extract the first word of "makeinfo", so it can be a program name with args. 5463 # Extract the first word of "makeinfo", so it can be a program name with args.
5443 set dummy makeinfo; ac_word=$2 5464 set dummy makeinfo; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; } 5466 $as_echo_n "checking for $ac_word... " >&6; }
5446 if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5467 if ${ac_cv_path_MAKEINFO+:} false; then :
5447 $as_echo_n "(cached) " >&6 5468 $as_echo_n "(cached) " >&6
5448 else 5469 else
5449 case $MAKEINFO in 5470 case $MAKEINFO in
5450 [\\/]* | ?:[\\/]*) 5471 [\\/]* | ?:[\\/]*)
5451 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 5472 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
5496 ## with pre-built manuals, from a Bazaar checkout. 5517 ## with pre-built manuals, from a Bazaar checkout.
5497 if test "$MAKEINFO" = "no"; then 5518 if test "$MAKEINFO" = "no"; then
5498 if test "x${with_makeinfo}" = "xno"; then 5519 if test "x${with_makeinfo}" = "xno"; then
5499 MAKEINFO=off 5520 MAKEINFO=off
5500 elif test ! -e $srcdir/info/emacs; then 5521 elif test ! -e $srcdir/info/emacs; then
5501 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5522 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
5502 source tree does not seem to have pre-built manuals in the \`info' directory. 5523 source tree does not seem to have pre-built manuals in the \`info' directory.
5503 Either install a suitable version of makeinfo, or re-run configure 5524 Either install a suitable version of makeinfo, or re-run configure
5504 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5525 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5505 fi 5526 fi
5506 fi 5527 fi
5507 5528
5508 5529
5509 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 5530 if test x$GCC = xyes; then
5510 then 5531 test "x$GCC_LINK_TEST_OPTIONS" != x && \
5511 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" 5532 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
5512 fi 5533 else
5513 5534 test "x$NON_GCC_LINK_TEST_OPTIONS" != x && \
5514 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x 5535 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
5515 then
5516 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
5517 fi 5536 fi
5518 5537
5519 5538
5520 late_LDFLAGS=$LDFLAGS 5539 late_LDFLAGS=$LDFLAGS
5521 if test "$GCC" = yes; then 5540 if test x$GCC = xyes; then
5522 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5541 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
5523 else 5542 else
5524 LDFLAGS="$LDFLAGS -znocombreloc" 5543 LDFLAGS="$LDFLAGS -znocombreloc"
5525 fi 5544 fi
5526 5545
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5
5528 $as_echo_n "checking for -znocombreloc... " >&6; } 5547 $as_echo_n "checking for -znocombreloc... " >&6; }
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */ 5549 /* end confdefs.h. */
5531 main(){return 0;} 5550
5551 int
5552 main ()
5553 {
5554
5555 ;
5556 return 0;
5557 }
5532 _ACEOF 5558 _ACEOF
5533 if ac_fn_c_try_link "$LINENO"; then : 5559 if ac_fn_c_try_link "$LINENO"; then :
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; } 5561 $as_echo "yes" >&6; }
5536 else 5562 else
5637 5663
5638 5664
5639 C_SWITCH_MACHINE= 5665 C_SWITCH_MACHINE=
5640 if test "$machine" = "alpha"; then 5666 if test "$machine" = "alpha"; then
5641 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 5667 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
5642 if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 5668 if test "x$ac_cv_have_decl___ELF__" = xyes; then :
5643 5669
5644 fi 5670 fi
5645 5671
5646 if test "$ac_cv_have_decl___ELF__" = "yes"; then 5672 if test "$ac_cv_have_decl___ELF__" = "yes"; then
5647 ## With ELF, make sure that all common symbols get allocated to in the 5673 ## With ELF, make sure that all common symbols get allocated to in the
5650 ## GNU libc, __malloc_initialized would normally be resolved to the 5676 ## GNU libc, __malloc_initialized would normally be resolved to the
5651 ## shared library's .bss section, which is fatal. 5677 ## shared library's .bss section, which is fatal.
5652 if test "x$GCC" = "xyes"; then 5678 if test "x$GCC" = "xyes"; then
5653 C_SWITCH_MACHINE="-fno-common" 5679 C_SWITCH_MACHINE="-fno-common"
5654 else 5680 else
5655 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5681 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5656 fi 5682 fi
5657 else 5683 else
5658 UNEXEC_OBJ=unexalpha.o 5684 UNEXEC_OBJ=unexalpha.o
5659 fi 5685 fi
5660 fi 5686 fi
5707 5733
5708 if test "$enable_largefile" != no; then 5734 if test "$enable_largefile" != no; then
5709 5735
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5711 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5737 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5712 if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5738 if ${ac_cv_sys_largefile_CC+:} false; then :
5713 $as_echo_n "(cached) " >&6 5739 $as_echo_n "(cached) " >&6
5714 else 5740 else
5715 ac_cv_sys_largefile_CC=no 5741 ac_cv_sys_largefile_CC=no
5716 if test "$GCC" != yes; then 5742 if test "$GCC" != yes; then
5717 ac_save_CC=$CC 5743 ac_save_CC=$CC
5758 CC=$CC$ac_cv_sys_largefile_CC 5784 CC=$CC$ac_cv_sys_largefile_CC
5759 fi 5785 fi
5760 5786
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5762 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5788 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5763 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5789 if ${ac_cv_sys_file_offset_bits+:} false; then :
5764 $as_echo_n "(cached) " >&6 5790 $as_echo_n "(cached) " >&6
5765 else 5791 else
5766 while :; do 5792 while :; do
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */ 5794 /* end confdefs.h. */
5827 esac 5853 esac
5828 rm -rf conftest* 5854 rm -rf conftest*
5829 if test $ac_cv_sys_file_offset_bits = unknown; then 5855 if test $ac_cv_sys_file_offset_bits = unknown; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5831 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5857 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5832 if test "${ac_cv_sys_large_files+set}" = set; then : 5858 if ${ac_cv_sys_large_files+:} false; then :
5833 $as_echo_n "(cached) " >&6 5859 $as_echo_n "(cached) " >&6
5834 else 5860 else
5835 while :; do 5861 while :; do
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */ 5863 /* end confdefs.h. */
5928 else 5954 else
5929 5955
5930 ## Some platforms don't use any of these files, so it is not 5956 ## Some platforms don't use any of these files, so it is not
5931 ## appropriate to put this test outside the if block. 5957 ## appropriate to put this test outside the if block.
5932 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5958 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5933 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 5959 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5
5934 5960
5935 fi 5961 fi
5936 5962
5937 5963
5938 5964
5983 # Sound support for GNU/Linux and the free BSDs. 6009 # Sound support for GNU/Linux and the free BSDs.
5984 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6010 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5985 do : 6011 do :
5986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6013 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5988 eval as_val=\$$as_ac_Header 6014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5989 if test "x$as_val" = x""yes; then :
5990 cat >>confdefs.h <<_ACEOF 6015 cat >>confdefs.h <<_ACEOF
5991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5992 _ACEOF 6017 _ACEOF
5993 have_sound_header=yes 6018 have_sound_header=yes
5994 fi 6019 fi
5996 done 6021 done
5997 6022
5998 # Emulation library used on NetBSD. 6023 # Emulation library used on NetBSD.
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6000 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 6025 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6001 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 6026 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6002 $as_echo_n "(cached) " >&6 6027 $as_echo_n "(cached) " >&6
6003 else 6028 else
6004 ac_check_lib_save_LIBS=$LIBS 6029 ac_check_lib_save_LIBS=$LIBS
6005 LIBS="-lossaudio $LIBS" 6030 LIBS="-lossaudio $LIBS"
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 conftest$ac_exeext conftest.$ac_ext 6055 conftest$ac_exeext conftest.$ac_ext
6031 LIBS=$ac_check_lib_save_LIBS 6056 LIBS=$ac_check_lib_save_LIBS
6032 fi 6057 fi
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6034 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6059 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6035 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6060 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6036 LIBSOUND=-lossaudio 6061 LIBSOUND=-lossaudio
6037 else 6062 else
6038 LIBSOUND= 6063 LIBSOUND=
6039 fi 6064 fi
6040 6065
6047 6072
6048 # Extract the first word of "pkg-config", so it can be a program name with args. 6073 # Extract the first word of "pkg-config", so it can be a program name with args.
6049 set dummy pkg-config; ac_word=$2 6074 set dummy pkg-config; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; } 6076 $as_echo_n "checking for $ac_word... " >&6; }
6052 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6077 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6053 $as_echo_n "(cached) " >&6 6078 $as_echo_n "(cached) " >&6
6054 else 6079 else
6055 case $PKG_CONFIG in 6080 case $PKG_CONFIG in
6056 [\\/]* | ?:[\\/]*) 6081 [\\/]* | ?:[\\/]*)
6057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6175 else 6200 else
6176 emacs_alsa_subdir=no 6201 emacs_alsa_subdir=no
6177 fi 6202 fi
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 if test "$emacs_alsa_subdir" != yes; then 6204 if test "$emacs_alsa_subdir" != yes; then
6180 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6205 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6181 fi 6206 fi
6182 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6207 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6183 fi 6208 fi
6184 6209
6185 CFLAGS="$SAVE_CFLAGS" 6210 CFLAGS="$SAVE_CFLAGS"
6210 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6235 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6211 sys/utsname.h pwd.h utmp.h dirent.h util.h 6236 sys/utsname.h pwd.h utmp.h dirent.h util.h
6212 do : 6237 do :
6213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6214 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6239 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6215 eval as_val=\$$as_ac_Header 6240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6216 if test "x$as_val" = x""yes; then :
6217 cat >>confdefs.h <<_ACEOF 6241 cat >>confdefs.h <<_ACEOF
6218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6219 _ACEOF 6243 _ACEOF
6220 6244
6221 fi 6245 fi
6252 fi 6276 fi
6253 6277
6254 for ac_header in term.h 6278 for ac_header in term.h
6255 do : 6279 do :
6256 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6280 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
6257 if test "x$ac_cv_header_term_h" = x""yes; then : 6281 if test "x$ac_cv_header_term_h" = xyes; then :
6258 cat >>confdefs.h <<_ACEOF 6282 cat >>confdefs.h <<_ACEOF
6259 #define HAVE_TERM_H 1 6283 #define HAVE_TERM_H 1
6260 _ACEOF 6284 _ACEOF
6261 6285
6262 fi 6286 fi
6263 6287
6264 done 6288 done
6265 6289
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6267 $as_echo_n "checking for ANSI C header files... " >&6; } 6291 $as_echo_n "checking for ANSI C header files... " >&6; }
6268 if test "${ac_cv_header_stdc+set}" = set; then : 6292 if ${ac_cv_header_stdc+:} false; then :
6269 $as_echo_n "(cached) " >&6 6293 $as_echo_n "(cached) " >&6
6270 else 6294 else
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */ 6296 /* end confdefs.h. */
6273 #include <stdlib.h> 6297 #include <stdlib.h>
6375 6399
6376 fi 6400 fi
6377 6401
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6379 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6403 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6380 if test "${ac_cv_header_time+set}" = set; then : 6404 if ${ac_cv_header_time+:} false; then :
6381 $as_echo_n "(cached) " >&6 6405 $as_echo_n "(cached) " >&6
6382 else 6406 else
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */ 6408 /* end confdefs.h. */
6385 #include <sys/types.h> 6409 #include <sys/types.h>
6409 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 6433 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6410 6434
6411 fi 6435 fi
6412 6436
6413 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 6437 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
6414 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 6438 if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
6415 ac_have_decl=1 6439 ac_have_decl=1
6416 else 6440 else
6417 ac_have_decl=0 6441 ac_have_decl=0
6418 fi 6442 fi
6419 6443
6422 _ACEOF 6446 _ACEOF
6423 6447
6424 if test $ac_cv_have_decl_sys_siglist != yes; then 6448 if test $ac_cv_have_decl_sys_siglist != yes; then
6425 # For Tru64, at least: 6449 # For Tru64, at least:
6426 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 6450 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
6427 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 6451 if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
6428 ac_have_decl=1 6452 ac_have_decl=1
6429 else 6453 else
6430 ac_have_decl=0 6454 ac_have_decl=0
6431 fi 6455 fi
6432 6456
6440 6464
6441 fi 6465 fi
6442 fi 6466 fi
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6444 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6468 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6445 if test "${ac_cv_header_sys_wait_h+set}" = set; then : 6469 if ${ac_cv_header_sys_wait_h+:} false; then :
6446 $as_echo_n "(cached) " >&6 6470 $as_echo_n "(cached) " >&6
6447 else 6471 else
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */ 6473 /* end confdefs.h. */
6450 #include <sys/types.h> 6474 #include <sys/types.h>
6482 fi 6506 fi
6483 6507
6484 6508
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
6486 $as_echo_n "checking for struct utimbuf... " >&6; } 6510 $as_echo_n "checking for struct utimbuf... " >&6; }
6487 if test "${emacs_cv_struct_utimbuf+set}" = set; then : 6511 if ${emacs_cv_struct_utimbuf+:} false; then :
6488 $as_echo_n "(cached) " >&6 6512 $as_echo_n "(cached) " >&6
6489 else 6513 else
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */ 6515 /* end confdefs.h. */
6492 #ifdef TIME_WITH_SYS_TIME 6516 #ifdef TIME_WITH_SYS_TIME
6525 6549
6526 fi 6550 fi
6527 6551
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6529 $as_echo_n "checking return type of signal handlers... " >&6; } 6553 $as_echo_n "checking return type of signal handlers... " >&6; }
6530 if test "${ac_cv_type_signal+set}" = set; then : 6554 if ${ac_cv_type_signal+:} false; then :
6531 $as_echo_n "(cached) " >&6 6555 $as_echo_n "(cached) " >&6
6532 else 6556 else
6533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */ 6558 /* end confdefs.h. */
6535 #include <sys/types.h> 6559 #include <sys/types.h>
6559 6583
6560 6584
6561 6585
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
6563 $as_echo_n "checking for speed_t... " >&6; } 6587 $as_echo_n "checking for speed_t... " >&6; }
6564 if test "${emacs_cv_speed_t+set}" = set; then : 6588 if ${emacs_cv_speed_t+:} false; then :
6565 $as_echo_n "(cached) " >&6 6589 $as_echo_n "(cached) " >&6
6566 else 6590 else
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */ 6592 /* end confdefs.h. */
6569 #include <termios.h> 6593 #include <termios.h>
6590 6614
6591 fi 6615 fi
6592 6616
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
6594 $as_echo_n "checking for struct timeval... " >&6; } 6618 $as_echo_n "checking for struct timeval... " >&6; }
6595 if test "${emacs_cv_struct_timeval+set}" = set; then : 6619 if ${emacs_cv_struct_timeval+:} false; then :
6596 $as_echo_n "(cached) " >&6 6620 $as_echo_n "(cached) " >&6
6597 else 6621 else
6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */ 6623 /* end confdefs.h. */
6600 #ifdef TIME_WITH_SYS_TIME 6624 #ifdef TIME_WITH_SYS_TIME
6631 6655
6632 fi 6656 fi
6633 6657
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
6635 $as_echo_n "checking for struct exception... " >&6; } 6659 $as_echo_n "checking for struct exception... " >&6; }
6636 if test "${emacs_cv_struct_exception+set}" = set; then : 6660 if ${emacs_cv_struct_exception+:} false; then :
6637 $as_echo_n "(cached) " >&6 6661 $as_echo_n "(cached) " >&6
6638 else 6662 else
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */ 6664 /* end confdefs.h. */
6641 #include <math.h> 6665 #include <math.h>
6664 fi 6688 fi
6665 6689
6666 for ac_header in sys/socket.h 6690 for ac_header in sys/socket.h
6667 do : 6691 do :
6668 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 6692 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
6669 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 6693 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
6670 cat >>confdefs.h <<_ACEOF 6694 cat >>confdefs.h <<_ACEOF
6671 #define HAVE_SYS_SOCKET_H 1 6695 #define HAVE_SYS_SOCKET_H 1
6672 _ACEOF 6696 _ACEOF
6673 6697
6674 fi 6698 fi
6680 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 6704 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
6681 #if HAVE_SYS_SOCKET_H 6705 #if HAVE_SYS_SOCKET_H
6682 #include <sys/socket.h> 6706 #include <sys/socket.h>
6683 #endif 6707 #endif
6684 " 6708 "
6685 if test "x$ac_cv_header_net_if_h" = x""yes; then : 6709 if test "x$ac_cv_header_net_if_h" = xyes; then :
6686 cat >>confdefs.h <<_ACEOF 6710 cat >>confdefs.h <<_ACEOF
6687 #define HAVE_NET_IF_H 1 6711 #define HAVE_NET_IF_H 1
6688 _ACEOF 6712 _ACEOF
6689 6713
6690 fi 6714 fi
6692 done 6716 done
6693 6717
6694 6718
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6696 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6720 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6697 if test "${ac_cv_struct_tm+set}" = set; then : 6721 if ${ac_cv_struct_tm+:} false; then :
6698 $as_echo_n "(cached) " >&6 6722 $as_echo_n "(cached) " >&6
6699 else 6723 else
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */ 6725 /* end confdefs.h. */
6702 #include <sys/types.h> 6726 #include <sys/types.h>
6729 6753
6730 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 6754 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6731 #include <$ac_cv_struct_tm> 6755 #include <$ac_cv_struct_tm>
6732 6756
6733 " 6757 "
6734 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 6758 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
6735 6759
6736 cat >>confdefs.h <<_ACEOF 6760 cat >>confdefs.h <<_ACEOF
6737 #define HAVE_STRUCT_TM_TM_ZONE 1 6761 #define HAVE_STRUCT_TM_TM_ZONE 1
6738 _ACEOF 6762 _ACEOF
6739 6763
6745 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 6769 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6746 6770
6747 else 6771 else
6748 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 6772 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6749 " 6773 "
6750 if test "x$ac_cv_have_decl_tzname" = x""yes; then : 6774 if test "x$ac_cv_have_decl_tzname" = xyes; then :
6751 ac_have_decl=1 6775 ac_have_decl=1
6752 else 6776 else
6753 ac_have_decl=0 6777 ac_have_decl=0
6754 fi 6778 fi
6755 6779
6757 #define HAVE_DECL_TZNAME $ac_have_decl 6781 #define HAVE_DECL_TZNAME $ac_have_decl
6758 _ACEOF 6782 _ACEOF
6759 6783
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6761 $as_echo_n "checking for tzname... " >&6; } 6785 $as_echo_n "checking for tzname... " >&6; }
6762 if test "${ac_cv_var_tzname+set}" = set; then : 6786 if ${ac_cv_var_tzname+:} false; then :
6763 $as_echo_n "(cached) " >&6 6787 $as_echo_n "(cached) " >&6
6764 else 6788 else
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */ 6790 /* end confdefs.h. */
6767 #include <time.h> 6791 #include <time.h>
6794 fi 6818 fi
6795 fi 6819 fi
6796 6820
6797 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 6821 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
6798 " 6822 "
6799 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 6823 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
6800 6824
6801 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 6825 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
6802 6826
6803 fi 6827 fi
6804 6828
6808 #endif 6832 #endif
6809 #if HAVE_NET_IF_H 6833 #if HAVE_NET_IF_H
6810 #include <net/if.h> 6834 #include <net/if.h>
6811 #endif 6835 #endif
6812 " 6836 "
6813 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 6837 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
6814 6838
6815 cat >>confdefs.h <<_ACEOF 6839 cat >>confdefs.h <<_ACEOF
6816 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6840 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
6817 _ACEOF 6841 _ACEOF
6818 6842
6824 #endif 6848 #endif
6825 #if HAVE_NET_IF_H 6849 #if HAVE_NET_IF_H
6826 #include <net/if.h> 6850 #include <net/if.h>
6827 #endif 6851 #endif
6828 " 6852 "
6829 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 6853 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
6830 6854
6831 cat >>confdefs.h <<_ACEOF 6855 cat >>confdefs.h <<_ACEOF
6832 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6856 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
6833 _ACEOF 6857 _ACEOF
6834 6858
6840 #endif 6864 #endif
6841 #if HAVE_NET_IF_H 6865 #if HAVE_NET_IF_H
6842 #include <net/if.h> 6866 #include <net/if.h>
6843 #endif 6867 #endif
6844 " 6868 "
6845 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 6869 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
6846 6870
6847 cat >>confdefs.h <<_ACEOF 6871 cat >>confdefs.h <<_ACEOF
6848 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6872 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
6849 _ACEOF 6873 _ACEOF
6850 6874
6856 #endif 6880 #endif
6857 #if HAVE_NET_IF_H 6881 #if HAVE_NET_IF_H
6858 #include <net/if.h> 6882 #include <net/if.h>
6859 #endif 6883 #endif
6860 " 6884 "
6861 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 6885 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
6862 6886
6863 cat >>confdefs.h <<_ACEOF 6887 cat >>confdefs.h <<_ACEOF
6864 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6888 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
6865 _ACEOF 6889 _ACEOF
6866 6890
6872 #endif 6896 #endif
6873 #if HAVE_NET_IF_H 6897 #if HAVE_NET_IF_H
6874 #include <net/if.h> 6898 #include <net/if.h>
6875 #endif 6899 #endif
6876 " 6900 "
6877 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 6901 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
6878 6902
6879 cat >>confdefs.h <<_ACEOF 6903 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6904 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
6881 _ACEOF 6905 _ACEOF
6882 6906
6901 $as_echo "no" >&6; } 6925 $as_echo "no" >&6; }
6902 fi 6926 fi
6903 6927
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6905 $as_echo_n "checking for working volatile... " >&6; } 6929 $as_echo_n "checking for working volatile... " >&6; }
6906 if test "${ac_cv_c_volatile+set}" = set; then : 6930 if ${ac_cv_c_volatile+:} false; then :
6907 $as_echo_n "(cached) " >&6 6931 $as_echo_n "(cached) " >&6
6908 else 6932 else
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */ 6934 /* end confdefs.h. */
6911 6935
6935 6959
6936 fi 6960 fi
6937 6961
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6939 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6963 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6940 if test "${ac_cv_c_const+set}" = set; then : 6964 if ${ac_cv_c_const+:} false; then :
6941 $as_echo_n "(cached) " >&6 6965 $as_echo_n "(cached) " >&6
6942 else 6966 else
6943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */ 6968 /* end confdefs.h. */
6945 6969
7015 7039
7016 fi 7040 fi
7017 7041
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
7019 $as_echo_n "checking for void * support... " >&6; } 7043 $as_echo_n "checking for void * support... " >&6; }
7020 if test "${emacs_cv_void_star+set}" = set; then : 7044 if ${emacs_cv_void_star+:} false; then :
7021 $as_echo_n "(cached) " >&6 7045 $as_echo_n "(cached) " >&6
7022 else 7046 else
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */ 7048 /* end confdefs.h. */
7025 7049
7048 7072
7049 fi 7073 fi
7050 7074
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7052 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7076 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7053 if test "${ac_cv_c_bigendian+set}" = set; then : 7077 if ${ac_cv_c_bigendian+:} false; then :
7054 $as_echo_n "(cached) " >&6 7078 $as_echo_n "(cached) " >&6
7055 else 7079 else
7056 ac_cv_c_bigendian=unknown 7080 ac_cv_c_bigendian=unknown
7057 # See if we're dealing with a universal compiler. 7081 # See if we're dealing with a universal compiler.
7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 7290
7267 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 7291 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7268 7292
7269 ;; #( 7293 ;; #(
7270 *) 7294 *)
7271 as_fn_error "unknown endianness 7295 as_fn_error $? "unknown endianness
7272 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7296 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7273 esac 7297 esac
7274 7298
7275 7299
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7277 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7278 set x ${MAKE-make} 7302 set x ${MAKE-make}
7279 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7280 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 7304 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
7281 $as_echo_n "(cached) " >&6 7305 $as_echo_n "(cached) " >&6
7282 else 7306 else
7283 cat >conftest.make <<\_ACEOF 7307 cat >conftest.make <<\_ACEOF
7284 SHELL = /bin/sh 7308 SHELL = /bin/sh
7285 all: 7309 all:
7286 @echo '@@@%%%=$(MAKE)=@@@%%%' 7310 @echo '@@@%%%=$(MAKE)=@@@%%%'
7287 _ACEOF 7311 _ACEOF
7288 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7312 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7289 case `${MAKE-make} -f conftest.make 2>/dev/null` in 7313 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7290 *@@@%%%=?*=@@@%%%*) 7314 *@@@%%%=?*=@@@%%%*)
7291 eval ac_cv_prog_make_${ac_make}_set=yes;; 7315 eval ac_cv_prog_make_${ac_make}_set=yes;;
7292 *) 7316 *)
7293 eval ac_cv_prog_make_${ac_make}_set=no;; 7317 eval ac_cv_prog_make_${ac_make}_set=no;;
7363 7387
7364 7388
7365 7389
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
7367 $as_echo_n "checking for long file names... " >&6; } 7391 $as_echo_n "checking for long file names... " >&6; }
7368 if test "${ac_cv_sys_long_file_names+set}" = set; then : 7392 if ${ac_cv_sys_long_file_names+:} false; then :
7369 $as_echo_n "(cached) " >&6 7393 $as_echo_n "(cached) " >&6
7370 else 7394 else
7371 ac_cv_sys_long_file_names=yes 7395 ac_cv_sys_long_file_names=yes
7372 # Test for long file names in all the places we know might matter: 7396 # Test for long file names in all the places we know might matter:
7373 # . the current directory, where building will happen 7397 # . the current directory, where building will happen
7419 if test "x$with_x" = xno; then 7443 if test "x$with_x" = xno; then
7420 # The user explicitly disabled X. 7444 # The user explicitly disabled X.
7421 have_x=disabled 7445 have_x=disabled
7422 else 7446 else
7423 case $x_includes,$x_libraries in #( 7447 case $x_includes,$x_libraries in #(
7424 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 7448 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7425 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7449 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7426 $as_echo_n "(cached) " >&6 7450 $as_echo_n "(cached) " >&6
7427 else 7451 else
7428 # One or both of the vars are not set, and there is no cached value. 7452 # One or both of the vars are not set, and there is no cached value.
7429 ac_x_includes=no ac_x_libraries=no 7453 ac_x_includes=no ac_x_libraries=no
7430 rm -f -r conftest.dir 7454 rm -f -r conftest.dir
7437 @echo usrlibdir='${USRLIBDIR}' 7461 @echo usrlibdir='${USRLIBDIR}'
7438 libdir: 7462 libdir:
7439 @echo libdir='${LIBDIR}' 7463 @echo libdir='${LIBDIR}'
7440 _ACEOF 7464 _ACEOF
7441 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7465 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7466 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7443 for ac_var in incroot usrlibdir libdir; do 7467 for ac_var in incroot usrlibdir libdir; do
7444 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7468 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7445 done 7469 done
7446 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 7470 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7447 for ac_extension in a so sl dylib la dll; do 7471 for ac_extension in a so sl dylib la dll; do
7523 ac_x_includes=$ac_dir 7547 ac_x_includes=$ac_dir
7524 break 7548 break
7525 fi 7549 fi
7526 done 7550 done
7527 fi 7551 fi
7528 rm -f conftest.err conftest.$ac_ext 7552 rm -f conftest.err conftest.i conftest.$ac_ext
7529 fi # $ac_x_includes = no 7553 fi # $ac_x_includes = no
7530 7554
7531 if test "$ac_x_libraries" = no; then 7555 if test "$ac_x_libraries" = no; then
7532 # Check for the libraries. 7556 # Check for the libraries.
7533 # See if we find them without any special options. 7557 # See if we find them without any special options.
7677 CFLAGS="$CFLAGS -x objective-c" 7701 CFLAGS="$CFLAGS -x objective-c"
7678 TEMACS_LDFLAGS2="\${LDFLAGS}" 7702 TEMACS_LDFLAGS2="\${LDFLAGS}"
7679 if test "${with_ns}" != no; then 7703 if test "${with_ns}" != no; then
7680 if test "${opsys}" = darwin; then 7704 if test "${opsys}" = darwin; then
7681 NS_IMPL_COCOA=yes 7705 NS_IMPL_COCOA=yes
7682 ns_appdir=`pwd`/nextstep/Emacs.app/ 7706 ns_appdir=`pwd`/nextstep/Emacs.app
7683 ns_appbindir=${ns_appdir}Contents/MacOS/ 7707 ns_appbindir=${ns_appdir}/Contents/MacOS/
7684 ns_appresdir=${ns_appdir}Contents/Resources 7708 ns_appresdir=${ns_appdir}/Contents/Resources
7685 ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base 7709 ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base
7686 elif test -f $GNUSTEP_CONFIG_FILE; then 7710 elif test -f $GNUSTEP_CONFIG_FILE; then
7687 NS_IMPL_GNUSTEP=yes 7711 NS_IMPL_GNUSTEP=yes
7688 ns_appdir=`pwd`/nextstep/Emacs.app/ 7712 ns_appdir=`pwd`/nextstep/Emacs.app
7689 ns_appbindir=${ns_appdir} 7713 ns_appbindir=${ns_appdir}
7690 ns_appresdir=${ns_appdir}Resources 7714 ns_appresdir=${ns_appdir}/Resources
7691 ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base 7715 ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base
7692 GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)" 7716 GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)"
7693 GNUSTEP_SYSTEM_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_LIBRARIES)" 7717 GNUSTEP_SYSTEM_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_LIBRARIES)"
7694 GNUSTEP_LOCAL_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_HEADERS)" 7718 GNUSTEP_LOCAL_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_HEADERS)"
7695 GNUSTEP_LOCAL_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_LIBRARIES)" 7719 GNUSTEP_LOCAL_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_LIBRARIES)"
7703 LIB_STANDARD= 7727 LIB_STANDARD=
7704 START_FILES= 7728 START_FILES=
7705 TEMACS_LDFLAGS2= 7729 TEMACS_LDFLAGS2=
7706 fi 7730 fi
7707 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7731 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7708 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7732 if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
7709 HAVE_NS=yes 7733 HAVE_NS=yes
7710 else 7734 else
7711 as_fn_error "\`--with-ns' was specified, but the include 7735 as_fn_error $? "\`--with-ns' was specified, but the include
7712 files are missing or cannot be compiled." "$LINENO" 5 7736 files are missing or cannot be compiled." "$LINENO" 5
7713 fi 7737 fi
7714 7738
7715 7739
7716 NS_HAVE_NSINTEGER=yes 7740 NS_HAVE_NSINTEGER=yes
7749 if test "${EN_NS_SELF_CONTAINED}" = yes; then 7773 if test "${EN_NS_SELF_CONTAINED}" = yes; then
7750 prefix=${ns_appresdir} 7774 prefix=${ns_appresdir}
7751 fi 7775 fi
7752 ns_frag=$srcdir/src/ns.mk 7776 ns_frag=$srcdir/src/ns.mk
7753 NS_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o" 7777 NS_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o"
7754 NS_SUPPORT="\${lispsource}emacs-lisp/easymenu.elc \${lispsource}term/ns-win.elc" 7778 NS_SUPPORT="\${lispsource}/emacs-lisp/easymenu.elc \${lispsource}/term/ns-win.elc"
7755 fi 7779 fi
7756 CFLAGS="$tmp_CFLAGS" 7780 CFLAGS="$tmp_CFLAGS"
7757 CPPFLAGS="$tmp_CPPFLAGS" 7781 CPPFLAGS="$tmp_CPPFLAGS"
7758 7782
7759 7783
7785 if test "$window_system" = none && test "X$with_x" != "Xno"; then 7809 if test "$window_system" = none && test "X$with_x" != "Xno"; then
7786 # Extract the first word of "X", so it can be a program name with args. 7810 # Extract the first word of "X", so it can be a program name with args.
7787 set dummy X; ac_word=$2 7811 set dummy X; ac_word=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 $as_echo_n "checking for $ac_word... " >&6; } 7813 $as_echo_n "checking for $ac_word... " >&6; }
7790 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 7814 if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
7791 $as_echo_n "(cached) " >&6 7815 $as_echo_n "(cached) " >&6
7792 else 7816 else
7793 if test -n "$HAVE_XSERVER"; then 7817 if test -n "$HAVE_XSERVER"; then
7794 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 7818 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
7795 else 7819 else
7822 7846
7823 7847
7824 if test "$HAVE_XSERVER" = true || 7848 if test "$HAVE_XSERVER" = true ||
7825 test -n "$DISPLAY" || 7849 test -n "$DISPLAY" ||
7826 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7850 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7827 as_fn_error "You seem to be running X, but no X development libraries 7851 as_fn_error $? "You seem to be running X, but no X development libraries
7828 were found. You should install the relevant development files for X 7852 were found. You should install the relevant development files for X
7829 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7853 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7830 sure you have development files for image handling, i.e. 7854 sure you have development files for image handling, i.e.
7831 tiff, gif, jpeg, png and xpm. 7855 tiff, gif, jpeg, png and xpm.
7832 If you are sure you want Emacs compiled without X window support, pass 7856 If you are sure you want Emacs compiled without X window support, pass
7844 # Do the opsystem or machine files prohibit the use of the GNU malloc? 7868 # Do the opsystem or machine files prohibit the use of the GNU malloc?
7845 # Assume not, until told otherwise. 7869 # Assume not, until told otherwise.
7846 GNU_MALLOC=yes 7870 GNU_MALLOC=yes
7847 doug_lea_malloc=yes 7871 doug_lea_malloc=yes
7848 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 7872 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
7849 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 7873 if test "x$ac_cv_func_malloc_get_state" = xyes; then :
7850 7874
7851 else 7875 else
7852 doug_lea_malloc=no 7876 doug_lea_malloc=no
7853 fi 7877 fi
7854 7878
7855 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 7879 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
7856 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 7880 if test "x$ac_cv_func_malloc_set_state" = xyes; then :
7857 7881
7858 else 7882 else
7859 doug_lea_malloc=no 7883 doug_lea_malloc=no
7860 fi 7884 fi
7861 7885
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
7863 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7887 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7864 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 7888 if ${emacs_cv_var___after_morecore_hook+:} false; then :
7865 $as_echo_n "(cached) " >&6 7889 $as_echo_n "(cached) " >&6
7866 else 7890 else
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */ 7892 /* end confdefs.h. */
7869 extern void (* __after_morecore_hook)(); 7893 extern void (* __after_morecore_hook)();
7945 for ac_header in $ac_header_list 7969 for ac_header in $ac_header_list
7946 do : 7970 do :
7947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7948 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7949 " 7973 "
7950 eval as_val=\$$as_ac_Header 7974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7951 if test "x$as_val" = x""yes; then :
7952 cat >>confdefs.h <<_ACEOF 7975 cat >>confdefs.h <<_ACEOF
7953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7954 _ACEOF 7977 _ACEOF
7955 7978
7956 fi 7979 fi
7965 7988
7966 7989
7967 for ac_func in getpagesize 7990 for ac_func in getpagesize
7968 do : 7991 do :
7969 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 7992 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7970 if test "x$ac_cv_func_getpagesize" = x""yes; then : 7993 if test "x$ac_cv_func_getpagesize" = xyes; then :
7971 cat >>confdefs.h <<_ACEOF 7994 cat >>confdefs.h <<_ACEOF
7972 #define HAVE_GETPAGESIZE 1 7995 #define HAVE_GETPAGESIZE 1
7973 _ACEOF 7996 _ACEOF
7974 7997
7975 fi 7998 fi
7976 done 7999 done
7977 8000
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7979 $as_echo_n "checking for working mmap... " >&6; } 8002 $as_echo_n "checking for working mmap... " >&6; }
7980 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 8003 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
7981 $as_echo_n "(cached) " >&6 8004 $as_echo_n "(cached) " >&6
7982 else 8005 else
7983 if test "$cross_compiling" = yes; then : 8006 if test "$cross_compiling" = yes; then :
7984 ac_cv_func_mmap_fixed_mapped=no 8007 ac_cv_func_mmap_fixed_mapped=no
7985 else 8008 else
8052 8075
8053 int 8076 int
8054 main () 8077 main ()
8055 { 8078 {
8056 char *data, *data2, *data3; 8079 char *data, *data2, *data3;
8080 const char *cdata2;
8057 int i, pagesize; 8081 int i, pagesize;
8058 int fd, fd2; 8082 int fd, fd2;
8059 8083
8060 pagesize = getpagesize (); 8084 pagesize = getpagesize ();
8061 8085
8076 /* Next, check that the tail of a page is zero-filled. File must have 8100 /* Next, check that the tail of a page is zero-filled. File must have
8077 non-zero length, otherwise we risk SIGBUS for entire page. */ 8101 non-zero length, otherwise we risk SIGBUS for entire page. */
8078 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 8102 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
8079 if (fd2 < 0) 8103 if (fd2 < 0)
8080 return 4; 8104 return 4;
8081 data2 = ""; 8105 cdata2 = "";
8082 if (write (fd2, data2, 1) != 1) 8106 if (write (fd2, cdata2, 1) != 1)
8083 return 5; 8107 return 5;
8084 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 8108 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
8085 if (data2 == MAP_FAILED) 8109 if (data2 == MAP_FAILED)
8086 return 6; 8110 return 6;
8087 for (i = 0; i < pagesize; ++i) 8111 for (i = 0; i < pagesize; ++i)
8088 if (*(data2 + i)) 8112 if (*(data2 + i))
8089 return 7; 8113 return 7;
8149 8173
8150 LIBS="$LIBS_SYSTEM $LIBS" 8174 LIBS="$LIBS_SYSTEM $LIBS"
8151 8175
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8153 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 8177 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8154 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 8178 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8155 $as_echo_n "(cached) " >&6 8179 $as_echo_n "(cached) " >&6
8156 else 8180 else
8157 ac_check_lib_save_LIBS=$LIBS 8181 ac_check_lib_save_LIBS=$LIBS
8158 LIBS="-ldnet $LIBS" 8182 LIBS="-ldnet $LIBS"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 conftest$ac_exeext conftest.$ac_ext 8207 conftest$ac_exeext conftest.$ac_ext
8184 LIBS=$ac_check_lib_save_LIBS 8208 LIBS=$ac_check_lib_save_LIBS
8185 fi 8209 fi
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8187 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 8211 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8188 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 8212 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8189 cat >>confdefs.h <<_ACEOF 8213 cat >>confdefs.h <<_ACEOF
8190 #define HAVE_LIBDNET 1 8214 #define HAVE_LIBDNET 1
8191 _ACEOF 8215 _ACEOF
8192 8216
8193 LIBS="-ldnet $LIBS" 8217 LIBS="-ldnet $LIBS"
8195 fi 8219 fi
8196 8220
8197 8221
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
8199 $as_echo_n "checking for main in -lXbsd... " >&6; } 8223 $as_echo_n "checking for main in -lXbsd... " >&6; }
8200 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 8224 if ${ac_cv_lib_Xbsd_main+:} false; then :
8201 $as_echo_n "(cached) " >&6 8225 $as_echo_n "(cached) " >&6
8202 else 8226 else
8203 ac_check_lib_save_LIBS=$LIBS 8227 ac_check_lib_save_LIBS=$LIBS
8204 LIBS="-lXbsd $LIBS" 8228 LIBS="-lXbsd $LIBS"
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 conftest$ac_exeext conftest.$ac_ext 8247 conftest$ac_exeext conftest.$ac_ext
8224 LIBS=$ac_check_lib_save_LIBS 8248 LIBS=$ac_check_lib_save_LIBS
8225 fi 8249 fi
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
8227 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 8251 $as_echo "$ac_cv_lib_Xbsd_main" >&6; }
8228 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 8252 if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
8229 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 8253 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
8230 fi 8254 fi
8231 8255
8232 8256
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
8234 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } 8258 $as_echo_n "checking for cma_open in -lpthreads... " >&6; }
8235 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 8259 if ${ac_cv_lib_pthreads_cma_open+:} false; then :
8236 $as_echo_n "(cached) " >&6 8260 $as_echo_n "(cached) " >&6
8237 else 8261 else
8238 ac_check_lib_save_LIBS=$LIBS 8262 ac_check_lib_save_LIBS=$LIBS
8239 LIBS="-lpthreads $LIBS" 8263 LIBS="-lpthreads $LIBS"
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 conftest$ac_exeext conftest.$ac_ext 8288 conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_lib_save_LIBS 8289 LIBS=$ac_check_lib_save_LIBS
8266 fi 8290 fi
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
8268 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 8292 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
8269 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 8293 if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
8270 cat >>confdefs.h <<_ACEOF 8294 cat >>confdefs.h <<_ACEOF
8271 #define HAVE_LIBPTHREADS 1 8295 #define HAVE_LIBPTHREADS 1
8272 _ACEOF 8296 _ACEOF
8273 8297
8274 LIBS="-lpthreads $LIBS" 8298 LIBS="-lpthreads $LIBS"
8291 8315
8292 case ${host_os} in 8316 case ${host_os} in
8293 aix*) 8317 aix*)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
8295 $as_echo_n "checking for -bbigtoc option... " >&6; } 8319 $as_echo_n "checking for -bbigtoc option... " >&6; }
8296 if test "${gdb_cv_bigtoc+set}" = set; then : 8320 if ${gdb_cv_bigtoc+:} false; then :
8297 $as_echo_n "(cached) " >&6 8321 $as_echo_n "(cached) " >&6
8298 else 8322 else
8299 8323
8300 case $GCC in 8324 case $GCC in
8301 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 8325 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
8452 for ac_func in XrmSetDatabase XScreenResourceString \ 8476 for ac_func in XrmSetDatabase XScreenResourceString \
8453 XScreenNumberOfScreen XSetWMProtocols 8477 XScreenNumberOfScreen XSetWMProtocols
8454 do : 8478 do :
8455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8457 eval as_val=\$$as_ac_var 8481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8458 if test "x$as_val" = x""yes; then :
8459 cat >>confdefs.h <<_ACEOF 8482 cat >>confdefs.h <<_ACEOF
8460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8461 _ACEOF 8484 _ACEOF
8462 8485
8463 fi 8486 fi
8466 fi 8489 fi
8467 8490
8468 if test "${window_system}" = "x11"; then 8491 if test "${window_system}" = "x11"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
8470 $as_echo_n "checking X11 version 6... " >&6; } 8493 $as_echo_n "checking X11 version 6... " >&6; }
8471 if test "${emacs_cv_x11_version_6+set}" = set; then : 8494 if ${emacs_cv_x11_version_6+:} false; then :
8472 $as_echo_n "(cached) " >&6 8495 $as_echo_n "(cached) " >&6
8473 else 8496 else
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */ 8498 /* end confdefs.h. */
8476 #include <X11/Xlib.h> 8499 #include <X11/Xlib.h>
8531 8554
8532 # Extract the first word of "pkg-config", so it can be a program name with args. 8555 # Extract the first word of "pkg-config", so it can be a program name with args.
8533 set dummy pkg-config; ac_word=$2 8556 set dummy pkg-config; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535 $as_echo_n "checking for $ac_word... " >&6; } 8558 $as_echo_n "checking for $ac_word... " >&6; }
8536 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8537 $as_echo_n "(cached) " >&6 8560 $as_echo_n "(cached) " >&6
8538 else 8561 else
8539 case $PKG_CONFIG in 8562 case $PKG_CONFIG in
8540 [\\/]* | ?:[\\/]*) 8563 [\\/]* | ?:[\\/]*)
8541 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8642 8665
8643 # Extract the first word of "pkg-config", so it can be a program name with args. 8666 # Extract the first word of "pkg-config", so it can be a program name with args.
8644 set dummy pkg-config; ac_word=$2 8667 set dummy pkg-config; ac_word=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; } 8669 $as_echo_n "checking for $ac_word... " >&6; }
8647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8670 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8648 $as_echo_n "(cached) " >&6 8671 $as_echo_n "(cached) " >&6
8649 else 8672 else
8650 case $PKG_CONFIG in 8673 case $PKG_CONFIG in
8651 [\\/]* | ?:[\\/]*) 8674 [\\/]* | ?:[\\/]*)
8652 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8741 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" 8764 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
8742 LIBS="$IMAGEMAGICK_LIBS $LIBS" 8765 LIBS="$IMAGEMAGICK_LIBS $LIBS"
8743 for ac_func in MagickExportImagePixels 8766 for ac_func in MagickExportImagePixels
8744 do : 8767 do :
8745 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 8768 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
8746 if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 8769 if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
8747 cat >>confdefs.h <<_ACEOF 8770 cat >>confdefs.h <<_ACEOF
8748 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 8771 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1
8749 _ACEOF 8772 _ACEOF
8750 8773
8751 fi 8774 fi
8767 8790
8768 # Extract the first word of "pkg-config", so it can be a program name with args. 8791 # Extract the first word of "pkg-config", so it can be a program name with args.
8769 set dummy pkg-config; ac_word=$2 8792 set dummy pkg-config; ac_word=$2
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8771 $as_echo_n "checking for $ac_word... " >&6; } 8794 $as_echo_n "checking for $ac_word... " >&6; }
8772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8795 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8773 $as_echo_n "(cached) " >&6 8796 $as_echo_n "(cached) " >&6
8774 else 8797 else
8775 case $PKG_CONFIG in 8798 case $PKG_CONFIG in
8776 [\\/]* | ?:[\\/]*) 8799 [\\/]* | ?:[\\/]*)
8777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8800 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8855 else 8878 else
8856 pkg_check_gtk=no 8879 pkg_check_gtk=no
8857 fi 8880 fi
8858 8881
8859 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8882 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8860 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8883 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8861 fi 8884 fi
8862 fi 8885 fi
8863 8886
8864 if test "$pkg_check_gtk" != "yes"; then 8887 if test "$pkg_check_gtk" != "yes"; then
8865 HAVE_GTK=no 8888 HAVE_GTK=no
8873 8896
8874 # Extract the first word of "pkg-config", so it can be a program name with args. 8897 # Extract the first word of "pkg-config", so it can be a program name with args.
8875 set dummy pkg-config; ac_word=$2 8898 set dummy pkg-config; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8877 $as_echo_n "checking for $ac_word... " >&6; } 8900 $as_echo_n "checking for $ac_word... " >&6; }
8878 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8901 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8879 $as_echo_n "(cached) " >&6 8902 $as_echo_n "(cached) " >&6
8880 else 8903 else
8881 case $PKG_CONFIG in 8904 case $PKG_CONFIG in
8882 [\\/]* | ?:[\\/]*) 8905 [\\/]* | ?:[\\/]*)
8883 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8906 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8961 else 8984 else
8962 pkg_check_gtk=no 8985 pkg_check_gtk=no
8963 fi 8986 fi
8964 8987
8965 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8988 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8966 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8989 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8967 fi 8990 fi
8968 fi 8991 fi
8969 fi 8992 fi
8970 8993
8971 GTK_OBJ= 8994 GTK_OBJ=
8978 LIBS="$GTK_LIBS $LIBS" 9001 LIBS="$GTK_LIBS $LIBS"
8979 GTK_COMPILES=no 9002 GTK_COMPILES=no
8980 for ac_func in gtk_main 9003 for ac_func in gtk_main
8981 do : 9004 do :
8982 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 9005 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
8983 if test "x$ac_cv_func_gtk_main" = x""yes; then : 9006 if test "x$ac_cv_func_gtk_main" = xyes; then :
8984 cat >>confdefs.h <<_ACEOF 9007 cat >>confdefs.h <<_ACEOF
8985 #define HAVE_GTK_MAIN 1 9008 #define HAVE_GTK_MAIN 1
8986 _ACEOF 9009 _ACEOF
8987 GTK_COMPILES=yes 9010 GTK_COMPILES=yes
8988 fi 9011 fi
8989 done 9012 done
8990 9013
8991 if test "${GTK_COMPILES}" != "yes"; then 9014 if test "${GTK_COMPILES}" != "yes"; then
8992 if test "$USE_X_TOOLKIT" != "maybe"; then 9015 if test "$USE_X_TOOLKIT" != "maybe"; then
8993 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 9016 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8994 fi 9017 fi
8995 else 9018 else
8996 HAVE_GTK=yes 9019 HAVE_GTK=yes
8997 9020
8998 $as_echo "#define USE_GTK 1" >>confdefs.h 9021 $as_echo "#define USE_GTK 1" >>confdefs.h
9026 9049
9027 HAVE_GTK_FILE_SELECTION=no 9050 HAVE_GTK_FILE_SELECTION=no
9028 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 9051 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
9029 #include <gtk/gtk.h> 9052 #include <gtk/gtk.h>
9030 " 9053 "
9031 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 9054 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
9032 HAVE_GTK_FILE_SELECTION=yes 9055 HAVE_GTK_FILE_SELECTION=yes
9033 else 9056 else
9034 HAVE_GTK_FILE_SELECTION=no 9057 HAVE_GTK_FILE_SELECTION=no
9035 fi 9058 fi
9036 9059
9037 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 9060 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
9038 for ac_func in gtk_file_selection_new 9061 for ac_func in gtk_file_selection_new
9039 do : 9062 do :
9040 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 9063 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
9041 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 9064 if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
9042 cat >>confdefs.h <<_ACEOF 9065 cat >>confdefs.h <<_ACEOF
9043 #define HAVE_GTK_FILE_SELECTION_NEW 1 9066 #define HAVE_GTK_FILE_SELECTION_NEW 1
9044 _ACEOF 9067 _ACEOF
9045 9068
9046 fi 9069 fi
9050 9073
9051 HAVE_GTK_AND_PTHREAD=no 9074 HAVE_GTK_AND_PTHREAD=no
9052 for ac_header in pthread.h 9075 for ac_header in pthread.h
9053 do : 9076 do :
9054 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 9077 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9055 if test "x$ac_cv_header_pthread_h" = x""yes; then : 9078 if test "x$ac_cv_header_pthread_h" = xyes; then :
9056 cat >>confdefs.h <<_ACEOF 9079 cat >>confdefs.h <<_ACEOF
9057 #define HAVE_PTHREAD_H 1 9080 #define HAVE_PTHREAD_H 1
9058 _ACEOF 9081 _ACEOF
9059 9082
9060 fi 9083 fi
9062 done 9085 done
9063 9086
9064 if test "$ac_cv_header_pthread_h"; then 9087 if test "$ac_cv_header_pthread_h"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
9066 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } 9089 $as_echo_n "checking for pthread_self in -lpthread... " >&6; }
9067 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 9090 if ${ac_cv_lib_pthread_pthread_self+:} false; then :
9068 $as_echo_n "(cached) " >&6 9091 $as_echo_n "(cached) " >&6
9069 else 9092 else
9070 ac_check_lib_save_LIBS=$LIBS 9093 ac_check_lib_save_LIBS=$LIBS
9071 LIBS="-lpthread $LIBS" 9094 LIBS="-lpthread $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 conftest$ac_exeext conftest.$ac_ext 9119 conftest$ac_exeext conftest.$ac_ext
9097 LIBS=$ac_check_lib_save_LIBS 9120 LIBS=$ac_check_lib_save_LIBS
9098 fi 9121 fi
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
9100 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 9123 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
9101 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 9124 if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
9102 HAVE_GTK_AND_PTHREAD=yes 9125 HAVE_GTK_AND_PTHREAD=yes
9103 fi 9126 fi
9104 9127
9105 fi 9128 fi
9106 if test "$HAVE_GTK_AND_PTHREAD" = yes; then 9129 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
9118 gtk_widget_get_mapped gtk_adjustment_get_page_size \ 9141 gtk_widget_get_mapped gtk_adjustment_get_page_size \
9119 gtk_orientable_set_orientation 9142 gtk_orientable_set_orientation
9120 do : 9143 do :
9121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9123 eval as_val=\$$as_ac_var 9146 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9124 if test "x$as_val" = x""yes; then :
9125 cat >>confdefs.h <<_ACEOF 9147 cat >>confdefs.h <<_ACEOF
9126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9127 _ACEOF 9149 _ACEOF
9128 9150
9129 fi 9151 fi
9140 9162
9141 # Extract the first word of "pkg-config", so it can be a program name with args. 9163 # Extract the first word of "pkg-config", so it can be a program name with args.
9142 set dummy pkg-config; ac_word=$2 9164 set dummy pkg-config; ac_word=$2
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 $as_echo_n "checking for $ac_word... " >&6; } 9166 $as_echo_n "checking for $ac_word... " >&6; }
9145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9167 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9146 $as_echo_n "(cached) " >&6 9168 $as_echo_n "(cached) " >&6
9147 else 9169 else
9148 case $PKG_CONFIG in 9170 case $PKG_CONFIG in
9149 [\\/]* | ?:[\\/]*) 9171 [\\/]* | ?:[\\/]*)
9150 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9172 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9235 $as_echo "#define HAVE_DBUS 1" >>confdefs.h 9257 $as_echo "#define HAVE_DBUS 1" >>confdefs.h
9236 9258
9237 for ac_func in dbus_watch_get_unix_fd 9259 for ac_func in dbus_watch_get_unix_fd
9238 do : 9260 do :
9239 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 9261 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
9240 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 9262 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
9241 cat >>confdefs.h <<_ACEOF 9263 cat >>confdefs.h <<_ACEOF
9242 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 9264 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1
9243 _ACEOF 9265 _ACEOF
9244 9266
9245 fi 9267 fi
9257 9279
9258 # Extract the first word of "pkg-config", so it can be a program name with args. 9280 # Extract the first word of "pkg-config", so it can be a program name with args.
9259 set dummy pkg-config; ac_word=$2 9281 set dummy pkg-config; ac_word=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 $as_echo_n "checking for $ac_word... " >&6; } 9283 $as_echo_n "checking for $ac_word... " >&6; }
9262 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9284 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9263 $as_echo_n "(cached) " >&6 9285 $as_echo_n "(cached) " >&6
9264 else 9286 else
9265 case $PKG_CONFIG in 9287 case $PKG_CONFIG in
9266 [\\/]* | ?:[\\/]*) 9288 [\\/]* | ?:[\\/]*)
9267 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9356 HAVE_LIBSELINUX=no 9378 HAVE_LIBSELINUX=no
9357 LIBSELINUX_LIBS= 9379 LIBSELINUX_LIBS=
9358 if test "${with_selinux}" = "yes"; then 9380 if test "${with_selinux}" = "yes"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
9360 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 9382 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
9361 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 9383 if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
9362 $as_echo_n "(cached) " >&6 9384 $as_echo_n "(cached) " >&6
9363 else 9385 else
9364 ac_check_lib_save_LIBS=$LIBS 9386 ac_check_lib_save_LIBS=$LIBS
9365 LIBS="-lselinux $LIBS" 9387 LIBS="-lselinux $LIBS"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 conftest$ac_exeext conftest.$ac_ext 9412 conftest$ac_exeext conftest.$ac_ext
9391 LIBS=$ac_check_lib_save_LIBS 9413 LIBS=$ac_check_lib_save_LIBS
9392 fi 9414 fi
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
9394 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 9416 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
9395 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 9417 if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
9396 HAVE_LIBSELINUX=yes 9418 HAVE_LIBSELINUX=yes
9397 else 9419 else
9398 HAVE_LIBSELINUX=no 9420 HAVE_LIBSELINUX=no
9399 fi 9421 fi
9400 9422
9414 9436
9415 # Extract the first word of "pkg-config", so it can be a program name with args. 9437 # Extract the first word of "pkg-config", so it can be a program name with args.
9416 set dummy pkg-config; ac_word=$2 9438 set dummy pkg-config; ac_word=$2
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9418 $as_echo_n "checking for $ac_word... " >&6; } 9440 $as_echo_n "checking for $ac_word... " >&6; }
9419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9441 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9420 $as_echo_n "(cached) " >&6 9442 $as_echo_n "(cached) " >&6
9421 else 9443 else
9422 case $PKG_CONFIG in 9444 case $PKG_CONFIG in
9423 [\\/]* | ?:[\\/]*) 9445 [\\/]* | ?:[\\/]*)
9424 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9446 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9516 LUCID_LIBW= 9538 LUCID_LIBW=
9517 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 9539 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
9518 if test "$with_xaw3d" != no; then 9540 if test "$with_xaw3d" != no; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
9520 $as_echo_n "checking for xaw3d... " >&6; } 9542 $as_echo_n "checking for xaw3d... " >&6; }
9521 if test "${emacs_cv_xaw3d+set}" = set; then : 9543 if ${emacs_cv_xaw3d+:} false; then :
9522 $as_echo_n "(cached) " >&6 9544 $as_echo_n "(cached) " >&6
9523 else 9545 else
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */ 9547 /* end confdefs.h. */
9526 9548
9558 else 9580 else
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9560 $as_echo "no" >&6; } 9582 $as_echo "no" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
9562 $as_echo_n "checking for libXaw... " >&6; } 9584 $as_echo_n "checking for libXaw... " >&6; }
9563 if test "${emacs_cv_xaw+set}" = set; then : 9585 if ${emacs_cv_xaw+:} false; then :
9564 $as_echo_n "(cached) " >&6 9586 $as_echo_n "(cached) " >&6
9565 else 9587 else
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */ 9589 /* end confdefs.h. */
9568 9590
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
9590 $as_echo "yes; using Lucid toolkit" >&6; } 9612 $as_echo "yes; using Lucid toolkit" >&6; }
9591 USE_X_TOOLKIT=LUCID 9613 USE_X_TOOLKIT=LUCID
9592 LUCID_LIBW=-lXaw 9614 LUCID_LIBW=-lXaw
9593 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9615 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9594 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9616 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9595 else 9617 else
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9597 $as_echo "no; do not use toolkit by default" >&6; } 9619 $as_echo "no; do not use toolkit by default" >&6; }
9598 USE_X_TOOLKIT=none 9620 USE_X_TOOLKIT=none
9599 fi 9621 fi
9604 9626
9605 LIBXTR6= 9627 LIBXTR6=
9606 if test "${USE_X_TOOLKIT}" != "none"; then 9628 if test "${USE_X_TOOLKIT}" != "none"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
9608 $as_echo_n "checking X11 toolkit version... " >&6; } 9630 $as_echo_n "checking X11 toolkit version... " >&6; }
9609 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 9631 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
9610 $as_echo_n "(cached) " >&6 9632 $as_echo_n "(cached) " >&6
9611 else 9633 else
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */ 9635 /* end confdefs.h. */
9614 #include <X11/Intrinsic.h> 9636 #include <X11/Intrinsic.h>
9655 else 9677 else
9656 LIBS="-lXt $LIBS" 9678 LIBS="-lXt $LIBS"
9657 fi 9679 fi
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
9659 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 9681 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
9660 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 9682 if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
9661 $as_echo_n "(cached) " >&6 9683 $as_echo_n "(cached) " >&6
9662 else 9684 else
9663 ac_check_lib_save_LIBS=$LIBS 9685 ac_check_lib_save_LIBS=$LIBS
9664 LIBS="-lXmu $LIBS" 9686 LIBS="-lXmu $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9689 conftest$ac_exeext conftest.$ac_ext 9711 conftest$ac_exeext conftest.$ac_ext
9690 LIBS=$ac_check_lib_save_LIBS 9712 LIBS=$ac_check_lib_save_LIBS
9691 fi 9713 fi
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
9693 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 9715 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
9694 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 9716 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
9695 cat >>confdefs.h <<_ACEOF 9717 cat >>confdefs.h <<_ACEOF
9696 #define HAVE_LIBXMU 1 9718 #define HAVE_LIBXMU 1
9697 _ACEOF 9719 _ACEOF
9698 9720
9699 LIBS="-lXmu $LIBS" 9721 LIBS="-lXmu $LIBS"
9716 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 9738 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
9717 if test "${HAVE_X11}" = "yes"; then 9739 if test "${HAVE_X11}" = "yes"; then
9718 if test "${USE_X_TOOLKIT}" != "none"; then 9740 if test "${USE_X_TOOLKIT}" != "none"; then
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9720 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 9742 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9721 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 9743 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9722 $as_echo_n "(cached) " >&6 9744 $as_echo_n "(cached) " >&6
9723 else 9745 else
9724 ac_check_lib_save_LIBS=$LIBS 9746 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXext $LIBS" 9747 LIBS="-lXext $LIBS"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 conftest$ac_exeext conftest.$ac_ext 9772 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_lib_save_LIBS 9773 LIBS=$ac_check_lib_save_LIBS
9752 fi 9774 fi
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9754 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 9776 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9755 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 9777 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9756 cat >>confdefs.h <<_ACEOF 9778 cat >>confdefs.h <<_ACEOF
9757 #define HAVE_LIBXEXT 1 9779 #define HAVE_LIBXEXT 1
9758 _ACEOF 9780 _ACEOF
9759 9781
9760 LIBS="-lXext $LIBS" 9782 LIBS="-lXext $LIBS"
9766 9788
9767 LIBXP= 9789 LIBXP=
9768 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9790 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
9770 $as_echo_n "checking for Motif version 2.1... " >&6; } 9792 $as_echo_n "checking for Motif version 2.1... " >&6; }
9771 if test "${emacs_cv_motif_version_2_1+set}" = set; then : 9793 if ${emacs_cv_motif_version_2_1+:} false; then :
9772 $as_echo_n "(cached) " >&6 9794 $as_echo_n "(cached) " >&6
9773 else 9795 else
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */ 9797 /* end confdefs.h. */
9776 #include <Xm/Xm.h> 9798 #include <Xm/Xm.h>
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
9797 $as_echo "$emacs_cv_motif_version_2_1" >&6; } 9819 $as_echo "$emacs_cv_motif_version_2_1" >&6; }
9798 if test $emacs_cv_motif_version_2_1 = yes; then 9820 if test $emacs_cv_motif_version_2_1 = yes; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
9800 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 9822 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
9801 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 9823 if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
9802 $as_echo_n "(cached) " >&6 9824 $as_echo_n "(cached) " >&6
9803 else 9825 else
9804 ac_check_lib_save_LIBS=$LIBS 9826 ac_check_lib_save_LIBS=$LIBS
9805 LIBS="-lXp $LIBS" 9827 LIBS="-lXp $LIBS"
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 conftest$ac_exeext conftest.$ac_ext 9852 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_lib_save_LIBS 9853 LIBS=$ac_check_lib_save_LIBS
9832 fi 9854 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
9834 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 9856 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
9835 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 9857 if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
9836 LIBXP=-lXp 9858 LIBXP=-lXp
9837 fi 9859 fi
9838 9860
9839 else 9861 else
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
9841 $as_echo_n "checking for LessTif where some systems put it... " >&6; } 9863 $as_echo_n "checking for LessTif where some systems put it... " >&6; }
9842 if test "${emacs_cv_lesstif+set}" = set; then : 9864 if ${emacs_cv_lesstif+:} false; then :
9843 $as_echo_n "(cached) " >&6 9865 $as_echo_n "(cached) " >&6
9844 else 9866 else
9845 # We put this in CFLAGS temporarily to precede other -I options 9867 # We put this in CFLAGS temporarily to precede other -I options
9846 # that might be in CFLAGS temporarily. 9868 # that might be in CFLAGS temporarily.
9847 # We put this in CPPFLAGS where it precedes the other -I options. 9869 # We put this in CPPFLAGS where it precedes the other -I options.
9996 10018
9997 # Extract the first word of "pkg-config", so it can be a program name with args. 10019 # Extract the first word of "pkg-config", so it can be a program name with args.
9998 set dummy pkg-config; ac_word=$2 10020 set dummy pkg-config; ac_word=$2
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10000 $as_echo_n "checking for $ac_word... " >&6; } 10022 $as_echo_n "checking for $ac_word... " >&6; }
10001 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10023 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10002 $as_echo_n "(cached) " >&6 10024 $as_echo_n "(cached) " >&6
10003 else 10025 else
10004 case $PKG_CONFIG in 10026 case $PKG_CONFIG in
10005 [\\/]* | ?:[\\/]*) 10027 [\\/]* | ?:[\\/]*)
10006 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10028 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10098 10120
10099 # Extract the first word of "pkg-config", so it can be a program name with args. 10121 # Extract the first word of "pkg-config", so it can be a program name with args.
10100 set dummy pkg-config; ac_word=$2 10122 set dummy pkg-config; ac_word=$2
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10102 $as_echo_n "checking for $ac_word... " >&6; } 10124 $as_echo_n "checking for $ac_word... " >&6; }
10103 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10125 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10104 $as_echo_n "(cached) " >&6 10126 $as_echo_n "(cached) " >&6
10105 else 10127 else
10106 case $PKG_CONFIG in 10128 case $PKG_CONFIG in
10107 [\\/]* | ?:[\\/]*) 10129 [\\/]* | ?:[\\/]*)
10108 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10130 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10190 ## Because xftfont.c uses XRenderQueryExtension, we also 10212 ## Because xftfont.c uses XRenderQueryExtension, we also
10191 ## need to link to -lXrender. 10213 ## need to link to -lXrender.
10192 HAVE_XRENDER=no 10214 HAVE_XRENDER=no
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
10194 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 10216 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
10195 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 10217 if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
10196 $as_echo_n "(cached) " >&6 10218 $as_echo_n "(cached) " >&6
10197 else 10219 else
10198 ac_check_lib_save_LIBS=$LIBS 10220 ac_check_lib_save_LIBS=$LIBS
10199 LIBS="-lXrender $LIBS" 10221 LIBS="-lXrender $LIBS"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 conftest$ac_exeext conftest.$ac_ext 10246 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_lib_save_LIBS 10247 LIBS=$ac_check_lib_save_LIBS
10226 fi 10248 fi
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
10228 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 10250 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
10229 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 10251 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
10230 HAVE_XRENDER=yes 10252 HAVE_XRENDER=yes
10231 fi 10253 fi
10232 10254
10233 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then 10255 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
10234 OLD_CPPFLAGS="$CPPFLAGS" 10256 OLD_CPPFLAGS="$CPPFLAGS"
10237 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 10259 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
10238 CFLAGS="$CFLAGS $XFT_CFLAGS" 10260 CFLAGS="$CFLAGS $XFT_CFLAGS"
10239 XFT_LIBS="-lXrender $XFT_LIBS" 10261 XFT_LIBS="-lXrender $XFT_LIBS"
10240 LIBS="$XFT_LIBS $LIBS" 10262 LIBS="$XFT_LIBS $LIBS"
10241 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 10263 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
10242 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 10264 if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
10244 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 10266 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
10245 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 10267 if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
10246 $as_echo_n "(cached) " >&6 10268 $as_echo_n "(cached) " >&6
10247 else 10269 else
10248 ac_check_lib_save_LIBS=$LIBS 10270 ac_check_lib_save_LIBS=$LIBS
10249 LIBS="-lXft $XFT_LIBS $LIBS" 10271 LIBS="-lXft $XFT_LIBS $LIBS"
10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 conftest$ac_exeext conftest.$ac_ext 10296 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_lib_save_LIBS 10297 LIBS=$ac_check_lib_save_LIBS
10276 fi 10298 fi
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
10278 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 10300 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
10279 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 10301 if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
10280 HAVE_XFT=yes 10302 HAVE_XFT=yes
10281 fi 10303 fi
10282 10304
10283 fi 10305 fi
10284 10306
10323 10345
10324 # Extract the first word of "pkg-config", so it can be a program name with args. 10346 # Extract the first word of "pkg-config", so it can be a program name with args.
10325 set dummy pkg-config; ac_word=$2 10347 set dummy pkg-config; ac_word=$2
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327 $as_echo_n "checking for $ac_word... " >&6; } 10349 $as_echo_n "checking for $ac_word... " >&6; }
10328 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10350 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10329 $as_echo_n "(cached) " >&6 10351 $as_echo_n "(cached) " >&6
10330 else 10352 else
10331 case $PKG_CONFIG in 10353 case $PKG_CONFIG in
10332 [\\/]* | ?:[\\/]*) 10354 [\\/]* | ?:[\\/]*)
10333 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10355 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10416 10438
10417 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h 10439 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
10418 10440
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
10420 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 10442 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
10421 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 10443 if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
10422 $as_echo_n "(cached) " >&6 10444 $as_echo_n "(cached) " >&6
10423 else 10445 else
10424 ac_check_lib_save_LIBS=$LIBS 10446 ac_check_lib_save_LIBS=$LIBS
10425 LIBS="-lotf $LIBS" 10447 LIBS="-lotf $LIBS"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 conftest$ac_exeext conftest.$ac_ext 10472 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_lib_save_LIBS 10473 LIBS=$ac_check_lib_save_LIBS
10452 fi 10474 fi
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
10454 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 10476 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
10455 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 10477 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
10456 HAVE_OTF_GET_VARIATION_GLYPHS=yes 10478 HAVE_OTF_GET_VARIATION_GLYPHS=yes
10457 else 10479 else
10458 HAVE_OTF_GET_VARIATION_GLYPHS=no 10480 HAVE_OTF_GET_VARIATION_GLYPHS=no
10459 fi 10481 fi
10460 10482
10475 10497
10476 # Extract the first word of "pkg-config", so it can be a program name with args. 10498 # Extract the first word of "pkg-config", so it can be a program name with args.
10477 set dummy pkg-config; ac_word=$2 10499 set dummy pkg-config; ac_word=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; } 10501 $as_echo_n "checking for $ac_word... " >&6; }
10480 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10502 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10481 $as_echo_n "(cached) " >&6 10503 $as_echo_n "(cached) " >&6
10482 else 10504 else
10483 case $PKG_CONFIG in 10505 case $PKG_CONFIG in
10484 [\\/]* | ?:[\\/]*) 10506 [\\/]* | ?:[\\/]*)
10485 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10507 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10593 HAVE_XPM=no 10615 HAVE_XPM=no
10594 LIBXPM= 10616 LIBXPM=
10595 if test "${HAVE_X11}" = "yes"; then 10617 if test "${HAVE_X11}" = "yes"; then
10596 if test "${with_xpm}" != "no"; then 10618 if test "${with_xpm}" != "no"; then
10597 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 10619 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
10598 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 10620 if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
10600 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 10622 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
10601 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 10623 if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
10602 $as_echo_n "(cached) " >&6 10624 $as_echo_n "(cached) " >&6
10603 else 10625 else
10604 ac_check_lib_save_LIBS=$LIBS 10626 ac_check_lib_save_LIBS=$LIBS
10605 LIBS="-lXpm -lX11 $LIBS" 10627 LIBS="-lXpm -lX11 $LIBS"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 conftest$ac_exeext conftest.$ac_ext 10652 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS 10653 LIBS=$ac_check_lib_save_LIBS
10632 fi 10654 fi
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10634 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 10656 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
10635 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 10657 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
10636 HAVE_XPM=yes 10658 HAVE_XPM=yes
10637 fi 10659 fi
10638 10660
10639 fi 10661 fi
10640 10662
10682 HAVE_JPEG=no 10704 HAVE_JPEG=no
10683 LIBJPEG= 10705 LIBJPEG=
10684 if test "${HAVE_X11}" = "yes"; then 10706 if test "${HAVE_X11}" = "yes"; then
10685 if test "${with_jpeg}" != "no"; then 10707 if test "${with_jpeg}" != "no"; then
10686 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 10708 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
10687 if test "x$ac_cv_header_jerror_h" = x""yes; then : 10709 if test "x$ac_cv_header_jerror_h" = xyes; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
10689 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 10711 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
10690 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 10712 if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
10691 $as_echo_n "(cached) " >&6 10713 $as_echo_n "(cached) " >&6
10692 else 10714 else
10693 ac_check_lib_save_LIBS=$LIBS 10715 ac_check_lib_save_LIBS=$LIBS
10694 LIBS="-ljpeg $LIBS" 10716 LIBS="-ljpeg $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 conftest$ac_exeext conftest.$ac_ext 10741 conftest$ac_exeext conftest.$ac_ext
10720 LIBS=$ac_check_lib_save_LIBS 10742 LIBS=$ac_check_lib_save_LIBS
10721 fi 10743 fi
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
10723 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 10745 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
10724 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 10746 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
10725 HAVE_JPEG=yes 10747 HAVE_JPEG=yes
10726 fi 10748 fi
10727 10749
10728 fi 10750 fi
10729 10751
10766 # in /usr/include/libpng. 10788 # in /usr/include/libpng.
10767 for ac_header in png.h libpng/png.h 10789 for ac_header in png.h libpng/png.h
10768 do : 10790 do :
10769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10770 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10792 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10771 eval as_val=\$$as_ac_Header 10793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10772 if test "x$as_val" = x""yes; then :
10773 cat >>confdefs.h <<_ACEOF 10794 cat >>confdefs.h <<_ACEOF
10774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10775 _ACEOF 10796 _ACEOF
10776 10797
10777 fi 10798 fi
10779 done 10800 done
10780 10801
10781 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 10802 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
10783 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } 10804 $as_echo_n "checking for png_get_channels in -lpng... " >&6; }
10784 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 10805 if ${ac_cv_lib_png_png_get_channels+:} false; then :
10785 $as_echo_n "(cached) " >&6 10806 $as_echo_n "(cached) " >&6
10786 else 10807 else
10787 ac_check_lib_save_LIBS=$LIBS 10808 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lpng -lz -lm $LIBS" 10809 LIBS="-lpng -lz -lm $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10813 conftest$ac_exeext conftest.$ac_ext 10834 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS 10835 LIBS=$ac_check_lib_save_LIBS
10815 fi 10836 fi
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
10817 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 10838 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
10818 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 10839 if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
10819 HAVE_PNG=yes 10840 HAVE_PNG=yes
10820 fi 10841 fi
10821 10842
10822 fi 10843 fi
10823 fi 10844 fi
10835 HAVE_TIFF=no 10856 HAVE_TIFF=no
10836 LIBTIFF= 10857 LIBTIFF=
10837 if test "${HAVE_X11}" = "yes"; then 10858 if test "${HAVE_X11}" = "yes"; then
10838 if test "${with_tiff}" != "no"; then 10859 if test "${with_tiff}" != "no"; then
10839 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 10860 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
10840 if test "x$ac_cv_header_tiffio_h" = x""yes; then : 10861 if test "x$ac_cv_header_tiffio_h" = xyes; then :
10841 tifflibs="-lz -lm" 10862 tifflibs="-lz -lm"
10842 # At least one tiff package requires the jpeg library. 10863 # At least one tiff package requires the jpeg library.
10843 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10864 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
10845 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10866 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
10846 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 10867 if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
10847 $as_echo_n "(cached) " >&6 10868 $as_echo_n "(cached) " >&6
10848 else 10869 else
10849 ac_check_lib_save_LIBS=$LIBS 10870 ac_check_lib_save_LIBS=$LIBS
10850 LIBS="-ltiff $tifflibs $LIBS" 10871 LIBS="-ltiff $tifflibs $LIBS"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 conftest$ac_exeext conftest.$ac_ext 10896 conftest$ac_exeext conftest.$ac_ext
10876 LIBS=$ac_check_lib_save_LIBS 10897 LIBS=$ac_check_lib_save_LIBS
10877 fi 10898 fi
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
10879 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10900 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
10880 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 10901 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
10881 HAVE_TIFF=yes 10902 HAVE_TIFF=yes
10882 fi 10903 fi
10883 10904
10884 fi 10905 fi
10885 10906
10898 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 10919 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
10899 HAVE_GIF=no 10920 HAVE_GIF=no
10900 LIBGIF= 10921 LIBGIF=
10901 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10922 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
10902 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 10923 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
10903 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 10924 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
10904 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10925 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
10905 # Earlier versions can crash Emacs. 10926 # Earlier versions can crash Emacs.
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
10907 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10928 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
10908 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 10929 if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
10909 $as_echo_n "(cached) " >&6 10930 $as_echo_n "(cached) " >&6
10910 else 10931 else
10911 ac_check_lib_save_LIBS=$LIBS 10932 ac_check_lib_save_LIBS=$LIBS
10912 LIBS="-lgif $LIBS" 10933 LIBS="-lgif $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 conftest$ac_exeext conftest.$ac_ext 10958 conftest$ac_exeext conftest.$ac_ext
10938 LIBS=$ac_check_lib_save_LIBS 10959 LIBS=$ac_check_lib_save_LIBS
10939 fi 10960 fi
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
10941 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10962 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
10942 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 10963 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
10943 HAVE_GIF=yes 10964 HAVE_GIF=yes
10944 else 10965 else
10945 HAVE_GIF=maybe 10966 HAVE_GIF=maybe
10946 fi 10967 fi
10947 10968
10953 LIBGIF=-lgif 10974 LIBGIF=-lgif
10954 elif test "$HAVE_GIF" = maybe; then 10975 elif test "$HAVE_GIF" = maybe; then
10955 # If gif_lib.h but no libgif, try libungif. 10976 # If gif_lib.h but no libgif, try libungif.
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
10957 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10978 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
10958 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 10979 if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
10959 $as_echo_n "(cached) " >&6 10980 $as_echo_n "(cached) " >&6
10960 else 10981 else
10961 ac_check_lib_save_LIBS=$LIBS 10982 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lungif $LIBS" 10983 LIBS="-lungif $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 conftest$ac_exeext conftest.$ac_ext 11008 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS 11009 LIBS=$ac_check_lib_save_LIBS
10989 fi 11010 fi
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
10991 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 11012 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
10992 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 11013 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
10993 HAVE_GIF=yes 11014 HAVE_GIF=yes
10994 else 11015 else
10995 HAVE_GIF=no 11016 HAVE_GIF=no
10996 fi 11017 fi
10997 11018
11019 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 11040 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
11020 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 11041 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
11021 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 11042 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
11022 11043
11023 if test "X${MISSING}" != X; then 11044 if test "X${MISSING}" != X; then
11024 as_fn_error "The following required libraries were not found: 11045 as_fn_error $? "The following required libraries were not found:
11025 $MISSING 11046 $MISSING
11026 Maybe some development libraries/packages are missing? 11047 Maybe some development libraries/packages are missing?
11027 If you don't want to link with them give 11048 If you don't want to link with them give
11028 $WITH_NO 11049 $WITH_NO
11029 as options to configure" "$LINENO" 5 11050 as options to configure" "$LINENO" 5
11034 HAVE_GPM=no 11055 HAVE_GPM=no
11035 LIBGPM= 11056 LIBGPM=
11036 MOUSE_SUPPORT= 11057 MOUSE_SUPPORT=
11037 if test "${with_gpm}" != "no"; then 11058 if test "${with_gpm}" != "no"; then
11038 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 11059 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
11039 if test "x$ac_cv_header_gpm_h" = x""yes; then : 11060 if test "x$ac_cv_header_gpm_h" = xyes; then :
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
11041 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 11062 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
11042 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 11063 if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
11043 $as_echo_n "(cached) " >&6 11064 $as_echo_n "(cached) " >&6
11044 else 11065 else
11045 ac_check_lib_save_LIBS=$LIBS 11066 ac_check_lib_save_LIBS=$LIBS
11046 LIBS="-lgpm $LIBS" 11067 LIBS="-lgpm $LIBS"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 conftest$ac_exeext conftest.$ac_ext 11092 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_lib_save_LIBS 11093 LIBS=$ac_check_lib_save_LIBS
11073 fi 11094 fi
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
11075 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 11096 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
11076 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 11097 if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
11077 HAVE_GPM=yes 11098 HAVE_GPM=yes
11078 fi 11099 fi
11079 11100
11080 fi 11101 fi
11081 11102
11091 fi 11112 fi
11092 fi 11113 fi
11093 11114
11094 11115
11095 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 11116 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
11096 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 11117 if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
11097 11118
11098 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 11119 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
11099 11120
11100 fi 11121 fi
11101 11122
11136 ### Use session management (-lSM -lICE) if available 11157 ### Use session management (-lSM -lICE) if available
11137 HAVE_X_SM=no 11158 HAVE_X_SM=no
11138 LIBXSM= 11159 LIBXSM=
11139 if test "${HAVE_X11}" = "yes"; then 11160 if test "${HAVE_X11}" = "yes"; then
11140 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 11161 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
11141 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 11162 if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
11143 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 11164 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
11144 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 11165 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
11145 $as_echo_n "(cached) " >&6 11166 $as_echo_n "(cached) " >&6
11146 else 11167 else
11147 ac_check_lib_save_LIBS=$LIBS 11168 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-lSM -lICE $LIBS" 11169 LIBS="-lSM -lICE $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 conftest$ac_exeext conftest.$ac_ext 11194 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS 11195 LIBS=$ac_check_lib_save_LIBS
11175 fi 11196 fi
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
11177 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 11198 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
11178 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 11199 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
11179 HAVE_X_SM=yes 11200 HAVE_X_SM=yes
11180 fi 11201 fi
11181 11202
11182 fi 11203 fi
11183 11204
11204 11225
11205 # Extract the first word of "pkg-config", so it can be a program name with args. 11226 # Extract the first word of "pkg-config", so it can be a program name with args.
11206 set dummy pkg-config; ac_word=$2 11227 set dummy pkg-config; ac_word=$2
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11208 $as_echo_n "checking for $ac_word... " >&6; } 11229 $as_echo_n "checking for $ac_word... " >&6; }
11209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11230 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11210 $as_echo_n "(cached) " >&6 11231 $as_echo_n "(cached) " >&6
11211 else 11232 else
11212 case $PKG_CONFIG in 11233 case $PKG_CONFIG in
11213 [\\/]* | ?:[\\/]*) 11234 [\\/]* | ?:[\\/]*)
11214 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11235 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11295 11316
11296 if test "${HAVE_LIBXML2}" = "yes"; then 11317 if test "${HAVE_LIBXML2}" = "yes"; then
11297 LIBS="$LIBXML2_LIBS $LIBS" 11318 LIBS="$LIBXML2_LIBS $LIBS"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
11299 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 11320 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
11300 if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 11321 if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
11301 $as_echo_n "(cached) " >&6 11322 $as_echo_n "(cached) " >&6
11302 else 11323 else
11303 ac_check_lib_save_LIBS=$LIBS 11324 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-lxml2 $LIBS" 11325 LIBS="-lxml2 $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 conftest$ac_exeext conftest.$ac_ext 11350 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS 11351 LIBS=$ac_check_lib_save_LIBS
11331 fi 11352 fi
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
11333 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 11354 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
11334 if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 11355 if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
11335 HAVE_LIBXML2=yes 11356 HAVE_LIBXML2=yes
11336 else 11357 else
11337 HAVE_LIBXML2=no 11358 HAVE_LIBXML2=no
11338 fi 11359 fi
11339 11360
11351 11372
11352 11373
11353 # If netdb.h doesn't declare h_errno, we must declare it by hand. 11374 # If netdb.h doesn't declare h_errno, we must declare it by hand.
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
11355 $as_echo_n "checking whether netdb declares h_errno... " >&6; } 11376 $as_echo_n "checking whether netdb declares h_errno... " >&6; }
11356 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 11377 if ${emacs_cv_netdb_declares_h_errno+:} false; then :
11357 $as_echo_n "(cached) " >&6 11378 $as_echo_n "(cached) " >&6
11358 else 11379 else
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */ 11381 /* end confdefs.h. */
11361 #include <netdb.h> 11382 #include <netdb.h>
11381 11402
11382 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 11403 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
11383 11404
11384 fi 11405 fi
11385 11406
11407 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11408 if test "x$ac_cv_type_size_t" = xyes; then :
11409
11410 else
11411
11412 cat >>confdefs.h <<_ACEOF
11413 #define size_t unsigned int
11414 _ACEOF
11415
11416 fi
11417
11386 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11418 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11387 # for constant arguments. Useless! 11419 # for constant arguments. Useless!
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11389 $as_echo_n "checking for working alloca.h... " >&6; } 11421 $as_echo_n "checking for working alloca.h... " >&6; }
11390 if test "${ac_cv_working_alloca_h+set}" = set; then : 11422 if ${ac_cv_working_alloca_h+:} false; then :
11391 $as_echo_n "(cached) " >&6 11423 $as_echo_n "(cached) " >&6
11392 else 11424 else
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */ 11426 /* end confdefs.h. */
11395 #include <alloca.h> 11427 #include <alloca.h>
11418 11450
11419 fi 11451 fi
11420 11452
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11422 $as_echo_n "checking for alloca... " >&6; } 11454 $as_echo_n "checking for alloca... " >&6; }
11423 if test "${ac_cv_func_alloca_works+set}" = set; then : 11455 if ${ac_cv_func_alloca_works+:} false; then :
11424 $as_echo_n "(cached) " >&6 11456 $as_echo_n "(cached) " >&6
11425 else 11457 else
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */ 11459 /* end confdefs.h. */
11428 #ifdef __GNUC__ 11460 #ifdef __GNUC__
11437 # else 11469 # else
11438 # ifdef _AIX 11470 # ifdef _AIX
11439 #pragma alloca 11471 #pragma alloca
11440 # else 11472 # else
11441 # ifndef alloca /* predefined by HP cc +Olibcalls */ 11473 # ifndef alloca /* predefined by HP cc +Olibcalls */
11442 char *alloca (); 11474 void *alloca (size_t);
11443 # endif 11475 # endif
11444 # endif 11476 # endif
11445 # endif 11477 # endif
11446 # endif 11478 # endif
11447 #endif 11479 #endif
11481 $as_echo "#define C_ALLOCA 1" >>confdefs.h 11513 $as_echo "#define C_ALLOCA 1" >>confdefs.h
11482 11514
11483 11515
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11485 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 11517 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11486 if test "${ac_cv_os_cray+set}" = set; then : 11518 if ${ac_cv_os_cray+:} false; then :
11487 $as_echo_n "(cached) " >&6 11519 $as_echo_n "(cached) " >&6
11488 else 11520 else
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */ 11522 /* end confdefs.h. */
11491 #if defined CRAY && ! defined CRAY2 11523 #if defined CRAY && ! defined CRAY2
11508 $as_echo "$ac_cv_os_cray" >&6; } 11540 $as_echo "$ac_cv_os_cray" >&6; }
11509 if test $ac_cv_os_cray = yes; then 11541 if test $ac_cv_os_cray = yes; then
11510 for ac_func in _getb67 GETB67 getb67; do 11542 for ac_func in _getb67 GETB67 getb67; do
11511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11513 eval as_val=\$$as_ac_var 11545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11514 if test "x$as_val" = x""yes; then :
11515 11546
11516 cat >>confdefs.h <<_ACEOF 11547 cat >>confdefs.h <<_ACEOF
11517 #define CRAY_STACKSEG_END $ac_func 11548 #define CRAY_STACKSEG_END $ac_func
11518 _ACEOF 11549 _ACEOF
11519 11550
11523 done 11554 done
11524 fi 11555 fi
11525 11556
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11527 $as_echo_n "checking stack direction for C alloca... " >&6; } 11558 $as_echo_n "checking stack direction for C alloca... " >&6; }
11528 if test "${ac_cv_c_stack_direction+set}" = set; then : 11559 if ${ac_cv_c_stack_direction+:} false; then :
11529 $as_echo_n "(cached) " >&6 11560 $as_echo_n "(cached) " >&6
11530 else 11561 else
11531 if test "$cross_compiling" = yes; then : 11562 if test "$cross_compiling" = yes; then :
11532 ac_cv_c_stack_direction=0 11563 ac_cv_c_stack_direction=0
11533 else 11564 else
11573 11604
11574 fi 11605 fi
11575 11606
11576 11607
11577 if test x"$ac_cv_func_alloca_works" != xyes; then 11608 if test x"$ac_cv_func_alloca_works" != xyes; then
11578 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 11609 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5
11579 fi 11610 fi
11580 11611
11581 # fmod, logb, and frexp are found in -lm on most systems. 11612 # fmod, logb, and frexp are found in -lm on most systems.
11582 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 11613 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11584 $as_echo_n "checking for sqrt in -lm... " >&6; } 11615 $as_echo_n "checking for sqrt in -lm... " >&6; }
11585 if test "${ac_cv_lib_m_sqrt+set}" = set; then : 11616 if ${ac_cv_lib_m_sqrt+:} false; then :
11586 $as_echo_n "(cached) " >&6 11617 $as_echo_n "(cached) " >&6
11587 else 11618 else
11588 ac_check_lib_save_LIBS=$LIBS 11619 ac_check_lib_save_LIBS=$LIBS
11589 LIBS="-lm $LIBS" 11620 LIBS="-lm $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 conftest$ac_exeext conftest.$ac_ext 11645 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_lib_save_LIBS 11646 LIBS=$ac_check_lib_save_LIBS
11616 fi 11647 fi
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
11618 $as_echo "$ac_cv_lib_m_sqrt" >&6; } 11649 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
11619 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 11650 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
11620 cat >>confdefs.h <<_ACEOF 11651 cat >>confdefs.h <<_ACEOF
11621 #define HAVE_LIBM 1 11652 #define HAVE_LIBM 1
11622 _ACEOF 11653 _ACEOF
11623 11654
11624 LIBS="-lm $LIBS" 11655 LIBS="-lm $LIBS"
11628 11659
11629 # Check for mail-locking functions in a "mail" library. Probably this should 11660 # Check for mail-locking functions in a "mail" library. Probably this should
11630 # have the same check as for liblockfile below. 11661 # have the same check as for liblockfile below.
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
11632 $as_echo_n "checking for maillock in -lmail... " >&6; } 11663 $as_echo_n "checking for maillock in -lmail... " >&6; }
11633 if test "${ac_cv_lib_mail_maillock+set}" = set; then : 11664 if ${ac_cv_lib_mail_maillock+:} false; then :
11634 $as_echo_n "(cached) " >&6 11665 $as_echo_n "(cached) " >&6
11635 else 11666 else
11636 ac_check_lib_save_LIBS=$LIBS 11667 ac_check_lib_save_LIBS=$LIBS
11637 LIBS="-lmail $LIBS" 11668 LIBS="-lmail $LIBS"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 conftest$ac_exeext conftest.$ac_ext 11693 conftest$ac_exeext conftest.$ac_ext
11663 LIBS=$ac_check_lib_save_LIBS 11694 LIBS=$ac_check_lib_save_LIBS
11664 fi 11695 fi
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
11666 $as_echo "$ac_cv_lib_mail_maillock" >&6; } 11697 $as_echo "$ac_cv_lib_mail_maillock" >&6; }
11667 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 11698 if test "x$ac_cv_lib_mail_maillock" = xyes; then :
11668 have_mail=yes 11699 have_mail=yes
11669 else 11700 else
11670 have_mail=no 11701 have_mail=no
11671 fi 11702 fi
11672 11703
11679 else 11710 else
11680 LIBS_MAIL= 11711 LIBS_MAIL=
11681 fi 11712 fi
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
11683 $as_echo_n "checking for maillock in -llockfile... " >&6; } 11714 $as_echo_n "checking for maillock in -llockfile... " >&6; }
11684 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 11715 if ${ac_cv_lib_lockfile_maillock+:} false; then :
11685 $as_echo_n "(cached) " >&6 11716 $as_echo_n "(cached) " >&6
11686 else 11717 else
11687 ac_check_lib_save_LIBS=$LIBS 11718 ac_check_lib_save_LIBS=$LIBS
11688 LIBS="-llockfile $LIBS" 11719 LIBS="-llockfile $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 conftest$ac_exeext conftest.$ac_ext 11744 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_lib_save_LIBS 11745 LIBS=$ac_check_lib_save_LIBS
11715 fi 11746 fi
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
11717 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 11748 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
11718 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 11749 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
11719 have_lockfile=yes 11750 have_lockfile=yes
11720 else 11751 else
11721 have_lockfile=no 11752 have_lockfile=no
11722 fi 11753 fi
11723 11754
11733 # (no liblockfile.a installed), ensure that we don't need to. 11764 # (no liblockfile.a installed), ensure that we don't need to.
11734 # Extract the first word of "liblockfile.so", so it can be a program name with args. 11765 # Extract the first word of "liblockfile.so", so it can be a program name with args.
11735 set dummy liblockfile.so; ac_word=$2 11766 set dummy liblockfile.so; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; } 11768 $as_echo_n "checking for $ac_word... " >&6; }
11738 if test "${ac_cv_prog_liblockfile+set}" = set; then : 11769 if ${ac_cv_prog_liblockfile+:} false; then :
11739 $as_echo_n "(cached) " >&6 11770 $as_echo_n "(cached) " >&6
11740 else 11771 else
11741 if test -n "$liblockfile"; then 11772 if test -n "$liblockfile"; then
11742 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 11773 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
11743 else 11774 else
11769 $as_echo "no" >&6; } 11800 $as_echo "no" >&6; }
11770 fi 11801 fi
11771 11802
11772 11803
11773 if test $ac_cv_prog_liblockfile = yes; then 11804 if test $ac_cv_prog_liblockfile = yes; then
11774 as_fn_error "Shared liblockfile found but can't link against it. 11805 as_fn_error $? "Shared liblockfile found but can't link against it.
11775 This probably means that movemail could lose mail. 11806 This probably means that movemail could lose mail.
11776 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11807 There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11777 fi 11808 fi
11778 fi 11809 fi
11779 for ac_func in touchlock 11810 for ac_func in touchlock
11780 do : 11811 do :
11781 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 11812 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
11782 if test "x$ac_cv_func_touchlock" = x""yes; then : 11813 if test "x$ac_cv_func_touchlock" = xyes; then :
11783 cat >>confdefs.h <<_ACEOF 11814 cat >>confdefs.h <<_ACEOF
11784 #define HAVE_TOUCHLOCK 1 11815 #define HAVE_TOUCHLOCK 1
11785 _ACEOF 11816 _ACEOF
11786 11817
11787 fi 11818 fi
11788 done 11819 done
11789 11820
11790 for ac_header in maillock.h 11821 for ac_header in maillock.h
11791 do : 11822 do :
11792 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 11823 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
11793 if test "x$ac_cv_header_maillock_h" = x""yes; then : 11824 if test "x$ac_cv_header_maillock_h" = xyes; then :
11794 cat >>confdefs.h <<_ACEOF 11825 cat >>confdefs.h <<_ACEOF
11795 #define HAVE_MAILLOCK_H 1 11826 #define HAVE_MAILLOCK_H 1
11796 _ACEOF 11827 _ACEOF
11797 11828
11798 fi 11829 fi
11858 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 11889 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
11859 cfmakeraw cfsetspeed isnan copysign __executable_start 11890 cfmakeraw cfsetspeed isnan copysign __executable_start
11860 do : 11891 do :
11861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11863 eval as_val=\$$as_ac_var 11894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11864 if test "x$as_val" = x""yes; then :
11865 cat >>confdefs.h <<_ACEOF 11895 cat >>confdefs.h <<_ACEOF
11866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11867 _ACEOF 11897 _ACEOF
11868 11898
11869 fi 11899 fi
11871 11901
11872 11902
11873 for ac_header in sys/un.h 11903 for ac_header in sys/un.h
11874 do : 11904 do :
11875 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 11905 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_sys_un_h" = x""yes; then : 11906 if test "x$ac_cv_header_sys_un_h" = xyes; then :
11877 cat >>confdefs.h <<_ACEOF 11907 cat >>confdefs.h <<_ACEOF
11878 #define HAVE_SYS_UN_H 1 11908 #define HAVE_SYS_UN_H 1
11879 _ACEOF 11909 _ACEOF
11880 11910
11881 fi 11911 fi
11890 11920
11891 for ac_func in $ac_func_list 11921 for ac_func in $ac_func_list
11892 do : 11922 do :
11893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11895 eval as_val=\$$as_ac_var 11925 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11896 if test "x$as_val" = x""yes; then :
11897 cat >>confdefs.h <<_ACEOF 11926 cat >>confdefs.h <<_ACEOF
11898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11899 _ACEOF 11928 _ACEOF
11900 11929
11901 fi 11930 fi
11905 11934
11906 11935
11907 11936
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
11909 $as_echo_n "checking for working mktime... " >&6; } 11938 $as_echo_n "checking for working mktime... " >&6; }
11910 if test "${ac_cv_func_working_mktime+set}" = set; then : 11939 if ${ac_cv_func_working_mktime+:} false; then :
11911 $as_echo_n "(cached) " >&6 11940 $as_echo_n "(cached) " >&6
11912 else 11941 else
11913 if test "$cross_compiling" = yes; then : 11942 if test "$cross_compiling" = yes; then :
11914 ac_cv_func_working_mktime=no 11943 ac_cv_func_working_mktime=no
11915 else 11944 else
11943 11972
11944 static time_t time_t_max; 11973 static time_t time_t_max;
11945 static time_t time_t_min; 11974 static time_t time_t_min;
11946 11975
11947 /* Values we'll use to set the TZ environment variable. */ 11976 /* Values we'll use to set the TZ environment variable. */
11948 static char *tz_strings[] = { 11977 static const char *tz_strings[] = {
11949 (char *) 0, "TZ=GMT0", "TZ=JST-9", 11978 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
11950 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11979 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11951 }; 11980 };
11952 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11981 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
11953 11982
11954 /* Return 0 if mktime fails to convert a date in the spring-forward gap. 11983 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
11961 11990
11962 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 11991 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11963 instead of "TZ=America/Vancouver" in order to detect the bug even 11992 instead of "TZ=America/Vancouver" in order to detect the bug even
11964 on systems that don't support the Olson extension, or don't have the 11993 on systems that don't support the Olson extension, or don't have the
11965 full zoneinfo tables installed. */ 11994 full zoneinfo tables installed. */
11966 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 11995 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
11967 11996
11968 tm.tm_year = 98; 11997 tm.tm_year = 98;
11969 tm.tm_mon = 3; 11998 tm.tm_mon = 3;
11970 tm.tm_mday = 5; 11999 tm.tm_mday = 5;
11971 tm.tm_hour = 2; 12000 tm.tm_hour = 2;
11974 tm.tm_isdst = -1; 12003 tm.tm_isdst = -1;
11975 return mktime (&tm) != (time_t) -1; 12004 return mktime (&tm) != (time_t) -1;
11976 } 12005 }
11977 12006
11978 static int 12007 static int
11979 mktime_test1 (now) 12008 mktime_test1 (time_t now)
11980 time_t now;
11981 { 12009 {
11982 struct tm *lt; 12010 struct tm *lt;
11983 return ! (lt = localtime (&now)) || mktime (lt) == now; 12011 return ! (lt = localtime (&now)) || mktime (lt) == now;
11984 } 12012 }
11985 12013
11986 static int 12014 static int
11987 mktime_test (now) 12015 mktime_test (time_t now)
11988 time_t now;
11989 { 12016 {
11990 return (mktime_test1 (now) 12017 return (mktime_test1 (now)
11991 && mktime_test1 ((time_t) (time_t_max - now)) 12018 && mktime_test1 ((time_t) (time_t_max - now))
11992 && mktime_test1 ((time_t) (time_t_min + now))); 12019 && mktime_test1 ((time_t) (time_t_min + now)));
11993 } 12020 }
12007 mktime (&tm); 12034 mktime (&tm);
12008 return tm.tm_mon == 2 && tm.tm_mday == 31; 12035 return tm.tm_mon == 2 && tm.tm_mday == 31;
12009 } 12036 }
12010 12037
12011 static int 12038 static int
12012 bigtime_test (j) 12039 bigtime_test (int j)
12013 int j;
12014 { 12040 {
12015 struct tm tm; 12041 struct tm tm;
12016 time_t now; 12042 time_t now;
12017 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 12043 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12018 now = mktime (&tm); 12044 now = mktime (&tm);
12052 12078
12053 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 12079 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
12054 instead of "TZ=America/Vancouver" in order to detect the bug even 12080 instead of "TZ=America/Vancouver" in order to detect the bug even
12055 on systems that don't support the Olson extension, or don't have the 12081 on systems that don't support the Olson extension, or don't have the
12056 full zoneinfo tables installed. */ 12082 full zoneinfo tables installed. */
12057 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 12083 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
12058 12084
12059 t = mktime (&tm); 12085 t = mktime (&tm);
12060 12086
12061 /* Check that the result is either a failure, or close enough 12087 /* Check that the result is either a failure, or close enough
12062 to the correct answer that we can assume the discrepancy is 12088 to the correct answer that we can assume the discrepancy is
12087 12113
12088 delta = time_t_max / 997; /* a suitable prime number */ 12114 delta = time_t_max / 997; /* a suitable prime number */
12089 for (i = 0; i < N_STRINGS; i++) 12115 for (i = 0; i < N_STRINGS; i++)
12090 { 12116 {
12091 if (tz_strings[i]) 12117 if (tz_strings[i])
12092 putenv (tz_strings[i]); 12118 putenv ((char*) tz_strings[i]);
12093 12119
12094 for (t = 0; t <= time_t_max - delta; t += delta) 12120 for (t = 0; t <= time_t_max - delta; t += delta)
12095 if (! mktime_test (t)) 12121 if (! mktime_test (t))
12096 return 1; 12122 return 1;
12097 if (! (mktime_test ((time_t) 1) 12123 if (! (mktime_test ((time_t) 1)
12139 12165
12140 ac_have_func=no # yes means we've found a way to get the load average. 12166 ac_have_func=no # yes means we've found a way to get the load average.
12141 12167
12142 # Make sure getloadavg.c is where it belongs, at configure-time. 12168 # Make sure getloadavg.c is where it belongs, at configure-time.
12143 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 12169 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
12144 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 12170 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
12145 12171
12146 ac_save_LIBS=$LIBS 12172 ac_save_LIBS=$LIBS
12147 12173
12148 # Check for getloadavg, but be sure not to touch the cache variable. 12174 # Check for getloadavg, but be sure not to touch the cache variable.
12149 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12175 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12150 if test "x$ac_cv_func_getloadavg" = x""yes; then : 12176 if test "x$ac_cv_func_getloadavg" = xyes; then :
12151 exit 0 12177 exit 0
12152 else 12178 else
12153 exit 1 12179 exit 1
12154 fi 12180 fi
12155 ) && ac_have_func=yes 12181 ) && ac_have_func=yes
12156 12182
12157 # On HPUX9, an unprivileged user can get load averages through this function. 12183 # On HPUX9, an unprivileged user can get load averages through this function.
12158 for ac_func in pstat_getdynamic 12184 for ac_func in pstat_getdynamic
12159 do : 12185 do :
12160 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 12186 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
12161 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 12187 if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
12162 cat >>confdefs.h <<_ACEOF 12188 cat >>confdefs.h <<_ACEOF
12163 #define HAVE_PSTAT_GETDYNAMIC 1 12189 #define HAVE_PSTAT_GETDYNAMIC 1
12164 _ACEOF 12190 _ACEOF
12165 12191
12166 fi 12192 fi
12168 12194
12169 12195
12170 # Solaris has libkstat which does not require root. 12196 # Solaris has libkstat which does not require root.
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12172 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 12198 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12173 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 12199 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12174 $as_echo_n "(cached) " >&6 12200 $as_echo_n "(cached) " >&6
12175 else 12201 else
12176 ac_check_lib_save_LIBS=$LIBS 12202 ac_check_lib_save_LIBS=$LIBS
12177 LIBS="-lkstat $LIBS" 12203 LIBS="-lkstat $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 conftest$ac_exeext conftest.$ac_ext 12228 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS 12229 LIBS=$ac_check_lib_save_LIBS
12204 fi 12230 fi
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12206 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 12232 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12207 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 12233 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12208 cat >>confdefs.h <<_ACEOF 12234 cat >>confdefs.h <<_ACEOF
12209 #define HAVE_LIBKSTAT 1 12235 #define HAVE_LIBKSTAT 1
12210 _ACEOF 12236 _ACEOF
12211 12237
12212 LIBS="-lkstat $LIBS" 12238 LIBS="-lkstat $LIBS"
12220 # to get the right answer into the cache. 12246 # to get the right answer into the cache.
12221 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 12247 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
12222 if test $ac_have_func = no; then 12248 if test $ac_have_func = no; then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
12224 $as_echo_n "checking for elf_begin in -lelf... " >&6; } 12250 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
12225 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 12251 if ${ac_cv_lib_elf_elf_begin+:} false; then :
12226 $as_echo_n "(cached) " >&6 12252 $as_echo_n "(cached) " >&6
12227 else 12253 else
12228 ac_check_lib_save_LIBS=$LIBS 12254 ac_check_lib_save_LIBS=$LIBS
12229 LIBS="-lelf $LIBS" 12255 LIBS="-lelf $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 conftest$ac_exeext conftest.$ac_ext 12280 conftest$ac_exeext conftest.$ac_ext
12255 LIBS=$ac_check_lib_save_LIBS 12281 LIBS=$ac_check_lib_save_LIBS
12256 fi 12282 fi
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
12258 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 12284 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
12259 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 12285 if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
12260 LIBS="-lelf $LIBS" 12286 LIBS="-lelf $LIBS"
12261 fi 12287 fi
12262 12288
12263 fi 12289 fi
12264 if test $ac_have_func = no; then 12290 if test $ac_have_func = no; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
12266 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } 12292 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
12267 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 12293 if ${ac_cv_lib_kvm_kvm_open+:} false; then :
12268 $as_echo_n "(cached) " >&6 12294 $as_echo_n "(cached) " >&6
12269 else 12295 else
12270 ac_check_lib_save_LIBS=$LIBS 12296 ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-lkvm $LIBS" 12297 LIBS="-lkvm $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 conftest$ac_exeext conftest.$ac_ext 12322 conftest$ac_exeext conftest.$ac_ext
12297 LIBS=$ac_check_lib_save_LIBS 12323 LIBS=$ac_check_lib_save_LIBS
12298 fi 12324 fi
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
12300 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 12326 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
12301 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 12327 if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
12302 LIBS="-lkvm $LIBS" 12328 LIBS="-lkvm $LIBS"
12303 fi 12329 fi
12304 12330
12305 # Check for the 4.4BSD definition of getloadavg. 12331 # Check for the 4.4BSD definition of getloadavg.
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
12307 $as_echo_n "checking for getloadavg in -lutil... " >&6; } 12333 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
12308 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 12334 if ${ac_cv_lib_util_getloadavg+:} false; then :
12309 $as_echo_n "(cached) " >&6 12335 $as_echo_n "(cached) " >&6
12310 else 12336 else
12311 ac_check_lib_save_LIBS=$LIBS 12337 ac_check_lib_save_LIBS=$LIBS
12312 LIBS="-lutil $LIBS" 12338 LIBS="-lutil $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 conftest$ac_exeext conftest.$ac_ext 12363 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_lib_save_LIBS 12364 LIBS=$ac_check_lib_save_LIBS
12339 fi 12365 fi
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
12341 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } 12367 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
12342 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 12368 if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
12343 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 12369 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
12344 fi 12370 fi
12345 12371
12346 fi 12372 fi
12347 12373
12350 # Since it is not a standard part of AIX, it might be installed locally. 12376 # Since it is not a standard part of AIX, it might be installed locally.
12351 ac_getloadavg_LIBS=$LIBS 12377 ac_getloadavg_LIBS=$LIBS
12352 LIBS="-L/usr/local/lib $LIBS" 12378 LIBS="-L/usr/local/lib $LIBS"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
12354 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 12380 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
12355 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 12381 if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
12356 $as_echo_n "(cached) " >&6 12382 $as_echo_n "(cached) " >&6
12357 else 12383 else
12358 ac_check_lib_save_LIBS=$LIBS 12384 ac_check_lib_save_LIBS=$LIBS
12359 LIBS="-lgetloadavg $LIBS" 12385 LIBS="-lgetloadavg $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 conftest$ac_exeext conftest.$ac_ext 12410 conftest$ac_exeext conftest.$ac_ext
12385 LIBS=$ac_check_lib_save_LIBS 12411 LIBS=$ac_check_lib_save_LIBS
12386 fi 12412 fi
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
12388 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 12414 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
12389 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 12415 if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
12390 LIBS="-lgetloadavg $LIBS" 12416 LIBS="-lgetloadavg $LIBS"
12391 else 12417 else
12392 LIBS=$ac_getloadavg_LIBS 12418 LIBS=$ac_getloadavg_LIBS
12393 fi 12419 fi
12394 12420
12397 # Make sure it is really in the library, if we think we found it, 12423 # Make sure it is really in the library, if we think we found it,
12398 # otherwise set up the replacement function. 12424 # otherwise set up the replacement function.
12399 for ac_func in getloadavg 12425 for ac_func in getloadavg
12400 do : 12426 do :
12401 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12427 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12402 if test "x$ac_cv_func_getloadavg" = x""yes; then : 12428 if test "x$ac_cv_func_getloadavg" = xyes; then :
12403 cat >>confdefs.h <<_ACEOF 12429 cat >>confdefs.h <<_ACEOF
12404 #define HAVE_GETLOADAVG 1 12430 #define HAVE_GETLOADAVG 1
12405 _ACEOF 12431 _ACEOF
12406 12432
12407 else 12433 else
12415 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h 12441 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
12416 12442
12417 # Figure out what our getloadavg.c needs. 12443 # Figure out what our getloadavg.c needs.
12418 ac_have_func=no 12444 ac_have_func=no
12419 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 12445 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
12420 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 12446 if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
12421 ac_have_func=yes 12447 ac_have_func=yes
12422 12448
12423 $as_echo "#define DGUX 1" >>confdefs.h 12449 $as_echo "#define DGUX 1" >>confdefs.h
12424 12450
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
12426 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 12452 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
12427 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 12453 if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
12428 $as_echo_n "(cached) " >&6 12454 $as_echo_n "(cached) " >&6
12429 else 12455 else
12430 ac_check_lib_save_LIBS=$LIBS 12456 ac_check_lib_save_LIBS=$LIBS
12431 LIBS="-ldgc $LIBS" 12457 LIBS="-ldgc $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 conftest$ac_exeext conftest.$ac_ext 12482 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_lib_save_LIBS 12483 LIBS=$ac_check_lib_save_LIBS
12458 fi 12484 fi
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
12460 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 12486 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
12461 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 12487 if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
12462 cat >>confdefs.h <<_ACEOF 12488 cat >>confdefs.h <<_ACEOF
12463 #define HAVE_LIBDGC 1 12489 #define HAVE_LIBDGC 1
12464 _ACEOF 12490 _ACEOF
12465 12491
12466 LIBS="-ldgc $LIBS" 12492 LIBS="-ldgc $LIBS"
12470 fi 12496 fi
12471 12497
12472 12498
12473 12499
12474 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12500 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12475 if test "x$ac_cv_header_locale_h" = x""yes; then : 12501 if test "x$ac_cv_header_locale_h" = xyes; then :
12476 12502
12477 fi 12503 fi
12478 12504
12479 12505
12480 for ac_func in setlocale 12506 for ac_func in setlocale
12481 do : 12507 do :
12482 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 12508 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
12483 if test "x$ac_cv_func_setlocale" = x""yes; then : 12509 if test "x$ac_cv_func_setlocale" = xyes; then :
12484 cat >>confdefs.h <<_ACEOF 12510 cat >>confdefs.h <<_ACEOF
12485 #define HAVE_SETLOCALE 1 12511 #define HAVE_SETLOCALE 1
12486 _ACEOF 12512 _ACEOF
12487 12513
12488 fi 12514 fi
12490 12516
12491 12517
12492 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 12518 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
12493 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because 12519 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
12494 # Irix 4.0.5F has the header but not the library. 12520 # Irix 4.0.5F has the header but not the library.
12495 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 12521 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \
12522 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
12496 ac_have_func=yes 12523 ac_have_func=yes
12497 12524
12498 $as_echo "#define SVR4 1" >>confdefs.h 12525 $as_echo "#define SVR4 1" >>confdefs.h
12499 12526
12500 fi 12527 fi
12501 12528
12502 if test $ac_have_func = no; then 12529 if test $ac_have_func = no; then
12503 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 12530 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
12504 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 12531 if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
12505 ac_have_func=yes 12532 ac_have_func=yes
12506 12533
12507 $as_echo "#define UMAX 1" >>confdefs.h 12534 $as_echo "#define UMAX 1" >>confdefs.h
12508 12535
12509 12536
12514 12541
12515 fi 12542 fi
12516 12543
12517 if test $ac_have_func = no; then 12544 if test $ac_have_func = no; then
12518 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 12545 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
12519 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 12546 if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
12520 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 12547 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
12521 12548
12522 fi 12549 fi
12523 12550
12524 12551
12526 12553
12527 if test $ac_have_func = no; then 12554 if test $ac_have_func = no; then
12528 for ac_header in mach/mach.h 12555 for ac_header in mach/mach.h
12529 do : 12556 do :
12530 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 12557 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
12531 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 12558 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
12532 cat >>confdefs.h <<_ACEOF 12559 cat >>confdefs.h <<_ACEOF
12533 #define HAVE_MACH_MACH_H 1 12560 #define HAVE_MACH_MACH_H 1
12534 _ACEOF 12561 _ACEOF
12535 12562
12536 fi 12563 fi
12540 fi 12567 fi
12541 12568
12542 for ac_header in nlist.h 12569 for ac_header in nlist.h
12543 do : 12570 do :
12544 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 12571 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
12545 if test "x$ac_cv_header_nlist_h" = x""yes; then : 12572 if test "x$ac_cv_header_nlist_h" = xyes; then :
12546 cat >>confdefs.h <<_ACEOF 12573 cat >>confdefs.h <<_ACEOF
12547 #define HAVE_NLIST_H 1 12574 #define HAVE_NLIST_H 1
12548 _ACEOF 12575 _ACEOF
12549 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 12576 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
12550 " 12577 "
12551 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 12578 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
12552 12579
12553 cat >>confdefs.h <<_ACEOF 12580 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12581 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
12555 _ACEOF 12582 _ACEOF
12556 12583
12569 12596
12570 12597
12571 # Some definitions of getloadavg require that the program be installed setgid. 12598 # Some definitions of getloadavg require that the program be installed setgid.
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
12573 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } 12600 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
12574 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 12601 if ${ac_cv_func_getloadavg_setgid+:} false; then :
12575 $as_echo_n "(cached) " >&6 12602 $as_echo_n "(cached) " >&6
12576 else 12603 else
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */ 12605 /* end confdefs.h. */
12579 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 12606 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
12602 fi 12629 fi
12603 12630
12604 if test $ac_cv_func_getloadavg_setgid = yes; then 12631 if test $ac_cv_func_getloadavg_setgid = yes; then
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
12606 $as_echo_n "checking group of /dev/kmem... " >&6; } 12633 $as_echo_n "checking group of /dev/kmem... " >&6; }
12607 if test "${ac_cv_group_kmem+set}" = set; then : 12634 if ${ac_cv_group_kmem+:} false; then :
12608 $as_echo_n "(cached) " >&6 12635 $as_echo_n "(cached) " >&6
12609 else 12636 else
12610 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 12637 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
12611 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 12638 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
12612 # If we got an error (system does not support symlinks), try without -L. 12639 # If we got an error (system does not support symlinks), try without -L.
12630 12657
12631 12658
12632 12659
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12634 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12661 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12635 if test "${ac_cv_sys_largefile_source+set}" = set; then : 12662 if ${ac_cv_sys_largefile_source+:} false; then :
12636 $as_echo_n "(cached) " >&6 12663 $as_echo_n "(cached) " >&6
12637 else 12664 else
12638 while :; do 12665 while :; do
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */ 12667 /* end confdefs.h. */
12723 12750
12724 GETOPT_H= 12751 GETOPT_H=
12725 for ac_header in getopt.h 12752 for ac_header in getopt.h
12726 do : 12753 do :
12727 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 12754 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12728 if test "x$ac_cv_header_getopt_h" = x""yes; then : 12755 if test "x$ac_cv_header_getopt_h" = xyes; then :
12729 cat >>confdefs.h <<_ACEOF 12756 cat >>confdefs.h <<_ACEOF
12730 #define HAVE_GETOPT_H 1 12757 #define HAVE_GETOPT_H 1
12731 _ACEOF 12758 _ACEOF
12732 12759
12733 else 12760 else
12738 12765
12739 if test -z "$GETOPT_H"; then 12766 if test -z "$GETOPT_H"; then
12740 for ac_func in getopt_long_only 12767 for ac_func in getopt_long_only
12741 do : 12768 do :
12742 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 12769 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
12743 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 12770 if test "x$ac_cv_func_getopt_long_only" = xyes; then :
12744 cat >>confdefs.h <<_ACEOF 12771 cat >>confdefs.h <<_ACEOF
12745 #define HAVE_GETOPT_LONG_ONLY 1 12772 #define HAVE_GETOPT_LONG_ONLY 1
12746 _ACEOF 12773 _ACEOF
12747 12774
12748 else 12775 else
12753 fi 12780 fi
12754 12781
12755 if test -z "$GETOPT_H"; then 12782 if test -z "$GETOPT_H"; then
12756 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 12783 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
12757 " 12784 "
12758 if test "x$ac_cv_have_decl_optreset" = x""yes; then : 12785 if test "x$ac_cv_have_decl_optreset" = xyes; then :
12759 GETOPT_H=getopt.h 12786 GETOPT_H=getopt.h
12760 fi 12787 fi
12761 12788
12762 fi 12789 fi
12763 12790
12764 if test -z "$GETOPT_H"; then 12791 if test -z "$GETOPT_H"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
12766 $as_echo_n "checking for working GNU getopt function... " >&6; } 12793 $as_echo_n "checking for working GNU getopt function... " >&6; }
12767 if test "${gl_cv_func_gnu_getopt+set}" = set; then : 12794 if ${gl_cv_func_gnu_getopt+:} false; then :
12768 $as_echo_n "(cached) " >&6 12795 $as_echo_n "(cached) " >&6
12769 else 12796 else
12770 if test "$cross_compiling" = yes; then : 12797 if test "$cross_compiling" = yes; then :
12771 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 12798 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
12772 " 12799 "
12773 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 12800 if test "x$ac_cv_have_decl_getopt_clip" = xyes; then :
12774 gl_cv_func_gnu_getopt=no 12801 gl_cv_func_gnu_getopt=no
12775 else 12802 else
12776 gl_cv_func_gnu_getopt=yes 12803 gl_cv_func_gnu_getopt=yes
12777 fi 12804 fi
12778 12805
12829 12856
12830 12857
12831 12858
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
12833 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12860 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
12834 if test "${ac_cv_func_getpgrp_void+set}" = set; then : 12861 if ${ac_cv_func_getpgrp_void+:} false; then :
12835 $as_echo_n "(cached) " >&6 12862 $as_echo_n "(cached) " >&6
12836 else 12863 else
12837 # Use it with a single arg. 12864 # Use it with a single arg.
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */ 12866 /* end confdefs.h. */
12864 12891
12865 12892
12866 for ac_func in strftime 12893 for ac_func in strftime
12867 do : 12894 do :
12868 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 12895 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12869 if test "x$ac_cv_func_strftime" = x""yes; then : 12896 if test "x$ac_cv_func_strftime" = xyes; then :
12870 cat >>confdefs.h <<_ACEOF 12897 cat >>confdefs.h <<_ACEOF
12871 #define HAVE_STRFTIME 1 12898 #define HAVE_STRFTIME 1
12872 _ACEOF 12899 _ACEOF
12873 12900
12874 else 12901 else
12875 # strftime is in -lintl on SCO UNIX. 12902 # strftime is in -lintl on SCO UNIX.
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12877 $as_echo_n "checking for strftime in -lintl... " >&6; } 12904 $as_echo_n "checking for strftime in -lintl... " >&6; }
12878 if test "${ac_cv_lib_intl_strftime+set}" = set; then : 12905 if ${ac_cv_lib_intl_strftime+:} false; then :
12879 $as_echo_n "(cached) " >&6 12906 $as_echo_n "(cached) " >&6
12880 else 12907 else
12881 ac_check_lib_save_LIBS=$LIBS 12908 ac_check_lib_save_LIBS=$LIBS
12882 LIBS="-lintl $LIBS" 12909 LIBS="-lintl $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 conftest$ac_exeext conftest.$ac_ext 12934 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS 12935 LIBS=$ac_check_lib_save_LIBS
12909 fi 12936 fi
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12911 $as_echo "$ac_cv_lib_intl_strftime" >&6; } 12938 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12912 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 12939 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12913 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 12940 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12914 12941
12915 LIBS="-lintl $LIBS" 12942 LIBS="-lintl $LIBS"
12916 fi 12943 fi
12917 12944
12921 12948
12922 # UNIX98 PTYs. 12949 # UNIX98 PTYs.
12923 for ac_func in grantpt 12950 for ac_func in grantpt
12924 do : 12951 do :
12925 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 12952 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
12926 if test "x$ac_cv_func_grantpt" = x""yes; then : 12953 if test "x$ac_cv_func_grantpt" = xyes; then :
12927 cat >>confdefs.h <<_ACEOF 12954 cat >>confdefs.h <<_ACEOF
12928 #define HAVE_GRANTPT 1 12955 #define HAVE_GRANTPT 1
12929 _ACEOF 12956 _ACEOF
12930 12957
12931 fi 12958 fi
12934 12961
12935 # PTY-related GNU extensions. 12962 # PTY-related GNU extensions.
12936 for ac_func in getpt 12963 for ac_func in getpt
12937 do : 12964 do :
12938 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 12965 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
12939 if test "x$ac_cv_func_getpt" = x""yes; then : 12966 if test "x$ac_cv_func_getpt" = xyes; then :
12940 cat >>confdefs.h <<_ACEOF 12967 cat >>confdefs.h <<_ACEOF
12941 #define HAVE_GETPT 1 12968 #define HAVE_GETPT 1
12942 _ACEOF 12969 _ACEOF
12943 12970
12944 fi 12971 fi
12951 # than to expect to find it in ncurses. 12978 # than to expect to find it in ncurses.
12952 # Also we need tputs and friends to be able to build at all. 12979 # Also we need tputs and friends to be able to build at all.
12953 have_tputs_et_al=true 12980 have_tputs_et_al=true
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
12955 $as_echo_n "checking for library containing tputs... " >&6; } 12982 $as_echo_n "checking for library containing tputs... " >&6; }
12956 if test "${ac_cv_search_tputs+set}" = set; then : 12983 if ${ac_cv_search_tputs+:} false; then :
12957 $as_echo_n "(cached) " >&6 12984 $as_echo_n "(cached) " >&6
12958 else 12985 else
12959 ac_func_search_save_LIBS=$LIBS 12986 ac_func_search_save_LIBS=$LIBS
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */ 12988 /* end confdefs.h. */
12985 if ac_fn_c_try_link "$LINENO"; then : 13012 if ac_fn_c_try_link "$LINENO"; then :
12986 ac_cv_search_tputs=$ac_res 13013 ac_cv_search_tputs=$ac_res
12987 fi 13014 fi
12988 rm -f core conftest.err conftest.$ac_objext \ 13015 rm -f core conftest.err conftest.$ac_objext \
12989 conftest$ac_exeext 13016 conftest$ac_exeext
12990 if test "${ac_cv_search_tputs+set}" = set; then : 13017 if ${ac_cv_search_tputs+:} false; then :
12991 break 13018 break
12992 fi 13019 fi
12993 done 13020 done
12994 if test "${ac_cv_search_tputs+set}" = set; then : 13021 if ${ac_cv_search_tputs+:} false; then :
12995 13022
12996 else 13023 else
12997 ac_cv_search_tputs=no 13024 ac_cv_search_tputs=no
12998 fi 13025 fi
12999 rm conftest.$ac_ext 13026 rm conftest.$ac_ext
13008 else 13035 else
13009 have_tputs_et_al=false 13036 have_tputs_et_al=false
13010 fi 13037 fi
13011 13038
13012 if test "$have_tputs_et_al" != true; then 13039 if test "$have_tputs_et_al" != true; then
13013 as_fn_error "I couldn't find termcap functions (tputs and friends). 13040 as_fn_error $? "I couldn't find termcap functions (tputs and friends).
13014 Maybe some development libraries/packages are missing? Try installing 13041 Maybe some development libraries/packages are missing? Try installing
13015 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 13042 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
13016 fi 13043 fi
13017 # Must define this when any termcap library is found. 13044 # Must define this when any termcap library is found.
13018 13045
13048 ;; 13075 ;;
13049 13076
13050 freebsd) 13077 freebsd)
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
13052 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 13079 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
13053 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 13080 if ${emacs_cv_freebsd_terminfo+:} false; then :
13054 $as_echo_n "(cached) " >&6 13081 $as_echo_n "(cached) " >&6
13055 else 13082 else
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */ 13084 /* end confdefs.h. */
13058 #include <osreldate.h> 13085 #include <osreldate.h>
13190 # Do we need the Hesiod library to provide the support routines? 13217 # Do we need the Hesiod library to provide the support routines?
13191 LIBHESIOD= 13218 LIBHESIOD=
13192 if test "$with_hesiod" != no ; then 13219 if test "$with_hesiod" != no ; then
13193 # Don't set $LIBS here -- see comments above. FIXME which comments? 13220 # Don't set $LIBS here -- see comments above. FIXME which comments?
13194 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 13221 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
13195 if test "x$ac_cv_func_res_send" = x""yes; then : 13222 if test "x$ac_cv_func_res_send" = xyes; then :
13196 13223
13197 else 13224 else
13198 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 13225 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
13199 if test "x$ac_cv_func___res_send" = x""yes; then : 13226 if test "x$ac_cv_func___res_send" = xyes; then :
13200 13227
13201 else 13228 else
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
13203 $as_echo_n "checking for res_send in -lresolv... " >&6; } 13230 $as_echo_n "checking for res_send in -lresolv... " >&6; }
13204 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 13231 if ${ac_cv_lib_resolv_res_send+:} false; then :
13205 $as_echo_n "(cached) " >&6 13232 $as_echo_n "(cached) " >&6
13206 else 13233 else
13207 ac_check_lib_save_LIBS=$LIBS 13234 ac_check_lib_save_LIBS=$LIBS
13208 LIBS="-lresolv $LIBS" 13235 LIBS="-lresolv $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 conftest$ac_exeext conftest.$ac_ext 13260 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS 13261 LIBS=$ac_check_lib_save_LIBS
13235 fi 13262 fi
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
13237 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } 13264 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
13238 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 13265 if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
13239 resolv=yes 13266 resolv=yes
13240 else 13267 else
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
13242 $as_echo_n "checking for __res_send in -lresolv... " >&6; } 13269 $as_echo_n "checking for __res_send in -lresolv... " >&6; }
13243 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 13270 if ${ac_cv_lib_resolv___res_send+:} false; then :
13244 $as_echo_n "(cached) " >&6 13271 $as_echo_n "(cached) " >&6
13245 else 13272 else
13246 ac_check_lib_save_LIBS=$LIBS 13273 ac_check_lib_save_LIBS=$LIBS
13247 LIBS="-lresolv $LIBS" 13274 LIBS="-lresolv $LIBS"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 conftest$ac_exeext conftest.$ac_ext 13299 conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_check_lib_save_LIBS 13300 LIBS=$ac_check_lib_save_LIBS
13274 fi 13301 fi
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
13276 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } 13303 $as_echo "$ac_cv_lib_resolv___res_send" >&6; }
13277 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 13304 if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
13278 resolv=yes 13305 resolv=yes
13279 fi 13306 fi
13280 13307
13281 fi 13308 fi
13282 13309
13288 RESOLVLIB=-lresolv 13315 RESOLVLIB=-lresolv
13289 else 13316 else
13290 RESOLVLIB= 13317 RESOLVLIB=
13291 fi 13318 fi
13292 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 13319 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
13293 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 13320 if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
13294 13321
13295 else 13322 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
13297 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 13324 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
13298 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 13325 if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
13299 $as_echo_n "(cached) " >&6 13326 $as_echo_n "(cached) " >&6
13300 else 13327 else
13301 ac_check_lib_save_LIBS=$LIBS 13328 ac_check_lib_save_LIBS=$LIBS
13302 LIBS="-lhesiod $RESOLVLIB $LIBS" 13329 LIBS="-lhesiod $RESOLVLIB $LIBS"
13303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 conftest$ac_exeext conftest.$ac_ext 13354 conftest$ac_exeext conftest.$ac_ext
13328 LIBS=$ac_check_lib_save_LIBS 13355 LIBS=$ac_check_lib_save_LIBS
13329 fi 13356 fi
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
13331 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 13358 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
13332 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 13359 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
13333 hesiod=yes 13360 hesiod=yes
13334 else 13361 else
13335 : 13362 :
13336 fi 13363 fi
13337 13364
13366 KRB4LIB= 13393 KRB4LIB=
13367 13394
13368 if test "${with_kerberos}" != no; then 13395 if test "${with_kerberos}" != no; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13370 $as_echo_n "checking for com_err in -lcom_err... " >&6; } 13397 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
13371 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 13398 if ${ac_cv_lib_com_err_com_err+:} false; then :
13372 $as_echo_n "(cached) " >&6 13399 $as_echo_n "(cached) " >&6
13373 else 13400 else
13374 ac_check_lib_save_LIBS=$LIBS 13401 ac_check_lib_save_LIBS=$LIBS
13375 LIBS="-lcom_err $LIBS" 13402 LIBS="-lcom_err $LIBS"
13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 conftest$ac_exeext conftest.$ac_ext 13427 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_lib_save_LIBS 13428 LIBS=$ac_check_lib_save_LIBS
13402 fi 13429 fi
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13404 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } 13431 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13405 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 13432 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13406 have_com_err=yes 13433 have_com_err=yes
13407 else 13434 else
13408 have_com_err=no 13435 have_com_err=no
13409 fi 13436 fi
13410 13437
13415 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h 13442 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
13416 13443
13417 fi 13444 fi
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13419 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 13446 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
13420 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 13447 if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
13421 $as_echo_n "(cached) " >&6 13448 $as_echo_n "(cached) " >&6
13422 else 13449 else
13423 ac_check_lib_save_LIBS=$LIBS 13450 ac_check_lib_save_LIBS=$LIBS
13424 LIBS="-lcrypto $LIBS" 13451 LIBS="-lcrypto $LIBS"
13425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 conftest$ac_exeext conftest.$ac_ext 13476 conftest$ac_exeext conftest.$ac_ext
13450 LIBS=$ac_check_lib_save_LIBS 13477 LIBS=$ac_check_lib_save_LIBS
13451 fi 13478 fi
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
13453 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 13480 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
13454 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 13481 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
13455 have_crypto=yes 13482 have_crypto=yes
13456 else 13483 else
13457 have_crypto=no 13484 have_crypto=no
13458 fi 13485 fi
13459 13486
13464 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h 13491 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13465 13492
13466 fi 13493 fi
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13468 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 13495 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
13469 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 13496 if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
13470 $as_echo_n "(cached) " >&6 13497 $as_echo_n "(cached) " >&6
13471 else 13498 else
13472 ac_check_lib_save_LIBS=$LIBS 13499 ac_check_lib_save_LIBS=$LIBS
13473 LIBS="-lk5crypto $LIBS" 13500 LIBS="-lk5crypto $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 conftest$ac_exeext conftest.$ac_ext 13525 conftest$ac_exeext conftest.$ac_ext
13499 LIBS=$ac_check_lib_save_LIBS 13526 LIBS=$ac_check_lib_save_LIBS
13500 fi 13527 fi
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
13502 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 13529 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
13503 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 13530 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
13504 have_k5crypto=yes 13531 have_k5crypto=yes
13505 else 13532 else
13506 have_k5crypto=no 13533 have_k5crypto=no
13507 fi 13534 fi
13508 13535
13513 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h 13540 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
13514 13541
13515 fi 13542 fi
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13517 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 13544 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13518 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 13545 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13519 $as_echo_n "(cached) " >&6 13546 $as_echo_n "(cached) " >&6
13520 else 13547 else
13521 ac_check_lib_save_LIBS=$LIBS 13548 ac_check_lib_save_LIBS=$LIBS
13522 LIBS="-lkrb5 $LIBS" 13549 LIBS="-lkrb5 $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 conftest$ac_exeext conftest.$ac_ext 13574 conftest$ac_exeext conftest.$ac_ext
13548 LIBS=$ac_check_lib_save_LIBS 13575 LIBS=$ac_check_lib_save_LIBS
13549 fi 13576 fi
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13551 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 13578 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13552 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 13579 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13553 have_krb5=yes 13580 have_krb5=yes
13554 else 13581 else
13555 have_krb5=no 13582 have_krb5=no
13556 fi 13583 fi
13557 13584
13563 13590
13564 fi 13591 fi
13565 if test "${with_kerberos5}" = no; then 13592 if test "${with_kerberos5}" = no; then
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
13567 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 13594 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
13568 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 13595 if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
13569 $as_echo_n "(cached) " >&6 13596 $as_echo_n "(cached) " >&6
13570 else 13597 else
13571 ac_check_lib_save_LIBS=$LIBS 13598 ac_check_lib_save_LIBS=$LIBS
13572 LIBS="-ldes425 $LIBS" 13599 LIBS="-ldes425 $LIBS"
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 conftest$ac_exeext conftest.$ac_ext 13624 conftest$ac_exeext conftest.$ac_ext
13598 LIBS=$ac_check_lib_save_LIBS 13625 LIBS=$ac_check_lib_save_LIBS
13599 fi 13626 fi
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
13601 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 13628 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
13602 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 13629 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
13603 have_des425=yes 13630 have_des425=yes
13604 else 13631 else
13605 have_des425=no 13632 have_des425=no
13606 fi 13633 fi
13607 13634
13612 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h 13639 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
13613 13640
13614 else 13641 else
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
13616 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 13643 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
13617 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 13644 if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
13618 $as_echo_n "(cached) " >&6 13645 $as_echo_n "(cached) " >&6
13619 else 13646 else
13620 ac_check_lib_save_LIBS=$LIBS 13647 ac_check_lib_save_LIBS=$LIBS
13621 LIBS="-ldes $LIBS" 13648 LIBS="-ldes $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 conftest$ac_exeext conftest.$ac_ext 13673 conftest$ac_exeext conftest.$ac_ext
13647 LIBS=$ac_check_lib_save_LIBS 13674 LIBS=$ac_check_lib_save_LIBS
13648 fi 13675 fi
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
13650 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 13677 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
13651 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 13678 if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
13652 have_des=yes 13679 have_des=yes
13653 else 13680 else
13654 have_des=no 13681 have_des=no
13655 fi 13682 fi
13656 13683
13662 13689
13663 fi 13690 fi
13664 fi 13691 fi
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
13666 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 13693 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
13667 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 13694 if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
13668 $as_echo_n "(cached) " >&6 13695 $as_echo_n "(cached) " >&6
13669 else 13696 else
13670 ac_check_lib_save_LIBS=$LIBS 13697 ac_check_lib_save_LIBS=$LIBS
13671 LIBS="-lkrb4 $LIBS" 13698 LIBS="-lkrb4 $LIBS"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 conftest$ac_exeext conftest.$ac_ext 13723 conftest$ac_exeext conftest.$ac_ext
13697 LIBS=$ac_check_lib_save_LIBS 13724 LIBS=$ac_check_lib_save_LIBS
13698 fi 13725 fi
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
13700 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 13727 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
13701 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 13728 if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
13702 have_krb4=yes 13729 have_krb4=yes
13703 else 13730 else
13704 have_krb4=no 13731 have_krb4=no
13705 fi 13732 fi
13706 13733
13711 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h 13738 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
13712 13739
13713 else 13740 else
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
13715 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 13742 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
13716 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 13743 if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
13717 $as_echo_n "(cached) " >&6 13744 $as_echo_n "(cached) " >&6
13718 else 13745 else
13719 ac_check_lib_save_LIBS=$LIBS 13746 ac_check_lib_save_LIBS=$LIBS
13720 LIBS="-lkrb $LIBS" 13747 LIBS="-lkrb $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 conftest$ac_exeext conftest.$ac_ext 13772 conftest$ac_exeext conftest.$ac_ext
13746 LIBS=$ac_check_lib_save_LIBS 13773 LIBS=$ac_check_lib_save_LIBS
13747 fi 13774 fi
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
13749 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 13776 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
13750 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 13777 if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
13751 have_krb=yes 13778 have_krb=yes
13752 else 13779 else
13753 have_krb=no 13780 have_krb=no
13754 fi 13781 fi
13755 13782
13765 13792
13766 if test "${with_kerberos5}" != no; then 13793 if test "${with_kerberos5}" != no; then
13767 for ac_header in krb5.h 13794 for ac_header in krb5.h
13768 do : 13795 do :
13769 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 13796 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
13770 if test "x$ac_cv_header_krb5_h" = x""yes; then : 13797 if test "x$ac_cv_header_krb5_h" = xyes; then :
13771 cat >>confdefs.h <<_ACEOF 13798 cat >>confdefs.h <<_ACEOF
13772 #define HAVE_KRB5_H 1 13799 #define HAVE_KRB5_H 1
13773 _ACEOF 13800 _ACEOF
13774 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 13801 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
13775 " 13802 "
13776 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 13803 if test "x$ac_cv_member_krb5_error_text" = xyes; then :
13777 13804
13778 cat >>confdefs.h <<_ACEOF 13805 cat >>confdefs.h <<_ACEOF
13779 #define HAVE_KRB5_ERROR_TEXT 1 13806 #define HAVE_KRB5_ERROR_TEXT 1
13780 _ACEOF 13807 _ACEOF
13781 13808
13782 13809
13783 fi 13810 fi
13784 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 13811 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
13785 " 13812 "
13786 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 13813 if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
13787 13814
13788 cat >>confdefs.h <<_ACEOF 13815 cat >>confdefs.h <<_ACEOF
13789 #define HAVE_KRB5_ERROR_E_TEXT 1 13816 #define HAVE_KRB5_ERROR_E_TEXT 1
13790 _ACEOF 13817 _ACEOF
13791 13818
13798 13825
13799 else 13826 else
13800 for ac_header in des.h 13827 for ac_header in des.h
13801 do : 13828 do :
13802 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 13829 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
13803 if test "x$ac_cv_header_des_h" = x""yes; then : 13830 if test "x$ac_cv_header_des_h" = xyes; then :
13804 cat >>confdefs.h <<_ACEOF 13831 cat >>confdefs.h <<_ACEOF
13805 #define HAVE_DES_H 1 13832 #define HAVE_DES_H 1
13806 _ACEOF 13833 _ACEOF
13807 13834
13808 else 13835 else
13809 for ac_header in kerberosIV/des.h 13836 for ac_header in kerberosIV/des.h
13810 do : 13837 do :
13811 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 13838 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
13812 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 13839 if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
13813 cat >>confdefs.h <<_ACEOF 13840 cat >>confdefs.h <<_ACEOF
13814 #define HAVE_KERBEROSIV_DES_H 1 13841 #define HAVE_KERBEROSIV_DES_H 1
13815 _ACEOF 13842 _ACEOF
13816 13843
13817 else 13844 else
13818 for ac_header in kerberos/des.h 13845 for ac_header in kerberos/des.h
13819 do : 13846 do :
13820 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 13847 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
13821 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 13848 if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
13822 cat >>confdefs.h <<_ACEOF 13849 cat >>confdefs.h <<_ACEOF
13823 #define HAVE_KERBEROS_DES_H 1 13850 #define HAVE_KERBEROS_DES_H 1
13824 _ACEOF 13851 _ACEOF
13825 13852
13826 fi 13853 fi
13836 done 13863 done
13837 13864
13838 for ac_header in krb.h 13865 for ac_header in krb.h
13839 do : 13866 do :
13840 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 13867 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
13841 if test "x$ac_cv_header_krb_h" = x""yes; then : 13868 if test "x$ac_cv_header_krb_h" = xyes; then :
13842 cat >>confdefs.h <<_ACEOF 13869 cat >>confdefs.h <<_ACEOF
13843 #define HAVE_KRB_H 1 13870 #define HAVE_KRB_H 1
13844 _ACEOF 13871 _ACEOF
13845 13872
13846 else 13873 else
13847 for ac_header in kerberosIV/krb.h 13874 for ac_header in kerberosIV/krb.h
13848 do : 13875 do :
13849 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 13876 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
13850 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 13877 if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
13851 cat >>confdefs.h <<_ACEOF 13878 cat >>confdefs.h <<_ACEOF
13852 #define HAVE_KERBEROSIV_KRB_H 1 13879 #define HAVE_KERBEROSIV_KRB_H 1
13853 _ACEOF 13880 _ACEOF
13854 13881
13855 else 13882 else
13856 for ac_header in kerberos/krb.h 13883 for ac_header in kerberos/krb.h
13857 do : 13884 do :
13858 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 13885 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
13859 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 13886 if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
13860 cat >>confdefs.h <<_ACEOF 13887 cat >>confdefs.h <<_ACEOF
13861 #define HAVE_KERBEROS_KRB_H 1 13888 #define HAVE_KERBEROS_KRB_H 1
13862 _ACEOF 13889 _ACEOF
13863 13890
13864 fi 13891 fi
13875 13902
13876 fi 13903 fi
13877 for ac_header in com_err.h 13904 for ac_header in com_err.h
13878 do : 13905 do :
13879 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 13906 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
13880 if test "x$ac_cv_header_com_err_h" = x""yes; then : 13907 if test "x$ac_cv_header_com_err_h" = xyes; then :
13881 cat >>confdefs.h <<_ACEOF 13908 cat >>confdefs.h <<_ACEOF
13882 #define HAVE_COM_ERR_H 1 13909 #define HAVE_COM_ERR_H 1
13883 _ACEOF 13910 _ACEOF
13884 13911
13885 fi 13912 fi
13896 13923
13897 # Solaris requires -lintl if you want strerror (which calls dgettext) 13924 # Solaris requires -lintl if you want strerror (which calls dgettext)
13898 # to return localized messages. 13925 # to return localized messages.
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13900 $as_echo_n "checking for dgettext in -lintl... " >&6; } 13927 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13901 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 13928 if ${ac_cv_lib_intl_dgettext+:} false; then :
13902 $as_echo_n "(cached) " >&6 13929 $as_echo_n "(cached) " >&6
13903 else 13930 else
13904 ac_check_lib_save_LIBS=$LIBS 13931 ac_check_lib_save_LIBS=$LIBS
13905 LIBS="-lintl $LIBS" 13932 LIBS="-lintl $LIBS"
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 conftest$ac_exeext conftest.$ac_ext 13957 conftest$ac_exeext conftest.$ac_ext
13931 LIBS=$ac_check_lib_save_LIBS 13958 LIBS=$ac_check_lib_save_LIBS
13932 fi 13959 fi
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13934 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } 13961 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13935 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 13962 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13936 cat >>confdefs.h <<_ACEOF 13963 cat >>confdefs.h <<_ACEOF
13937 #define HAVE_LIBINTL 1 13964 #define HAVE_LIBINTL 1
13938 _ACEOF 13965 _ACEOF
13939 13966
13940 LIBS="-lintl $LIBS" 13967 LIBS="-lintl $LIBS"
13942 fi 13969 fi
13943 13970
13944 13971
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
13946 $as_echo_n "checking whether localtime caches TZ... " >&6; } 13973 $as_echo_n "checking whether localtime caches TZ... " >&6; }
13947 if test "${emacs_cv_localtime_cache+set}" = set; then : 13974 if ${emacs_cv_localtime_cache+:} false; then :
13948 $as_echo_n "(cached) " >&6 13975 $as_echo_n "(cached) " >&6
13949 else 13976 else
13950 if test x$ac_cv_func_tzset = xyes; then 13977 if test x$ac_cv_func_tzset = xyes; then
13951 if test "$cross_compiling" = yes; then : 13978 if test "$cross_compiling" = yes; then :
13952 # If we have tzset, assume the worst when cross-compiling. 13979 # If we have tzset, assume the worst when cross-compiling.
13953 emacs_cv_localtime_cache=yes 13980 emacs_cv_localtime_cache=yes
13954 else 13981 else
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */ 13983 /* end confdefs.h. */
13957 #include <time.h> 13984 #include <time.h>
13958 extern char **environ;
13959 unset_TZ ()
13960 {
13961 char **from, **to;
13962 for (to = from = environ; (*to = *from); from++)
13963 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
13964 to++;
13965 }
13966 char TZ_GMT0[] = "TZ=GMT0"; 13985 char TZ_GMT0[] = "TZ=GMT0";
13967 char TZ_PST8[] = "TZ=PST8"; 13986 char TZ_PST8[] = "TZ=PST8";
13968 main() 13987 main()
13969 { 13988 {
13970 time_t now = time ((time_t *) 0); 13989 time_t now = time ((time_t *) 0);
13971 int hour_GMT0, hour_unset; 13990 int hour_GMT0, hour_unset;
13972 if (putenv (TZ_GMT0) != 0) 13991 if (putenv (TZ_GMT0) != 0)
13973 exit (1); 13992 exit (1);
13974 hour_GMT0 = localtime (&now)->tm_hour; 13993 hour_GMT0 = localtime (&now)->tm_hour;
13975 unset_TZ (); 13994 unsetenv("TZ");
13976 hour_unset = localtime (&now)->tm_hour; 13995 hour_unset = localtime (&now)->tm_hour;
13977 if (putenv (TZ_PST8) != 0) 13996 if (putenv (TZ_PST8) != 0)
13978 exit (1); 13997 exit (1);
13979 if (localtime (&now)->tm_hour == hour_GMT0) 13998 if (localtime (&now)->tm_hour == hour_GMT0)
13980 exit (1); 13999 exit (1);
13981 unset_TZ (); 14000 unsetenv("TZ");
13982 if (localtime (&now)->tm_hour != hour_unset) 14001 if (localtime (&now)->tm_hour != hour_unset)
13983 exit (1); 14002 exit (1);
13984 exit (0); 14003 exit (0);
13985 } 14004 }
13986 _ACEOF 14005 _ACEOF
14009 14028
14010 if test "x$HAVE_TIMEVAL" = xyes; then 14029 if test "x$HAVE_TIMEVAL" = xyes; then
14011 for ac_func in gettimeofday 14030 for ac_func in gettimeofday
14012 do : 14031 do :
14013 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 14032 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
14014 if test "x$ac_cv_func_gettimeofday" = x""yes; then : 14033 if test "x$ac_cv_func_gettimeofday" = xyes; then :
14015 cat >>confdefs.h <<_ACEOF 14034 cat >>confdefs.h <<_ACEOF
14016 #define HAVE_GETTIMEOFDAY 1 14035 #define HAVE_GETTIMEOFDAY 1
14017 _ACEOF 14036 _ACEOF
14018 14037
14019 fi 14038 fi
14020 done 14039 done
14021 14040
14022 if test $ac_cv_func_gettimeofday = yes; then 14041 if test $ac_cv_func_gettimeofday = yes; then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
14024 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 14043 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
14025 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 14044 if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
14026 $as_echo_n "(cached) " >&6 14045 $as_echo_n "(cached) " >&6
14027 else 14046 else
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */ 14048 /* end confdefs.h. */
14030 14049
14064 fi 14083 fi
14065 fi 14084 fi
14066 14085
14067 ok_so_far=yes 14086 ok_so_far=yes
14068 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 14087 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
14069 if test "x$ac_cv_func_socket" = x""yes; then : 14088 if test "x$ac_cv_func_socket" = xyes; then :
14070 14089
14071 else 14090 else
14072 ok_so_far=no 14091 ok_so_far=no
14073 fi 14092 fi
14074 14093
14075 if test $ok_so_far = yes; then 14094 if test $ok_so_far = yes; then
14076 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 14095 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14077 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 14096 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14078 14097
14079 else 14098 else
14080 ok_so_far=no 14099 ok_so_far=no
14081 fi 14100 fi
14082 14101
14083 14102
14084 fi 14103 fi
14085 if test $ok_so_far = yes; then 14104 if test $ok_so_far = yes; then
14086 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 14105 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
14087 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 14106 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14088 14107
14089 else 14108 else
14090 ok_so_far=no 14109 ok_so_far=no
14091 fi 14110 fi
14092 14111
14099 fi 14118 fi
14100 14119
14101 for ac_header in sys/ioctl.h 14120 for ac_header in sys/ioctl.h
14102 do : 14121 do :
14103 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 14122 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
14104 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 14123 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
14105 cat >>confdefs.h <<_ACEOF 14124 cat >>confdefs.h <<_ACEOF
14106 #define HAVE_SYS_IOCTL_H 1 14125 #define HAVE_SYS_IOCTL_H 1
14107 _ACEOF 14126 _ACEOF
14108 14127
14109 fi 14128 fi
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14130 $as_echo "no" >&6; } 14149 $as_echo "no" >&6; }
14131 fi 14150 fi
14132 14151
14133 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 14152 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14134 if test "x$ac_cv_type_pid_t" = x""yes; then : 14153 if test "x$ac_cv_type_pid_t" = xyes; then :
14135 14154
14136 else 14155 else
14137 14156
14138 cat >>confdefs.h <<_ACEOF 14157 cat >>confdefs.h <<_ACEOF
14139 #define pid_t int 14158 #define pid_t int
14142 fi 14161 fi
14143 14162
14144 for ac_header in vfork.h 14163 for ac_header in vfork.h
14145 do : 14164 do :
14146 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 14165 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14147 if test "x$ac_cv_header_vfork_h" = x""yes; then : 14166 if test "x$ac_cv_header_vfork_h" = xyes; then :
14148 cat >>confdefs.h <<_ACEOF 14167 cat >>confdefs.h <<_ACEOF
14149 #define HAVE_VFORK_H 1 14168 #define HAVE_VFORK_H 1
14150 _ACEOF 14169 _ACEOF
14151 14170
14152 fi 14171 fi
14155 14174
14156 for ac_func in fork vfork 14175 for ac_func in fork vfork
14157 do : 14176 do :
14158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14160 eval as_val=\$$as_ac_var 14179 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14161 if test "x$as_val" = x""yes; then :
14162 cat >>confdefs.h <<_ACEOF 14180 cat >>confdefs.h <<_ACEOF
14163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14164 _ACEOF 14182 _ACEOF
14165 14183
14166 fi 14184 fi
14167 done 14185 done
14168 14186
14169 if test "x$ac_cv_func_fork" = xyes; then 14187 if test "x$ac_cv_func_fork" = xyes; then
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14171 $as_echo_n "checking for working fork... " >&6; } 14189 $as_echo_n "checking for working fork... " >&6; }
14172 if test "${ac_cv_func_fork_works+set}" = set; then : 14190 if ${ac_cv_func_fork_works+:} false; then :
14173 $as_echo_n "(cached) " >&6 14191 $as_echo_n "(cached) " >&6
14174 else 14192 else
14175 if test "$cross_compiling" = yes; then : 14193 if test "$cross_compiling" = yes; then :
14176 ac_cv_func_fork_works=cross 14194 ac_cv_func_fork_works=cross
14177 else 14195 else
14220 fi 14238 fi
14221 ac_cv_func_vfork_works=$ac_cv_func_vfork 14239 ac_cv_func_vfork_works=$ac_cv_func_vfork
14222 if test "x$ac_cv_func_vfork" = xyes; then 14240 if test "x$ac_cv_func_vfork" = xyes; then
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14224 $as_echo_n "checking for working vfork... " >&6; } 14242 $as_echo_n "checking for working vfork... " >&6; }
14225 if test "${ac_cv_func_vfork_works+set}" = set; then : 14243 if ${ac_cv_func_vfork_works+:} false; then :
14226 $as_echo_n "(cached) " >&6 14244 $as_echo_n "(cached) " >&6
14227 else 14245 else
14228 if test "$cross_compiling" = yes; then : 14246 if test "$cross_compiling" = yes; then :
14229 ac_cv_func_vfork_works=cross 14247 ac_cv_func_vfork_works=cross
14230 else 14248 else
14356 fi 14374 fi
14357 14375
14358 14376
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14360 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 14378 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14361 if test "${emacs_cv_langinfo_codeset+set}" = set; then : 14379 if ${emacs_cv_langinfo_codeset+:} false; then :
14362 $as_echo_n "(cached) " >&6 14380 $as_echo_n "(cached) " >&6
14363 else 14381 else
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */ 14383 /* end confdefs.h. */
14366 #include <langinfo.h> 14384 #include <langinfo.h>
14388 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 14406 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14389 14407
14390 fi 14408 fi
14391 14409
14392 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14410 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14393 if test "x$ac_cv_type_size_t" = x""yes; then : 14411 if test "x$ac_cv_type_size_t" = xyes; then :
14394 14412
14395 cat >>confdefs.h <<_ACEOF 14413 cat >>confdefs.h <<_ACEOF
14396 #define HAVE_SIZE_T 1 14414 #define HAVE_SIZE_T 1
14397 _ACEOF 14415 _ACEOF
14398 14416
14400 fi 14418 fi
14401 14419
14402 14420
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
14404 $as_echo_n "checking for mbstate_t... " >&6; } 14422 $as_echo_n "checking for mbstate_t... " >&6; }
14405 if test "${ac_cv_type_mbstate_t+set}" = set; then : 14423 if ${ac_cv_type_mbstate_t+:} false; then :
14406 $as_echo_n "(cached) " >&6 14424 $as_echo_n "(cached) " >&6
14407 else 14425 else
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */ 14427 /* end confdefs.h. */
14410 $ac_includes_default 14428 $ac_includes_default
14436 14454
14437 fi 14455 fi
14438 14456
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
14440 $as_echo_n "checking for C restrict keyword... " >&6; } 14458 $as_echo_n "checking for C restrict keyword... " >&6; }
14441 if test "${emacs_cv_c_restrict+set}" = set; then : 14459 if ${emacs_cv_c_restrict+:} false; then :
14442 $as_echo_n "(cached) " >&6 14460 $as_echo_n "(cached) " >&6
14443 else 14461 else
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */ 14463 /* end confdefs.h. */
14446 void fred (int *restrict x); 14464 void fred (int *restrict x);
14490 14508
14491 fi 14509 fi
14492 14510
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
14494 $as_echo_n "checking for C restricted array declarations... " >&6; } 14512 $as_echo_n "checking for C restricted array declarations... " >&6; }
14495 if test "${emacs_cv_c_restrict_arr+set}" = set; then : 14513 if ${emacs_cv_c_restrict_arr+:} false; then :
14496 $as_echo_n "(cached) " >&6 14514 $as_echo_n "(cached) " >&6
14497 else 14515 else
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */ 14517 /* end confdefs.h. */
14500 void fred (int x[__restrict]); 14518 void fred (int x[__restrict]);
14537 14555
14538 #### Find out which version of Emacs this is. 14556 #### Find out which version of Emacs this is.
14539 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 14557 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
14540 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 14558 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
14541 if test x"${version}" = x; then 14559 if test x"${version}" = x; then
14542 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 14560 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
14543 fi 14561 fi
14544 if test x"${version}" != x"$PACKAGE_VERSION"; then 14562 if test x"${version}" != x"$PACKAGE_VERSION"; then
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 14563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
14546 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} 14564 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;}
14547 fi 14565 fi
14694 14712
14695 $as_echo "#define HAVE_X11 1" >>confdefs.h 14713 $as_echo "#define HAVE_X11 1" >>confdefs.h
14696 14714
14697 14715
14698 if test "$USE_X_TOOLKIT" = "none"; then 14716 if test "$USE_X_TOOLKIT" = "none"; then
14699 OLDXMENU="\${oldXMenudir}libXMenu11.a" 14717 OLDXMENU="\${oldXMenudir}/libXMenu11.a"
14700 else 14718 else
14701 OLDXMENU="\${lwlibdir}liblw.a" 14719 OLDXMENU="\${lwlibdir}/liblw.a"
14702 fi 14720 fi
14703 LIBXMENU="\$(OLDXMENU)" 14721 LIBXMENU="\$(OLDXMENU)"
14704 LIBX_OTHER="\$(LIBXT) \$(LIBX_EXTRA)" 14722 LIBX_OTHER="\$(LIBXT) \$(LIBX_EXTRA)"
14705 OLDXMENU_DEPS="\${OLDXMENU} ../src/\${OLDXMENU}" 14723 OLDXMENU_DEPS="\${OLDXMENU} ../src/\${OLDXMENU}"
14706 else 14724 else
14907 14925
14908 14926
14909 $as_echo "#define HAVE_MOUSE 1" >>confdefs.h 14927 $as_echo "#define HAVE_MOUSE 1" >>confdefs.h
14910 14928
14911 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)" 14929 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)"
14912 TOOLTIP_SUPPORT="\${lispsource}mouse.elc" 14930 TOOLTIP_SUPPORT="\${lispsource}/mouse.elc"
14913 14931
14914 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)" 14932 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)"
14915 test "$HAVE_X_WINDOWS" = "yes" && \ 14933 test "$HAVE_X_WINDOWS" = "yes" && \
14916 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)" 14934 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)"
14917 14935
14966 14984
14967 echo " Does Emacs use -lgpm? ${HAVE_GPM}" 14985 echo " Does Emacs use -lgpm? ${HAVE_GPM}"
14968 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 14986 echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
14969 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 14987 echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
14970 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" 14988 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}"
14971 echo " Does Emacs use -lgnutls (BROKEN)? ${HAVE_GNUTLS}" 14989 echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}"
14972 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" 14990 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}"
14973 14991
14974 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" 14992 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}"
14975 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" 14993 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}"
14976 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" 14994 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}"
15079 t end 15097 t end
15080 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15098 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15081 :end' >>confcache 15099 :end' >>confcache
15082 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15100 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15083 if test -w "$cache_file"; then 15101 if test -w "$cache_file"; then
15084 test "x$cache_file" != "x/dev/null" && 15102 if test "x$cache_file" != "x/dev/null"; then
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15103 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15086 $as_echo "$as_me: updating cache $cache_file" >&6;} 15104 $as_echo "$as_me: updating cache $cache_file" >&6;}
15087 cat confcache >$cache_file 15105 if test ! -f "$cache_file" || test -h "$cache_file"; then
15106 cat confcache >"$cache_file"
15107 else
15108 case $cache_file in #(
15109 */* | ?:*)
15110 mv -f confcache "$cache_file"$$ &&
15111 mv -f "$cache_file"$$ "$cache_file" ;; #(
15112 *)
15113 mv -f confcache "$cache_file" ;;
15114 esac
15115 fi
15116 fi
15088 else 15117 else
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15118 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15090 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15119 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15091 fi 15120 fi
15092 fi 15121 fi
15098 15127
15099 DEFS=-DHAVE_CONFIG_H 15128 DEFS=-DHAVE_CONFIG_H
15100 15129
15101 ac_libobjs= 15130 ac_libobjs=
15102 ac_ltlibobjs= 15131 ac_ltlibobjs=
15132 U=
15103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15133 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15104 # 1. Remove the extension, and $U if already installed. 15134 # 1. Remove the extension, and $U if already installed.
15105 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15135 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15106 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15136 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15107 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15137 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15114 LTLIBOBJS=$ac_ltlibobjs 15144 LTLIBOBJS=$ac_ltlibobjs
15115 15145
15116 15146
15117 15147
15118 15148
15119 : ${CONFIG_STATUS=./config.status} 15149 : "${CONFIG_STATUS=./config.status}"
15120 ac_write_fail=0 15150 ac_write_fail=0
15121 ac_clean_files_save=$ac_clean_files 15151 ac_clean_files_save=$ac_clean_files
15122 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15245 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15216 # splitting by setting IFS to empty value.) 15246 # splitting by setting IFS to empty value.)
15217 IFS=" "" $as_nl" 15247 IFS=" "" $as_nl"
15218 15248
15219 # Find who we are. Look in the path if we contain no directory separator. 15249 # Find who we are. Look in the path if we contain no directory separator.
15250 as_myself=
15220 case $0 in #(( 15251 case $0 in #((
15221 *[\\/]* ) as_myself=$0 ;; 15252 *[\\/]* ) as_myself=$0 ;;
15222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15253 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15223 for as_dir in $PATH 15254 for as_dir in $PATH
15224 do 15255 do
15260 15291
15261 # CDPATH. 15292 # CDPATH.
15262 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15263 15294
15264 15295
15265 # as_fn_error ERROR [LINENO LOG_FD] 15296 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15266 # --------------------------------- 15297 # ----------------------------------------
15267 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15298 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15268 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15299 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15269 # script with status $?, using 1 if that was 0. 15300 # script with STATUS, using 1 if that was 0.
15270 as_fn_error () 15301 as_fn_error ()
15271 { 15302 {
15272 as_status=$?; test $as_status -eq 0 && as_status=1 15303 as_status=$1; test $as_status -eq 0 && as_status=1
15273 if test "$3"; then 15304 if test "$4"; then
15274 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15305 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15275 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15306 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15276 fi 15307 fi
15277 $as_echo "$as_me: error: $1" >&2 15308 $as_echo "$as_me: error: $2" >&2
15278 as_fn_exit $as_status 15309 as_fn_exit $as_status
15279 } # as_fn_error 15310 } # as_fn_error
15280 15311
15281 15312
15282 # as_fn_set_status STATUS 15313 # as_fn_set_status STATUS
15468 } 15499 }
15469 s/.*/./; q'` 15500 s/.*/./; q'`
15470 test -d "$as_dir" && break 15501 test -d "$as_dir" && break
15471 done 15502 done
15472 test -z "$as_dirs" || eval "mkdir $as_dirs" 15503 test -z "$as_dirs" || eval "mkdir $as_dirs"
15473 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 15504 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15474 15505
15475 15506
15476 } # as_fn_mkdir_p 15507 } # as_fn_mkdir_p
15477 if mkdir -p . 2>/dev/null; then 15508 if mkdir -p . 2>/dev/null; then
15478 as_mkdir_p='mkdir -p "$as_dir"' 15509 as_mkdir_p='mkdir -p "$as_dir"'
15522 # Save the log message, to keep $0 and so on meaningful, and to 15553 # Save the log message, to keep $0 and so on meaningful, and to
15523 # report actual input values of CONFIG_FILES etc. instead of their 15554 # report actual input values of CONFIG_FILES etc. instead of their
15524 # values after options handling. 15555 # values after options handling.
15525 ac_log=" 15556 ac_log="
15526 This file was extended by emacs $as_me 24.0.50, which was 15557 This file was extended by emacs $as_me 24.0.50, which was
15527 generated by GNU Autoconf 2.65. Invocation command line was 15558 generated by GNU Autoconf 2.68. Invocation command line was
15528 15559
15529 CONFIG_FILES = $CONFIG_FILES 15560 CONFIG_FILES = $CONFIG_FILES
15530 CONFIG_HEADERS = $CONFIG_HEADERS 15561 CONFIG_HEADERS = $CONFIG_HEADERS
15531 CONFIG_LINKS = $CONFIG_LINKS 15562 CONFIG_LINKS = $CONFIG_LINKS
15532 CONFIG_COMMANDS = $CONFIG_COMMANDS 15563 CONFIG_COMMANDS = $CONFIG_COMMANDS
15588 _ACEOF 15619 _ACEOF
15589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15621 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15591 ac_cs_version="\\ 15622 ac_cs_version="\\
15592 emacs config.status 24.0.50 15623 emacs config.status 24.0.50
15593 configured by $0, generated by GNU Autoconf 2.65, 15624 configured by $0, generated by GNU Autoconf 2.68,
15594 with options \\"\$ac_cs_config\\" 15625 with options \\"\$ac_cs_config\\"
15595 15626
15596 Copyright (C) 2009 Free Software Foundation, Inc. 15627 Copyright (C) 2010 Free Software Foundation, Inc.
15597 This config.status script is free software; the Free Software Foundation 15628 This config.status script is free software; the Free Software Foundation
15598 gives unlimited permission to copy, distribute and modify it." 15629 gives unlimited permission to copy, distribute and modify it."
15599 15630
15600 ac_pwd='$ac_pwd' 15631 ac_pwd='$ac_pwd'
15601 srcdir='$srcdir' 15632 srcdir='$srcdir'
15607 # The default lists apply if the user does not specify any file. 15638 # The default lists apply if the user does not specify any file.
15608 ac_need_defaults=: 15639 ac_need_defaults=:
15609 while test $# != 0 15640 while test $# != 0
15610 do 15641 do
15611 case $1 in 15642 case $1 in
15612 --*=*) 15643 --*=?*)
15613 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15614 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15645 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15646 ac_shift=:
15647 ;;
15648 --*=)
15649 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15650 ac_optarg=
15615 ac_shift=: 15651 ac_shift=:
15616 ;; 15652 ;;
15617 *) 15653 *)
15618 ac_option=$1 15654 ac_option=$1
15619 ac_optarg=$2 15655 ac_optarg=$2
15633 debug=: ;; 15669 debug=: ;;
15634 --file | --fil | --fi | --f ) 15670 --file | --fil | --fi | --f )
15635 $ac_shift 15671 $ac_shift
15636 case $ac_optarg in 15672 case $ac_optarg in
15637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15673 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15674 '') as_fn_error $? "missing file argument" ;;
15638 esac 15675 esac
15639 as_fn_append CONFIG_FILES " '$ac_optarg'" 15676 as_fn_append CONFIG_FILES " '$ac_optarg'"
15640 ac_need_defaults=false;; 15677 ac_need_defaults=false;;
15641 --header | --heade | --head | --hea ) 15678 --header | --heade | --head | --hea )
15642 $ac_shift 15679 $ac_shift
15645 esac 15682 esac
15646 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15683 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15647 ac_need_defaults=false;; 15684 ac_need_defaults=false;;
15648 --he | --h) 15685 --he | --h)
15649 # Conflict between --help and --header 15686 # Conflict between --help and --header
15650 as_fn_error "ambiguous option: \`$1' 15687 as_fn_error $? "ambiguous option: \`$1'
15651 Try \`$0 --help' for more information.";; 15688 Try \`$0 --help' for more information.";;
15652 --help | --hel | -h ) 15689 --help | --hel | -h )
15653 $as_echo "$ac_cs_usage"; exit ;; 15690 $as_echo "$ac_cs_usage"; exit ;;
15654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15655 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15692 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15656 ac_cs_silent=: ;; 15693 ac_cs_silent=: ;;
15657 15694
15658 # This is an error. 15695 # This is an error.
15659 -*) as_fn_error "unrecognized option: \`$1' 15696 -*) as_fn_error $? "unrecognized option: \`$1'
15660 Try \`$0 --help' for more information." ;; 15697 Try \`$0 --help' for more information." ;;
15661 15698
15662 *) as_fn_append ac_config_targets " $1" 15699 *) as_fn_append ac_config_targets " $1"
15663 ac_need_defaults=false ;; 15700 ac_need_defaults=false ;;
15664 15701
15722 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 15759 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
15723 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 15760 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
15724 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15761 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15725 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15762 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15726 15763
15727 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15764 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15728 esac 15765 esac
15729 done 15766 done
15730 15767
15731 15768
15732 # If the user did not use the arguments to specify the items to instantiate, 15769 # If the user did not use the arguments to specify the items to instantiate,
15745 # Hook for its removal unless debugging. 15782 # Hook for its removal unless debugging.
15746 # Note that there is a small window in which the directory will not be cleaned: 15783 # Note that there is a small window in which the directory will not be cleaned:
15747 # after its creation but before its name has been assigned to `$tmp'. 15784 # after its creation but before its name has been assigned to `$tmp'.
15748 $debug || 15785 $debug ||
15749 { 15786 {
15750 tmp= 15787 tmp= ac_tmp=
15751 trap 'exit_status=$? 15788 trap 'exit_status=$?
15752 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15789 : "${ac_tmp:=$tmp}"
15790 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15753 ' 0 15791 ' 0
15754 trap 'as_fn_exit 1' 1 2 13 15 15792 trap 'as_fn_exit 1' 1 2 13 15
15755 } 15793 }
15756 # Create a (secure) tmp directory for tmp files. 15794 # Create a (secure) tmp directory for tmp files.
15757 15795
15758 { 15796 {
15759 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15797 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15760 test -n "$tmp" && test -d "$tmp" 15798 test -d "$tmp"
15761 } || 15799 } ||
15762 { 15800 {
15763 tmp=./conf$$-$RANDOM 15801 tmp=./conf$$-$RANDOM
15764 (umask 077 && mkdir "$tmp") 15802 (umask 077 && mkdir "$tmp")
15765 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 15803 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15804 ac_tmp=$tmp
15766 15805
15767 # Set up the scripts for CONFIG_FILES section. 15806 # Set up the scripts for CONFIG_FILES section.
15768 # No need to generate them if there are no CONFIG_FILES. 15807 # No need to generate them if there are no CONFIG_FILES.
15769 # This happens for instance with `./config.status config.h'. 15808 # This happens for instance with `./config.status config.h'.
15770 if test -n "$CONFIG_FILES"; then 15809 if test -n "$CONFIG_FILES"; then
15794 if test "x$ac_cr" = x; then 15833 if test "x$ac_cr" = x; then
15795 eval ac_cr=\$\'\\r\' 15834 eval ac_cr=\$\'\\r\'
15796 fi 15835 fi
15797 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15836 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15798 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15837 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15799 ac_cs_awk_cr='\r' 15838 ac_cs_awk_cr='\\r'
15800 else 15839 else
15801 ac_cs_awk_cr=$ac_cr 15840 ac_cs_awk_cr=$ac_cr
15802 fi 15841 fi
15803 15842
15804 echo 'BEGIN {' >"$tmp/subs1.awk" && 15843 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15805 _ACEOF 15844 _ACEOF
15806 15845
15807 # Create commands to substitute file output variables. 15846 # Create commands to substitute file output variables.
15808 { 15847 {
15809 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 15848 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15810 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 15849 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15811 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15850 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15812 echo "_ACAWK" && 15851 echo "_ACAWK" &&
15813 echo "_ACEOF" 15852 echo "_ACEOF"
15814 } >conf$$files.sh && 15853 } >conf$$files.sh &&
15815 . ./conf$$files.sh || 15854 . ./conf$$files.sh ||
15816 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15855 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15817 rm -f conf$$files.sh 15856 rm -f conf$$files.sh
15818 15857
15819 { 15858 {
15820 echo "cat >conf$$subs.awk <<_ACEOF" && 15859 echo "cat >conf$$subs.awk <<_ACEOF" &&
15821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15860 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15822 echo "_ACEOF" 15861 echo "_ACEOF"
15823 } >conf$$subs.sh || 15862 } >conf$$subs.sh ||
15824 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15863 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15864 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15826 ac_delim='%!_!# ' 15865 ac_delim='%!_!# '
15827 for ac_last_try in false false false false false :; do 15866 for ac_last_try in false false false false false :; do
15828 . ./conf$$subs.sh || 15867 . ./conf$$subs.sh ||
15829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15868 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15830 15869
15831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15870 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15832 if test $ac_delim_n = $ac_delim_num; then 15871 if test $ac_delim_n = $ac_delim_num; then
15833 break 15872 break
15834 elif $ac_last_try; then 15873 elif $ac_last_try; then
15835 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15874 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15836 else 15875 else
15837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15876 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15838 fi 15877 fi
15839 done 15878 done
15840 rm -f conf$$subs.sh 15879 rm -f conf$$subs.sh
15841 15880
15842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15843 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15882 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15844 _ACEOF 15883 _ACEOF
15845 sed -n ' 15884 sed -n '
15846 h 15885 h
15847 s/^/S["/; s/!.*/"]=/ 15886 s/^/S["/; s/!.*/"]=/
15848 p 15887 p
15886 } 15925 }
15887 ' >>$CONFIG_STATUS || ac_write_fail=1 15926 ' >>$CONFIG_STATUS || ac_write_fail=1
15888 rm -f conf$$subs.awk 15927 rm -f conf$$subs.awk
15889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15890 _ACAWK 15929 _ACAWK
15891 cat >>"\$tmp/subs1.awk" <<_ACAWK && 15930 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15892 for (key in S) S_is_set[key] = 1 15931 for (key in S) S_is_set[key] = 1
15893 FS = "" 15932 FS = ""
15894 \$ac_cs_awk_pipe_init 15933 \$ac_cs_awk_pipe_init
15895 } 15934 }
15896 { 15935 {
15924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15925 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15964 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15965 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15927 else 15966 else
15928 cat 15967 cat
15929 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15968 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15930 || as_fn_error "could not setup config files machinery" "$LINENO" 5 15969 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15931 _ACEOF 15970 _ACEOF
15932 15971
15933 # VPATH may cause trouble with some makes, so we remove $(srcdir), 15972 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15934 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15973 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15935 # trailing colons and then remove the whole line if VPATH becomes empty 15974 # trailing colons and then remove the whole line if VPATH becomes empty
15936 # (actually we leave an empty line to preserve line numbers). 15975 # (actually we leave an empty line to preserve line numbers).
15937 if test "x$srcdir" = x.; then 15976 if test "x$srcdir" = x.; then
15938 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15977 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15939 s/:*\$(srcdir):*/:/ 15978 h
15940 s/:*\${srcdir}:*/:/ 15979 s///
15941 s/:*@srcdir@:*/:/ 15980 s/^/:/
15942 s/^\([^=]*=[ ]*\):*/\1/ 15981 s/[ ]*$/:/
15982 s/:\$(srcdir):/:/g
15983 s/:\${srcdir}:/:/g
15984 s/:@srcdir@:/:/g
15985 s/^:*//
15943 s/:*$// 15986 s/:*$//
15987 x
15988 s/\(=[ ]*\).*/\1/
15989 G
15990 s/\n//
15944 s/^[^=]*=[ ]*$// 15991 s/^[^=]*=[ ]*$//
15945 }' 15992 }'
15946 fi 15993 fi
15947 15994
15948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15950 15997
15951 # Set up the scripts for CONFIG_HEADERS section. 15998 # Set up the scripts for CONFIG_HEADERS section.
15952 # No need to generate them if there are no CONFIG_HEADERS. 15999 # No need to generate them if there are no CONFIG_HEADERS.
15953 # This happens for instance with `./config.status Makefile'. 16000 # This happens for instance with `./config.status Makefile'.
15954 if test -n "$CONFIG_HEADERS"; then 16001 if test -n "$CONFIG_HEADERS"; then
15955 cat >"$tmp/defines.awk" <<\_ACAWK || 16002 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15956 BEGIN { 16003 BEGIN {
15957 _ACEOF 16004 _ACEOF
15958 16005
15959 # Transform confdefs.h into an awk script `defines.awk', embedded as 16006 # Transform confdefs.h into an awk script `defines.awk', embedded as
15960 # here-document in config.status, that substitutes the proper values into 16007 # here-document in config.status, that substitutes the proper values into
15962 16009
15963 # Create a delimiter string that does not exist in confdefs.h, to ease 16010 # Create a delimiter string that does not exist in confdefs.h, to ease
15964 # handling of long lines. 16011 # handling of long lines.
15965 ac_delim='%!_!# ' 16012 ac_delim='%!_!# '
15966 for ac_last_try in false false :; do 16013 for ac_last_try in false false :; do
15967 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 16014 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15968 if test -z "$ac_t"; then 16015 if test -z "$ac_tt"; then
15969 break 16016 break
15970 elif $ac_last_try; then 16017 elif $ac_last_try; then
15971 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 16018 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15972 else 16019 else
15973 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16020 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15974 fi 16021 fi
15975 done 16022 done
15976 16023
16051 } 16098 }
16052 { print } 16099 { print }
16053 _ACAWK 16100 _ACAWK
16054 _ACEOF 16101 _ACEOF
16055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16056 as_fn_error "could not setup config headers machinery" "$LINENO" 5 16103 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16057 fi # test -n "$CONFIG_HEADERS" 16104 fi # test -n "$CONFIG_HEADERS"
16058 16105
16059 16106
16060 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16107 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16061 shift 16108 shift
16064 case $ac_tag in 16111 case $ac_tag in
16065 :[FHLC]) ac_mode=$ac_tag; continue;; 16112 :[FHLC]) ac_mode=$ac_tag; continue;;
16066 esac 16113 esac
16067 case $ac_mode$ac_tag in 16114 case $ac_mode$ac_tag in
16068 :[FHL]*:*);; 16115 :[FHL]*:*);;
16069 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16116 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16070 :[FH]-) ac_tag=-:-;; 16117 :[FH]-) ac_tag=-:-;;
16071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16118 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16072 esac 16119 esac
16073 ac_save_IFS=$IFS 16120 ac_save_IFS=$IFS
16074 IFS=: 16121 IFS=:
16083 :[FH]) 16130 :[FH])
16084 ac_file_inputs= 16131 ac_file_inputs=
16085 for ac_f 16132 for ac_f
16086 do 16133 do
16087 case $ac_f in 16134 case $ac_f in
16088 -) ac_f="$tmp/stdin";; 16135 -) ac_f="$ac_tmp/stdin";;
16089 *) # Look for the file first in the build tree, then in the source tree 16136 *) # Look for the file first in the build tree, then in the source tree
16090 # (if the path is not absolute). The absolute path cannot be DOS-style, 16137 # (if the path is not absolute). The absolute path cannot be DOS-style,
16091 # because $ac_f cannot contain `:'. 16138 # because $ac_f cannot contain `:'.
16092 test -f "$ac_f" || 16139 test -f "$ac_f" ||
16093 case $ac_f in 16140 case $ac_f in
16094 [\\/$]*) false;; 16141 [\\/$]*) false;;
16095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16142 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16096 esac || 16143 esac ||
16097 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16144 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16098 esac 16145 esac
16099 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16146 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16100 as_fn_append ac_file_inputs " '$ac_f'" 16147 as_fn_append ac_file_inputs " '$ac_f'"
16101 done 16148 done
16102 16149
16118 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16165 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16119 *) ac_sed_conf_input=$configure_input;; 16166 *) ac_sed_conf_input=$configure_input;;
16120 esac 16167 esac
16121 16168
16122 case $ac_tag in 16169 case $ac_tag in
16123 *:-:* | *:-) cat >"$tmp/stdin" \ 16170 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16124 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16125 esac 16172 esac
16126 ;; 16173 ;;
16127 esac 16174 esac
16128 16175
16129 ac_dir=`$as_dirname -- "$ac_file" || 16176 ac_dir=`$as_dirname -- "$ac_file" ||
16251 s&@INSTALL@&$ac_INSTALL&;t t 16298 s&@INSTALL@&$ac_INSTALL&;t t
16252 $ac_datarootdir_hack 16299 $ac_datarootdir_hack
16253 " 16300 "
16254 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 16301 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16255 if $ac_cs_awk_getline; then 16302 if $ac_cs_awk_getline; then
16256 $AWK -f "$tmp/subs.awk" 16303 $AWK -f "$ac_tmp/subs.awk"
16257 else 16304 else
16258 $AWK -f "$tmp/subs.awk" | $SHELL 16305 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16259 fi >$tmp/out \ 16306 fi \
16260 || as_fn_error "could not create $ac_file" "$LINENO" 5 16307 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16261 16308
16262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16309 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16263 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16310 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16311 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16312 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16266 which seems to be undefined. Please make sure it is defined." >&5 16314 which seems to be undefined. Please make sure it is defined" >&5
16267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16315 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16268 which seems to be undefined. Please make sure it is defined." >&2;} 16316 which seems to be undefined. Please make sure it is defined" >&2;}
16269 16317
16270 rm -f "$tmp/stdin" 16318 rm -f "$ac_tmp/stdin"
16271 case $ac_file in 16319 case $ac_file in
16272 -) cat "$tmp/out" && rm -f "$tmp/out";; 16320 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16273 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16321 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16274 esac \ 16322 esac \
16275 || as_fn_error "could not create $ac_file" "$LINENO" 5 16323 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16276 ;; 16324 ;;
16277 :H) 16325 :H)
16278 # 16326 #
16279 # CONFIG_HEADER 16327 # CONFIG_HEADER
16280 # 16328 #
16281 if test x"$ac_file" != x-; then 16329 if test x"$ac_file" != x-; then
16282 { 16330 {
16283 $as_echo "/* $configure_input */" \ 16331 $as_echo "/* $configure_input */" \
16284 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16332 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16285 } >"$tmp/config.h" \ 16333 } >"$ac_tmp/config.h" \
16286 || as_fn_error "could not create $ac_file" "$LINENO" 5 16334 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16287 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16335 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16336 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16289 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16337 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16290 else 16338 else
16291 rm -f "$ac_file" 16339 rm -f "$ac_file"
16292 mv "$tmp/config.h" "$ac_file" \ 16340 mv "$ac_tmp/config.h" "$ac_file" \
16293 || as_fn_error "could not create $ac_file" "$LINENO" 5 16341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16294 fi 16342 fi
16295 else 16343 else
16296 $as_echo "/* $configure_input */" \ 16344 $as_echo "/* $configure_input */" \
16297 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16345 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16298 || as_fn_error "could not create -" "$LINENO" 5 16346 || as_fn_error $? "could not create -" "$LINENO" 5
16299 fi 16347 fi
16300 ;; 16348 ;;
16301 16349
16302 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16350 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16303 $as_echo "$as_me: executing $ac_file commands" >&6;} 16351 $as_echo "$as_me: executing $ac_file commands" >&6;}
16330 as_fn_exit 0 16378 as_fn_exit 0
16331 _ACEOF 16379 _ACEOF
16332 ac_clean_files=$ac_clean_files_save 16380 ac_clean_files=$ac_clean_files_save
16333 16381
16334 test $ac_write_fail = 0 || 16382 test $ac_write_fail = 0 ||
16335 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16383 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16336 16384
16337 16385
16338 # configure is writing to config.log, and then calls config.status. 16386 # configure is writing to config.log, and then calls config.status.
16339 # config.status does its own redirection, appending to config.log. 16387 # config.status does its own redirection, appending to config.log.
16340 # Unfortunately, on DOS this fails, as config.log is still kept open 16388 # Unfortunately, on DOS this fails, as config.log is still kept open
16351 exec 5>/dev/null 16399 exec 5>/dev/null
16352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16353 exec 5>>config.log 16401 exec 5>>config.log
16354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16355 # would make configure fail if this is the last instruction. 16403 # would make configure fail if this is the last instruction.
16356 $ac_cs_success || as_fn_exit $? 16404 $ac_cs_success || as_fn_exit 1
16357 fi 16405 fi
16358 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16406 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16360 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16408 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16361 fi 16409 fi