2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="src/lisp.h"
275 ac_config_libobj_dir
=src
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO EGREP LIBSOUND SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --x-includes=DIR X include files are
in DIR
842 --x-libraries=DIR X library files are
in DIR
845 --build=BUILD configure
for building on BUILD
[guessed
]
846 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 if test -n "$ac_init_help"; then
855 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
856 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
857 --enable-carbon-app[=DIR
] [DIR
=/Application
]
858 specify
install directory
for Emacs.app on Mac OS X
859 --enable-maintainer-mode enable make rules and dependencies not useful
860 (and sometimes confusing
) to the casual installer
861 --disable-largefile omit support
for large files
864 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
865 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
866 --without-gcc don
't use GCC to compile Emacs if GCC is found
867 --without-pop don't support POP
mail retrieval with movemail
868 --with-kerberos support Kerberos-authenticated POP
869 --with-kerberos5 support Kerberos version
5 authenticated POP
870 --with-hesiod support Hesiod to get the POP server
host
871 --without-sound don
't compile with sound support
872 --with-x-toolkit=KIT use an X toolkit
873 (KIT = yes/lucid/athena/motif/gtk/no)
874 --with-xpm use -lXpm for displaying XPM images
875 --with-jpeg use -ljpeg for displaying JPEG images
876 --with-tiff use -ltiff for displaying TIFF images
877 --with-gif use -lungif for displaying GIF images
878 --with-png use -lpng for displaying PNG images
879 --with-gtk use GTK (same as --with-x-toolkit=gtk)
880 --with-pkg-config-prog Path to pkg-config to use for finding GTK
881 --without-toolkit-scroll-bars
882 don't use Motif or Xaw3d scroll bars
883 --without-xim don
't use X11 XIM
884 --without-carbon don't use Carbon GUI on Mac OS X
885 --with-x use the X Window System
887 Some influential environment variables
:
888 CC C compiler
command
889 CFLAGS C compiler flags
890 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
891 nonstandard directory
<lib dir
>
892 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
893 headers
in a nonstandard directory
<include dir
>
896 Use these variables to override the choices made by
`configure' or to help
897 it to find libraries and programs with nonstandard names/locations.
902 if test "$ac_init_help" = "recursive"; then
903 # If there are subdirs, report their specific --help.
905 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
906 test -d $ac_dir || continue
909 if test "$ac_dir" != .; then
910 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
911 # A "../" for each directory in $ac_dir_suffix.
912 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
914 ac_dir_suffix= ac_top_builddir=
918 .) # No --srcdir option. We are building in place.
920 if test -z "$ac_top_builddir"; then
923 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
925 [\\/]* | ?:[\\/]* ) # Absolute path.
926 ac_srcdir=$srcdir$ac_dir_suffix;
927 ac_top_srcdir=$srcdir ;;
929 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930 ac_top_srcdir=$ac_top_builddir$srcdir ;;
933 # Do not use `cd foo
&& pwd` to compute absolute paths, because
934 # the directories may not exist.
936 .) ac_abs_builddir="$ac_dir";;
939 .) ac_abs_builddir=`pwd`;;
940 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
941 *) ac_abs_builddir=`pwd`/"$ac_dir";;
944 case $ac_abs_builddir in
945 .) ac_abs_top_builddir=${ac_top_builddir}.;;
947 case ${ac_top_builddir}. in
948 .) ac_abs_top_builddir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
950 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
953 case $ac_abs_builddir in
954 .) ac_abs_srcdir=$ac_srcdir;;
957 .) ac_abs_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
959 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
962 case $ac_abs_builddir in
963 .) ac_abs_top_srcdir=$ac_top_srcdir;;
965 case $ac_top_srcdir in
966 .) ac_abs_top_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
968 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
973 # Check for guested configure; otherwise get Cygnus style configure.
974 if test -f $ac_srcdir/configure.gnu; then
976 $SHELL $ac_srcdir/configure.gnu --help=recursive
977 elif test -f $ac_srcdir/configure; then
979 $SHELL $ac_srcdir/configure --help=recursive
980 elif test -f $ac_srcdir/configure.ac ||
981 test -f $ac_srcdir/configure.in; then
985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
991 test -n "$ac_init_help" && exit 0
992 if $ac_init_version; then
995 Copyright (C) 2003 Free Software Foundation, Inc.
996 This configure script is free software; the Free Software Foundation
997 gives unlimited permission to copy, distribute and modify it.
1003 This file contains any messages produced by compilers while
1004 running configure, to aid debugging if configure makes a mistake.
1006 It was created by $as_me, which was
1007 generated by GNU Autoconf 2.59. Invocation command line was
1018 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1019 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1020 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1021 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1022 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1024 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1025 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1027 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1028 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1029 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1030 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1031 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1032 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1033 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1041 test -z "$as_dir" && as_dir=.
1042 echo "PATH: $as_dir"
1057 # Keep a trace of the command line.
1058 # Strip out --no-create and --no-recursion so they do not pile up.
1059 # Strip out --silent because we don't want to record it for future runs.
1060 # Also quote any args containing shell meta-characters.
1061 # Make two passes to allow for proper duplicate-argument suppression.
1066 ac_must_keep_next=false
1072 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1076 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1077 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1080 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1082 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1083 if test $ac_must_keep_next = true; then
1084 ac_must_keep_next=false # Got value, back to normal.
1087 *=* | --config-cache | -C | -disable-* | --disable-* \
1088 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1089 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1090 | -with-* | --with-* | -without-* | --without-* | --x)
1091 case "$ac_configure_args0 " in
1092 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1095 -* ) ac_must_keep_next=true ;;
1098 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1099 # Get rid of the leading space.
1105 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1106 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1108 # When interrupted or exit'd, cleanup temporary files, and complete
1109 # config.log. We remove comments because anyway the quotes in there
1110 # would cause problems or look ugly.
1111 # WARNING: Be sure not to use single quotes in there, as some shells,
1112 # such as our DU 5.0 friend, will then `close
' the trap.
1113 trap 'exit_status
=$?
1114 # Save into config.log some information that might help in debugging.
1119 ## ---------------- ##
1120 ## Cache variables. ##
1121 ## ---------------- ##
1124 # The following way of writing the cache mishandles newlines in values,
1127 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1130 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1142 ## ----------------- ##
1143 ## Output variables. ##
1144 ## ----------------- ##
1147 for ac_var
in $ac_subst_vars
1149 eval ac_val
=$
`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -n "$ac_subst_files"; then
1161 for ac_var
in $ac_subst_files
1163 eval ac_val
=$
`echo $ac_var`
1164 echo "$ac_var='"'"'$ac_val'"'"'"
1169 if test -s confdefs.h
; then
1176 sed "/^$/d" confdefs.h |
sort
1179 test "$ac_signal" != 0 &&
1180 echo "$as_me: caught signal $ac_signal"
1181 echo "$as_me: exit $exit_status"
1183 rm -f core
*.core
&&
1184 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1187 for ac_signal in 1 2 13 15; do
1188 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1193 rm -rf conftest* confdefs.h
1194 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1197 # Predefined preprocessor variables.
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_NAME "$PACKAGE_NAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_STRING "$PACKAGE_STRING"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1224 # Let the site file select an alternate cache file if it wants to.
1225 # Prefer explicitly selected file to automatically selected ones.
1226 if test -z "$CONFIG_SITE"; then
1227 if test "x$prefix" != xNONE; then
1228 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1230 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1233 for ac_site_file in $CONFIG_SITE; do
1234 if test -r "$ac_site_file"; then
1235 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1236 echo "$as_me: loading site script $ac_site_file" >&6;}
1237 sed 's
/^
/|
/' "$ac_site_file" >&5
1242 if test -r "$cache_file"; then
1243 # Some versions of bash will fail to source /dev/null (special
1244 # files actually), so we avoid doing that.
1245 if test -f "$cache_file"; then
1246 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1247 echo "$as_me: loading cache $cache_file" >&6;}
1249 [\\/]* | ?:[\\/]* ) . $cache_file;;
1250 *) . ./$cache_file;;
1254 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1255 echo "$as_me: creating cache $cache_file" >&6;}
1259 # Check that the precious variables saved in the cache have kept the same
1261 ac_cache_corrupted=false
1262 for ac_var in `(set) 2>&1 |
1263 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1264 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1265 eval ac_new_set=\$ac_env_${ac_var}_set
1266 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1267 eval ac_new_val="\$ac_env_${ac_var}_value"
1268 case $ac_old_set,$ac_new_set in
1270 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1271 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1272 ac_cache_corrupted=: ;;
1274 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1276 ac_cache_corrupted=: ;;
1279 if test "x$ac_old_val" != "x$ac_new_val"; then
1280 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1281 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1282 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1283 echo "$as_me: former value: $ac_old_val" >&2;}
1284 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1285 echo "$as_me: current value: $ac_new_val" >&2;}
1286 ac_cache_corrupted=:
1289 # Pass precious variables to config.status.
1290 if test "$ac_new_set" = set; then
1292 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1294 *) ac_arg=$ac_var=$ac_new_val ;;
1296 case " $ac_configure_args " in
1297 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1298 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1302 if $ac_cache_corrupted; then
1303 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1304 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1305 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1306 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1307 { (exit 1); exit 1; }; }
1311 ac_cpp='$CPP $CPPFLAGS'
1312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1313 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1334 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1337 test "$program_prefix" != NONE &&
1338 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1339 # Use a double $ so make ignores it.
1340 test "$program_suffix" != NONE &&
1341 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1342 # Double any \ or $. echo might interpret backslashes.
1343 # By default was `s,x,x', remove it
if useless.
1344 cat <<\_ACEOF
>conftest.
sed
1345 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1347 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1351 lispdir
='${datadir}/emacs/${version}/lisp'
1352 locallisppath
='${datadir}/emacs/${version}/site-lisp:'\
1353 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1354 lisppath
='${locallisppath}:${lispdir}'
1355 etcdir
='${datadir}/emacs/${version}/etc'
1356 archlibdir
='${libexecdir}/emacs/${version}/${configuration}'
1357 docdir
='${datadir}/emacs/${version}/etc'
1358 gamedir
='${localstatedir}/games/emacs'
1363 # Check whether --with-gcc or --without-gcc was given.
1364 if test "${with_gcc+set}" = set; then
1369 # Check whether --with-pop or --without-pop was given.
1370 if test "${with_pop+set}" = set; then
1372 if test "$withval" = yes; then
1373 cat >>confdefs.h
<<\_ACEOF
1374 #define MAIL_USE_POP 1
1380 cat >>confdefs.h
<<\_ACEOF
1381 #define MAIL_USE_POP 1
1387 # Check whether --with-kerberos or --without-kerberos was given.
1388 if test "${with_kerberos+set}" = set; then
1389 withval
="$with_kerberos"
1390 cat >>confdefs.h
<<\_ACEOF
1397 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1398 if test "${with_kerberos5+set}" = set; then
1399 withval
="$with_kerberos5"
1400 if test "${with_kerberos5+set}" = set; then
1401 if test "${with_kerberos+set}" != set; then
1403 cat >>confdefs.h
<<\_ACEOF
1410 cat >>confdefs.h
<<\_ACEOF
1416 # Check whether --with-hesiod or --without-hesiod was given.
1417 if test "${with_hesiod+set}" = set; then
1418 withval
="$with_hesiod"
1420 cat >>confdefs.h
<<\_ACEOF
1427 # Check whether --with-sound or --without-sound was given.
1428 if test "${with_sound+set}" = set; then
1429 withval
="$with_sound"
1434 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1435 if test "${with_x_toolkit+set}" = set; then
1436 withval
="$with_x_toolkit"
1437 case "${withval}" in
1438 y | ye |
yes ) val
=athena
;;
1440 l | lu | luc | luci | lucid
) val
=lucid
;;
1441 a |
at | ath | athe | athen | athena
) val
=athena
;;
1442 m | mo | mot | moti | motif
) val
=motif
;;
1443 g | gt | gtk
) val
=gtk
;;
1445 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1446 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1447 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1448 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1449 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1450 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1451 { (exit 1); exit 1; }; }
1458 # Check whether --with-xpm or --without-xpm was given.
1459 if test "${with_xpm+set}" = set; then
1464 # Check whether --with-jpeg or --without-jpeg was given.
1465 if test "${with_jpeg+set}" = set; then
1466 withval
="$with_jpeg"
1470 # Check whether --with-tiff or --without-tiff was given.
1471 if test "${with_tiff+set}" = set; then
1472 withval
="$with_tiff"
1476 # Check whether --with-gif or --without-gif was given.
1477 if test "${with_gif+set}" = set; then
1482 # Check whether --with-png or --without-png was given.
1483 if test "${with_png+set}" = set; then
1488 # Check whether --with-gtk or --without-gtk was given.
1489 if test "${with_gtk+set}" = set; then
1494 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given.
1495 if test "${with_pkg_config_prog+set}" = set; then
1496 withval
="$with_pkg_config_prog"
1500 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
1501 if test "${with_toolkit_scroll_bars+set}" = set; then
1502 withval
="$with_toolkit_scroll_bars"
1506 # Check whether --with-xim or --without-xim was given.
1507 if test "${with_xim+set}" = set; then
1512 # Check whether --with-carbon or --without-carbon was given.
1513 if test "${with_carbon+set}" = set; then
1514 withval
="$with_carbon"
1517 # Check whether --enable-carbon-app or --disable-carbon-app was given.
1518 if test "${enable_carbon_app+set}" = set; then
1519 enableval
="$enable_carbon_app"
1520 carbon_appdir_x
=${enableval}
1523 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1524 if test "${enable_maintainer_mode+set}" = set; then
1525 enableval
="$enable_maintainer_mode"
1526 USE_MAINTAINER_MODE
=$enableval
1528 USE_MAINTAINER_MODE
=no
1530 if test $USE_MAINTAINER_MODE = yes; then
1537 #### Make srcdir absolute, if it isn't already. It's important to
1538 #### avoid running the path through pwd unnecessarily, since pwd can
1539 #### give you automounter prefixes, which can go away. We do all this
1540 #### so Emacs can find its files when run uninstalled.
1541 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
1546 ## We may be able to use the $PWD environment variable to make this
1547 ## absolute. But sometimes PWD is inaccurate.
1548 ## Note: we used to use ${PWD} at the end instead of `pwd`,
1549 ## but that tested only for a well-formed and valid PWD,
1550 ## it did not object when PWD was well-formed and valid but just wrong.
1551 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
1555 srcdir
="`(cd ${srcdir}; pwd)`"
1558 * ) srcdir
="`(cd ${srcdir}; pwd)`" ;;
1561 #### Check if the source directory already has a configured system in it.
1562 if test `pwd` != `(cd ${srcdir} && pwd)` \
1563 && test -f "${srcdir}/src/config.h" ; then
1564 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1565 as a build directory right now; it has been configured in its own
1566 right. To configure in another directory as well, you MUST
1567 use GNU make. If you do not have GNU make, then you must
1568 now do \`make distclean' in ${srcdir},
1569 and then run $0 again." >&5
1570 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
1571 as a build directory right now; it has been configured in its own
1572 right. To configure in another directory as well, you MUST
1573 use GNU make. If you do not have GNU make, then you must
1574 now do \`make distclean' in ${srcdir},
1575 and then run $0 again." >&2;}
1578 #### Given the configuration name, set machfile and opsysfile to the
1579 #### names of the m/*.h and s/*.h files we should use.
1581 ### Canonicalize the configuration name.
1584 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1585 if test -f $ac_dir/install-sh
; then
1587 ac_install_sh
="$ac_aux_dir/install-sh -c"
1589 elif test -f $ac_dir/install.sh
; then
1591 ac_install_sh
="$ac_aux_dir/install.sh -c"
1593 elif test -f $ac_dir/shtool
; then
1595 ac_install_sh
="$ac_aux_dir/shtool install -c"
1599 if test -z "$ac_aux_dir"; then
1600 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1601 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1602 { (exit 1); exit 1; }; }
1604 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1605 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1606 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1608 # Make sure we can run config.sub.
1609 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1610 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1611 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: checking build system type" >&5
1615 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1616 if test "${ac_cv_build+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_build_alias
=$build_alias
1620 test -z "$ac_cv_build_alias" &&
1621 ac_cv_build_alias
=`$ac_config_guess`
1622 test -z "$ac_cv_build_alias" &&
1623 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1624 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1625 { (exit 1); exit 1; }; }
1626 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1633 echo "${ECHO_T}$ac_cv_build" >&6
1635 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1640 echo "$as_me:$LINENO: checking host system type" >&5
1641 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1642 if test "${ac_cv_host+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 ac_cv_host_alias
=$host_alias
1646 test -z "$ac_cv_host_alias" &&
1647 ac_cv_host_alias
=$ac_cv_build_alias
1648 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1655 echo "${ECHO_T}$ac_cv_host" >&6
1657 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1663 configuration
=${host_alias-$host}
1667 ### If you add support for a new configuration, add code to this
1668 ### switch statement to recognize your configuration name and select
1669 ### the appropriate operating system and machine description files.
1671 ### You would hope that you could choose an m/*.h file pretty much
1672 ### based on the machine portion of the configuration name, and an s-
1673 ### file based on the operating system portion. However, it turns out
1674 ### that each m/*.h file is pretty manufacturer-specific - for
1675 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1676 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1677 ### machines. So we basically have to have a special case for each
1678 ### configuration name.
1680 ### As far as handling version numbers on operating systems is
1681 ### concerned, make sure things will fail in a fixable way. If
1682 ### /etc/MACHINES doesn't say anything about version numbers, be
1683 ### prepared to handle anything reasonably. If version numbers
1684 ### matter, be sure /etc/MACHINES says something about it.
1686 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1687 ### "System V Release 4"; he writes, "The old convention encouraged
1688 ### confusion between `system' and `release' levels'."
1690 machine
='' opsys
='' unported
=no
1691 case "${canonical}" in
1696 case "${canonical}" in
1697 alpha
*-*-freebsd*) machine
=alpha
;;
1698 i
[3456]86-*-freebsd*) machine
=intel386
;;
1705 if test -f /usr
/lib
/crti.o
; then
1707 cat >>confdefs.h
<<\_ACEOF
1713 case "${canonical}" in
1714 alpha
*-*-netbsd*) machine
=alpha
;;
1715 i
[3456]86-*-netbsd*) machine
=intel386
;;
1717 # This is somewhat bogus.
1718 machine
=hp9000s300
;;
1719 powerpc-apple-netbsd
*) machine
=macppc
;;
1720 mips-
*-netbsd*) machine
=pmax
;;
1721 mipsel-
*-netbsd*) machine
=pmax
;;
1722 mipseb-
*-netbsd*) machine
=pmax
;;
1723 ns32k-
*-netbsd*) machine
=ns32000
;;
1724 powerpc-
*-netbsd*) machine
=macppc
;;
1725 sparc
*-*-netbsd*) machine
=sparc
;;
1726 vax-
*-netbsd*) machine
=vax
;;
1727 arm-
*-netbsd*) machine
=arm
;;
1734 case "${canonical}" in
1735 alpha
*-*-openbsd*) machine
=alpha
;;
1736 i386-
*-openbsd*) machine
=intel386
;;
1737 m68k-
*-openbsd*) machine
=hp9000s300
;;
1738 mipsel-
*-openbsd*) machine
=pmax
;;
1739 ns32k-
*-openbsd*) machine
=ns32000
;;
1740 sparc-
*-openbsd*) machine
=sparc
;;
1741 vax-
*-openbsd*) machine
=vax
;;
1746 arm-acorn-riscix1.1
* )
1747 machine
=acorn opsys
=riscix1-1
1749 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1750 ## This name is riscix12 instead of riscix1.2
1751 ## to avoid a file name conflict on MSDOS.
1752 machine
=acorn opsys
=riscix12
1758 case "${canonical}" in
1759 i
[345]86-*-bsdi*) machine
=intel386
;;
1760 sparc-
*-bsdi*) machine
=sparc
;;
1761 powerpc-
*-bsdi*) machine
=macppc
;;
1763 case "${canonical}" in
1764 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1765 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1766 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1767 *-*-bsdi3* ) opsys
=bsdos3
;;
1768 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1773 ## Strictly speaking, we need the version of the alliant operating
1774 ## system to choose the right machine file, but currently the
1775 ## configuration name doesn't tell us enough to choose the right
1776 ## one; we need to give alliants their own operating system name to
1777 ## do this right. When someone cares, they can help us.
1779 machine
=alliant4 opsys
=bsd4-2
1782 machine
=alliant-2800 opsys
=bsd4-3
1785 ## Alpha (DEC) machines.
1787 machine
=alpha opsys
=osf1
1788 # This is needed to find X11R6.1 libraries for certain tests.
1789 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1790 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1791 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1792 # due to non-traditional preprocessing with the current compiler
1793 # defaults. OSF 4 can also have that compiler version, and there
1794 # seems always to have been a usable /usr/bin/cpp.
1795 NON_GNU_CPP
=/usr
/bin
/cpp
1796 case "${canonical}" in
1797 alpha
*-dec-osf[5-9]*)
1802 alpha
*-*-linux-gnu* )
1803 machine
=alpha opsys
=gnu-linux
1807 machine
=arm opsys
=gnu-linux
1812 machine
=macppc opsys
=gnu-linux
1817 machine
=altos opsys
=usg5-2
1822 machine
=amdahl opsys
=usg5-2-2
1825 ## Apollo, Domain/OS
1827 machine
=apollo opsys
=bsd4-3
1830 ## AT&T 3b2, 3b5, 3b15, 3b20
1832 machine
=att3b opsys
=usg5-2-2
1835 ## AT&T 3b1 - The Mighty Unix PC!
1837 machine
=7300 opsys
=usg5-2-2
1842 machine
=ibmrs6000 opsys
=aix3-2
1847 machine
=dpx2 opsys
=usg5-3
1852 machine
=sps7 opsys
=usg5-2
1855 ## CCI 5/32, 6/32 -- see "Tahoe".
1858 ## I don't know what configuration name to use for this; config.sub
1859 ## doesn't seem to know anything about it. Hey, Celerity users, get
1860 ## in touch with us!
1861 celerity-celerity-bsd
* )
1862 machine
=celerity opsys
=bsd4-2
1866 ## What operating systems does this chip run that Emacs has been
1870 ## We'll use the catch-all code at the bottom to guess the
1871 ## operating system.
1875 mips-compaq-nonstopux
* )
1876 machine
=nonstopux opsys
=nonstopux
1880 *-convex-bsd* |
*-convex-convexos* )
1881 machine
=convex opsys
=bsd4-3
1882 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1883 NON_GNU_CPP
="cc -E -P"
1887 i
[3456]86-cubix-sysv* )
1888 machine
=intel386 opsys
=usg5-3
1892 cydra
*-cydrome-sysv* )
1893 machine
=cydra5 opsys
=usg5-3
1896 ## Data General AViiON Machines
1897 ## DG changed naming conventions with the release of 5.4.4.10, they
1898 ## dropped the initial 5.4 but left the intervening R. Because of the
1899 ## R this shouldn't conflict with older versions of the OS (which I
1900 ## think were named like dgux4.*). In addition, DG new AViiONs series
1901 ## uses either Motorola M88k or Intel Pentium CPUs.
1902 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1903 machine
=aviion opsys
=dgux4
1905 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1906 ## This name is dgux5-4-3 instead of dgux5-4r3
1907 ## to avoid a file name conflict on MSDOS.
1908 machine
=aviion opsys
=dgux5-4-3
1910 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1911 machine
=aviion opsys
=dgux5-4r2
1914 machine
=aviion opsys
=dgux
1917 ## Data General AViiON Intel (x86) Machines
1918 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1919 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1920 i
[345]86-dg-dguxR4* )
1921 machine
=aviion-intel opsys
=dgux4
1925 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1926 machine
=pmax opsys
=bsd4-2
1928 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1929 machine
=pmax opsys
=bsd4-3
1932 machine
=pmax opsys
=ultrix4-3
1935 machine
=pmax opsys
=osf1
1937 mips-dec-mach_bsd4.3
* )
1938 machine
=pmax opsys
=mach-bsd4-3
1941 ## Motorola Delta machines
1942 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1943 machine
=delta opsys
=usg5-3
1944 if test -z "`type gnucc | grep 'not found'`"
1946 if test -s /etc
/167config
1947 then CC
="gnucc -m68040"
1948 else CC
="gnucc -m68881"
1951 if test -z "`type gcc | grep 'not found'`"
1957 m88k-motorola-sysv4
* )
1958 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1959 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1960 # I hope there are not other 4.0 versions for this machine
1961 # which really need usg5-4 instead.
1962 machine
=delta88k opsys
=usg5-4-2
1964 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1965 machine
=delta88k opsys
=usg5-3
1970 machine
=dual opsys
=usg5-2
1972 m68
*-dual-uniplus* )
1973 machine
=dual opsys
=unipl5-2
1978 machine
=elxsi opsys
=usg5-2
1983 machine
=ns16000 opsys
=umax
1986 ## The GEC 63 - apparently, this port isn't really finished yet.
1987 # I'm sure we finished off the last of the machines, though. -- fx
1989 ## Gould Power Node and NP1
1991 machine
=gould opsys
=bsd4-2
1994 machine
=gould opsys
=bsd4-3
1997 machine
=gould-np1 opsys
=bsd4-3
2000 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2001 ## as far as Emacs is concerned).
2003 # Build needs to be different on 7.0 and later releases
2004 case "`uname -r`" in
2005 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2006 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2008 NON_GNU_CPP
="/lib/cpp"
2010 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2012 machine
=nh3000 opsys
=cxux
2014 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2015 powerpc-harris-powerunix
)
2016 machine
=nh6000 opsys
=powerunix
2017 NON_GNU_CPP
="cc -Xo -E -P"
2019 ## SR2001/SR2201 running HI-UX/MPP
2020 hppa1.1
-hitachi-hiuxmpp* )
2021 machine
=sr2k opsys
=hiuxmpp
2023 hppa1.1
-hitachi-hiuxwe2* )
2024 machine
=sr2k opsys
=hiuxwe2
2027 xps
*-honeywell-sysv* )
2028 machine
=xps100 opsys
=usg5-2
2031 ## HP 9000 series 200 or 300
2033 machine
=hp9000s300 opsys
=bsd4-3
2035 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2037 case "`uname -r`" in
2038 ## Someone's system reports A.B8.05 for this.
2039 ## I wonder what other possibilities there are.
2040 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2041 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2042 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2043 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2044 *) machine
=hp9000s300 opsys
=hpux
;;
2048 ## HP 9000 series 700 and 800, running HP/UX
2050 machine
=hp800 opsys
=hpux
2053 machine
=hp800 opsys
=hpux8
2055 hppa
*-hp-hpux9shr* )
2056 machine
=hp800 opsys
=hpux9shr
2059 machine
=hp800 opsys
=hpux9
2061 hppa
*-hp-hpux10.2
* )
2062 machine
=hp800 opsys
=hpux10-20
2065 machine
=hp800 opsys
=hpux10
2067 hppa
*-hp-hpux1[1-9]* )
2068 machine
=hp800 opsys
=hpux11
2071 hppa
*-*-linux-gnu* )
2072 machine
=hp800 opsys
=gnu-linux
2075 ## HP 9000 series 700 and 800, running HP/UX
2077 ## Cross-compilation? Nah!
2078 case "`uname -r`" in
2079 ## Someone's system reports A.B8.05 for this.
2080 ## I wonder what other possibilities there are.
2081 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2082 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2083 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2084 *) machine
=hp800 opsys
=hpux10
;;
2088 machine
=hp800 opsys
=nextstep
2093 machine
=orion opsys
=bsd4-2
2095 clipper-orion-bsd
* )
2096 machine
=orion105 opsys
=bsd4-2
2100 i
[3456]86-ibm-aix1.1
* )
2101 machine
=ibmps2-aix opsys
=usg5-2-2
2103 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2104 machine
=ibmps2-aix opsys
=usg5-3
2107 machine
=ibm370aix opsys
=usg5-3
2110 machine
=ibms390 opsys
=gnu-linux
2112 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2113 machine
=ibmrs6000 opsys
=aix3-1
2115 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2116 machine
=ibmrs6000 opsys
=aix3-2-5
2118 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2119 machine
=ibmrs6000 opsys
=aix4-1
2121 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2122 machine
=ibmrs6000 opsys
=aix4-2
2124 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2125 machine
=ibmrs6000 opsys
=aix4-2
2127 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2128 machine
=ibmrs6000 opsys
=aix4
2130 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2131 machine
=ibmrs6000 opsys
=aix4-1
2133 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2134 machine
=ibmrs6000 opsys
=aix3-2
2137 machine
=ibmrt opsys
=bsd4-3
2140 machine
=ibmrt opsys
=bsd4-2
2143 machine
=ibmrt opsys
=bsd4-3
2146 machine
=ibmrt opsys
=bsd4-2
2149 machine
=ibmrt opsys
=bsd4-3
2152 machine
=ibmrt opsys
=bsd4-3
2155 machine
=ibmrt-aix opsys
=usg5-2-2
2158 ## Integrated Solutions `Optimum V'
2160 machine
=isi-ov opsys
=bsd4-2
2163 machine
=isi-ov opsys
=bsd4-3
2166 ## Intel 386 machines where we do care about the manufacturer
2167 i
[3456]86-intsys-sysv* )
2168 machine
=is386 opsys
=usg5-2-2
2172 i
[3456]86-prime-sysv* )
2173 machine
=i386 opsys
=usg5-3
2176 ## Sequent Symmetry running Dynix
2177 i
[3456]86-sequent-bsd* )
2178 machine
=symmetry opsys
=bsd4-3
2181 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2182 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2183 machine
=sequent-ptx opsys
=ptx4
2184 NON_GNU_CPP
=/lib
/cpp
2187 ## Sequent Symmetry running DYNIX/ptx
2188 ## Use the old cpp rather than the newer ANSI one.
2189 i
[3456]86-sequent-ptx* )
2190 machine
=sequent-ptx opsys
=ptx
2191 NON_GNU_CPP
="/lib/cpp"
2194 ## ncr machine running svr4.3.
2195 i
[3456]86-ncr-sysv4.3
)
2196 machine
=ncr386 opsys
=usg5-4-3
2199 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2200 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2201 i
[3456]86-ncr-sysv* )
2202 machine
=ncr386 opsys
=usg5-4-2
2205 ## Intel Paragon OSF/1
2207 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2212 machine
=i860 opsys
=usg5-4
2213 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2214 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2217 ## Macintosh PowerPC
2218 powerpc
*-*-linux-gnu* )
2219 machine
=macppc opsys
=gnu-linux
2222 ## Masscomp machines
2223 m68
*-masscomp-rtu* )
2224 machine
=masscomp opsys
=rtu
2227 ## Megatest machines
2228 m68
*-megatest-bsd* )
2229 machine
=mega68 opsys
=bsd4-2
2232 ## Workstations sold by MIPS
2233 ## This is not necessarily all workstations using the MIPS processor -
2234 ## Irises are produced by SGI, and DECstations by DEC.
2236 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2237 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2238 ## it gives for choosing between the alternatives seems to be "Use
2239 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2240 ## the BSD world." I'll assume that these are instructions for
2241 ## handling two odd situations, and that every other situation
2242 ## should use mips.h and usg5-2-2, they being listed first.
2245 ## Fall through to the general code at the bottom to decide on the OS.
2247 mips-mips-riscos4
* )
2248 machine
=mips4 opsys
=bsd4-3
2249 NON_GNU_CC
="cc -systype bsd43"
2250 NON_GNU_CPP
="cc -systype bsd43 -E"
2252 mips-mips-riscos5
* )
2253 machine
=mips4 opsys
=riscos5
2254 NON_GNU_CC
="cc -systype bsd43"
2255 NON_GNU_CPP
="cc -systype bsd43 -E"
2258 machine
=mips opsys
=bsd4-3
2261 machine
=mips opsys
=usg5-2-2
2265 m68
*-next-* | m68k-
*-nextstep* )
2266 machine
=m68k opsys
=nextstep
2269 ## The complete machine from National Semiconductor
2271 machine
=ns32000 opsys
=usg5-2
2275 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2276 machine
=tower32 opsys
=usg5-2-2
2278 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2279 machine
=tower32v3 opsys
=usg5-3
2284 machine
=ews4800 opsys
=ux4800
2287 ## Nixdorf Targon 31
2288 m68
*-nixdorf-sysv* )
2289 machine
=targon31 opsys
=usg5-2-2
2294 machine
=nu opsys
=usg5-2
2299 machine
=plexus opsys
=usg5-2
2303 ## I don't really have any idea what sort of processor the Pyramid has,
2304 ## so I'm assuming it is its own architecture.
2305 pyramid-pyramid-bsd
* )
2306 machine
=pyramid opsys
=bsd4-2
2310 ns32k-sequent-bsd4.2
* )
2311 machine
=sequent opsys
=bsd4-2
2313 ns32k-sequent-bsd4.3
* )
2314 machine
=sequent opsys
=bsd4-3
2318 mips-siemens-sysv
* | mips-sni-sysv
*)
2319 machine
=mips-siemens opsys
=usg5-4
2320 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2321 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2324 ## Silicon Graphics machines
2325 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2327 machine
=irist opsys
=iris3-5
2329 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2330 machine
=irist opsys
=iris3-6
2334 machine
=iris4d opsys
=irix3-3
2337 machine
=iris4d opsys
=irix4-0
2340 machine
=iris4d opsys
=irix6-5
2341 # Without defining _LANGUAGE_C, things get masked out in the headers
2342 # so that, for instance, grepping for `free' in stdlib.h fails and
2343 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2344 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2345 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2348 machine
=iris4d opsys
=irix6-0
2349 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2350 # but presumably it does no harm.
2351 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2352 # -32 probably isn't necessary in later v.6s -- anyone know which?
2353 NON_GCC_TEST_OPTIONS
=-32
2355 mips-sgi-irix5.
[01]* )
2356 machine
=iris4d opsys
=irix5-0
2358 mips-sgi-irix5
* | mips-sgi-irix
* )
2359 machine
=iris4d opsys
=irix5-2
2364 machine
=news opsys
=bsd4-2
2367 machine
=news opsys
=bsd4-3
2369 m68
*-sony-newsos3* | m68
*-sony-news3*)
2370 machine
=news opsys
=bsd4-3
2372 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2373 machine
=news-risc opsys
=bsd4-3
2375 mips-sony-newsos6
* )
2376 machine
=news-r6 opsys
=newsos6
2379 machine
=news-risc opsys
=newsos5
2384 machine
=stride opsys
=usg5-2
2388 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2389 machine
=sparc opsys
=gnu-linux
2392 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2393 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2394 | rs6000-
*-solaris2*)
2395 case "${canonical}" in
2396 m68
*-sunos1* ) machine
=sun1
;;
2397 m68
*-sunos2* ) machine
=sun2
;;
2398 m68
* ) machine
=sun3
;;
2399 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2400 i
[3456]86-*-* ) machine
=intel386
;;
2401 powerpcle
* ) machine
=powerpcle
;;
2402 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2403 sparc
* ) machine
=sparc
;;
2406 case "${canonical}" in
2407 ## The Sun386 didn't get past 4.0.
2408 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2409 *-sunos4.0
* ) opsys
=sunos4-0
;;
2410 *-sunos4.1.
[3-9]*noshare
)
2411 ## This name is sunos413 instead of sunos4-1-3
2412 ## to avoid a file name conflict on MSDOS.
2414 NON_GNU_CPP
=/usr
/lib
/cpp
2415 NON_GCC_TEST_OPTIONS
=-Bstatic
2416 GCC_TEST_OPTIONS
=-static
2418 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2420 NON_GNU_CPP
=/usr
/lib
/cpp
2422 *-sunos4* |
*-sunos )
2424 NON_GCC_TEST_OPTIONS
=-Bstatic
2425 GCC_TEST_OPTIONS
=-static
2427 *-sunos5.3
* |
*-solaris2.3
* )
2429 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2431 *-sunos5.4
* |
*-solaris2.4
* )
2433 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2436 *-sunos5.5
* |
*-solaris2.5
* )
2438 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2441 *-sunos5.6
* |
*-solaris2.6
* )
2443 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2446 *-sunos5* |
*-solaris* )
2448 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2452 ## Watch out for a compiler that we know will not work.
2453 case "${canonical}" in
2454 *-solaris* |
*-sunos5* )
2455 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2456 ## /usr/ucb/cc doesn't work;
2457 ## we should find some other compiler that does work.
2465 machine
=sparc opsys
=nextstep
2469 m68
*-tadpole-sysv* )
2470 machine
=tad68k opsys
=usg5-3
2474 tahoe-tahoe-bsd4.2
* )
2475 machine
=tahoe opsys
=bsd4-2
2477 tahoe-tahoe-bsd4.3
* )
2478 machine
=tahoe opsys
=bsd4-3
2481 ## Tandem Integrity S2
2483 machine
=tandem-s2 opsys
=usg5-3
2487 m88k-tektronix-sysv3
* )
2488 machine
=tekxd88 opsys
=usg5-3
2491 ## Tektronix 16000 box (6130?)
2492 ns16k-tektronix-bsd
* )
2493 machine
=ns16000 opsys
=bsd4-2
2496 ## src/m/tek4300.h hints that this is a m68k machine.
2497 m68
*-tektronix-bsd* )
2498 machine
=tek4300 opsys
=bsd4-3
2502 ## We seem to have lost the machine-description file titan.h!
2504 machine
=titan opsys
=usg5-3
2507 ## Ustation E30 (SS5E)
2508 m68
*-unisys-uniplus* )
2509 machine
=ustation opsystem
=unipl5-2
2515 case "${canonical}" in
2516 *-bsd4.1
* ) opsys
=bsd4-1
;;
2517 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2518 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2519 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2520 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2521 *-vms* ) opsys
=vms
;;
2527 ns16k-whitechapel-
* )
2529 ## We don't know what sort of OS runs on these; we'll let the
2530 ## operating system guessing code below try.
2535 machine
=wicat opsys
=usg5-2
2540 machine
=ia64 opsys
=gnu-linux
2543 ## Intel 386 machines where we don't care about the manufacturer
2546 case "${canonical}" in
2547 *-cygwin ) opsys
=cygwin
;;
2548 *-lynxos* ) opsys
=lynxos
;;
2549 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2550 *-isc2.2
* ) opsys
=isc2-2
;;
2551 *-isc4.0
* ) opsys
=isc4-0
;;
2552 *-isc4.
* ) opsys
=isc4-1
2553 GCC_TEST_OPTIONS
=-posix
2554 NON_GCC_TEST_OPTIONS
=-Xp
2556 *-isc* ) opsys
=isc3-0
;;
2557 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2558 *-esix* ) opsys
=esix
;;
2559 *-xenix* ) opsys
=xenix
;;
2560 *-linux-gnu* ) opsys
=gnu-linux
;;
2561 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2562 *-sco3.2v5
* ) opsys
=sco5
2563 NON_GNU_CPP
=/lib
/cpp
2564 # Prevent -belf from being passed to $CPP.
2565 # /lib/cpp does not accept it.
2566 OVERRIDE_CPPFLAGS
=" "
2568 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2569 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2570 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2571 *-386bsd* ) opsys
=386bsd
;;
2572 *-nextstep* ) opsys
=nextstep
;;
2573 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2577 ## m68k Linux-based GNU system
2579 machine
=m68k opsys
=gnu-linux
2582 ## Mips Linux-based GNU system
2583 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2584 machine
=mips opsys
=gnu-linux
2588 sparc-fujitsu-sysv4
* )
2589 machine
=sparc opsys
=uxpds
2590 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2595 f301-fujitsu-uxpv4.1
)
2596 machine
=f301 opsys
=uxpv
2599 ## Darwin / Mac OS X
2600 powerpc-apple-darwin
* )
2601 machine
=powermac opsys
=darwin
2602 # Define CPP as follows to make autoconf work correctly.
2603 CPP
="${CC-cc} -E -no-cpp-precomp"
2604 # Use fink packages if available.
2605 if test -d /sw
/include
&& test -d /sw
/lib
; then
2606 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2607 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2608 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2612 ## AMD x86-64 Linux-based GNU system
2613 x86_64-
*-linux-gnu* )
2614 machine
=amdx86-64 opsys
=gnu-linux
2622 ### If the code above didn't choose an operating system, just choose
2623 ### an operating system based on the configuration name. You really
2624 ### only want to use this when you have no idea what the right
2625 ### operating system is; if you know what operating systems a machine
2626 ### runs, it's cleaner to make it explicit in the case statement
2628 if test x
"${opsys}" = x
; then
2629 case "${canonical}" in
2630 *-gnu* ) opsys
=gnu
;;
2631 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2632 *-bsd4.2
) opsys
=bsd4-2
;;
2633 *-bsd4.3
) opsys
=bsd4-3
;;
2634 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2635 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2636 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2637 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2638 *-sysv4.2uw
* ) opsys
=unixware
;;
2639 *-sysv5uw* ) opsys
=unixware
;;
2640 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2641 *-sysv4.1
* |
*-sysvr4.1
* )
2642 NON_GNU_CPP
=/usr
/lib
/cpp
2644 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2645 if [ x
$NON_GNU_CPP = x
]; then
2646 if [ -f /usr
/ccs
/lib
/cpp
]; then
2647 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2649 NON_GNU_CPP
=/lib
/cpp
2653 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2662 if test $unported = yes; then
2663 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2664 Check \`etc/MACHINES' for recognized configuration names." >&5
2665 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2666 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2667 { (exit 1); exit 1; }; }
2670 machfile
="m/${machine}.h"
2671 opsysfile
="s/${opsys}.h"
2674 #### Choose a compiler.
2675 test -n "$CC" && cc_specified
=yes
2677 # Save the value of CFLAGS that the user specified.
2678 SPECIFIED_CFLAGS
="$CFLAGS"
2681 "yes" ) CC
="gcc" GCC
=yes ;;
2682 "no" ) : ${CC=cc} ;;
2686 ac_cpp
='$CPP $CPPFLAGS'
2687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2692 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2693 echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test -n "$CC"; then
2719 echo "$as_me:$LINENO: result: $CC" >&5
2720 echo "${ECHO_T}$CC" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2727 if test -z "$ac_cv_prog_CC"; then
2729 # Extract the first word of "gcc", so it can be a program name with args.
2730 set dummy gcc
; ac_word
=$2
2731 echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 if test -n "$ac_ct_CC"; then
2737 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir
=.
2744 for ac_exec_ext
in '' $ac_executable_extensions; do
2745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746 ac_cv_prog_ac_ct_CC
="gcc"
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2756 if test -n "$ac_ct_CC"; then
2757 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2758 echo "${ECHO_T}$ac_ct_CC" >&6
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2769 if test -z "$CC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2773 echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2775 if test "${ac_cv_prog_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC
="$CC" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$CC"; then
2799 echo "$as_me:$LINENO: result: $CC" >&5
2800 echo "${ECHO_T}$CC" >&6
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2807 if test -z "$ac_cv_prog_CC"; then
2809 # Extract the first word of "cc", so it can be a program name with args.
2810 set dummy cc
; ac_word
=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 if test -n "$ac_ct_CC"; then
2817 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_ac_ct_CC
="cc"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2836 if test -n "$ac_ct_CC"; then
2837 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2838 echo "${ECHO_T}$ac_ct_CC" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2850 if test -z "$CC"; then
2851 # Extract the first word of "cc", so it can be a program name with args.
2852 set dummy cc
; ac_word
=$2
2853 echo "$as_me:$LINENO: checking for $ac_word" >&5
2854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2855 if test "${ac_cv_prog_CC+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 if test -n "$CC"; then
2859 ac_cv_prog_CC
="$CC" # Let the user override the test.
2862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir
=.
2867 for ac_exec_ext
in '' $ac_executable_extensions; do
2868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2870 ac_prog_rejected
=yes
2874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test $ac_prog_rejected = yes; then
2881 # We found a bogon in the path, so make sure we never use it.
2882 set dummy
$ac_cv_prog_CC
2884 if test $# != 0; then
2885 # We chose a different compiler from the bogus one.
2886 # However, it has the same basename, so the bogon will be chosen
2887 # first if we set CC to just the basename; use the full file name.
2889 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2895 if test -n "$CC"; then
2896 echo "$as_me:$LINENO: result: $CC" >&5
2897 echo "${ECHO_T}$CC" >&6
2899 echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6
2904 if test -z "$CC"; then
2905 if test -n "$ac_tool_prefix"; then
2908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2909 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2912 if test "${ac_cv_prog_CC+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC
="$CC" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$CC"; then
2936 echo "$as_me:$LINENO: result: $CC" >&5
2937 echo "${ECHO_T}$CC" >&6
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2943 test -n "$CC" && break
2946 if test -z "$CC"; then
2950 # Extract the first word of "$ac_prog", so it can be a program name with args.
2951 set dummy
$ac_prog; ac_word
=$2
2952 echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2954 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 if test -n "$ac_ct_CC"; then
2958 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir
=.
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_ac_ct_CC
="$ac_prog"
2968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2977 if test -n "$ac_ct_CC"; then
2978 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2979 echo "${ECHO_T}$ac_ct_CC" >&6
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2985 test -n "$ac_ct_CC" && break
2994 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2995 See \`config.log' for more details." >&5
2996 echo "$as_me: error: no acceptable C compiler found in \$PATH
2997 See \`config.log' for more details." >&2;}
2998 { (exit 1); exit 1; }; }
3000 # Provide some information about the compiler.
3001 echo "$as_me:$LINENO:" \
3002 "checking for C compiler version" >&5
3003 ac_compiler
=`set X $ac_compile; echo $2`
3004 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3005 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }
3009 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3010 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }
3014 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3015 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }
3020 cat >conftest.
$ac_ext <<_ACEOF
3023 cat confdefs.h
>>conftest.
$ac_ext
3024 cat >>conftest.
$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3035 ac_clean_files_save
=$ac_clean_files
3036 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3037 # Try to create an executable without -o first, disregard a.out.
3038 # It will help us diagnose broken compilers, and finding out an intuition
3040 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3041 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3042 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3043 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3044 (eval $ac_link_default) 2>&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; then
3048 # Find the output, starting from the most likely. This scheme is
3049 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3052 # Be careful to initialize this variable, since it used to be cached.
3053 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3055 # b.out is created by i960 compilers.
3056 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3058 test -f "$ac_file" ||
continue
3060 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3063 # This is the source file.
3066 # We found the default executable, but exeext='' is most
3070 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3071 # FIXME: I believe we export ac_cv_exeext for Libtool,
3072 # but it would be cool to find out if it's true. Does anybody
3073 # maintain Libtool? --akim.
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.
$ac_ext >&5
3084 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3085 See \`config.log' for more details." >&5
3086 echo "$as_me: error: C compiler cannot create executables
3087 See \`config.log' for more details." >&2;}
3088 { (exit 77); exit 77; }; }
3091 ac_exeext
=$ac_cv_exeext
3092 echo "$as_me:$LINENO: result: $ac_file" >&5
3093 echo "${ECHO_T}$ac_file" >&6
3095 # Check the compiler produces executables we can run. If not, either
3096 # the compiler is broken, or we cross compile.
3097 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3098 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3099 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3100 # If not cross compiling, check that we can run a simple program.
3101 if test "$cross_compiling" != yes; then
3102 if { ac_try
='./$ac_file'
3103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; }; then
3110 if test "$cross_compiling" = maybe
; then
3113 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3114 If you meant to cross compile, use \`--host'.
3115 See \`config.log' for more details." >&5
3116 echo "$as_me: error: cannot run C compiled programs.
3117 If you meant to cross compile, use \`--host'.
3118 See \`config.log' for more details." >&2;}
3119 { (exit 1); exit 1; }; }
3123 echo "$as_me:$LINENO: result: yes" >&5
3124 echo "${ECHO_T}yes" >&6
3126 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3127 ac_clean_files
=$ac_clean_files_save
3128 # Check the compiler produces executables we can run. If not, either
3129 # the compiler is broken, or we cross compile.
3130 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3131 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3132 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3133 echo "${ECHO_T}$cross_compiling" >&6
3135 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3136 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3138 (eval $ac_link) 2>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; then
3142 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3143 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3144 # work properly (i.e., refer to `conftest.exe'), while it won't with
3146 for ac_file
in conftest.exe conftest conftest.
*; do
3147 test -f "$ac_file" ||
continue
3149 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3150 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3157 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3158 See \`config.log' for more details." >&5
3159 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3160 See \`config.log' for more details." >&2;}
3161 { (exit 1); exit 1; }; }
3164 rm -f conftest
$ac_cv_exeext
3165 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3166 echo "${ECHO_T}$ac_cv_exeext" >&6
3168 rm -f conftest.
$ac_ext
3169 EXEEXT
=$ac_cv_exeext
3171 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3172 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3173 if test "${ac_cv_objext+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 cat >conftest.
$ac_ext <<_ACEOF
3179 cat confdefs.h
>>conftest.
$ac_ext
3180 cat >>conftest.
$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.o conftest.obj
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; then
3197 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3200 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3205 echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.
$ac_ext >&5
3208 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3209 See \`config.log' for more details." >&5
3210 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3211 See \`config.log' for more details." >&2;}
3212 { (exit 1); exit 1; }; }
3215 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3217 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3218 echo "${ECHO_T}$ac_cv_objext" >&6
3219 OBJEXT
=$ac_cv_objext
3221 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3222 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3223 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 cat >conftest.
$ac_ext <<_ACEOF
3229 cat confdefs.h
>>conftest.
$ac_ext
3230 cat >>conftest.
$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3244 rm -f conftest.
$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>conftest.er1
3248 grep -v '^ *+' conftest.er1
>conftest.err
3250 cat conftest.err
>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; } &&
3259 { ac_try
='test -s conftest.$ac_objext'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; }; then
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.
$ac_ext >&5
3272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3273 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3276 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3277 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3278 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3279 ac_test_CFLAGS
=${CFLAGS+set}
3280 ac_save_CFLAGS
=$CFLAGS
3282 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3283 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3284 if test "${ac_cv_prog_cc_g+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3302 rm -f conftest.
$ac_objext
3303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3304 (eval $ac_compile) 2>conftest.er1
3306 grep -v '^ *+' conftest.er1
>conftest.err
3308 cat conftest.err
>&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } &&
3311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; } &&
3317 { ac_try
='test -s conftest.$ac_objext'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; }; then
3325 echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3332 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3333 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3334 if test "$ac_test_CFLAGS" = set; then
3335 CFLAGS
=$ac_save_CFLAGS
3336 elif test $ac_cv_prog_cc_g = yes; then
3337 if test "$GCC" = yes; then
3343 if test "$GCC" = yes; then
3349 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3350 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3351 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 ac_cv_prog_cc_stdc
=no
3356 cat >conftest.
$ac_ext <<_ACEOF
3359 cat confdefs.h
>>conftest.
$ac_ext
3360 cat >>conftest.
$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3364 #include <sys/types.h>
3365 #include <sys/stat.h>
3366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3367 struct buf { int x; };
3368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3369 static char *e (p, i)
3375 static char *f (char * (*g) (char **, int), char **p, ...)
3380 s = g (p, va_arg (v,int));
3385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3386 function prototypes and stuff, but not '\xHH' hex character constants.
3387 These don't provoke an error unfortunately, instead are silently treated
3388 as 'x'. The following induces an error, until -std1 is added to get
3389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3390 array size at least. It's necessary to write '\x00'==0 to get something
3391 that's true only with -std1. */
3392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3394 int test (int i, double x);
3395 struct s1 {int (*f) (int a);};
3396 struct s2 {int (*f) (double a);};
3397 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3403 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408 # Don't try gcc -ansi; that turns off useful extensions and
3409 # breaks some systems' header files.
3410 # AIX -qlanglvl=ansi
3411 # Ultrix and OSF/1 -std1
3412 # HP-UX 10.20 and later -Ae
3413 # HP-UX older versions -Aa -D_HPUX_SOURCE
3414 # SVR4 -Xc -D__EXTENSIONS__
3415 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3417 CC
="$ac_save_CC $ac_arg"
3418 rm -f conftest.
$ac_objext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; } &&
3433 { ac_try
='test -s conftest.$ac_objext'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 ac_cv_prog_cc_stdc
=$ac_arg
3442 echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.
$ac_ext >&5
3446 rm -f conftest.err conftest.
$ac_objext
3448 rm -f conftest.
$ac_ext conftest.
$ac_objext
3453 case "x$ac_cv_prog_cc_stdc" in
3455 echo "$as_me:$LINENO: result: none needed" >&5
3456 echo "${ECHO_T}none needed" >&6 ;;
3458 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3459 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3460 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3463 # Some people use a C++ compiler to compile C. Since we use `exit',
3464 # in C++ we need to declare it. In case someone uses the same compiler
3465 # for both compiling C and C++ we need to have the C++ compiler decide
3466 # the declaration of exit, since it's the most demanding environment.
3467 cat >conftest.
$ac_ext <<_ACEOF
3472 rm -f conftest.
$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3476 grep -v '^ *+' conftest.er1
>conftest.err
3478 cat conftest.err
>&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; } &&
3487 { ac_try
='test -s conftest.$ac_objext'
3488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); }; }; then
3493 for ac_declaration
in \
3495 'extern "C" void std::exit (int) throw (); using std::exit;' \
3496 'extern "C" void std::exit (int); using std::exit;' \
3497 'extern "C" void exit (int) throw ();' \
3498 'extern "C" void exit (int);' \
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3517 rm -f conftest.
$ac_objext
3518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3519 (eval $ac_compile) 2>conftest.er1
3521 grep -v '^ *+' conftest.er1
>conftest.err
3523 cat conftest.err
>&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } &&
3526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; } &&
3532 { ac_try
='test -s conftest.$ac_objext'
3533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.
$ac_ext >&5
3545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 cat >conftest.
$ac_ext <<_ACEOF
3549 cat confdefs.h
>>conftest.
$ac_ext
3550 cat >>conftest.
$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3561 rm -f conftest.
$ac_objext
3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>conftest.er1
3565 grep -v '^ *+' conftest.er1
>conftest.err
3567 cat conftest.err
>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } &&
3570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; } &&
3576 { ac_try
='test -s conftest.$ac_objext'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; }; then
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.
$ac_ext >&5
3588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3591 if test -n "$ac_declaration"; then
3592 echo '#ifdef __cplusplus' >>confdefs.h
3593 echo $ac_declaration >>confdefs.h
3594 echo '#endif' >>confdefs.h
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.
$ac_ext >&5
3602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 ac_cpp
='$CPP $CPPFLAGS'
3605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3610 # On Suns, sometimes $CPP names a directory.
3611 if test -n "$CPP" && test -d "$CPP"; then
3615 #### Some systems specify a CPP to use unless we are using GCC.
3616 #### Now that we know whether we are using GCC, we can decide whether
3617 #### to use that one.
3618 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3623 #### Some systems specify a CC to use unless we are using GCC.
3624 #### Now that we know whether we are using GCC, we can decide whether
3625 #### to use that one.
3626 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3627 test x
$cc_specified != xyes
3632 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3634 CC
="$CC $GCC_TEST_OPTIONS"
3637 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3639 CC
="$CC $NON_GCC_TEST_OPTIONS"
3642 #### Some other nice autoconf tests.
3644 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3645 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3647 if test "$LN_S" = "ln -s"; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3651 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3652 echo "${ECHO_T}no, using $LN_S" >&6
3656 ac_cpp
='$CPP $CPPFLAGS'
3657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3660 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3661 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3662 # On Suns, sometimes $CPP names a directory.
3663 if test -n "$CPP" && test -d "$CPP"; then
3666 if test -z "$CPP"; then
3667 if test "${ac_cv_prog_CPP+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 # Double quotes because CPP needs to be expanded
3671 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3674 for ac_c_preproc_warn_flag
in '' yes
3676 # Use a header file that comes with gcc, so configuring glibc
3677 # with a fresh cross-compiler works.
3678 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3679 # <limits.h> exists even on freestanding compilers.
3680 # On the NeXT, cc -E runs the code through the compiler's parser,
3681 # not just through cpp. "Syntax error" is here to catch this case.
3682 cat >conftest.
$ac_ext <<_ACEOF
3685 cat confdefs.h
>>conftest.
$ac_ext
3686 cat >>conftest.
$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3689 # include <limits.h>
3691 # include <assert.h>
3695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3696 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3698 grep -v '^ *+' conftest.er1
>conftest.err
3700 cat conftest.err
>&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } >/dev
/null
; then
3703 if test -s conftest.err
; then
3704 ac_cpp_err
=$ac_c_preproc_warn_flag
3705 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3712 if test -z "$ac_cpp_err"; then
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.
$ac_ext >&5
3718 # Broken: fails on valid input.
3721 rm -f conftest.err conftest.
$ac_ext
3723 # OK, works on sane cases. Now check whether non-existent headers
3724 # can be detected and how.
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 #include <ac_nonexistent.h>
3733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3736 grep -v '^ *+' conftest.er1
>conftest.err
3738 cat conftest.err
>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } >/dev
/null
; then
3741 if test -s conftest.err
; then
3742 ac_cpp_err
=$ac_c_preproc_warn_flag
3743 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3750 if test -z "$ac_cpp_err"; then
3751 # Broken: success on invalid input.
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.
$ac_ext >&5
3757 # Passes both tests.
3761 rm -f conftest.err conftest.
$ac_ext
3764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3765 rm -f conftest.err conftest.
$ac_ext
3766 if $ac_preproc_ok; then
3778 echo "$as_me:$LINENO: result: $CPP" >&5
3779 echo "${ECHO_T}$CPP" >&6
3781 for ac_c_preproc_warn_flag
in '' yes
3783 # Use a header file that comes with gcc, so configuring glibc
3784 # with a fresh cross-compiler works.
3785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3786 # <limits.h> exists even on freestanding compilers.
3787 # On the NeXT, cc -E runs the code through the compiler's parser,
3788 # not just through cpp. "Syntax error" is here to catch this case.
3789 cat >conftest.
$ac_ext <<_ACEOF
3792 cat confdefs.h
>>conftest.
$ac_ext
3793 cat >>conftest.
$ac_ext <<_ACEOF
3794 /* end confdefs.h. */
3796 # include <limits.h>
3798 # include <assert.h>
3802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3805 grep -v '^ *+' conftest.er1
>conftest.err
3807 cat conftest.err
>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } >/dev
/null
; then
3810 if test -s conftest.err
; then
3811 ac_cpp_err
=$ac_c_preproc_warn_flag
3812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3819 if test -z "$ac_cpp_err"; then
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 # Broken: fails on valid input.
3828 rm -f conftest.err conftest.
$ac_ext
3830 # OK, works on sane cases. Now check whether non-existent headers
3831 # can be detected and how.
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <ac_nonexistent.h>
3840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3843 grep -v '^ *+' conftest.er1
>conftest.err
3845 cat conftest.err
>&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } >/dev
/null
; then
3848 if test -s conftest.err
; then
3849 ac_cpp_err
=$ac_c_preproc_warn_flag
3850 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3857 if test -z "$ac_cpp_err"; then
3858 # Broken: success on invalid input.
3861 echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.
$ac_ext >&5
3864 # Passes both tests.
3868 rm -f conftest.err conftest.
$ac_ext
3871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3872 rm -f conftest.err conftest.
$ac_ext
3873 if $ac_preproc_ok; then
3876 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3877 See \`config.log' for more details." >&5
3878 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3879 See \`config.log' for more details." >&2;}
3880 { (exit 1); exit 1; }; }
3884 ac_cpp
='$CPP $CPPFLAGS'
3885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3889 # Find a good install program. We prefer a C program (faster),
3890 # so one script is as good as another. But avoid the broken or
3891 # incompatible versions:
3892 # SysV /etc/install, /usr/sbin/install
3893 # SunOS /usr/etc/install
3894 # IRIX /sbin/install
3896 # AmigaOS /C/install, which installs bootblocks on floppy discs
3897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3900 # OS/2's system install, which has a completely different semantic
3901 # ./install, which can be erroneously created by make from ./install.sh.
3902 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3903 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3904 if test -z "$INSTALL"; then
3905 if test "${ac_cv_path_install+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 # Account for people who put trailing slashes in PATH elements.
3915 .
/ | .
// |
/cC
/* | \
3916 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3917 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3920 # OSF1 and SCO ODT 3.0 have their own names for install.
3921 # Don't use installbsd from OSF since it installs stuff as root
3923 for ac_prog
in ginstall scoinst
install; do
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3926 if test $ac_prog = install &&
3927 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3928 # AIX install. It has an incompatible calling convention.
3930 elif test $ac_prog = install &&
3931 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3932 # program-specific install script used by HP pwplus--don't use.
3935 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3947 if test "${ac_cv_path_install+set}" = set; then
3948 INSTALL
=$ac_cv_path_install
3950 # As a last resort, use the slow shell script. We don't cache a
3951 # path for INSTALL within a source directory, because that will
3952 # break other packages using the cache if that directory is
3953 # removed, or if the path is relative.
3954 INSTALL
=$ac_install_sh
3957 echo "$as_me:$LINENO: result: $INSTALL" >&5
3958 echo "${ECHO_T}$INSTALL" >&6
3960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3961 # It thinks the first close brace ends the variable substitution.
3962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3966 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3968 if test "x$RANLIB" = x
; then
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_RANLIB+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if test -n "$RANLIB"; then
3978 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 RANLIB
=$ac_cv_prog_RANLIB
3997 if test -n "$RANLIB"; then
3998 echo "$as_me:$LINENO: result: $RANLIB" >&5
3999 echo "${ECHO_T}$RANLIB" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4006 if test -z "$ac_cv_prog_RANLIB"; then
4007 ac_ct_RANLIB
=$RANLIB
4008 # Extract the first word of "ranlib", so it can be a program name with args.
4009 set dummy ranlib
; ac_word
=$2
4010 echo "$as_me:$LINENO: checking for $ac_word" >&5
4011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4012 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test -n "$ac_ct_RANLIB"; then
4016 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4035 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4036 if test -n "$ac_ct_RANLIB"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4038 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4044 RANLIB
=$ac_ct_RANLIB
4046 RANLIB
="$ac_cv_prog_RANLIB"
4050 # Extract the first word of "install-info", so it can be a program name with args.
4051 set dummy install-info
; ac_word
=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 case $INSTALL_INFO in
4059 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir
=.
4067 for ac_exec_ext
in '' $ac_executable_extensions; do
4068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4069 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4079 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4081 if test -n "$INSTALL_INFO"; then
4082 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4083 echo "${ECHO_T}$INSTALL_INFO" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4089 # Extract the first word of "install-info", so it can be a program name with args.
4090 set dummy install-info
; ac_word
=$2
4091 echo "$as_me:$LINENO: checking for $ac_word" >&5
4092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4093 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 case $INSTALL_INFO in
4098 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4102 for as_dir
in /usr
/sbin
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4120 if test -n "$INSTALL_INFO"; then
4121 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4122 echo "${ECHO_T}$INSTALL_INFO" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4128 # Extract the first word of "install-info", so it can be a program name with args.
4129 set dummy install-info
; ac_word
=$2
4130 echo "$as_me:$LINENO: checking for $ac_word" >&5
4131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4132 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 case $INSTALL_INFO in
4137 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir
=.
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4147 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4158 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4160 if test -n "$INSTALL_INFO"; then
4161 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4162 echo "${ECHO_T}$INSTALL_INFO" >&6
4164 echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6
4170 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4172 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4175 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4177 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4181 late_LDFLAGS
=$LDFLAGS
4182 if test "$GCC" = yes; then
4183 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4185 LDFLAGS
="$LDFLAGS -znocombreloc"
4188 echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4189 echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 rm -f conftest.
$ac_objext conftest
$ac_exeext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196 (eval $ac_link) 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; } &&
4209 { ac_try
='test -s conftest$ac_exeext'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; }; then
4215 echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4221 LDFLAGS
=$late_LDFLAGS
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4225 rm -f conftest.err conftest.
$ac_objext \
4226 conftest
$ac_exeext conftest.
$ac_ext
4229 echo "$as_me:$LINENO: checking for egrep" >&5
4230 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4231 if test "${ac_cv_prog_egrep+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4235 then ac_cv_prog_egrep
='grep -E'
4236 else ac_cv_prog_egrep
='egrep'
4239 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4240 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4241 EGREP
=$ac_cv_prog_egrep
4245 echo "$as_me:$LINENO: checking for AIX" >&5
4246 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4259 $EGREP "yes" >/dev
/null
2>&1; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 cat >>confdefs.h
<<\_ACEOF
4263 #define _ALL_SOURCE 1
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4275 #### Extract some information from the operating system and machine files.
4277 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4278 - which libraries the lib-src programs will want, and
4279 - whether the GNU malloc routines are usable..." >&5
4280 echo "$as_me: checking the machine- and system-dependent files to find out
4281 - which libraries the lib-src programs will want, and
4282 - whether the GNU malloc routines are usable..." >&6;}
4284 ### First figure out CFLAGS (which we use for running the compiler here)
4285 ### and REAL_CFLAGS (which we use for real compilation).
4286 ### The two are the same except on a few systems, where they are made
4287 ### different to work around various lossages. For example,
4288 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4289 ### as implying static linking.
4291 ### If the CFLAGS env var is specified, we use that value
4292 ### instead of the default.
4294 ### It's not important that this name contain the PID; you can't run
4295 ### two configures in the same directory and have anything work
4297 tempcname
="conftest.c"
4300 #include "'${srcdir}'/src/'${opsysfile}'"
4301 #include "'${srcdir}'/src/'${machfile}'"
4302 #ifndef LIBS_MACHINE
4303 #define LIBS_MACHINE
4308 #ifndef C_SWITCH_SYSTEM
4309 #define C_SWITCH_SYSTEM
4311 #ifndef C_SWITCH_MACHINE
4312 #define C_SWITCH_MACHINE
4314 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4315 configure___ c_switch_system=C_SWITCH_SYSTEM
4316 configure___ c_switch_machine=C_SWITCH_MACHINE
4319 #define LIB_X11_LIB -lX11
4322 #ifndef LIBX11_MACHINE
4323 #define LIBX11_MACHINE
4326 #ifndef LIBX11_SYSTEM
4327 #define LIBX11_SYSTEM
4329 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4332 configure___ unexec=UNEXEC
4334 configure___ unexec=unexec.o
4337 #ifdef SYSTEM_MALLOC
4338 configure___ system_malloc=yes
4340 configure___ system_malloc=no
4343 #ifdef USE_MMAP_FOR_BUFFERS
4344 configure___ use_mmap_for_buffers=yes
4346 configure___ use_mmap_for_buffers=no
4349 #ifndef C_DEBUG_SWITCH
4350 #define C_DEBUG_SWITCH -g
4353 #ifndef C_OPTIMIZE_SWITCH
4355 #define C_OPTIMIZE_SWITCH -O2
4357 #define C_OPTIMIZE_SWITCH -O
4361 #ifndef LD_SWITCH_MACHINE
4362 #define LD_SWITCH_MACHINE
4365 #ifndef LD_SWITCH_SYSTEM
4366 #define LD_SWITCH_SYSTEM
4369 #ifndef LD_SWITCH_X_SITE_AUX
4370 #define LD_SWITCH_X_SITE_AUX
4373 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4374 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4376 #ifdef THIS_IS_CONFIGURE
4378 /* Get the CFLAGS for tests in configure. */
4380 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4382 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4385 #else /* not THIS_IS_CONFIGURE */
4387 /* Get the CFLAGS for real compilation. */
4389 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4391 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4394 #endif /* not THIS_IS_CONFIGURE */
4397 # The value of CPP is a quoted variable reference, so we need to do this
4398 # to get its actual value...
4399 CPP
=`eval "echo $CPP"`
4400 eval `${CPP} -Isrc ${tempcname} \
4401 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4402 if test "x$SPECIFIED_CFLAGS" = x
; then
4403 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4404 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4406 REAL_CFLAGS
="$CFLAGS"
4410 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4412 ### Make sure subsequent tests use flags consistent with the build flags.
4414 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4415 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4417 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4423 cat >>confdefs.h
<<\_ACEOF
4424 #define _GNU_SOURCE 1
4429 # Check whether --enable-largefile or --disable-largefile was given.
4430 if test "${enable_largefile+set}" = set; then
4431 enableval
="$enable_largefile"
4434 if test "$enable_largefile" != no
; then
4436 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4437 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4438 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 ac_cv_sys_largefile_CC
=no
4442 if test "$GCC" != yes; then
4445 # IRIX 6.2 and later do not support large files by default,
4446 # so use the C compiler's -n32 option if that helps.
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4453 #include <sys/types.h>
4454 /* Check that off_t can represent 2**63 - 1 correctly.
4455 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4456 since some C++ compilers masquerading as C compilers
4457 incorrectly reject 9223372036854775807. */
4458 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4459 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4460 && LARGE_OFF_T % 2147483647 == 1)
4470 rm -f conftest.
$ac_objext
4471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4472 (eval $ac_compile) 2>conftest.er1
4474 grep -v '^ *+' conftest.er1
>conftest.err
4476 cat conftest.err
>&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); } &&
4479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; } &&
4485 { ac_try
='test -s conftest.$ac_objext'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; }; then
4493 echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.
$ac_ext >&5
4497 rm -f conftest.err conftest.
$ac_objext
4499 rm -f conftest.
$ac_objext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501 (eval $ac_compile) 2>conftest.er1
4503 grep -v '^ *+' conftest.er1
>conftest.err
4505 cat conftest.err
>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; } &&
4514 { ac_try
='test -s conftest.$ac_objext'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 ac_cv_sys_largefile_CC
=' -n32'; break
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.
$ac_ext >&5
4526 rm -f conftest.err conftest.
$ac_objext
4530 rm -f conftest.
$ac_ext
4533 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4534 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4535 if test "$ac_cv_sys_largefile_CC" != no
; then
4536 CC
=$CC$ac_cv_sys_largefile_CC
4539 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4540 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4541 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 ac_cv_sys_file_offset_bits
=no
4546 cat >conftest.
$ac_ext <<_ACEOF
4549 cat confdefs.h
>>conftest.
$ac_ext
4550 cat >>conftest.
$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4552 #include <sys/types.h>
4553 /* Check that off_t can represent 2**63 - 1 correctly.
4554 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4555 since some C++ compilers masquerading as C compilers
4556 incorrectly reject 9223372036854775807. */
4557 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4558 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4559 && LARGE_OFF_T % 2147483647 == 1)
4569 rm -f conftest.
$ac_objext
4570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4571 (eval $ac_compile) 2>conftest.er1
4573 grep -v '^ *+' conftest.er1
>conftest.err
4575 cat conftest.err
>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; } &&
4584 { ac_try
='test -s conftest.$ac_objext'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.
$ac_ext >&5
4596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4597 cat >conftest.
$ac_ext <<_ACEOF
4600 cat confdefs.h
>>conftest.
$ac_ext
4601 cat >>conftest.
$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4603 #define _FILE_OFFSET_BITS 64
4604 #include <sys/types.h>
4605 /* Check that off_t can represent 2**63 - 1 correctly.
4606 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4607 since some C++ compilers masquerading as C compilers
4608 incorrectly reject 9223372036854775807. */
4609 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4610 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4611 && LARGE_OFF_T % 2147483647 == 1)
4621 rm -f conftest.
$ac_objext
4622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4623 (eval $ac_compile) 2>conftest.er1
4625 grep -v '^ *+' conftest.er1
>conftest.err
4627 cat conftest.err
>&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
4630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try
='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_cv_sys_file_offset_bits
=64; break
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4652 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4653 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4654 if test "$ac_cv_sys_file_offset_bits" != no
; then
4656 cat >>confdefs.h
<<_ACEOF
4657 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4662 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4663 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4664 if test "${ac_cv_sys_large_files+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 ac_cv_sys_large_files
=no
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 #include <sys/types.h>
4676 /* Check that off_t can represent 2**63 - 1 correctly.
4677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4678 since some C++ compilers masquerading as C compilers
4679 incorrectly reject 9223372036854775807. */
4680 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4682 && LARGE_OFF_T % 2147483647 == 1)
4692 rm -f conftest.
$ac_objext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4694 (eval $ac_compile) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1
>conftest.err
4698 cat conftest.err
>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } &&
4701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; } &&
4707 { ac_try
='test -s conftest.$ac_objext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4720 cat >conftest.
$ac_ext <<_ACEOF
4723 cat confdefs.h
>>conftest.
$ac_ext
4724 cat >>conftest.
$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #define _LARGE_FILES 1
4727 #include <sys/types.h>
4728 /* Check that off_t can represent 2**63 - 1 correctly.
4729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4730 since some C++ compilers masquerading as C compilers
4731 incorrectly reject 9223372036854775807. */
4732 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4734 && LARGE_OFF_T % 2147483647 == 1)
4744 rm -f conftest.
$ac_objext
4745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4746 (eval $ac_compile) 2>conftest.er1
4748 grep -v '^ *+' conftest.er1
>conftest.err
4750 cat conftest.err
>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } &&
4753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; } &&
4759 { ac_try
='test -s conftest.$ac_objext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 ac_cv_sys_large_files
=1; break
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4775 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4776 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4777 if test "$ac_cv_sys_large_files" != no
; then
4779 cat >>confdefs.h
<<_ACEOF
4780 #define _LARGE_FILES $ac_cv_sys_large_files
4788 if test "${with_sound}" != "no"; then
4789 # Sound support for GNU/Linux and the free BSDs.
4790 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4791 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4792 if test "${ac_cv_header_stdc+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 cat >conftest.
$ac_ext <<_ACEOF
4798 cat confdefs.h
>>conftest.
$ac_ext
4799 cat >>conftest.
$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4814 rm -f conftest.
$ac_objext
4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4816 (eval $ac_compile) 2>conftest.er1
4818 grep -v '^ *+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } &&
4823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; } &&
4829 { ac_try
='test -s conftest.$ac_objext'
4830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); }; }; then
4835 ac_cv_header_stdc
=yes
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.
$ac_ext >&5
4840 ac_cv_header_stdc
=no
4842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4844 if test $ac_cv_header_stdc = yes; then
4845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4846 cat >conftest.
$ac_ext <<_ACEOF
4849 cat confdefs.h
>>conftest.
$ac_ext
4850 cat >>conftest.
$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4856 $EGREP "memchr" >/dev
/null
2>&1; then
4859 ac_cv_header_stdc
=no
4865 if test $ac_cv_header_stdc = yes; then
4866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4867 cat >conftest.
$ac_ext <<_ACEOF
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4877 $EGREP "free" >/dev
/null
2>&1; then
4880 ac_cv_header_stdc
=no
4886 if test $ac_cv_header_stdc = yes; then
4887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4888 if test "$cross_compiling" = yes; then
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4898 #if ((' ' & 0x0FF) == 0x020)
4899 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4900 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4902 # define ISLOWER(c) \
4903 (('a' <= (c) && (c) <= 'i') \
4904 || ('j' <= (c) && (c) <= 'r') \
4905 || ('s' <= (c) && (c) <= 'z'))
4906 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4914 for (i = 0; i < 256; i++)
4915 if (XOR (islower (i), ISLOWER (i))
4916 || toupper (i) != TOUPPER (i))
4921 rm -f conftest
$ac_exeext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4923 (eval $ac_link) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4934 echo "$as_me: program exited with status $ac_status" >&5
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.
$ac_ext >&5
4939 ac_cv_header_stdc
=no
4941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4945 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4946 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4947 if test $ac_cv_header_stdc = yes; then
4949 cat >>confdefs.h
<<\_ACEOF
4950 #define STDC_HEADERS 1
4955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4965 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4966 inttypes.h stdint.h unistd.h
4968 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4969 echo "$as_me:$LINENO: checking for $ac_header" >&5
4970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 cat >conftest.
$ac_ext <<_ACEOF
4977 cat confdefs.h
>>conftest.
$ac_ext
4978 cat >>conftest.
$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4980 $ac_includes_default
4982 #include <$ac_header>
4984 rm -f conftest.
$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986 (eval $ac_compile) 2>conftest.er1
4988 grep -v '^ *+' conftest.er1
>conftest.err
4990 cat conftest.err
>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try
='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 eval "$as_ac_Header=yes"
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.
$ac_ext >&5
5010 eval "$as_ac_Header=no"
5012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5017 cat >>confdefs.h
<<_ACEOF
5018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5029 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5033 echo "$as_me:$LINENO: checking for $ac_header" >&5
5034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5041 # Is the header compilable?
5042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5044 cat >conftest.
$ac_ext <<_ACEOF
5047 cat confdefs.h
>>conftest.
$ac_ext
5048 cat >>conftest.
$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 $ac_includes_default
5051 #include <$ac_header>
5053 rm -f conftest.
$ac_objext
5054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5055 (eval $ac_compile) 2>conftest.er1
5057 grep -v '^ *+' conftest.er1
>conftest.err
5059 cat conftest.err
>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } &&
5062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; } &&
5068 { ac_try
='test -s conftest.$ac_objext'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; }; then
5074 ac_header_compiler
=yes
5076 echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.
$ac_ext >&5
5079 ac_header_compiler
=no
5081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5083 echo "${ECHO_T}$ac_header_compiler" >&6
5085 # Is the header present?
5086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5088 cat >conftest.
$ac_ext <<_ACEOF
5091 cat confdefs.h
>>conftest.
$ac_ext
5092 cat >>conftest.
$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5094 #include <$ac_header>
5096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5099 grep -v '^ *+' conftest.er1
>conftest.err
5101 cat conftest.err
>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } >/dev
/null
; then
5104 if test -s conftest.err
; then
5105 ac_cpp_err
=$ac_c_preproc_warn_flag
5106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5113 if test -z "$ac_cpp_err"; then
5114 ac_header_preproc
=yes
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.
$ac_ext >&5
5119 ac_header_preproc
=no
5121 rm -f conftest.err conftest.
$ac_ext
5122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5123 echo "${ECHO_T}$ac_header_preproc" >&6
5125 # So? What about this header?
5126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5132 ac_header_preproc
=yes
5135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5149 ## ------------------------------------------ ##
5150 ## Report this to the AC_PACKAGE_NAME lists. ##
5151 ## ------------------------------------------ ##
5154 sed "s/^/$as_me: WARNING: /" >&2
5157 echo "$as_me:$LINENO: checking for $ac_header" >&5
5158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 eval "$as_ac_Header=\$ac_header_preproc"
5164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5169 cat >>confdefs.h
<<_ACEOF
5170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5177 # Emulation library used on NetBSD.
5178 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5179 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5180 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 ac_check_lib_save_LIBS
=$LIBS
5184 LIBS
="-lossaudio $LIBS"
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5192 /* Override any gcc2 internal prototype to avoid an error. */
5196 /* We use char because int might match the return type of a gcc2
5197 builtin and then its argument prototype would still apply. */
5207 rm -f conftest.
$ac_objext conftest
$ac_exeext
5208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5209 (eval $ac_link) 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } &&
5216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try
='test -s conftest$ac_exeext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_lib_ossaudio__oss_ioctl
=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 ac_cv_lib_ossaudio__oss_ioctl
=no
5235 rm -f conftest.err conftest.
$ac_objext \
5236 conftest
$ac_exeext conftest.
$ac_ext
5237 LIBS
=$ac_check_lib_save_LIBS
5239 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5240 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5241 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5273 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5274 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5275 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5276 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h
5278 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5280 echo "$as_me:$LINENO: checking for $ac_header" >&5
5281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5288 # Is the header compilable?
5289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 $ac_includes_default
5298 #include <$ac_header>
5300 rm -f conftest.
$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try
='test -s conftest.$ac_objext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 ac_header_compiler
=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 ac_header_compiler
=no
5328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5330 echo "${ECHO_T}$ac_header_compiler" >&6
5332 # Is the header present?
5333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5335 cat >conftest.
$ac_ext <<_ACEOF
5338 cat confdefs.h
>>conftest.
$ac_ext
5339 cat >>conftest.
$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 #include <$ac_header>
5343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5346 grep -v '^ *+' conftest.er1
>conftest.err
5348 cat conftest.err
>&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev
/null
; then
5351 if test -s conftest.err
; then
5352 ac_cpp_err
=$ac_c_preproc_warn_flag
5353 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5360 if test -z "$ac_cpp_err"; then
5361 ac_header_preproc
=yes
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.
$ac_ext >&5
5366 ac_header_preproc
=no
5368 rm -f conftest.err conftest.
$ac_ext
5369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5370 echo "${ECHO_T}$ac_header_preproc" >&6
5372 # So? What about this header?
5373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5379 ac_header_preproc
=yes
5382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5396 ## ------------------------------------------ ##
5397 ## Report this to the AC_PACKAGE_NAME lists. ##
5398 ## ------------------------------------------ ##
5401 sed "s/^/$as_me: WARNING: /" >&2
5404 echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 eval "$as_ac_Header=\$ac_header_preproc"
5411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5416 cat >>confdefs.h
<<_ACEOF
5417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5425 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5426 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 #include <sys/personality.h>
5437 personality (PER_LINUX32)
5442 rm -f conftest.
$ac_objext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5444 (eval $ac_compile) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try
='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 emacs_cv_personality_linux32
=yes
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.
$ac_ext >&5
5468 emacs_cv_personality_linux32
=no
5470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5471 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5472 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5474 if test $emacs_cv_personality_linux32 = yes; then
5476 cat >>confdefs.h
<<\_ACEOF
5477 #define HAVE_PERSONALITY_LINUX32 1
5483 for ac_header
in term.h
5485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5486 echo "$as_me:$LINENO: checking for $ac_header" >&5
5487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 cat >conftest.
$ac_ext <<_ACEOF
5494 cat confdefs.h
>>conftest.
$ac_ext
5495 cat >>conftest.
$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 #include <$ac_header>
5499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5502 grep -v '^ *+' conftest.er1
>conftest.err
5504 cat conftest.err
>&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } >/dev
/null
; then
5507 if test -s conftest.err
; then
5508 ac_cpp_err
=$ac_c_preproc_warn_flag
5509 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5516 if test -z "$ac_cpp_err"; then
5517 eval "$as_ac_Header=yes"
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.
$ac_ext >&5
5522 eval "$as_ac_Header=no"
5524 rm -f conftest.err conftest.
$ac_ext
5526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5529 cat >>confdefs.h
<<_ACEOF
5530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5537 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5538 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5539 if test "${ac_cv_header_stdc+set}" = set; then
5540 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 cat >conftest.
$ac_ext <<_ACEOF
5545 cat confdefs.h
>>conftest.
$ac_ext
5546 cat >>conftest.
$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5561 rm -f conftest.
$ac_objext
5562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5563 (eval $ac_compile) 2>conftest.er1
5565 grep -v '^ *+' conftest.er1
>conftest.err
5567 cat conftest.err
>&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } &&
5570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; } &&
5576 { ac_try
='test -s conftest.$ac_objext'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; }; then
5582 ac_cv_header_stdc
=yes
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.
$ac_ext >&5
5587 ac_cv_header_stdc
=no
5589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5591 if test $ac_cv_header_stdc = yes; then
5592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5603 $EGREP "memchr" >/dev
/null
2>&1; then
5606 ac_cv_header_stdc
=no
5612 if test $ac_cv_header_stdc = yes; then
5613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5624 $EGREP "free" >/dev
/null
2>&1; then
5627 ac_cv_header_stdc
=no
5633 if test $ac_cv_header_stdc = yes; then
5634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5635 if test "$cross_compiling" = yes; then
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 #if ((' ' & 0x0FF) == 0x020)
5646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5649 # define ISLOWER(c) \
5650 (('a' <= (c) && (c) <= 'i') \
5651 || ('j' <= (c) && (c) <= 'r') \
5652 || ('s' <= (c) && (c) <= 'z'))
5653 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5656 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5661 for (i = 0; i < 256; i++)
5662 if (XOR (islower (i), ISLOWER (i))
5663 || toupper (i) != TOUPPER (i))
5668 rm -f conftest
$ac_exeext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5670 (eval $ac_link) 2>&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5681 echo "$as_me: program exited with status $ac_status" >&5
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5686 ac_cv_header_stdc
=no
5688 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5692 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5693 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5694 if test $ac_cv_header_stdc = yes; then
5696 cat >>confdefs.h
<<\_ACEOF
5697 #define STDC_HEADERS 1
5702 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5703 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5704 if test "${ac_cv_header_time+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 #include <sys/types.h>
5714 #include <sys/time.h>
5720 if ((struct tm *) 0)
5726 rm -f conftest.
$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; } &&
5741 { ac_try
='test -s conftest.$ac_objext'
5742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }; }; then
5747 ac_cv_header_time
=yes
5749 echo "$as_me: failed program was:" >&5
5750 sed 's/^/| /' conftest.
$ac_ext >&5
5752 ac_cv_header_time
=no
5754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5756 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5757 echo "${ECHO_T}$ac_cv_header_time" >&6
5758 if test $ac_cv_header_time = yes; then
5760 cat >>confdefs.h
<<\_ACEOF
5761 #define TIME_WITH_SYS_TIME 1
5766 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5767 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5768 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 cat >conftest.
$ac_ext <<_ACEOF
5774 cat confdefs.h
>>conftest.
$ac_ext
5775 cat >>conftest.
$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5777 $ac_includes_default
5782 char *p = (char *) sys_siglist;
5789 rm -f conftest.
$ac_objext
5790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5791 (eval $ac_compile) 2>conftest.er1
5793 grep -v '^ *+' conftest.er1
>conftest.err
5795 cat conftest.err
>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } &&
5798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; } &&
5804 { ac_try
='test -s conftest.$ac_objext'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; }; then
5810 ac_cv_have_decl_sys_siglist
=yes
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.
$ac_ext >&5
5815 ac_cv_have_decl_sys_siglist
=no
5817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5819 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5820 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5821 if test $ac_cv_have_decl_sys_siglist = yes; then
5823 cat >>confdefs.h
<<_ACEOF
5824 #define HAVE_DECL_SYS_SIGLIST 1
5829 cat >>confdefs.h
<<_ACEOF
5830 #define HAVE_DECL_SYS_SIGLIST 0
5837 if test $ac_cv_have_decl_sys_siglist != yes; then
5838 # For Tru64, at least:
5839 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5840 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5841 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 $ac_includes_default
5854 #ifndef __sys_siglist
5855 char *p = (char *) __sys_siglist;
5862 rm -f conftest.
$ac_objext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864 (eval $ac_compile) 2>conftest.er1
5866 grep -v '^ *+' conftest.er1
>conftest.err
5868 cat conftest.err
>&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; } &&
5877 { ac_try
='test -s conftest.$ac_objext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_cv_have_decl___sys_siglist
=yes
5885 echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.
$ac_ext >&5
5888 ac_cv_have_decl___sys_siglist
=no
5890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5892 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5893 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5894 if test $ac_cv_have_decl___sys_siglist = yes; then
5896 cat >>confdefs.h
<<_ACEOF
5897 #define HAVE_DECL___SYS_SIGLIST 1
5902 cat >>confdefs.h
<<_ACEOF
5903 #define HAVE_DECL___SYS_SIGLIST 0
5910 if test $ac_cv_have_decl___sys_siglist = yes; then
5912 cat >>confdefs.h
<<\_ACEOF
5913 #define sys_siglist __sys_siglist
5918 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5919 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5920 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 cat >conftest.
$ac_ext <<_ACEOF
5926 cat confdefs.h
>>conftest.
$ac_ext
5927 cat >>conftest.
$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5929 #include <sys/types.h>
5930 #include <sys/wait.h>
5932 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5935 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5943 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5948 rm -f conftest.
$ac_objext
5949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5950 (eval $ac_compile) 2>conftest.er1
5952 grep -v '^ *+' conftest.er1
>conftest.err
5954 cat conftest.err
>&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } &&
5957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; } &&
5963 { ac_try
='test -s conftest.$ac_objext'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; }; then
5969 ac_cv_header_sys_wait_h
=yes
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5974 ac_cv_header_sys_wait_h
=no
5976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5979 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5980 if test $ac_cv_header_sys_wait_h = yes; then
5982 cat >>confdefs.h
<<\_ACEOF
5983 #define HAVE_SYS_WAIT_H 1
5989 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
5990 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
5991 if test "${emacs_cv_struct_utimbuf+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 cat >conftest.
$ac_ext <<_ACEOF
5997 cat confdefs.h
>>conftest.
$ac_ext
5998 cat >>conftest.
$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6000 #ifdef TIME_WITH_SYS_TIME
6001 #include <sys/time.h>
6004 #ifdef HAVE_SYS_TIME_H
6005 #include <sys/time.h>
6016 static struct utimbuf x; x.actime = x.modtime;
6021 rm -f conftest.
$ac_objext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6023 (eval $ac_compile) 2>conftest.er1
6025 grep -v '^ *+' conftest.er1
>conftest.err
6027 cat conftest.err
>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } &&
6030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); }; } &&
6036 { ac_try
='test -s conftest.$ac_objext'
6037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); }; }; then
6042 emacs_cv_struct_utimbuf
=yes
6044 echo "$as_me: failed program was:" >&5
6045 sed 's/^/| /' conftest.
$ac_ext >&5
6047 emacs_cv_struct_utimbuf
=no
6049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6051 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6052 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6053 if test $emacs_cv_struct_utimbuf = yes; then
6055 cat >>confdefs.h
<<\_ACEOF
6056 #define HAVE_STRUCT_UTIMBUF 1
6061 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6062 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6063 if test "${ac_cv_type_signal+set}" = set; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 cat >conftest.
$ac_ext <<_ACEOF
6069 cat confdefs.h
>>conftest.
$ac_ext
6070 cat >>conftest.
$ac_ext <<_ACEOF
6071 /* end confdefs.h. */
6072 #include <sys/types.h>
6078 extern "C" void (*signal (int, void (*)(int)))(int);
6080 void (*signal ()) ();
6091 rm -f conftest.
$ac_objext
6092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6093 (eval $ac_compile) 2>conftest.er1
6095 grep -v '^ *+' conftest.er1
>conftest.err
6097 cat conftest.err
>&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } &&
6100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try
='test -s conftest.$ac_objext'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6112 ac_cv_type_signal
=void
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6117 ac_cv_type_signal
=int
6119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6122 echo "${ECHO_T}$ac_cv_type_signal" >&6
6124 cat >>confdefs.h
<<_ACEOF
6125 #define RETSIGTYPE $ac_cv_type_signal
6130 echo "$as_me:$LINENO: checking for speed_t" >&5
6131 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6132 if test "${emacs_cv_speed_t+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 cat >conftest.
$ac_ext <<_ACEOF
6138 cat confdefs.h
>>conftest.
$ac_ext
6139 cat >>conftest.
$ac_ext <<_ACEOF
6140 /* end confdefs.h. */
6141 #include <termios.h>
6150 rm -f conftest.
$ac_objext
6151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6152 (eval $ac_compile) 2>conftest.er1
6154 grep -v '^ *+' conftest.er1
>conftest.err
6156 cat conftest.err
>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } &&
6159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); }; } &&
6165 { ac_try
='test -s conftest.$ac_objext'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 emacs_cv_speed_t
=yes
6173 echo "$as_me: failed program was:" >&5
6174 sed 's/^/| /' conftest.
$ac_ext >&5
6178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6180 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6181 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6182 if test $emacs_cv_speed_t = yes; then
6184 cat >>confdefs.h
<<\_ACEOF
6185 #define HAVE_SPEED_T 1
6190 echo "$as_me:$LINENO: checking for struct timeval" >&5
6191 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6192 if test "${emacs_cv_struct_timeval+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 #ifdef TIME_WITH_SYS_TIME
6202 #include <sys/time.h>
6205 #ifdef HAVE_SYS_TIME_H
6206 #include <sys/time.h>
6214 static struct timeval x; x.tv_sec = x.tv_usec;
6219 rm -f conftest.
$ac_objext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221 (eval $ac_compile) 2>conftest.er1
6223 grep -v '^ *+' conftest.er1
>conftest.err
6225 cat conftest.err
>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; } &&
6234 { ac_try
='test -s conftest.$ac_objext'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; }; then
6240 emacs_cv_struct_timeval
=yes
6242 echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.
$ac_ext >&5
6245 emacs_cv_struct_timeval
=no
6247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6249 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6250 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6251 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6252 if test $emacs_cv_struct_timeval = yes; then
6254 cat >>confdefs.h
<<\_ACEOF
6255 #define HAVE_TIMEVAL 1
6260 echo "$as_me:$LINENO: checking for struct exception" >&5
6261 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6262 if test "${emacs_cv_struct_exception+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6275 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6280 rm -f conftest.
$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282 (eval $ac_compile) 2>conftest.er1
6284 grep -v '^ *+' conftest.er1
>conftest.err
6286 cat conftest.err
>&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); } &&
6289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }; } &&
6295 { ac_try
='test -s conftest.$ac_objext'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }; then
6301 emacs_cv_struct_exception
=yes
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.
$ac_ext >&5
6306 emacs_cv_struct_exception
=no
6308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6310 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6311 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6312 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6313 if test $emacs_cv_struct_exception != yes; then
6315 cat >>confdefs.h
<<\_ACEOF
6316 #define NO_MATHERR 1
6322 for ac_header
in sys
/socket.h
6324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6326 echo "$as_me:$LINENO: checking for $ac_header" >&5
6327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6334 # Is the header compilable?
6335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6337 cat >conftest.
$ac_ext <<_ACEOF
6340 cat confdefs.h
>>conftest.
$ac_ext
6341 cat >>conftest.
$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6343 $ac_includes_default
6344 #include <$ac_header>
6346 rm -f conftest.
$ac_objext
6347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6348 (eval $ac_compile) 2>conftest.er1
6350 grep -v '^ *+' conftest.er1
>conftest.err
6352 cat conftest.err
>&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); } &&
6355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; } &&
6361 { ac_try
='test -s conftest.$ac_objext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6367 ac_header_compiler
=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.
$ac_ext >&5
6372 ac_header_compiler
=no
6374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6376 echo "${ECHO_T}$ac_header_compiler" >&6
6378 # Is the header present?
6379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6381 cat >conftest.
$ac_ext <<_ACEOF
6384 cat confdefs.h
>>conftest.
$ac_ext
6385 cat >>conftest.
$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6387 #include <$ac_header>
6389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6392 grep -v '^ *+' conftest.er1
>conftest.err
6394 cat conftest.err
>&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } >/dev
/null
; then
6397 if test -s conftest.err
; then
6398 ac_cpp_err
=$ac_c_preproc_warn_flag
6399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6406 if test -z "$ac_cpp_err"; then
6407 ac_header_preproc
=yes
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.
$ac_ext >&5
6412 ac_header_preproc
=no
6414 rm -f conftest.err conftest.
$ac_ext
6415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6416 echo "${ECHO_T}$ac_header_preproc" >&6
6418 # So? What about this header?
6419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6425 ac_header_preproc
=yes
6428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6442 ## ------------------------------------------ ##
6443 ## Report this to the AC_PACKAGE_NAME lists. ##
6444 ## ------------------------------------------ ##
6447 sed "s/^/$as_me: WARNING: /" >&2
6450 echo "$as_me:$LINENO: checking for $ac_header" >&5
6451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 eval "$as_ac_Header=\$ac_header_preproc"
6457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6462 cat >>confdefs.h
<<_ACEOF
6463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6471 for ac_header
in net
/if.h
6473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_header" >&5
6475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 $ac_includes_default
6486 #if HAVE_SYS_SOCKET_H
6487 #include <sys/socket.h>
6490 #include <$ac_header>
6492 rm -f conftest.
$ac_objext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6494 (eval $ac_compile) 2>conftest.er1
6496 grep -v '^ *+' conftest.er1
>conftest.err
6498 cat conftest.err
>&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } &&
6501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; } &&
6507 { ac_try
='test -s conftest.$ac_objext'
6508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); }; }; then
6513 eval "$as_ac_Header=yes"
6515 echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.
$ac_ext >&5
6518 eval "$as_ac_Header=no"
6520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6525 cat >>confdefs.h
<<_ACEOF
6526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6534 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6535 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6536 if test "${ac_cv_struct_tm+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 cat >conftest.
$ac_ext <<_ACEOF
6542 cat confdefs.h
>>conftest.
$ac_ext
6543 cat >>conftest.
$ac_ext <<_ACEOF
6544 /* end confdefs.h. */
6545 #include <sys/types.h>
6551 struct tm *tp; tp->tm_sec;
6556 rm -f conftest.
$ac_objext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6558 (eval $ac_compile) 2>conftest.er1
6560 grep -v '^ *+' conftest.er1
>conftest.err
6562 cat conftest.err
>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } &&
6565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try
='test -s conftest.$ac_objext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_cv_struct_tm
=time.h
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.
$ac_ext >&5
6582 ac_cv_struct_tm
=sys
/time.h
6584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6586 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6587 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6588 if test $ac_cv_struct_tm = sys
/time.h
; then
6590 cat >>confdefs.h
<<\_ACEOF
6591 #define TM_IN_SYS_TIME 1
6596 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6597 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6598 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 cat >conftest.
$ac_ext <<_ACEOF
6604 cat confdefs.h
>>conftest.
$ac_ext
6605 cat >>conftest.
$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6607 #include <sys/types.h>
6608 #include <$ac_cv_struct_tm>
6614 static struct tm ac_aggr;
6615 if (ac_aggr.tm_zone)
6621 rm -f conftest.
$ac_objext
6622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6623 (eval $ac_compile) 2>conftest.er1
6625 grep -v '^ *+' conftest.er1
>conftest.err
6627 cat conftest.err
>&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } &&
6630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); }; } &&
6636 { ac_try
='test -s conftest.$ac_objext'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then
6642 ac_cv_member_struct_tm_tm_zone
=yes
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.
$ac_ext >&5
6647 cat >conftest.
$ac_ext <<_ACEOF
6650 cat confdefs.h
>>conftest.
$ac_ext
6651 cat >>conftest.
$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 #include <sys/types.h>
6654 #include <$ac_cv_struct_tm>
6660 static struct tm ac_aggr;
6661 if (sizeof ac_aggr.tm_zone)
6667 rm -f conftest.
$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669 (eval $ac_compile) 2>conftest.er1
6671 grep -v '^ *+' conftest.er1
>conftest.err
6673 cat conftest.err
>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try
='test -s conftest.$ac_objext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_member_struct_tm_tm_zone
=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_member_struct_tm_tm_zone
=no
6695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6699 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6700 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6701 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6703 cat >>confdefs.h
<<_ACEOF
6704 #define HAVE_STRUCT_TM_TM_ZONE 1
6710 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6712 cat >>confdefs.h
<<\_ACEOF
6713 #define HAVE_TM_ZONE 1
6717 echo "$as_me:$LINENO: checking for tzname" >&5
6718 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6719 if test "${ac_cv_var_tzname+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 cat >conftest.
$ac_ext <<_ACEOF
6725 cat confdefs.h
>>conftest.
$ac_ext
6726 cat >>conftest.
$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6729 #ifndef tzname /* For SGI. */
6730 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6741 rm -f conftest.
$ac_objext conftest
$ac_exeext
6742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6743 (eval $ac_link) 2>conftest.er1
6745 grep -v '^ *+' conftest.er1
>conftest.err
6747 cat conftest.err
>&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); } &&
6750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; } &&
6756 { ac_try
='test -s conftest$ac_exeext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 ac_cv_var_tzname
=yes
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.
$ac_ext >&5
6769 rm -f conftest.err conftest.
$ac_objext \
6770 conftest
$ac_exeext conftest.
$ac_ext
6772 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6773 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6774 if test $ac_cv_var_tzname = yes; then
6776 cat >>confdefs.h
<<\_ACEOF
6777 #define HAVE_TZNAME 1
6783 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6784 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6785 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 cat >conftest.
$ac_ext <<_ACEOF
6791 cat confdefs.h
>>conftest.
$ac_ext
6792 cat >>conftest.
$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6799 static struct tm ac_aggr;
6800 if (ac_aggr.tm_gmtoff)
6806 rm -f conftest.
$ac_objext
6807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 (eval $ac_compile) 2>conftest.er1
6810 grep -v '^ *+' conftest.er1
>conftest.err
6812 cat conftest.err
>&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); } &&
6815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; } &&
6821 { ac_try
='test -s conftest.$ac_objext'
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; }; then
6827 ac_cv_member_struct_tm_tm_gmtoff
=yes
6829 echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.
$ac_ext >&5
6832 cat >conftest.
$ac_ext <<_ACEOF
6835 cat confdefs.h
>>conftest.
$ac_ext
6836 cat >>conftest.
$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6843 static struct tm ac_aggr;
6844 if (sizeof ac_aggr.tm_gmtoff)
6850 rm -f conftest.
$ac_objext
6851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6852 (eval $ac_compile) 2>conftest.er1
6854 grep -v '^ *+' conftest.er1
>conftest.err
6856 cat conftest.err
>&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } &&
6859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; } &&
6865 { ac_try
='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_cv_member_struct_tm_tm_gmtoff
=yes
6873 echo "$as_me: failed program was:" >&5
6874 sed 's/^/| /' conftest.
$ac_ext >&5
6876 ac_cv_member_struct_tm_tm_gmtoff
=no
6878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6882 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6883 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6884 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6886 cat >>confdefs.h
<<\_ACEOF
6887 #define HAVE_TM_GMTOFF 1
6892 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6893 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6894 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6895 echo $ECHO_N "(cached) $ECHO_C" >&6
6897 cat >conftest.
$ac_ext <<_ACEOF
6900 cat confdefs.h
>>conftest.
$ac_ext
6901 cat >>conftest.
$ac_ext <<_ACEOF
6902 /* end confdefs.h. */
6903 $ac_includes_default
6904 #if HAVE_SYS_SOCKET_H
6905 #include <sys/socket.h>
6914 static struct ifreq ac_aggr;
6915 if (ac_aggr.ifr_flags)
6921 rm -f conftest.
$ac_objext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6923 (eval $ac_compile) 2>conftest.er1
6925 grep -v '^ *+' conftest.er1
>conftest.err
6927 cat conftest.err
>&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } &&
6930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; } &&
6936 { ac_try
='test -s conftest.$ac_objext'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; }; then
6942 ac_cv_member_struct_ifreq_ifr_flags
=yes
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.
$ac_ext >&5
6947 cat >conftest.
$ac_ext <<_ACEOF
6950 cat confdefs.h
>>conftest.
$ac_ext
6951 cat >>conftest.
$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6953 $ac_includes_default
6954 #if HAVE_SYS_SOCKET_H
6955 #include <sys/socket.h>
6964 static struct ifreq ac_aggr;
6965 if (sizeof ac_aggr.ifr_flags)
6971 rm -f conftest.
$ac_objext
6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 (eval $ac_compile) 2>conftest.er1
6975 grep -v '^ *+' conftest.er1
>conftest.err
6977 cat conftest.err
>&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } &&
6980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; } &&
6986 { ac_try
='test -s conftest.$ac_objext'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_member_struct_ifreq_ifr_flags
=yes
6994 echo "$as_me: failed program was:" >&5
6995 sed 's/^/| /' conftest.
$ac_ext >&5
6997 ac_cv_member_struct_ifreq_ifr_flags
=no
6999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7003 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7004 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
7005 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7007 cat >>confdefs.h
<<_ACEOF
7008 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7013 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7014 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7015 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 cat >conftest.
$ac_ext <<_ACEOF
7021 cat confdefs.h
>>conftest.
$ac_ext
7022 cat >>conftest.
$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7024 $ac_includes_default
7025 #if HAVE_SYS_SOCKET_H
7026 #include <sys/socket.h>
7035 static struct ifreq ac_aggr;
7036 if (ac_aggr.ifr_hwaddr)
7042 rm -f conftest.
$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>conftest.er1
7046 grep -v '^ *+' conftest.er1
>conftest.err
7048 cat conftest.err
>&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try
='test -s conftest.$ac_objext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7063 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7068 cat >conftest.
$ac_ext <<_ACEOF
7071 cat confdefs.h
>>conftest.
$ac_ext
7072 cat >>conftest.
$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 $ac_includes_default
7075 #if HAVE_SYS_SOCKET_H
7076 #include <sys/socket.h>
7085 static struct ifreq ac_aggr;
7086 if (sizeof ac_aggr.ifr_hwaddr)
7092 rm -f conftest.
$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7096 grep -v '^ *+' conftest.er1
>conftest.err
7098 cat conftest.err
>&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try
='test -s conftest.$ac_objext'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; }; then
7113 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.
$ac_ext >&5
7118 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7124 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7125 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7126 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7128 cat >>confdefs.h
<<_ACEOF
7129 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7134 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7135 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7136 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 cat >conftest.
$ac_ext <<_ACEOF
7142 cat confdefs.h
>>conftest.
$ac_ext
7143 cat >>conftest.
$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7145 $ac_includes_default
7146 #if HAVE_SYS_SOCKET_H
7147 #include <sys/socket.h>
7156 static struct ifreq ac_aggr;
7157 if (ac_aggr.ifr_netmask)
7163 rm -f conftest.
$ac_objext
7164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7165 (eval $ac_compile) 2>conftest.er1
7167 grep -v '^ *+' conftest.er1
>conftest.err
7169 cat conftest.err
>&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } &&
7172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; } &&
7178 { ac_try
='test -s conftest.$ac_objext'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; }; then
7184 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.
$ac_ext >&5
7189 cat >conftest.
$ac_ext <<_ACEOF
7192 cat confdefs.h
>>conftest.
$ac_ext
7193 cat >>conftest.
$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7195 $ac_includes_default
7196 #if HAVE_SYS_SOCKET_H
7197 #include <sys/socket.h>
7206 static struct ifreq ac_aggr;
7207 if (sizeof ac_aggr.ifr_netmask)
7213 rm -f conftest.
$ac_objext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7215 (eval $ac_compile) 2>conftest.er1
7217 grep -v '^ *+' conftest.er1
>conftest.err
7219 cat conftest.err
>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }; } &&
7228 { ac_try
='test -s conftest.$ac_objext'
7229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); }; }; then
7234 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7236 echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.
$ac_ext >&5
7239 ac_cv_member_struct_ifreq_ifr_netmask
=no
7241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7245 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7246 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7247 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7249 cat >>confdefs.h
<<_ACEOF
7250 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7255 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7256 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7257 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7258 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 cat >conftest.
$ac_ext <<_ACEOF
7263 cat confdefs.h
>>conftest.
$ac_ext
7264 cat >>conftest.
$ac_ext <<_ACEOF
7265 /* end confdefs.h. */
7266 $ac_includes_default
7267 #if HAVE_SYS_SOCKET_H
7268 #include <sys/socket.h>
7277 static struct ifreq ac_aggr;
7278 if (ac_aggr.ifr_broadaddr)
7284 rm -f conftest.
$ac_objext
7285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7286 (eval $ac_compile) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; } &&
7299 { ac_try
='test -s conftest.$ac_objext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.
$ac_ext >&5
7310 cat >conftest.
$ac_ext <<_ACEOF
7313 cat confdefs.h
>>conftest.
$ac_ext
7314 cat >>conftest.
$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 $ac_includes_default
7317 #if HAVE_SYS_SOCKET_H
7318 #include <sys/socket.h>
7327 static struct ifreq ac_aggr;
7328 if (sizeof ac_aggr.ifr_broadaddr)
7334 rm -f conftest.
$ac_objext
7335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7336 (eval $ac_compile) 2>conftest.er1
7338 grep -v '^ *+' conftest.er1
>conftest.err
7340 cat conftest.err
>&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } &&
7343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; } &&
7349 { ac_try
='test -s conftest.$ac_objext'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; }; then
7355 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7357 echo "$as_me: failed program was:" >&5
7358 sed 's/^/| /' conftest.
$ac_ext >&5
7360 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7366 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7367 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7368 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7370 cat >>confdefs.h
<<_ACEOF
7371 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7376 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7377 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7378 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 cat >conftest.
$ac_ext <<_ACEOF
7384 cat confdefs.h
>>conftest.
$ac_ext
7385 cat >>conftest.
$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 $ac_includes_default
7388 #if HAVE_SYS_SOCKET_H
7389 #include <sys/socket.h>
7398 static struct ifreq ac_aggr;
7399 if (ac_aggr.ifr_addr)
7405 rm -f conftest.
$ac_objext
7406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7407 (eval $ac_compile) 2>conftest.er1
7409 grep -v '^ *+' conftest.er1
>conftest.err
7411 cat conftest.err
>&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } &&
7414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }; } &&
7420 { ac_try
='test -s conftest.$ac_objext'
7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; }; then
7426 ac_cv_member_struct_ifreq_ifr_addr
=yes
7428 echo "$as_me: failed program was:" >&5
7429 sed 's/^/| /' conftest.
$ac_ext >&5
7431 cat >conftest.
$ac_ext <<_ACEOF
7434 cat confdefs.h
>>conftest.
$ac_ext
7435 cat >>conftest.
$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 $ac_includes_default
7438 #if HAVE_SYS_SOCKET_H
7439 #include <sys/socket.h>
7448 static struct ifreq ac_aggr;
7449 if (sizeof ac_aggr.ifr_addr)
7455 rm -f conftest.
$ac_objext
7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7457 (eval $ac_compile) 2>conftest.er1
7459 grep -v '^ *+' conftest.er1
>conftest.err
7461 cat conftest.err
>&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } &&
7464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try
='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_member_struct_ifreq_ifr_addr
=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7481 ac_cv_member_struct_ifreq_ifr_addr
=no
7483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7487 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7488 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7489 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7491 cat >>confdefs.h
<<_ACEOF
7492 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7500 echo "$as_me:$LINENO: checking for function prototypes" >&5
7501 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7502 if test "$ac_cv_prog_cc_stdc" != no
; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 cat >>confdefs.h
<<\_ACEOF
7507 #define PROTOTYPES 1
7511 cat >>confdefs.h
<<\_ACEOF
7512 #define __PROTOTYPES 1
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7520 echo "$as_me:$LINENO: checking for working volatile" >&5
7521 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7522 if test "${ac_cv_c_volatile+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 cat >conftest.
$ac_ext <<_ACEOF
7528 cat confdefs.h
>>conftest.
$ac_ext
7529 cat >>conftest.
$ac_ext <<_ACEOF
7530 /* end confdefs.h. */
7542 rm -f conftest.
$ac_objext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7544 (eval $ac_compile) 2>conftest.er1
7546 grep -v '^ *+' conftest.er1
>conftest.err
7548 cat conftest.err
>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); }; } &&
7557 { ac_try
='test -s conftest.$ac_objext'
7558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); }; }; then
7563 ac_cv_c_volatile
=yes
7565 echo "$as_me: failed program was:" >&5
7566 sed 's/^/| /' conftest.
$ac_ext >&5
7570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7572 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7573 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7574 if test $ac_cv_c_volatile = no
; then
7576 cat >>confdefs.h
<<\_ACEOF
7582 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7583 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7584 if test "${ac_cv_c_const+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 cat >conftest.
$ac_ext <<_ACEOF
7590 cat confdefs.h
>>conftest.
$ac_ext
7591 cat >>conftest.
$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7597 /* FIXME: Include the comments suggested by Paul. */
7599 /* Ultrix mips cc rejects this. */
7600 typedef int charset[2];
7602 /* SunOS 4.1.1 cc rejects this. */
7603 char const *const *ccp;
7605 /* NEC SVR4.0.2 mips cc rejects this. */
7606 struct point {int x, y;};
7607 static struct point const zero = {0,0};
7608 /* AIX XL C 1.02.0.0 rejects this.
7609 It does not let you subtract one const X* pointer from another in
7610 an arm of an if-expression whose if-part is not a constant
7612 const char *g = "string";
7613 ccp = &g + (g ? g-g : 0);
7614 /* HPUX 7.0 cc rejects these. */
7617 ccp = (char const *const *) p;
7618 { /* SCO 3.2v4 cc rejects this. */
7620 char const *s = 0 ? (char *) 0 : (char const *) 0;
7624 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7626 const int *foo = &x[0];
7629 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7630 typedef const int *iptr;
7634 { /* AIX XL C 1.02.0.0 rejects this saying
7635 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7636 struct s { int j; const int *ap[3]; };
7637 struct s *b; b->j = 5;
7639 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7648 rm -f conftest.
$ac_objext
7649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7650 (eval $ac_compile) 2>conftest.er1
7652 grep -v '^ *+' conftest.er1
>conftest.err
7654 cat conftest.err
>&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } &&
7657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; } &&
7663 { ac_try
='test -s conftest.$ac_objext'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); }; }; then
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.
$ac_ext >&5
7676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7678 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7679 echo "${ECHO_T}$ac_cv_c_const" >&6
7680 if test $ac_cv_c_const = no
; then
7682 cat >>confdefs.h
<<\_ACEOF
7688 echo "$as_me:$LINENO: checking for void * support" >&5
7689 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7690 if test "${emacs_cv_void_star+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7708 rm -f conftest.
$ac_objext
7709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7710 (eval $ac_compile) 2>conftest.er1
7712 grep -v '^ *+' conftest.er1
>conftest.err
7714 cat conftest.err
>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } &&
7717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } &&
7723 { ac_try
='test -s conftest.$ac_objext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then
7729 emacs_cv_void_star
=yes
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7734 emacs_cv_void_star
=no
7736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7738 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7739 echo "${ECHO_T}$emacs_cv_void_star" >&6
7740 if test $emacs_cv_void_star = yes; then
7741 cat >>confdefs.h
<<\_ACEOF
7742 #define POINTER_TYPE void
7746 cat >>confdefs.h
<<\_ACEOF
7747 #define POINTER_TYPE char
7756 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7757 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7758 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7759 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 cat >conftest.
make <<\_ACEOF
7764 @
echo 'ac_maketemp="$(MAKE)"'
7766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7767 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7768 if test -n "$ac_maketemp"; then
7769 eval ac_cv_prog_make_
${ac_make}_set
=yes
7771 eval ac_cv_prog_make_
${ac_make}_set
=no
7775 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7782 SET_MAKE
="MAKE=${MAKE-make}"
7786 echo "$as_me:$LINENO: checking for long file names" >&5
7787 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7788 if test "${ac_cv_sys_long_file_names+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 ac_cv_sys_long_file_names
=yes
7792 # Test for long file names in all the places we know might matter:
7793 # . the current directory, where building will happen
7794 # $prefix/lib where we will be installing things
7795 # $exec_prefix/lib likewise
7796 # eval it to expand exec_prefix.
7797 # $TMPDIR if set, where it might want to write temporary files
7798 # if $TMPDIR is not set:
7799 # /tmp where it might want to write temporary files
7802 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7805 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7807 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7808 test -d $ac_dir ||
continue
7809 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7810 ac_xdir
=$ac_dir/cf$$
7811 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7812 ac_tf1
=$ac_xdir/conftest9012345
7813 ac_tf2
=$ac_xdir/conftest9012346
7814 (echo 1 >$ac_tf1) 2>/dev
/null
7815 (echo 2 >$ac_tf2) 2>/dev
/null
7816 ac_val
=`cat $ac_tf1 2>/dev/null`
7817 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7818 ac_cv_sys_long_file_names
=no
7819 rm -rf $ac_xdir 2>/dev
/null
7822 rm -rf $ac_xdir 2>/dev
/null
7825 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7826 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7827 if test $ac_cv_sys_long_file_names = yes; then
7829 cat >>confdefs.h
<<\_ACEOF
7830 #define HAVE_LONG_FILE_NAMES 1
7836 #### Choose a window system.
7838 echo "$as_me:$LINENO: checking for X" >&5
7839 echo $ECHO_N "checking for X... $ECHO_C" >&6
7841 ac_path_x_has_been_run
=yes
7843 # Check whether --with-x or --without-x was given.
7844 if test "${with_x+set}" = set; then
7848 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7849 if test "x$with_x" = xno
; then
7850 # The user explicitly disabled X.
7853 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7854 # Both variables are already set.
7857 if test "${ac_cv_have_x+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 # One or both of the vars are not set, and there is no cached value.
7861 ac_x_includes
=no ac_x_libraries
=no
7863 if mkdir conftest.dir
; then
7865 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7866 cat >Imakefile
<<'_ACEOF'
7868 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7870 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7871 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7872 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7874 for ac_extension
in a so sl
; do
7875 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7876 test -f $ac_im_libdir/libX11.
$ac_extension; then
7877 ac_im_usrlibdir
=$ac_im_libdir; break
7880 # Screen out bogus values from the imake configuration. They are
7881 # bogus both because they are the default anyway, and because
7882 # using them would break gcc on systems where it needs fixed includes.
7883 case $ac_im_incroot in
7885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7887 case $ac_im_usrlibdir in
7889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7896 # Standard set of common directories for X headers.
7897 # Check X11 before X11Rn because it is often a symlink to the current release.
7909 /usr/local/X11/include
7910 /usr/local/X11R6/include
7911 /usr/local/X11R5/include
7912 /usr/local/X11R4/include
7914 /usr/local/include/X11
7915 /usr/local/include/X11R6
7916 /usr/local/include/X11R5
7917 /usr/local/include/X11R4
7921 /usr/XFree86/include/X11
7925 /usr/unsupported/include
7927 /usr/local/x11r5/include
7928 /usr/lpp/Xamples/include
7930 /usr/openwin/include
7931 /usr/openwin/share/include'
7933 if test "$ac_x_includes" = no
; then
7934 # Guess where to find include files, by looking for a specified header file.
7935 # First, try using that file with no special directory specified.
7936 cat >conftest.
$ac_ext <<_ACEOF
7939 cat confdefs.h
>>conftest.
$ac_ext
7940 cat >>conftest.
$ac_ext <<_ACEOF
7941 /* end confdefs.h. */
7942 #include <X11/Intrinsic.h>
7944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7947 grep -v '^ *+' conftest.er1
>conftest.err
7949 cat conftest.err
>&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } >/dev
/null
; then
7952 if test -s conftest.err
; then
7953 ac_cpp_err
=$ac_c_preproc_warn_flag
7954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7961 if test -z "$ac_cpp_err"; then
7962 # We can compile using X headers with no special include directory.
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.
$ac_ext >&5
7968 for ac_dir
in $ac_x_header_dirs; do
7969 if test -r "$ac_dir/X11/Intrinsic.h"; then
7970 ac_x_includes
=$ac_dir
7975 rm -f conftest.err conftest.
$ac_ext
7976 fi # $ac_x_includes = no
7978 if test "$ac_x_libraries" = no
; then
7979 # Check for the libraries.
7980 # See if we find them without any special options.
7981 # Don't add to $LIBS permanently.
7984 cat >conftest.
$ac_ext <<_ACEOF
7987 cat confdefs.h
>>conftest.
$ac_ext
7988 cat >>conftest.
$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7990 #include <X11/Intrinsic.h>
7999 rm -f conftest.
$ac_objext conftest
$ac_exeext
8000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8001 (eval $ac_link) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } &&
8008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try
='test -s conftest$ac_exeext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8021 # We can link X programs with no special library path.
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8028 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8030 # Don't even attempt the hair of trying to link an X program!
8031 for ac_extension
in a so sl
; do
8032 if test -r $ac_dir/libXt.
$ac_extension; then
8033 ac_x_libraries
=$ac_dir
8039 rm -f conftest.err conftest.
$ac_objext \
8040 conftest
$ac_exeext conftest.
$ac_ext
8041 fi # $ac_x_libraries = no
8043 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8044 # Didn't find X anywhere. Cache the known absence of X.
8045 ac_cv_have_x
="have_x=no"
8047 # Record where we found X for the cache.
8048 ac_cv_have_x
="have_x=yes \
8049 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8054 eval "$ac_cv_have_x"
8057 if test "$have_x" != yes; then
8058 echo "$as_me:$LINENO: result: $have_x" >&5
8059 echo "${ECHO_T}$have_x" >&6
8062 # If each of the values was on the command line, it overrides each guess.
8063 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8064 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8065 # Update the cache value to reflect the command line values.
8066 ac_cv_have_x
="have_x=yes \
8067 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8068 # It might be that x_includes is empty (headers are found in the
8069 # standard search path. Then output the corresponding message
8070 ac_out_x_includes
=$x_includes
8071 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
8072 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8073 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8076 if test "$no_x" = yes; then
8082 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8083 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8084 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8085 x_default_search_path
=""
8086 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8088 ${x_library}/X11/%L/%T/%N%C%S:\
8089 ${x_library}/X11/%l/%T/%N%C%S:\
8090 ${x_library}/X11/%T/%N%C%S:\
8091 ${x_library}/X11/%L/%T/%N%S:\
8092 ${x_library}/X11/%l/%T/%N%S:\
8093 ${x_library}/X11/%T/%N%S"
8094 if test x
"${x_default_search_path}" = x
; then
8095 x_default_search_path
=${x_search_path}
8097 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8101 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8102 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8105 if test x
"${x_includes}" = x
; then
8106 bitmapdir
=/usr
/include
/X11
/bitmaps
8108 # accumulate include directories that have X11 bitmap subdirectories
8110 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8111 if test -d "${bmd}/X11/bitmaps"; then
8112 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8114 if test -d "${bmd}/bitmaps"; then
8115 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8118 if test ${bmd_acc} != "dummyval"; then
8119 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8123 case "${window_system}" in
8127 case "${with_x_toolkit}" in
8128 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8129 motif
) USE_X_TOOLKIT
=MOTIF
;;
8131 USE_X_TOOLKIT
=none
;;
8132 no
) USE_X_TOOLKIT
=none
;;
8133 * ) USE_X_TOOLKIT
=maybe
;;
8143 ### If we're using X11, we should use the X menu package.
8146 yes ) HAVE_MENUS
=yes ;;
8149 if test "${opsys}" = "hpux9"; then
8150 case "${x_libraries}" in
8152 opsysfile
="s/hpux9-x11r4.h"
8157 if test "${opsys}" = "hpux9shr"; then
8158 case "${x_libraries}" in
8160 opsysfile
="s/hpux9shxr4.h"
8165 ### Compute the unexec source name from the object name.
8166 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8168 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8169 # Assume not, until told otherwise.
8172 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8173 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8174 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 cat >conftest.
$ac_ext <<_ACEOF
8180 cat confdefs.h
>>conftest.
$ac_ext
8181 cat >>conftest.
$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8183 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8185 #define malloc_get_state innocuous_malloc_get_state
8187 /* System header to define __stub macros and hopefully few prototypes,
8188 which can conflict with char malloc_get_state (); below.
8189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8190 <limits.h> exists even on freestanding compilers. */
8193 # include <limits.h>
8195 # include <assert.h>
8198 #undef malloc_get_state
8200 /* Override any gcc2 internal prototype to avoid an error. */
8205 /* We use char because int might match the return type of a gcc2
8206 builtin and then its argument prototype would still apply. */
8207 char malloc_get_state ();
8208 /* The GNU C library defines this for functions which it implements
8209 to always fail with ENOSYS. Some functions are actually named
8210 something starting with __ and the normal name is an alias. */
8211 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8214 char (*f) () = malloc_get_state;
8223 return f != malloc_get_state;
8228 rm -f conftest.
$ac_objext conftest
$ac_exeext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8230 (eval $ac_link) 2>conftest.er1
8232 grep -v '^ *+' conftest.er1
>conftest.err
8234 cat conftest.err
>&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } &&
8237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try
='test -s conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_cv_func_malloc_get_state
=yes
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.
$ac_ext >&5
8254 ac_cv_func_malloc_get_state
=no
8256 rm -f conftest.err conftest.
$ac_objext \
8257 conftest
$ac_exeext conftest.
$ac_ext
8259 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8260 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8261 if test $ac_cv_func_malloc_get_state = yes; then
8267 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8268 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8269 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 cat >conftest.
$ac_ext <<_ACEOF
8275 cat confdefs.h
>>conftest.
$ac_ext
8276 cat >>conftest.
$ac_ext <<_ACEOF
8277 /* end confdefs.h. */
8278 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8280 #define malloc_set_state innocuous_malloc_set_state
8282 /* System header to define __stub macros and hopefully few prototypes,
8283 which can conflict with char malloc_set_state (); below.
8284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8285 <limits.h> exists even on freestanding compilers. */
8288 # include <limits.h>
8290 # include <assert.h>
8293 #undef malloc_set_state
8295 /* Override any gcc2 internal prototype to avoid an error. */
8300 /* We use char because int might match the return type of a gcc2
8301 builtin and then its argument prototype would still apply. */
8302 char malloc_set_state ();
8303 /* The GNU C library defines this for functions which it implements
8304 to always fail with ENOSYS. Some functions are actually named
8305 something starting with __ and the normal name is an alias. */
8306 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8309 char (*f) () = malloc_set_state;
8318 return f != malloc_set_state;
8323 rm -f conftest.
$ac_objext conftest
$ac_exeext
8324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8325 (eval $ac_link) 2>conftest.er1
8327 grep -v '^ *+' conftest.er1
>conftest.err
8329 cat conftest.err
>&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } &&
8332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); }; } &&
8338 { ac_try
='test -s conftest$ac_exeext'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; }; then
8344 ac_cv_func_malloc_set_state
=yes
8346 echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.
$ac_ext >&5
8349 ac_cv_func_malloc_set_state
=no
8351 rm -f conftest.err conftest.
$ac_objext \
8352 conftest
$ac_exeext conftest.
$ac_ext
8354 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8355 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8356 if test $ac_cv_func_malloc_set_state = yes; then
8362 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8363 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8364 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 cat >conftest.
$ac_ext <<_ACEOF
8370 cat confdefs.h
>>conftest.
$ac_ext
8371 cat >>conftest.
$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8373 extern void (* __after_morecore_hook)();
8377 __after_morecore_hook = 0
8382 rm -f conftest.
$ac_objext conftest
$ac_exeext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384 (eval $ac_link) 2>conftest.er1
8386 grep -v '^ *+' conftest.er1
>conftest.err
8388 cat conftest.err
>&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } &&
8391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try
='test -s conftest$ac_exeext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 emacs_cv_var___after_morecore_hook
=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8408 emacs_cv_var___after_morecore_hook
=no
8410 rm -f conftest.err conftest.
$ac_objext \
8411 conftest
$ac_exeext conftest.
$ac_ext
8413 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8414 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8415 if test $emacs_cv_var___after_morecore_hook = no
; then
8418 if test "${system_malloc}" = "yes"; then
8421 (The GNU allocators don't work with this system configuration.)"
8423 if test "$doug_lea_malloc" = "yes" ; then
8424 if test "$GNU_MALLOC" = yes ; then
8426 (Using Doug Lea's new malloc from the GNU C Library.)"
8429 cat >>confdefs.h
<<\_ACEOF
8430 #define DOUG_LEA_MALLOC 1
8435 if test x
"${REL_ALLOC}" = x
; then
8436 REL_ALLOC
=${GNU_MALLOC}
8442 for ac_header
in stdlib.h unistd.h
8444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8446 echo "$as_me:$LINENO: checking for $ac_header" >&5
8447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8454 # Is the header compilable?
8455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8457 cat >conftest.
$ac_ext <<_ACEOF
8460 cat confdefs.h
>>conftest.
$ac_ext
8461 cat >>conftest.
$ac_ext <<_ACEOF
8462 /* end confdefs.h. */
8463 $ac_includes_default
8464 #include <$ac_header>
8466 rm -f conftest.
$ac_objext
8467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8468 (eval $ac_compile) 2>conftest.er1
8470 grep -v '^ *+' conftest.er1
>conftest.err
8472 cat conftest.err
>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); } &&
8475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try
='test -s conftest.$ac_objext'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then
8487 ac_header_compiler
=yes
8489 echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.
$ac_ext >&5
8492 ac_header_compiler
=no
8494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8496 echo "${ECHO_T}$ac_header_compiler" >&6
8498 # Is the header present?
8499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8501 cat >conftest.
$ac_ext <<_ACEOF
8504 cat confdefs.h
>>conftest.
$ac_ext
8505 cat >>conftest.
$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 #include <$ac_header>
8509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8512 grep -v '^ *+' conftest.er1
>conftest.err
8514 cat conftest.err
>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } >/dev
/null
; then
8517 if test -s conftest.err
; then
8518 ac_cpp_err
=$ac_c_preproc_warn_flag
8519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8526 if test -z "$ac_cpp_err"; then
8527 ac_header_preproc
=yes
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.
$ac_ext >&5
8532 ac_header_preproc
=no
8534 rm -f conftest.err conftest.
$ac_ext
8535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8536 echo "${ECHO_T}$ac_header_preproc" >&6
8538 # So? What about this header?
8539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8545 ac_header_preproc
=yes
8548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8562 ## ------------------------------------------ ##
8563 ## Report this to the AC_PACKAGE_NAME lists. ##
8564 ## ------------------------------------------ ##
8567 sed "s/^/$as_me: WARNING: /" >&2
8570 echo "$as_me:$LINENO: checking for $ac_header" >&5
8571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 eval "$as_ac_Header=\$ac_header_preproc"
8577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8582 cat >>confdefs.h
<<_ACEOF
8583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8591 for ac_func
in getpagesize
8593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8594 echo "$as_me:$LINENO: checking for $ac_func" >&5
8595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8596 if eval "test \"\${$as_ac_var+set}\" = set"; then
8597 echo $ECHO_N "(cached) $ECHO_C" >&6
8599 cat >conftest.
$ac_ext <<_ACEOF
8602 cat confdefs.h
>>conftest.
$ac_ext
8603 cat >>conftest.
$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8607 #define $ac_func innocuous_$ac_func
8609 /* System header to define __stub macros and hopefully few prototypes,
8610 which can conflict with char $ac_func (); below.
8611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8612 <limits.h> exists even on freestanding compilers. */
8615 # include <limits.h>
8617 # include <assert.h>
8622 /* Override any gcc2 internal prototype to avoid an error. */
8627 /* We use char because int might match the return type of a gcc2
8628 builtin and then its argument prototype would still apply. */
8630 /* The GNU C library defines this for functions which it implements
8631 to always fail with ENOSYS. Some functions are actually named
8632 something starting with __ and the normal name is an alias. */
8633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8636 char (*f) () = $ac_func;
8645 return f != $ac_func;
8650 rm -f conftest.
$ac_objext conftest
$ac_exeext
8651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8652 (eval $ac_link) 2>conftest.er1
8654 grep -v '^ *+' conftest.er1
>conftest.err
8656 cat conftest.err
>&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } &&
8659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; } &&
8665 { ac_try
='test -s conftest$ac_exeext'
8666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); }; }; then
8671 eval "$as_ac_var=yes"
8673 echo "$as_me: failed program was:" >&5
8674 sed 's/^/| /' conftest.
$ac_ext >&5
8676 eval "$as_ac_var=no"
8678 rm -f conftest.err conftest.
$ac_objext \
8679 conftest
$ac_exeext conftest.
$ac_ext
8681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8683 if test `eval echo '${'$as_ac_var'}'` = yes; then
8684 cat >>confdefs.h
<<_ACEOF
8685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8691 echo "$as_me:$LINENO: checking for working mmap" >&5
8692 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8693 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 if test "$cross_compiling" = yes; then
8697 ac_cv_func_mmap_fixed_mapped
=no
8699 cat >conftest.
$ac_ext <<_ACEOF
8702 cat confdefs.h
>>conftest.
$ac_ext
8703 cat >>conftest.
$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8705 $ac_includes_default
8706 /* malloc might have been renamed as rpl_malloc. */
8709 /* Thanks to Mike Haertel and Jim Avera for this test.
8710 Here is a matrix of mmap possibilities:
8711 mmap private not fixed
8712 mmap private fixed at somewhere currently unmapped
8713 mmap private fixed at somewhere already mapped
8714 mmap shared not fixed
8715 mmap shared fixed at somewhere currently unmapped
8716 mmap shared fixed at somewhere already mapped
8717 For private mappings, we should verify that changes cannot be read()
8718 back from the file, nor mmap's back from the file at a different
8719 address. (There have been systems where private was not correctly
8720 implemented like the infamous i386 svr4.0, and systems where the
8721 VM page cache was not coherent with the file system buffer cache
8722 like early versions of FreeBSD and possibly contemporary NetBSD.)
8723 For shared mappings, we should conversely verify that changes get
8724 propagated back to all the places they're supposed to be.
8726 Grep wants private fixed already mapped.
8727 The main things grep needs to know about mmap are:
8728 * does it exist and is it safe to write into the mmap'd area
8729 * how to use it (BSD variants) */
8732 #include <sys/mman.h>
8734 #if !STDC_HEADERS && !HAVE_STDLIB_H
8738 /* This mess was copied from the GNU getpagesize.h. */
8739 #if !HAVE_GETPAGESIZE
8740 /* Assume that all systems that can run configure have sys/param.h. */
8741 # if !HAVE_SYS_PARAM_H
8742 # define HAVE_SYS_PARAM_H 1
8745 # ifdef _SC_PAGESIZE
8746 # define getpagesize() sysconf(_SC_PAGESIZE)
8747 # else /* no _SC_PAGESIZE */
8748 # if HAVE_SYS_PARAM_H
8749 # include <sys/param.h>
8750 # ifdef EXEC_PAGESIZE
8751 # define getpagesize() EXEC_PAGESIZE
8752 # else /* no EXEC_PAGESIZE */
8754 # define getpagesize() NBPG * CLSIZE
8757 # endif /* no CLSIZE */
8758 # else /* no NBPG */
8760 # define getpagesize() NBPC
8761 # else /* no NBPC */
8763 # define getpagesize() PAGESIZE
8764 # endif /* PAGESIZE */
8765 # endif /* no NBPC */
8766 # endif /* no NBPG */
8767 # endif /* no EXEC_PAGESIZE */
8768 # else /* no HAVE_SYS_PARAM_H */
8769 # define getpagesize() 8192 /* punt totally */
8770 # endif /* no HAVE_SYS_PARAM_H */
8771 # endif /* no _SC_PAGESIZE */
8773 #endif /* no HAVE_GETPAGESIZE */
8778 char *data, *data2, *data3;
8782 pagesize = getpagesize ();
8784 /* First, make a file with some known garbage in it. */
8785 data = (char *) malloc (pagesize);
8788 for (i = 0; i < pagesize; ++i)
8789 *(data + i) = rand ();
8791 fd = creat ("conftest.mmap", 0600);
8794 if (write (fd, data, pagesize) != pagesize)
8798 /* Next, try to mmap the file at a fixed address which already has
8799 something else allocated at it. If we can, also make sure that
8800 we see the same garbage. */
8801 fd = open ("conftest.mmap", O_RDWR);
8804 data2 = (char *) malloc (2 * pagesize);
8807 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8808 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8809 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8811 for (i = 0; i < pagesize; ++i)
8812 if (*(data + i) != *(data2 + i))
8815 /* Finally, make sure that changes to the mapped area do not
8816 percolate back to the file as seen by read(). (This is a bug on
8817 some variants of i386 svr4.0.) */
8818 for (i = 0; i < pagesize; ++i)
8819 *(data2 + i) = *(data2 + i) + 1;
8820 data3 = (char *) malloc (pagesize);
8823 if (read (fd, data3, pagesize) != pagesize)
8825 for (i = 0; i < pagesize; ++i)
8826 if (*(data + i) != *(data3 + i))
8832 rm -f conftest
$ac_exeext
8833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8834 (eval $ac_link) 2>&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; }; then
8843 ac_cv_func_mmap_fixed_mapped
=yes
8845 echo "$as_me: program exited with status $ac_status" >&5
8846 echo "$as_me: failed program was:" >&5
8847 sed 's/^/| /' conftest.
$ac_ext >&5
8850 ac_cv_func_mmap_fixed_mapped
=no
8852 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8855 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8856 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8857 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8859 cat >>confdefs.h
<<\_ACEOF
8866 if test $use_mmap_for_buffers = yes; then
8870 LIBS
="$libsrc_libs $LIBS"
8873 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8874 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8875 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 ac_check_lib_save_LIBS
=$LIBS
8880 cat >conftest.
$ac_ext <<_ACEOF
8883 cat confdefs.h
>>conftest.
$ac_ext
8884 cat >>conftest.
$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8887 /* Override any gcc2 internal prototype to avoid an error. */
8891 /* We use char because int might match the return type of a gcc2
8892 builtin and then its argument prototype would still apply. */
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>conftest.er1
8906 grep -v '^ *+' conftest.er1
>conftest.err
8908 cat conftest.err
>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } &&
8911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; } &&
8917 { ac_try
='test -s conftest$ac_exeext'
8918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); }; }; then
8923 ac_cv_lib_dnet_dnet_ntoa
=yes
8925 echo "$as_me: failed program was:" >&5
8926 sed 's/^/| /' conftest.
$ac_ext >&5
8928 ac_cv_lib_dnet_dnet_ntoa
=no
8930 rm -f conftest.err conftest.
$ac_objext \
8931 conftest
$ac_exeext conftest.
$ac_ext
8932 LIBS
=$ac_check_lib_save_LIBS
8934 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8935 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8936 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8937 cat >>confdefs.h
<<_ACEOF
8938 #define HAVE_LIBDNET 1
8946 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
8947 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
8948 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
8949 echo $ECHO_N "(cached) $ECHO_C" >&6
8951 ac_check_lib_save_LIBS
=$LIBS
8953 cat >conftest.
$ac_ext <<_ACEOF
8956 cat confdefs.h
>>conftest.
$ac_ext
8957 cat >>conftest.
$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8969 rm -f conftest.
$ac_objext conftest
$ac_exeext
8970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8971 (eval $ac_link) 2>conftest.er1
8973 grep -v '^ *+' conftest.er1
>conftest.err
8975 cat conftest.err
>&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); } &&
8978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try
='test -s conftest$ac_exeext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 ac_cv_lib_Xbsd_main
=yes
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.
$ac_ext >&5
8995 ac_cv_lib_Xbsd_main
=no
8997 rm -f conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 LIBS
=$ac_check_lib_save_LIBS
9001 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9002 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9003 if test $ac_cv_lib_Xbsd_main = yes; then
9004 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9009 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9010 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9011 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 ac_check_lib_save_LIBS
=$LIBS
9015 LIBS
="-lpthreads $LIBS"
9016 cat >conftest.
$ac_ext <<_ACEOF
9019 cat confdefs.h
>>conftest.
$ac_ext
9020 cat >>conftest.
$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9023 /* Override any gcc2 internal prototype to avoid an error. */
9027 /* We use char because int might match the return type of a gcc2
9028 builtin and then its argument prototype would still apply. */
9038 rm -f conftest.
$ac_objext conftest
$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; } &&
9053 { ac_try
='test -s conftest$ac_exeext'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; }; then
9059 ac_cv_lib_pthreads_cma_open
=yes
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.
$ac_ext >&5
9064 ac_cv_lib_pthreads_cma_open
=no
9066 rm -f conftest.err conftest.
$ac_objext \
9067 conftest
$ac_exeext conftest.
$ac_ext
9068 LIBS
=$ac_check_lib_save_LIBS
9070 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9071 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9072 if test $ac_cv_lib_pthreads_cma_open = yes; then
9073 cat >>confdefs.h
<<_ACEOF
9074 #define HAVE_LIBPTHREADS 1
9077 LIBS
="-lpthreads $LIBS"
9082 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9083 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9084 if test -d /usr
/X386
/include
; then
9086 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9090 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9091 echo "${ECHO_T}$HAVE_XFREE386" >&6
9096 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9097 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9098 if test "${gdb_cv_bigtoc+set}" = set; then
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9104 *) gdb_cv_bigtoc
=-bbigtoc ;;
9107 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9108 cat >conftest.
$ac_ext <<_ACEOF
9111 cat confdefs.h
>>conftest.
$ac_ext
9112 cat >>conftest.
$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9123 rm -f conftest.
$ac_objext conftest
$ac_exeext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125 (eval $ac_link) 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); }; } &&
9138 { ac_try
='test -s conftest$ac_exeext'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; }; then
9146 echo "$as_me: failed program was:" >&5
9147 sed 's/^/| /' conftest.
$ac_ext >&5
9151 rm -f conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9155 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9156 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9160 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9161 # used for the tests that follow. We set them back to REAL_CFLAGS and
9162 # REAL_CPPFLAGS later on.
9164 REAL_CPPFLAGS
="$CPPFLAGS"
9166 if test "${HAVE_X11}" = "yes"; then
9167 DEFS
="$C_SWITCH_X_SITE $DEFS"
9168 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9170 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9171 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9173 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9174 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9175 # but it's more convenient here to set LD_RUN_PATH
9176 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9177 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9178 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9182 if test "${opsys}" = "gnu-linux"; then
9183 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9184 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9185 cat >conftest.
$ac_ext <<_ACEOF
9188 cat confdefs.h
>>conftest.
$ac_ext
9189 cat >>conftest.
$ac_ext <<_ACEOF
9190 /* end confdefs.h. */
9195 XOpenDisplay ("foo");
9200 rm -f conftest.
$ac_objext conftest
$ac_exeext
9201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9202 (eval $ac_link) 2>conftest.er1
9204 grep -v '^ *+' conftest.er1
>conftest.err
9206 cat conftest.err
>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); } &&
9209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; } &&
9215 { ac_try
='test -s conftest$ac_exeext'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; }; then
9221 xlinux_first_failure
=no
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.
$ac_ext >&5
9226 xlinux_first_failure
=yes
9228 rm -f conftest.err conftest.
$ac_objext \
9229 conftest
$ac_exeext conftest.
$ac_ext
9230 if test "${xlinux_first_failure}" = "yes"; then
9231 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9232 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9233 OLD_CPPFLAGS
="$CPPFLAGS"
9235 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9236 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9237 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9238 LIBS
="$LIBS -b i486-linuxaout"
9239 cat >conftest.
$ac_ext <<_ACEOF
9242 cat confdefs.h
>>conftest.
$ac_ext
9243 cat >>conftest.
$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9249 XOpenDisplay ("foo");
9254 rm -f conftest.
$ac_objext conftest
$ac_exeext
9255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9256 (eval $ac_link) 2>conftest.er1
9258 grep -v '^ *+' conftest.er1
>conftest.err
9260 cat conftest.err
>&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); } &&
9263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); }; } &&
9269 { ac_try
='test -s conftest$ac_exeext'
9270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; }; then
9275 xlinux_second_failure
=no
9277 echo "$as_me: failed program was:" >&5
9278 sed 's/^/| /' conftest.
$ac_ext >&5
9280 xlinux_second_failure
=yes
9282 rm -f conftest.err conftest.
$ac_objext \
9283 conftest
$ac_exeext conftest.
$ac_ext
9284 if test "${xlinux_second_failure}" = "yes"; then
9285 # If we get the same failure with -b, there is no use adding -b.
9286 # So take it out. This plays safe.
9287 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9288 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9289 CPPFLAGS
="$OLD_CPPFLAGS"
9291 echo "$as_me:$LINENO: result: no" >&5
9292 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9303 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9304 # header files included from there.
9305 echo "$as_me:$LINENO: checking for Xkb" >&5
9306 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9307 cat >conftest.
$ac_ext <<_ACEOF
9310 cat confdefs.h
>>conftest.
$ac_ext
9311 cat >>conftest.
$ac_ext <<_ACEOF
9312 /* end confdefs.h. */
9313 #include <X11/Xlib.h>
9314 #include <X11/XKBlib.h>
9318 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9323 rm -f conftest.
$ac_objext conftest
$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325 (eval $ac_link) 2>conftest.er1
9327 grep -v '^ *+' conftest.er1
>conftest.err
9329 cat conftest.err
>&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try
='test -s conftest$ac_exeext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.
$ac_ext >&5
9351 rm -f conftest.err conftest.
$ac_objext \
9352 conftest
$ac_exeext conftest.
$ac_ext
9353 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9354 echo "${ECHO_T}$emacs_xkb" >&6
9355 if test $emacs_xkb = yes; then
9357 cat >>confdefs.h
<<\_ACEOF
9358 #define HAVE_XKBGETKEYBOARD 1
9367 for ac_func
in XrmSetDatabase XScreenResourceString \
9368 XScreenNumberOfScreen XSetWMProtocols
9370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9371 echo "$as_me:$LINENO: checking for $ac_func" >&5
9372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9373 if eval "test \"\${$as_ac_var+set}\" = set"; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 cat >conftest.
$ac_ext <<_ACEOF
9379 cat confdefs.h
>>conftest.
$ac_ext
9380 cat >>conftest.
$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9384 #define $ac_func innocuous_$ac_func
9386 /* System header to define __stub macros and hopefully few prototypes,
9387 which can conflict with char $ac_func (); below.
9388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9389 <limits.h> exists even on freestanding compilers. */
9392 # include <limits.h>
9394 # include <assert.h>
9399 /* Override any gcc2 internal prototype to avoid an error. */
9404 /* We use char because int might match the return type of a gcc2
9405 builtin and then its argument prototype would still apply. */
9407 /* The GNU C library defines this for functions which it implements
9408 to always fail with ENOSYS. Some functions are actually named
9409 something starting with __ and the normal name is an alias. */
9410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9413 char (*f) () = $ac_func;
9422 return f != $ac_func;
9427 rm -f conftest.
$ac_objext conftest
$ac_exeext
9428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9429 (eval $ac_link) 2>conftest.er1
9431 grep -v '^ *+' conftest.er1
>conftest.err
9433 cat conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; } &&
9442 { ac_try
='test -s conftest$ac_exeext'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; }; then
9448 eval "$as_ac_var=yes"
9450 echo "$as_me: failed program was:" >&5
9451 sed 's/^/| /' conftest.
$ac_ext >&5
9453 eval "$as_ac_var=no"
9455 rm -f conftest.err conftest.
$ac_objext \
9456 conftest
$ac_exeext conftest.
$ac_ext
9458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9460 if test `eval echo '${'$as_ac_var'}'` = yes; then
9461 cat >>confdefs.h
<<_ACEOF
9462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9470 if test "${window_system}" = "x11"; then
9471 echo "$as_me:$LINENO: checking X11 version 6" >&5
9472 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9473 if test "${emacs_cv_x11_version_6+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 cat >conftest.
$ac_ext <<_ACEOF
9479 cat confdefs.h
>>conftest.
$ac_ext
9480 cat >>conftest.
$ac_ext <<_ACEOF
9481 /* end confdefs.h. */
9482 #include <X11/Xlib.h>
9486 #if XlibSpecificationRelease < 6
9494 rm -f conftest.
$ac_objext conftest
$ac_exeext
9495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9496 (eval $ac_link) 2>conftest.er1
9498 grep -v '^ *+' conftest.er1
>conftest.err
9500 cat conftest.err
>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); } &&
9503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; } &&
9509 { ac_try
='test -s conftest$ac_exeext'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; }; then
9515 emacs_cv_x11_version_6
=yes
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.
$ac_ext >&5
9520 emacs_cv_x11_version_6
=no
9522 rm -f conftest.err conftest.
$ac_objext \
9523 conftest
$ac_exeext conftest.
$ac_ext
9526 if test $emacs_cv_x11_version_6 = yes; then
9527 echo "$as_me:$LINENO: result: 6 or newer" >&5
9528 echo "${ECHO_T}6 or newer" >&6
9530 cat >>confdefs.h
<<\_ACEOF
9531 #define HAVE_X11R6 1
9535 echo "$as_me:$LINENO: result: before 6" >&5
9536 echo "${ECHO_T}before 6" >&6
9540 if test "${window_system}" = "x11"; then
9541 echo "$as_me:$LINENO: checking X11 version 5" >&5
9542 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9543 if test "${emacs_cv_x11_version_5+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.
$ac_ext <<_ACEOF
9549 cat confdefs.h
>>conftest.
$ac_ext
9550 cat >>conftest.
$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 #include <X11/Xlib.h>
9556 #if XlibSpecificationRelease < 5
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9566 (eval $ac_link) 2>conftest.er1
9568 grep -v '^ *+' conftest.er1
>conftest.err
9570 cat conftest.err
>&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); } &&
9573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try
='test -s conftest$ac_exeext'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; }; then
9585 emacs_cv_x11_version_5
=yes
9587 echo "$as_me: failed program was:" >&5
9588 sed 's/^/| /' conftest.
$ac_ext >&5
9590 emacs_cv_x11_version_5
=no
9592 rm -f conftest.err conftest.
$ac_objext \
9593 conftest
$ac_exeext conftest.
$ac_ext
9596 if test $emacs_cv_x11_version_5 = yes; then
9597 echo "$as_me:$LINENO: result: 5 or newer" >&5
9598 echo "${ECHO_T}5 or newer" >&6
9601 cat >>confdefs.h
<<\_ACEOF
9602 #define HAVE_X11R5 1
9607 echo "$as_me:$LINENO: result: before 5" >&5
9608 echo "${ECHO_T}before 5" >&6
9615 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9616 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9617 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9618 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9619 { (exit 1); exit 1; }; };
9623 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9625 if test "X${with_pkg_config_prog}" != X
; then
9626 PKG_CONFIG
="${with_pkg_config_prog}"
9631 if test -z "$PKG_CONFIG"; then
9632 # Extract the first word of "pkg-config", so it can be a program name with args.
9633 set dummy pkg-config
; ac_word
=$2
9634 echo "$as_me:$LINENO: checking for $ac_word" >&5
9635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir
=.
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9651 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9664 if test -n "$PKG_CONFIG"; then
9665 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9666 echo "${ECHO_T}$PKG_CONFIG" >&6
9668 echo "$as_me:$LINENO: result: no" >&5
9669 echo "${ECHO_T}no" >&6
9674 if test "$PKG_CONFIG" = "no" ; then
9675 echo "*** The pkg-config script could not be found. Make sure it is"
9676 echo "*** in your path, or give the full path to pkg-config with"
9677 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9680 PKG_CONFIG_MIN_VERSION
=0.9.0
9681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9682 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9683 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9685 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9686 echo "$as_me:$LINENO: result: yes" >&5
9687 echo "${ECHO_T}yes" >&6
9690 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9691 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9692 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9693 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9694 echo "${ECHO_T}$GTK_CFLAGS" >&6
9696 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9697 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9698 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9699 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9700 echo "${ECHO_T}$GTK_LIBS" >&6
9704 ## If we have a custom action on failure, don't print errors, but
9705 ## do set a variable so people can do so.
9706 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9707 echo $GTK_PKG_ERRORS
9713 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9714 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9718 if test $succeeded = yes; then
9721 { { echo "$as_me:$LINENO: error: Library requirements ($GTK_MODULES) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9722 echo "$as_me: error: Library requirements ($GTK_MODULES) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9723 { (exit 1); exit 1; }; }
9728 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9729 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9730 LIBS
="$GTK_LIBS $LIBS"
9733 cat >>confdefs.h
<<\_ACEOF
9739 if test "$with_toolkit_scroll_bars" != no
; then
9740 with_toolkit_scroll_bars
=yes
9743 HAVE_GTK_MULTIDISPLAY
=no
9745 for ac_func
in gdk_display_open
9747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9748 echo "$as_me:$LINENO: checking for $ac_func" >&5
9749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9750 if eval "test \"\${$as_ac_var+set}\" = set"; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 cat >conftest.
$ac_ext <<_ACEOF
9756 cat confdefs.h
>>conftest.
$ac_ext
9757 cat >>conftest.
$ac_ext <<_ACEOF
9758 /* end confdefs.h. */
9759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9761 #define $ac_func innocuous_$ac_func
9763 /* System header to define __stub macros and hopefully few prototypes,
9764 which can conflict with char $ac_func (); below.
9765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9766 <limits.h> exists even on freestanding compilers. */
9769 # include <limits.h>
9771 # include <assert.h>
9776 /* Override any gcc2 internal prototype to avoid an error. */
9781 /* We use char because int might match the return type of a gcc2
9782 builtin and then its argument prototype would still apply. */
9784 /* The GNU C library defines this for functions which it implements
9785 to always fail with ENOSYS. Some functions are actually named
9786 something starting with __ and the normal name is an alias. */
9787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9790 char (*f) () = $ac_func;
9799 return f != $ac_func;
9804 rm -f conftest.
$ac_objext conftest
$ac_exeext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9806 (eval $ac_link) 2>conftest.er1
9808 grep -v '^ *+' conftest.er1
>conftest.err
9810 cat conftest.err
>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); } &&
9813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; } &&
9819 { ac_try
='test -s conftest$ac_exeext'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 eval "$as_ac_var=yes"
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 eval "$as_ac_var=no"
9832 rm -f conftest.err conftest.
$ac_objext \
9833 conftest
$ac_exeext conftest.
$ac_ext
9835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9837 if test `eval echo '${'$as_ac_var'}'` = yes; then
9838 cat >>confdefs.h
<<_ACEOF
9839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9841 HAVE_GTK_MULTIDISPLAY
=yes
9845 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
9847 cat >>confdefs.h
<<\_ACEOF
9848 #define HAVE_GTK_MULTIDISPLAY 1
9852 HAVE_GTK_FILE_SELECTION
=no
9854 for ac_func
in gtk_file_selection_new
9856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9857 echo "$as_me:$LINENO: checking for $ac_func" >&5
9858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9859 if eval "test \"\${$as_ac_var+set}\" = set"; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6
9862 cat >conftest.
$ac_ext <<_ACEOF
9865 cat confdefs.h
>>conftest.
$ac_ext
9866 cat >>conftest.
$ac_ext <<_ACEOF
9867 /* end confdefs.h. */
9868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9870 #define $ac_func innocuous_$ac_func
9872 /* System header to define __stub macros and hopefully few prototypes,
9873 which can conflict with char $ac_func (); below.
9874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9875 <limits.h> exists even on freestanding compilers. */
9878 # include <limits.h>
9880 # include <assert.h>
9885 /* Override any gcc2 internal prototype to avoid an error. */
9890 /* We use char because int might match the return type of a gcc2
9891 builtin and then its argument prototype would still apply. */
9893 /* The GNU C library defines this for functions which it implements
9894 to always fail with ENOSYS. Some functions are actually named
9895 something starting with __ and the normal name is an alias. */
9896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9899 char (*f) () = $ac_func;
9908 return f != $ac_func;
9913 rm -f conftest.
$ac_objext conftest
$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9917 grep -v '^ *+' conftest.er1
>conftest.err
9919 cat conftest.err
>&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try
='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try
='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 eval "$as_ac_var=yes"
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9940 eval "$as_ac_var=no"
9942 rm -f conftest.err conftest.
$ac_objext \
9943 conftest
$ac_exeext conftest.
$ac_ext
9945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9947 if test `eval echo '${'$as_ac_var'}'` = yes; then
9948 cat >>confdefs.h
<<_ACEOF
9949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9951 HAVE_GTK_FILE_SELECTION
=yes
9956 HAVE_GTK_FILE_CHOOSER
=no
9958 for ac_func
in gtk_file_chooser_dialog_new
9960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9961 echo "$as_me:$LINENO: checking for $ac_func" >&5
9962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9963 if eval "test \"\${$as_ac_var+set}\" = set"; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 cat >conftest.
$ac_ext <<_ACEOF
9969 cat confdefs.h
>>conftest.
$ac_ext
9970 cat >>conftest.
$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9974 #define $ac_func innocuous_$ac_func
9976 /* System header to define __stub macros and hopefully few prototypes,
9977 which can conflict with char $ac_func (); below.
9978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9979 <limits.h> exists even on freestanding compilers. */
9982 # include <limits.h>
9984 # include <assert.h>
9989 /* Override any gcc2 internal prototype to avoid an error. */
9994 /* We use char because int might match the return type of a gcc2
9995 builtin and then its argument prototype would still apply. */
9997 /* The GNU C library defines this for functions which it implements
9998 to always fail with ENOSYS. Some functions are actually named
9999 something starting with __ and the normal name is an alias. */
10000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10003 char (*f) () = $ac_func;
10012 return f != $ac_func;
10017 rm -f conftest.
$ac_objext conftest
$ac_exeext
10018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10019 (eval $ac_link) 2>conftest.er1
10021 grep -v '^ *+' conftest.er1
>conftest.err
10023 cat conftest.err
>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } &&
10026 { ac_try
='test -z "$ac_c_werror_flag"
10027 || test ! -s conftest.err'
10028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10029 (eval $ac_try) 2>&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); }; } &&
10033 { ac_try
='test -s conftest$ac_exeext'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; }; then
10039 eval "$as_ac_var=yes"
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10044 eval "$as_ac_var=no"
10046 rm -f conftest.err conftest.
$ac_objext \
10047 conftest
$ac_exeext conftest.
$ac_ext
10049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10051 if test `eval echo '${'$as_ac_var'}'` = yes; then
10052 cat >>confdefs.h
<<_ACEOF
10053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10055 HAVE_GTK_FILE_CHOOSER
=yes
10060 if test "$HAVE_GTK_FILE_SELECTION" = yes \
10061 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10063 cat >>confdefs.h
<<\_ACEOF
10064 #define HAVE_GTK_FILE_BOTH 1
10069 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10070 HAVE_GTK_AND_PTHREAD
=no
10072 for ac_header
in pthread.h
10074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10076 echo "$as_me:$LINENO: checking for $ac_header" >&5
10077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10084 # Is the header compilable?
10085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10087 cat >conftest.
$ac_ext <<_ACEOF
10090 cat confdefs.h
>>conftest.
$ac_ext
10091 cat >>conftest.
$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10093 $ac_includes_default
10094 #include <$ac_header>
10096 rm -f conftest.
$ac_objext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10098 (eval $ac_compile) 2>conftest.er1
10100 grep -v '^ *+' conftest.er1
>conftest.err
10102 cat conftest.err
>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try
='test -z "$ac_c_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try
='test -s conftest.$ac_objext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 ac_header_compiler
=yes
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.
$ac_ext >&5
10123 ac_header_compiler
=no
10125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10127 echo "${ECHO_T}$ac_header_compiler" >&6
10129 # Is the header present?
10130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10132 cat >conftest.
$ac_ext <<_ACEOF
10135 cat confdefs.h
>>conftest.
$ac_ext
10136 cat >>conftest.
$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10138 #include <$ac_header>
10140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10143 grep -v '^ *+' conftest.er1
>conftest.err
10145 cat conftest.err
>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } >/dev
/null
; then
10148 if test -s conftest.err
; then
10149 ac_cpp_err
=$ac_c_preproc_warn_flag
10150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10157 if test -z "$ac_cpp_err"; then
10158 ac_header_preproc
=yes
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.
$ac_ext >&5
10163 ac_header_preproc
=no
10165 rm -f conftest.err conftest.
$ac_ext
10166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10167 echo "${ECHO_T}$ac_header_preproc" >&6
10169 # So? What about this header?
10170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10176 ac_header_preproc
=yes
10179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10193 ## ------------------------------------------ ##
10194 ## Report this to the AC_PACKAGE_NAME lists. ##
10195 ## ------------------------------------------ ##
10198 sed "s/^/$as_me: WARNING: /" >&2
10201 echo "$as_me:$LINENO: checking for $ac_header" >&5
10202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 eval "$as_ac_Header=\$ac_header_preproc"
10208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10213 cat >>confdefs.h
<<_ACEOF
10214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10221 if test "$ac_cv_header_pthread_h"; then
10222 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10223 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
10224 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 ac_check_lib_save_LIBS
=$LIBS
10228 LIBS
="-lpthread $LIBS"
10229 cat >conftest.
$ac_ext <<_ACEOF
10232 cat confdefs.h
>>conftest.
$ac_ext
10233 cat >>conftest.
$ac_ext <<_ACEOF
10234 /* end confdefs.h. */
10236 /* Override any gcc2 internal prototype to avoid an error. */
10240 /* We use char because int might match the return type of a gcc2
10241 builtin and then its argument prototype would still apply. */
10242 char pthread_self ();
10251 rm -f conftest.
$ac_objext conftest
$ac_exeext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253 (eval $ac_link) 2>conftest.er1
10255 grep -v '^ *+' conftest.er1
>conftest.err
10257 cat conftest.err
>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try
='test -z "$ac_c_werror_flag"
10261 || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try
='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_pthread_pthread_self
=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.
$ac_ext >&5
10278 ac_cv_lib_pthread_pthread_self
=no
10280 rm -f conftest.err conftest.
$ac_objext \
10281 conftest
$ac_exeext conftest.
$ac_ext
10282 LIBS
=$ac_check_lib_save_LIBS
10284 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10285 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6
10286 if test $ac_cv_lib_pthread_pthread_self = yes; then
10287 HAVE_GTK_AND_PTHREAD
=yes
10291 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10292 GTK_LIBS
="$GTK_LIBS -lpthread"
10294 cat >>confdefs.h
<<\_ACEOF
10295 #define HAVE_GTK_AND_PTHREAD 1
10302 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
10303 if test x
"${HAVE_X11R5}" = xyes
; then
10304 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10305 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
10306 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 cat >conftest.
$ac_ext <<_ACEOF
10312 cat confdefs.h
>>conftest.
$ac_ext
10313 cat >>conftest.
$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10316 #include <X11/Intrinsic.h>
10317 #include <X11/Xaw/Simple.h>
10326 rm -f conftest.
$ac_objext conftest
$ac_exeext
10327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10328 (eval $ac_link) 2>conftest.er1
10330 grep -v '^ *+' conftest.er1
>conftest.err
10332 cat conftest.err
>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } &&
10335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try
='test -s conftest$ac_exeext'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 emacs_cv_x11_version_5_with_xaw
=yes
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.
$ac_ext >&5
10352 emacs_cv_x11_version_5_with_xaw
=no
10354 rm -f conftest.err conftest.
$ac_objext \
10355 conftest
$ac_exeext conftest.
$ac_ext
10358 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10359 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10360 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
10361 USE_X_TOOLKIT
=LUCID
10363 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10364 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
10372 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
10374 if test "${USE_X_TOOLKIT}" != "none"; then
10375 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10376 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
10377 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10380 cat >conftest.
$ac_ext <<_ACEOF
10383 cat confdefs.h
>>conftest.
$ac_ext
10384 cat >>conftest.
$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10386 #include <X11/Intrinsic.h>
10390 #if XtSpecificationRelease < 6
10398 rm -f conftest.
$ac_objext conftest
$ac_exeext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10400 (eval $ac_link) 2>conftest.er1
10402 grep -v '^ *+' conftest.er1
>conftest.err
10404 cat conftest.err
>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } &&
10407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; } &&
10413 { ac_try
='test -s conftest$ac_exeext'
10414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10415 (eval $ac_try) 2>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); }; }; then
10419 emacs_cv_x11_toolkit_version_6
=yes
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.
$ac_ext >&5
10424 emacs_cv_x11_toolkit_version_6
=no
10426 rm -f conftest.err conftest.
$ac_objext \
10427 conftest
$ac_exeext conftest.
$ac_ext
10430 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
10431 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10432 echo "$as_me:$LINENO: result: 6 or newer" >&5
10433 echo "${ECHO_T}6 or newer" >&6
10435 cat >>confdefs.h
<<\_ACEOF
10436 #define HAVE_X11XTR6 1
10440 echo "$as_me:$LINENO: result: before 6" >&5
10441 echo "${ECHO_T}before 6" >&6
10445 if test x
$HAVE_X11XTR6 = xyes
; then
10446 LIBS
="-lXt -lSM -lICE $LIBS"
10451 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10452 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10453 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 ac_check_lib_save_LIBS
=$LIBS
10458 cat >conftest.
$ac_ext <<_ACEOF
10461 cat confdefs.h
>>conftest.
$ac_ext
10462 cat >>conftest.
$ac_ext <<_ACEOF
10463 /* end confdefs.h. */
10465 /* Override any gcc2 internal prototype to avoid an error. */
10469 /* We use char because int might match the return type of a gcc2
10470 builtin and then its argument prototype would still apply. */
10471 char XmuConvertStandardSelection ();
10475 XmuConvertStandardSelection ();
10480 rm -f conftest.
$ac_objext conftest
$ac_exeext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>conftest.er1
10484 grep -v '^ *+' conftest.er1
>conftest.err
10486 cat conftest.err
>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } &&
10489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; } &&
10495 { ac_try
='test -s conftest$ac_exeext'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.
$ac_ext >&5
10506 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10508 rm -f conftest.err conftest.
$ac_objext \
10509 conftest
$ac_exeext conftest.
$ac_ext
10510 LIBS
=$ac_check_lib_save_LIBS
10512 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10513 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10514 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10515 cat >>confdefs.h
<<_ACEOF
10516 #define HAVE_LIBXMU 1
10523 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10526 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10527 if test "${HAVE_X11}" = "yes"; then
10528 if test "${USE_X_TOOLKIT}" != "none"; then
10530 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10531 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10532 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 ac_check_lib_save_LIBS
=$LIBS
10536 LIBS
="-lXext $LIBS"
10537 cat >conftest.
$ac_ext <<_ACEOF
10540 cat confdefs.h
>>conftest.
$ac_ext
10541 cat >>conftest.
$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any gcc2 internal prototype to avoid an error. */
10548 /* We use char because int might match the return type of a gcc2
10549 builtin and then its argument prototype would still apply. */
10550 char XShapeQueryExtension ();
10554 XShapeQueryExtension ();
10559 rm -f conftest.
$ac_objext conftest
$ac_exeext
10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10561 (eval $ac_link) 2>conftest.er1
10563 grep -v '^ *+' conftest.er1
>conftest.err
10565 cat conftest.err
>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); } &&
10568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10570 (eval $ac_try) 2>&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); }; } &&
10574 { ac_try
='test -s conftest$ac_exeext'
10575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10576 (eval $ac_try) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; }; then
10580 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10582 echo "$as_me: failed program was:" >&5
10583 sed 's/^/| /' conftest.
$ac_ext >&5
10585 ac_cv_lib_Xext_XShapeQueryExtension
=no
10587 rm -f conftest.err conftest.
$ac_objext \
10588 conftest
$ac_exeext conftest.
$ac_ext
10589 LIBS
=$ac_check_lib_save_LIBS
10591 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10592 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10593 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10594 cat >>confdefs.h
<<_ACEOF
10595 #define HAVE_LIBXEXT 1
10598 LIBS
="-lXext $LIBS"
10605 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10606 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10607 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10608 if test "${emacs_cv_lesstif+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 # We put this in CFLAGS temporarily to precede other -I options
10612 # that might be in CFLAGS temporarily.
10613 # We put this in CPPFLAGS where it precedes the other -I options.
10614 OLD_CPPFLAGS
=$CPPFLAGS
10616 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10617 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10618 cat >conftest.
$ac_ext <<_ACEOF
10621 cat confdefs.h
>>conftest.
$ac_ext
10622 cat >>conftest.
$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10624 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10633 rm -f conftest.
$ac_objext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>conftest.er1
10637 grep -v '^ *+' conftest.er1
>conftest.err
10639 cat conftest.err
>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try
='test -s conftest.$ac_objext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 emacs_cv_lesstif
=yes
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.
$ac_ext >&5
10659 emacs_cv_lesstif
=no
10661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10663 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10664 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10665 if test $emacs_cv_lesstif = yes; then
10666 # Make sure this -I option remains in CPPFLAGS after it is set
10667 # back to REAL_CPPFLAGS.
10668 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10669 # have those other -I options anyway. Ultimately, having this
10670 # directory ultimately in CPPFLAGS will be enough.
10671 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10672 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10675 CPPFLAGS
=$OLD_CPPFLAGS
10677 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10678 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10679 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 cat >conftest.
$ac_ext <<_ACEOF
10685 cat confdefs.h
>>conftest.
$ac_ext
10686 cat >>conftest.
$ac_ext <<_ACEOF
10687 /* end confdefs.h. */
10692 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10695 Motif version prior to 2.1.
10701 rm -f conftest.
$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>conftest.er1
10705 grep -v '^ *+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try
='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 emacs_cv_motif_version_2_1
=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10727 emacs_cv_motif_version_2_1
=no
10729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10731 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10732 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10733 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10734 if test $emacs_cv_motif_version_2_1 = yes; then
10737 cat >>confdefs.h
<<\_ACEOF
10738 #define HAVE_MOTIF_2_1 1
10741 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10742 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10743 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 ac_check_lib_save_LIBS
=$LIBS
10748 cat >conftest.
$ac_ext <<_ACEOF
10751 cat confdefs.h
>>conftest.
$ac_ext
10752 cat >>conftest.
$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10755 /* Override any gcc2 internal prototype to avoid an error. */
10759 /* We use char because int might match the return type of a gcc2
10760 builtin and then its argument prototype would still apply. */
10761 char XpCreateContext ();
10765 XpCreateContext ();
10770 rm -f conftest.
$ac_objext conftest
$ac_exeext
10771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10772 (eval $ac_link) 2>conftest.er1
10774 grep -v '^ *+' conftest.er1
>conftest.err
10776 cat conftest.err
>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); } &&
10779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try
='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 ac_cv_lib_Xp_XpCreateContext
=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.
$ac_ext >&5
10796 ac_cv_lib_Xp_XpCreateContext
=no
10798 rm -f conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10803 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10804 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10808 if test ${HAVE_LIBXP} = yes; then
10810 cat >>confdefs.h
<<\_ACEOF
10811 #define HAVE_LIBXP 1
10818 ### Is -lXaw3d available?
10820 if test "${HAVE_X11}" = "yes"; then
10821 if test "${USE_X_TOOLKIT}" != "none"; then
10822 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10823 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10824 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 cat >conftest.
$ac_ext <<_ACEOF
10830 cat confdefs.h
>>conftest.
$ac_ext
10831 cat >>conftest.
$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833 #include <X11/Xaw3d/Scrollbar.h>
10835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev
/null
; then
10843 if test -s conftest.err
; then
10844 ac_cpp_err
=$ac_c_preproc_warn_flag
10845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10852 if test -z "$ac_cpp_err"; then
10853 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.
$ac_ext >&5
10858 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
10860 rm -f conftest.err conftest.
$ac_ext
10862 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
10863 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
10864 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
10865 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10866 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
10867 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 ac_check_lib_save_LIBS
=$LIBS
10871 LIBS
="-lXaw3d $LIBS"
10872 cat >conftest.
$ac_ext <<_ACEOF
10875 cat confdefs.h
>>conftest.
$ac_ext
10876 cat >>conftest.
$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10879 /* Override any gcc2 internal prototype to avoid an error. */
10883 /* We use char because int might match the return type of a gcc2
10884 builtin and then its argument prototype would still apply. */
10885 char XawScrollbarSetThumb ();
10889 XawScrollbarSetThumb ();
10894 rm -f conftest.
$ac_objext conftest
$ac_exeext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10896 (eval $ac_link) 2>conftest.er1
10898 grep -v '^ *+' conftest.er1
>conftest.err
10900 cat conftest.err
>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; } &&
10909 { ac_try
='test -s conftest$ac_exeext'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; }; then
10915 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.
$ac_ext >&5
10920 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
10922 rm -f conftest.err conftest.
$ac_objext \
10923 conftest
$ac_exeext conftest.
$ac_ext
10924 LIBS
=$ac_check_lib_save_LIBS
10926 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
10927 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
10928 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
10935 if test "${HAVE_XAW3D}" = "yes"; then
10937 cat >>confdefs.h
<<\_ACEOF
10938 #define HAVE_XAW3D 1
10947 USE_TOOLKIT_SCROLL_BARS
=no
10948 if test "${with_toolkit_scroll_bars}" != "no"; then
10949 if test "${USE_X_TOOLKIT}" != "none"; then
10950 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10951 cat >>confdefs.h
<<\_ACEOF
10952 #define USE_TOOLKIT_SCROLL_BARS 1
10956 USE_TOOLKIT_SCROLL_BARS
=yes
10957 elif test "${HAVE_XAW3D}" = "yes"; then
10958 cat >>confdefs.h
<<\_ACEOF
10959 #define USE_TOOLKIT_SCROLL_BARS 1
10962 USE_TOOLKIT_SCROLL_BARS
=yes
10964 elif test "${HAVE_GTK}" = "yes"; then
10965 cat >>confdefs.h
<<\_ACEOF
10966 #define USE_TOOLKIT_SCROLL_BARS 1
10969 USE_TOOLKIT_SCROLL_BARS
=yes
10973 cat >conftest.
$ac_ext <<_ACEOF
10976 cat confdefs.h
>>conftest.
$ac_ext
10977 cat >>conftest.
$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10980 #include <X11/Xlib.h>
10981 #include <X11/Xresource.h>
10990 rm -f conftest.
$ac_objext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10992 (eval $ac_compile) 2>conftest.er1
10994 grep -v '^ *+' conftest.er1
>conftest.err
10996 cat conftest.err
>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try
='test -s conftest.$ac_objext'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; }; then
11013 cat >>confdefs.h
<<\_ACEOF
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.
$ac_ext >&5
11023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11026 if test "${with_xim}" != "no"; then
11028 cat >>confdefs.h
<<\_ACEOF
11035 if test "${HAVE_XIM}" != "no"; then
11036 late_CFLAGS
=$CFLAGS
11037 if test "$GCC" = yes; then
11038 CFLAGS
="$CFLAGS --pedantic-errors"
11040 cat >conftest.
$ac_ext <<_ACEOF
11043 cat confdefs.h
>>conftest.
$ac_ext
11044 cat >>conftest.
$ac_ext <<_ACEOF
11045 /* end confdefs.h. */
11047 #include <X11/Xlib.h>
11048 #include <X11/Xresource.h>
11057 XPointer *client_data;
11059 /* If we're not using GCC, it's probably not XFree86, and this is
11060 probably right, but we can't use something like --pedantic-errors. */
11061 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11062 char*, XIMProc, XPointer*);
11064 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
11070 rm -f conftest.
$ac_objext
11071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11072 (eval $ac_compile) 2>conftest.er1
11074 grep -v '^ *+' conftest.er1
>conftest.err
11076 cat conftest.err
>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } &&
11079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; } &&
11085 { ac_try
='test -s conftest.$ac_objext'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; }; then
11091 emacs_cv_arg6_star
=yes
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.
$ac_ext >&5
11097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11099 if test "$emacs_cv_arg6_star" = yes; then
11100 cat >>confdefs.h
<<\_ACEOF
11101 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11105 cat >>confdefs.h
<<\_ACEOF
11106 #define XRegisterIMInstantiateCallback_arg6 XPointer
11110 CFLAGS
=$late_CFLAGS
11113 ### Use -lXpm if available, unless `--with-xpm=no'.
11115 if test "${HAVE_X11}" = "yes"; then
11116 if test "${with_xpm}" != "no"; then
11117 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11118 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11119 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11120 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11123 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11124 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11126 # Is the header compilable?
11127 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11128 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
11129 cat >conftest.
$ac_ext <<_ACEOF
11132 cat confdefs.h
>>conftest.
$ac_ext
11133 cat >>conftest.
$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11135 $ac_includes_default
11136 #include <X11/xpm.h>
11138 rm -f conftest.
$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>conftest.er1
11142 grep -v '^ *+' conftest.er1
>conftest.err
11144 cat conftest.err
>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; } &&
11153 { ac_try
='test -s conftest.$ac_objext'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; }; then
11159 ac_header_compiler
=yes
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.
$ac_ext >&5
11164 ac_header_compiler
=no
11166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11168 echo "${ECHO_T}$ac_header_compiler" >&6
11170 # Is the header present?
11171 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11172 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
11173 cat >conftest.
$ac_ext <<_ACEOF
11176 cat confdefs.h
>>conftest.
$ac_ext
11177 cat >>conftest.
$ac_ext <<_ACEOF
11178 /* end confdefs.h. */
11179 #include <X11/xpm.h>
11181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11184 grep -v '^ *+' conftest.er1
>conftest.err
11186 cat conftest.err
>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } >/dev
/null
; then
11189 if test -s conftest.err
; then
11190 ac_cpp_err
=$ac_c_preproc_warn_flag
11191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11198 if test -z "$ac_cpp_err"; then
11199 ac_header_preproc
=yes
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.
$ac_ext >&5
11204 ac_header_preproc
=no
11206 rm -f conftest.err conftest.
$ac_ext
11207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11208 echo "${ECHO_T}$ac_header_preproc" >&6
11210 # So? What about this header?
11211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11213 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
11214 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11215 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
11216 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
11217 ac_header_preproc
=yes
11220 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
11221 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
11222 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
11223 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
11224 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
11225 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
11226 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
11227 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
11228 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
11229 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11230 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11231 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11234 ## ------------------------------------------ ##
11235 ## Report this to the AC_PACKAGE_NAME lists. ##
11236 ## ------------------------------------------ ##
11239 sed "s/^/$as_me: WARNING: /" >&2
11242 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11243 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11244 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11245 echo $ECHO_N "(cached) $ECHO_C" >&6
11247 ac_cv_header_X11_xpm_h
=$ac_header_preproc
11249 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11250 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11253 if test $ac_cv_header_X11_xpm_h = yes; then
11254 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11255 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
11256 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 ac_check_lib_save_LIBS
=$LIBS
11260 LIBS
="-lXpm -lX11 $LIBS"
11261 cat >conftest.
$ac_ext <<_ACEOF
11264 cat confdefs.h
>>conftest.
$ac_ext
11265 cat >>conftest.
$ac_ext <<_ACEOF
11266 /* end confdefs.h. */
11268 /* Override any gcc2 internal prototype to avoid an error. */
11272 /* We use char because int might match the return type of a gcc2
11273 builtin and then its argument prototype would still apply. */
11274 char XpmReadFileToPixmap ();
11278 XpmReadFileToPixmap ();
11283 rm -f conftest.
$ac_objext conftest
$ac_exeext
11284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11285 (eval $ac_link) 2>conftest.er1
11287 grep -v '^ *+' conftest.er1
>conftest.err
11289 cat conftest.err
>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; } &&
11298 { ac_try
='test -s conftest$ac_exeext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.
$ac_ext >&5
11309 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
11311 rm -f conftest.err conftest.
$ac_objext \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 LIBS
=$ac_check_lib_save_LIBS
11315 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11316 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
11317 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11324 if test "${HAVE_XPM}" = "yes"; then
11325 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11326 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
11327 cat >conftest.
$ac_ext <<_ACEOF
11330 cat confdefs.h
>>conftest.
$ac_ext
11331 cat >>conftest.
$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11333 #include "X11/xpm.h"
11334 #ifndef XpmReturnAllocPixels
11335 no_return_alloc_pixels
11339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11340 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
11348 if test "${HAVE_XPM}" = "yes"; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11358 if test "${HAVE_XPM}" = "yes"; then
11360 cat >>confdefs.h
<<\_ACEOF
11367 ### Use -ljpeg if available, unless `--with-jpeg=no'.
11369 if test "${HAVE_X11}" = "yes"; then
11370 if test "${with_jpeg}" != "no"; then
11371 if test "${ac_cv_header_jerror_h+set}" = set; then
11372 echo "$as_me:$LINENO: checking for jerror.h" >&5
11373 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11374 if test "${ac_cv_header_jerror_h+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11378 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11380 # Is the header compilable?
11381 echo "$as_me:$LINENO: checking jerror.h usability" >&5
11382 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
11383 cat >conftest.
$ac_ext <<_ACEOF
11386 cat confdefs.h
>>conftest.
$ac_ext
11387 cat >>conftest.
$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 $ac_includes_default
11390 #include <jerror.h>
11392 rm -f conftest.
$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; } &&
11407 { ac_try
='test -s conftest.$ac_objext'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; }; then
11413 ac_header_compiler
=yes
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.
$ac_ext >&5
11418 ac_header_compiler
=no
11420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11422 echo "${ECHO_T}$ac_header_compiler" >&6
11424 # Is the header present?
11425 echo "$as_me:$LINENO: checking jerror.h presence" >&5
11426 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 #include <jerror.h>
11435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11438 grep -v '^ *+' conftest.er1
>conftest.err
11440 cat conftest.err
>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } >/dev
/null
; then
11443 if test -s conftest.err
; then
11444 ac_cpp_err
=$ac_c_preproc_warn_flag
11445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11452 if test -z "$ac_cpp_err"; then
11453 ac_header_preproc
=yes
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11458 ac_header_preproc
=no
11460 rm -f conftest.err conftest.
$ac_ext
11461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11462 echo "${ECHO_T}$ac_header_preproc" >&6
11464 # So? What about this header?
11465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11467 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11468 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11469 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11470 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11471 ac_header_preproc
=yes
11474 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11475 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11477 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11479 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11480 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11481 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11482 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11483 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11485 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11488 ## ------------------------------------------ ##
11489 ## Report this to the AC_PACKAGE_NAME lists. ##
11490 ## ------------------------------------------ ##
11493 sed "s/^/$as_me: WARNING: /" >&2
11496 echo "$as_me:$LINENO: checking for jerror.h" >&5
11497 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11498 if test "${ac_cv_header_jerror_h+set}" = set; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 ac_cv_header_jerror_h
=$ac_header_preproc
11503 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11504 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11507 if test $ac_cv_header_jerror_h = yes; then
11508 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11509 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11510 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 ac_check_lib_save_LIBS
=$LIBS
11514 LIBS
="-ljpeg $LIBS"
11515 cat >conftest.
$ac_ext <<_ACEOF
11518 cat confdefs.h
>>conftest.
$ac_ext
11519 cat >>conftest.
$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11522 /* Override any gcc2 internal prototype to avoid an error. */
11526 /* We use char because int might match the return type of a gcc2
11527 builtin and then its argument prototype would still apply. */
11528 char jpeg_destroy_compress ();
11532 jpeg_destroy_compress ();
11537 rm -f conftest.
$ac_objext conftest
$ac_exeext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539 (eval $ac_link) 2>conftest.er1
11541 grep -v '^ *+' conftest.er1
>conftest.err
11543 cat conftest.err
>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try
='test -s conftest$ac_exeext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.
$ac_ext >&5
11563 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11565 rm -f conftest.err conftest.
$ac_objext \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 LIBS
=$ac_check_lib_save_LIBS
11569 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11570 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11571 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11581 if test "${HAVE_JPEG}" = "yes"; then
11582 cat >>confdefs.h
<<\_ACEOF
11583 #define HAVE_JPEG 1
11586 cat >conftest.
$ac_ext <<_ACEOF
11589 cat confdefs.h
>>conftest.
$ac_ext
11590 cat >>conftest.
$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11592 #include <jpeglib.h>
11593 version=JPEG_LIB_VERSION
11596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11597 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11598 cat >>confdefs.h
<<\_ACEOF
11599 #define HAVE_JPEG 1
11603 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11604 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11612 ### Use -lpng if available, unless `--with-png=no'.
11614 if test "${HAVE_X11}" = "yes"; then
11615 if test "${with_png}" != "no"; then
11616 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11617 # in /usr/include/libpng.
11620 for ac_header
in png.h libpng
/png.h
11622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11624 echo "$as_me:$LINENO: checking for $ac_header" >&5
11625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11632 # Is the header compilable?
11633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11635 cat >conftest.
$ac_ext <<_ACEOF
11638 cat confdefs.h
>>conftest.
$ac_ext
11639 cat >>conftest.
$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641 $ac_includes_default
11642 #include <$ac_header>
11644 rm -f conftest.
$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; } &&
11659 { ac_try
='test -s conftest.$ac_objext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_header_compiler
=yes
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.
$ac_ext >&5
11670 ac_header_compiler
=no
11672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11674 echo "${ECHO_T}$ac_header_compiler" >&6
11676 # Is the header present?
11677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11679 cat >conftest.
$ac_ext <<_ACEOF
11682 cat confdefs.h
>>conftest.
$ac_ext
11683 cat >>conftest.
$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685 #include <$ac_header>
11687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11690 grep -v '^ *+' conftest.er1
>conftest.err
11692 cat conftest.err
>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } >/dev
/null
; then
11695 if test -s conftest.err
; then
11696 ac_cpp_err
=$ac_c_preproc_warn_flag
11697 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11704 if test -z "$ac_cpp_err"; then
11705 ac_header_preproc
=yes
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.
$ac_ext >&5
11710 ac_header_preproc
=no
11712 rm -f conftest.err conftest.
$ac_ext
11713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11714 echo "${ECHO_T}$ac_header_preproc" >&6
11716 # So? What about this header?
11717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11723 ac_header_preproc
=yes
11726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11740 ## ------------------------------------------ ##
11741 ## Report this to the AC_PACKAGE_NAME lists. ##
11742 ## ------------------------------------------ ##
11745 sed "s/^/$as_me: WARNING: /" >&2
11748 echo "$as_me:$LINENO: checking for $ac_header" >&5
11749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 eval "$as_ac_Header=\$ac_header_preproc"
11755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11760 cat >>confdefs.h
<<_ACEOF
11761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11768 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11769 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11770 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11771 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 ac_check_lib_save_LIBS
=$LIBS
11775 LIBS
="-lpng -lz -lm $LIBS"
11776 cat >conftest.
$ac_ext <<_ACEOF
11779 cat confdefs.h
>>conftest.
$ac_ext
11780 cat >>conftest.
$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11783 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11789 char png_get_channels ();
11793 png_get_channels ();
11798 rm -f conftest.
$ac_objext conftest
$ac_exeext
11799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11800 (eval $ac_link) 2>conftest.er1
11802 grep -v '^ *+' conftest.er1
>conftest.err
11804 cat conftest.err
>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } &&
11807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; } &&
11813 { ac_try
='test -s conftest$ac_exeext'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; }; then
11819 ac_cv_lib_png_png_get_channels
=yes
11821 echo "$as_me: failed program was:" >&5
11822 sed 's/^/| /' conftest.
$ac_ext >&5
11824 ac_cv_lib_png_png_get_channels
=no
11826 rm -f conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_lib_save_LIBS
11830 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
11831 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
11832 if test $ac_cv_lib_png_png_get_channels = yes; then
11839 if test "${HAVE_PNG}" = "yes"; then
11841 cat >>confdefs.h
<<\_ACEOF
11848 ### Use -ltiff if available, unless `--with-tiff=no'.
11850 if test "${HAVE_X11}" = "yes"; then
11851 if test "${with_tiff}" != "no"; then
11852 if test "${ac_cv_header_tiffio_h+set}" = set; then
11853 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11854 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11855 if test "${ac_cv_header_tiffio_h+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11859 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11861 # Is the header compilable?
11862 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
11863 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
11864 cat >conftest.
$ac_ext <<_ACEOF
11867 cat confdefs.h
>>conftest.
$ac_ext
11868 cat >>conftest.
$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 $ac_includes_default
11871 #include <tiffio.h>
11873 rm -f conftest.
$ac_objext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11875 (eval $ac_compile) 2>conftest.er1
11877 grep -v '^ *+' conftest.er1
>conftest.err
11879 cat conftest.err
>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } &&
11882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; } &&
11888 { ac_try
='test -s conftest.$ac_objext'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; }; then
11894 ac_header_compiler
=yes
11896 echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.
$ac_ext >&5
11899 ac_header_compiler
=no
11901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11903 echo "${ECHO_T}$ac_header_compiler" >&6
11905 # Is the header present?
11906 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
11907 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
11908 cat >conftest.
$ac_ext <<_ACEOF
11911 cat confdefs.h
>>conftest.
$ac_ext
11912 cat >>conftest.
$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 #include <tiffio.h>
11916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11919 grep -v '^ *+' conftest.er1
>conftest.err
11921 cat conftest.err
>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); } >/dev
/null
; then
11924 if test -s conftest.err
; then
11925 ac_cpp_err
=$ac_c_preproc_warn_flag
11926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11933 if test -z "$ac_cpp_err"; then
11934 ac_header_preproc
=yes
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.
$ac_ext >&5
11939 ac_header_preproc
=no
11941 rm -f conftest.err conftest.
$ac_ext
11942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11943 echo "${ECHO_T}$ac_header_preproc" >&6
11945 # So? What about this header?
11946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11948 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
11949 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11950 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
11951 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
11952 ac_header_preproc
=yes
11955 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
11956 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
11957 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
11958 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
11959 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
11960 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
11961 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
11962 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
11963 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
11964 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
11965 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
11966 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
11969 ## ------------------------------------------ ##
11970 ## Report this to the AC_PACKAGE_NAME lists. ##
11971 ## ------------------------------------------ ##
11974 sed "s/^/$as_me: WARNING: /" >&2
11977 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11978 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11979 if test "${ac_cv_header_tiffio_h+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 ac_cv_header_tiffio_h
=$ac_header_preproc
11984 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11985 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11988 if test $ac_cv_header_tiffio_h = yes; then
11990 # At least one tiff package requires the jpeg library.
11991 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
11992 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
11993 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
11994 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 ac_check_lib_save_LIBS
=$LIBS
11998 LIBS
="-ltiff $tifflibs $LIBS"
11999 cat >conftest.
$ac_ext <<_ACEOF
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12006 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12012 char TIFFGetVersion ();
12021 rm -f conftest.
$ac_objext conftest
$ac_exeext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12023 (eval $ac_link) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; } &&
12036 { ac_try
='test -s conftest$ac_exeext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12042 ac_cv_lib_tiff_TIFFGetVersion
=yes
12044 echo "$as_me: failed program was:" >&5
12045 sed 's/^/| /' conftest.
$ac_ext >&5
12047 ac_cv_lib_tiff_TIFFGetVersion
=no
12049 rm -f conftest.err conftest.
$ac_objext \
12050 conftest
$ac_exeext conftest.
$ac_ext
12051 LIBS
=$ac_check_lib_save_LIBS
12053 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12054 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
12055 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12064 if test "${HAVE_TIFF}" = "yes"; then
12066 cat >>confdefs.h
<<\_ACEOF
12067 #define HAVE_TIFF 1
12073 ### Use -lgif if available, unless `--with-gif=no'.
12075 if test "${HAVE_X11}" = "yes"; then
12076 if test "${with_gif}" != "no"; then
12077 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12078 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12079 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12080 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12084 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12086 # Is the header compilable?
12087 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12088 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
12089 cat >conftest.
$ac_ext <<_ACEOF
12092 cat confdefs.h
>>conftest.
$ac_ext
12093 cat >>conftest.
$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12095 $ac_includes_default
12096 #include <gif_lib.h>
12098 rm -f conftest.
$ac_objext
12099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12100 (eval $ac_compile) 2>conftest.er1
12102 grep -v '^ *+' conftest.er1
>conftest.err
12104 cat conftest.err
>&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12109 (eval $ac_try) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); }; } &&
12113 { ac_try
='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119 ac_header_compiler
=yes
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.
$ac_ext >&5
12124 ac_header_compiler
=no
12126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12128 echo "${ECHO_T}$ac_header_compiler" >&6
12130 # Is the header present?
12131 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12132 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
12133 cat >conftest.
$ac_ext <<_ACEOF
12136 cat confdefs.h
>>conftest.
$ac_ext
12137 cat >>conftest.
$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 #include <gif_lib.h>
12141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12144 grep -v '^ *+' conftest.er1
>conftest.err
12146 cat conftest.err
>&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); } >/dev
/null
; then
12149 if test -s conftest.err
; then
12150 ac_cpp_err
=$ac_c_preproc_warn_flag
12151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12158 if test -z "$ac_cpp_err"; then
12159 ac_header_preproc
=yes
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12164 ac_header_preproc
=no
12166 rm -f conftest.err conftest.
$ac_ext
12167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12168 echo "${ECHO_T}$ac_header_preproc" >&6
12170 # So? What about this header?
12171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12173 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12174 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12175 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
12176 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
12177 ac_header_preproc
=yes
12180 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
12181 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
12183 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
12185 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
12186 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
12187 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12188 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
12189 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12191 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12194 ## ------------------------------------------ ##
12195 ## Report this to the AC_PACKAGE_NAME lists. ##
12196 ## ------------------------------------------ ##
12199 sed "s/^/$as_me: WARNING: /" >&2
12202 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12203 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12204 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 ac_cv_header_gif_lib_h
=$ac_header_preproc
12209 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12210 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12213 if test $ac_cv_header_gif_lib_h = yes; then
12214 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12215 # Earlier versions can crash Emacs.
12216 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12217 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
12218 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 ac_check_lib_save_LIBS
=$LIBS
12222 LIBS
="-lungif $LIBS"
12223 cat >conftest.
$ac_ext <<_ACEOF
12226 cat confdefs.h
>>conftest.
$ac_ext
12227 cat >>conftest.
$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12230 /* Override any gcc2 internal prototype to avoid an error. */
12234 /* We use char because int might match the return type of a gcc2
12235 builtin and then its argument prototype would still apply. */
12236 char EGifPutExtensionLast ();
12240 EGifPutExtensionLast ();
12245 rm -f conftest.
$ac_objext conftest
$ac_exeext
12246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12247 (eval $ac_link) 2>conftest.er1
12249 grep -v '^ *+' conftest.er1
>conftest.err
12251 cat conftest.err
>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); } &&
12254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try
='test -s conftest$ac_exeext'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.
$ac_ext >&5
12271 ac_cv_lib_ungif_EGifPutExtensionLast
=no
12273 rm -f conftest.err conftest.
$ac_objext \
12274 conftest
$ac_exeext conftest.
$ac_ext
12275 LIBS
=$ac_check_lib_save_LIBS
12277 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12278 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
12279 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12288 if test "${HAVE_GIF}" = "yes"; then
12290 cat >>confdefs.h
<<\_ACEOF
12297 ### Use Mac OS X Carbon API to implement GUI.
12299 if test "${with_carbon}" != "no"; then
12300 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12301 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12302 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12303 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12307 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12309 # Is the header compilable?
12310 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
12311 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
12312 cat >conftest.
$ac_ext <<_ACEOF
12315 cat confdefs.h
>>conftest.
$ac_ext
12316 cat >>conftest.
$ac_ext <<_ACEOF
12317 /* end confdefs.h. */
12318 $ac_includes_default
12319 #include <Carbon/Carbon.h>
12321 rm -f conftest.
$ac_objext
12322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12323 (eval $ac_compile) 2>conftest.er1
12325 grep -v '^ *+' conftest.er1
>conftest.err
12327 cat conftest.err
>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } &&
12330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; } &&
12336 { ac_try
='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_header_compiler
=yes
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.
$ac_ext >&5
12347 ac_header_compiler
=no
12349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12351 echo "${ECHO_T}$ac_header_compiler" >&6
12353 # Is the header present?
12354 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
12355 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 #include <Carbon/Carbon.h>
12364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } >/dev
/null
; then
12372 if test -s conftest.err
; then
12373 ac_cpp_err
=$ac_c_preproc_warn_flag
12374 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12381 if test -z "$ac_cpp_err"; then
12382 ac_header_preproc
=yes
12384 echo "$as_me: failed program was:" >&5
12385 sed 's/^/| /' conftest.
$ac_ext >&5
12387 ac_header_preproc
=no
12389 rm -f conftest.err conftest.
$ac_ext
12390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12391 echo "${ECHO_T}$ac_header_preproc" >&6
12393 # So? What about this header?
12394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12396 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
12397 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12398 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
12399 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
12400 ac_header_preproc
=yes
12403 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
12404 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
12406 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
12408 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
12409 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
12410 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
12412 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
12414 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
12417 ## ------------------------------------------ ##
12418 ## Report this to the AC_PACKAGE_NAME lists. ##
12419 ## ------------------------------------------ ##
12422 sed "s/^/$as_me: WARNING: /" >&2
12425 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12426 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12427 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
12432 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12433 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12436 if test $ac_cv_header_Carbon_Carbon_h = yes; then
12443 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12444 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12445 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12446 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12450 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12452 # Is the header compilable?
12453 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12454 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461 $ac_includes_default
12462 #include <malloc/malloc.h>
12464 rm -f conftest.
$ac_objext
12465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12466 (eval $ac_compile) 2>conftest.er1
12468 grep -v '^ *+' conftest.er1
>conftest.err
12470 cat conftest.err
>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } &&
12473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; } &&
12479 { ac_try
='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 ac_header_compiler
=yes
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 ac_header_compiler
=no
12492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12494 echo "${ECHO_T}$ac_header_compiler" >&6
12496 # Is the header present?
12497 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12498 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6
12499 cat >conftest.
$ac_ext <<_ACEOF
12502 cat confdefs.h
>>conftest.
$ac_ext
12503 cat >>conftest.
$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 #include <malloc/malloc.h>
12507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12508 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12510 grep -v '^ *+' conftest.er1
>conftest.err
12512 cat conftest.err
>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } >/dev
/null
; then
12515 if test -s conftest.err
; then
12516 ac_cpp_err
=$ac_c_preproc_warn_flag
12517 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12524 if test -z "$ac_cpp_err"; then
12525 ac_header_preproc
=yes
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.
$ac_ext >&5
12530 ac_header_preproc
=no
12532 rm -f conftest.err conftest.
$ac_ext
12533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12534 echo "${ECHO_T}$ac_header_preproc" >&6
12536 # So? What about this header?
12537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12539 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
12540 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
12542 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
12543 ac_header_preproc
=yes
12546 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
12547 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
12548 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
12549 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
12550 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
12551 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
12552 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
12553 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
12554 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
12555 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12556 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12557 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12560 ## ------------------------------------------ ##
12561 ## Report this to the AC_PACKAGE_NAME lists. ##
12562 ## ------------------------------------------ ##
12565 sed "s/^/$as_me: WARNING: /" >&2
12568 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12569 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12570 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 ac_cv_header_malloc_malloc_h
=$ac_header_preproc
12575 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12576 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12579 if test $ac_cv_header_malloc_malloc_h = yes; then
12581 cat >>confdefs.h
<<\_ACEOF
12582 #define HAVE_MALLOC_MALLOC_H 1
12589 if test "${HAVE_CARBON}" = "yes"; then
12591 cat >>confdefs.h
<<\_ACEOF
12592 #define HAVE_CARBON 1
12596 ## Specify the install directory
12598 if test "${carbon_appdir_x}" != ""; then
12599 case ${carbon_appdir_x} in
12600 y | ye |
yes) carbon_appdir
=/Applications
;;
12601 * ) carbon_appdir
=${carbon_appdir_x} ;;
12604 # We also have mouse menus.
12608 ### Use session management (-lSM -lICE) if available
12610 if test "${HAVE_X11}" = "yes"; then
12611 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12612 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12613 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12614 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12618 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12620 # Is the header compilable?
12621 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12622 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12623 cat >conftest.
$ac_ext <<_ACEOF
12626 cat confdefs.h
>>conftest.
$ac_ext
12627 cat >>conftest.
$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629 $ac_includes_default
12630 #include <X11/SM/SMlib.h>
12632 rm -f conftest.
$ac_objext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try
='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 ac_header_compiler
=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.
$ac_ext >&5
12658 ac_header_compiler
=no
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12662 echo "${ECHO_T}$ac_header_compiler" >&6
12664 # Is the header present?
12665 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12666 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12667 cat >conftest.
$ac_ext <<_ACEOF
12670 cat confdefs.h
>>conftest.
$ac_ext
12671 cat >>conftest.
$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 #include <X11/SM/SMlib.h>
12675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12678 grep -v '^ *+' conftest.er1
>conftest.err
12680 cat conftest.err
>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } >/dev
/null
; then
12683 if test -s conftest.err
; then
12684 ac_cpp_err
=$ac_c_preproc_warn_flag
12685 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12692 if test -z "$ac_cpp_err"; then
12693 ac_header_preproc
=yes
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.
$ac_ext >&5
12698 ac_header_preproc
=no
12700 rm -f conftest.err conftest.
$ac_ext
12701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12702 echo "${ECHO_T}$ac_header_preproc" >&6
12704 # So? What about this header?
12705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12707 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12708 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12709 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12710 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12711 ac_header_preproc
=yes
12714 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12715 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12716 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12717 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12718 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12719 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12720 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12721 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12722 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12723 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12724 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12725 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12728 ## ------------------------------------------ ##
12729 ## Report this to the AC_PACKAGE_NAME lists. ##
12730 ## ------------------------------------------ ##
12733 sed "s/^/$as_me: WARNING: /" >&2
12736 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12737 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12738 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12743 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12744 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12747 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12748 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12749 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12750 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 ac_check_lib_save_LIBS
=$LIBS
12754 LIBS
="-lSM -lICE $LIBS"
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12762 /* Override any gcc2 internal prototype to avoid an error. */
12766 /* We use char because int might match the return type of a gcc2
12767 builtin and then its argument prototype would still apply. */
12768 char SmcOpenConnection ();
12772 SmcOpenConnection ();
12777 rm -f conftest.
$ac_objext conftest
$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779 (eval $ac_link) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1
>conftest.err
12783 cat conftest.err
>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try
='test -s conftest$ac_exeext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 ac_cv_lib_SM_SmcOpenConnection
=yes
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12803 ac_cv_lib_SM_SmcOpenConnection
=no
12805 rm -f conftest.err conftest.
$ac_objext \
12806 conftest
$ac_exeext conftest.
$ac_ext
12807 LIBS
=$ac_check_lib_save_LIBS
12809 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12810 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12811 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12819 if test "${HAVE_X_SM}" = "yes"; then
12821 cat >>confdefs.h
<<\_ACEOF
12822 #define HAVE_X_SM 1
12827 *) LIBS
="-lSM -lICE $LIBS" ;;
12832 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12833 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12834 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12835 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 cat >conftest.
$ac_ext <<_ACEOF
12841 cat confdefs.h
>>conftest.
$ac_ext
12842 cat >>conftest.
$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12853 rm -f conftest.
$ac_objext conftest
$ac_exeext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855 (eval $ac_link) 2>conftest.er1
12857 grep -v '^ *+' conftest.er1
>conftest.err
12859 cat conftest.err
>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 (eval $ac_try) 2>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; } &&
12868 { ac_try
='test -s conftest$ac_exeext'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; }; then
12874 emacs_cv_netdb_declares_h_errno
=yes
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.
$ac_ext >&5
12879 emacs_cv_netdb_declares_h_errno
=no
12881 rm -f conftest.err conftest.
$ac_objext \
12882 conftest
$ac_exeext conftest.
$ac_ext
12884 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
12885 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
12886 if test $emacs_cv_netdb_declares_h_errno = yes; then
12888 cat >>confdefs.h
<<\_ACEOF
12889 #define HAVE_H_ERRNO 1
12894 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12895 # for constant arguments. Useless!
12896 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12897 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12898 if test "${ac_cv_working_alloca_h+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 cat >conftest.
$ac_ext <<_ACEOF
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <alloca.h>
12911 char *p = (char *) alloca (2 * sizeof (int));
12916 rm -f conftest.
$ac_objext conftest
$ac_exeext
12917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12918 (eval $ac_link) 2>conftest.er1
12920 grep -v '^ *+' conftest.er1
>conftest.err
12922 cat conftest.err
>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } &&
12925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try
='test -s conftest$ac_exeext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_working_alloca_h
=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12942 ac_cv_working_alloca_h
=no
12944 rm -f conftest.err conftest.
$ac_objext \
12945 conftest
$ac_exeext conftest.
$ac_ext
12947 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12948 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12949 if test $ac_cv_working_alloca_h = yes; then
12951 cat >>confdefs.h
<<\_ACEOF
12952 #define HAVE_ALLOCA_H 1
12957 echo "$as_me:$LINENO: checking for alloca" >&5
12958 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12959 if test "${ac_cv_func_alloca_works+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 cat >conftest.
$ac_ext <<_ACEOF
12965 cat confdefs.h
>>conftest.
$ac_ext
12966 cat >>conftest.
$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12969 # define alloca __builtin_alloca
12972 # include <malloc.h>
12973 # define alloca _alloca
12976 # include <alloca.h>
12981 # ifndef alloca /* predefined by HP cc +Olibcalls */
12992 char *p = (char *) alloca (1);
12997 rm -f conftest.
$ac_objext conftest
$ac_exeext
12998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12999 (eval $ac_link) 2>conftest.er1
13001 grep -v '^ *+' conftest.er1
>conftest.err
13003 cat conftest.err
>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); } &&
13006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; } &&
13012 { ac_try
='test -s conftest$ac_exeext'
13013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13014 (eval $ac_try) 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; }; then
13018 ac_cv_func_alloca_works
=yes
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 ac_cv_func_alloca_works
=no
13025 rm -f conftest.err conftest.
$ac_objext \
13026 conftest
$ac_exeext conftest.
$ac_ext
13028 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13029 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13031 if test $ac_cv_func_alloca_works = yes; then
13033 cat >>confdefs.h
<<\_ACEOF
13034 #define HAVE_ALLOCA 1
13038 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13039 # that cause trouble. Some versions do not even contain alloca or
13040 # contain a buggy version. If you still want to use their alloca,
13041 # use ar to extract alloca.o from them instead of compiling alloca.c.
13043 ALLOCA
=alloca.
$ac_objext
13045 cat >>confdefs.h
<<\_ACEOF
13050 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13051 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13052 if test "${ac_cv_os_cray+set}" = set; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 cat >conftest.
$ac_ext <<_ACEOF
13058 cat confdefs.h
>>conftest.
$ac_ext
13059 cat >>conftest.
$ac_ext <<_ACEOF
13060 /* end confdefs.h. */
13061 #if defined(CRAY) && ! defined(CRAY2)
13068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13069 $EGREP "webecray" >/dev
/null
2>&1; then
13077 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13078 echo "${ECHO_T}$ac_cv_os_cray" >&6
13079 if test $ac_cv_os_cray = yes; then
13080 for ac_func
in _getb67 GETB67 getb67
; do
13081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13082 echo "$as_me:$LINENO: checking for $ac_func" >&5
13083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_var+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 cat >conftest.
$ac_ext <<_ACEOF
13090 cat confdefs.h
>>conftest.
$ac_ext
13091 cat >>conftest.
$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13095 #define $ac_func innocuous_$ac_func
13097 /* System header to define __stub macros and hopefully few prototypes,
13098 which can conflict with char $ac_func (); below.
13099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13100 <limits.h> exists even on freestanding compilers. */
13103 # include <limits.h>
13105 # include <assert.h>
13110 /* Override any gcc2 internal prototype to avoid an error. */
13115 /* We use char because int might match the return type of a gcc2
13116 builtin and then its argument prototype would still apply. */
13118 /* The GNU C library defines this for functions which it implements
13119 to always fail with ENOSYS. Some functions are actually named
13120 something starting with __ and the normal name is an alias. */
13121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13124 char (*f) () = $ac_func;
13133 return f != $ac_func;
13138 rm -f conftest.
$ac_objext conftest
$ac_exeext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13140 (eval $ac_link) 2>conftest.er1
13142 grep -v '^ *+' conftest.er1
>conftest.err
13144 cat conftest.err
>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } &&
13147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try
='test -s conftest$ac_exeext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 eval "$as_ac_var=yes"
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13164 eval "$as_ac_var=no"
13166 rm -f conftest.err conftest.
$ac_objext \
13167 conftest
$ac_exeext conftest.
$ac_ext
13169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13171 if test `eval echo '${'$as_ac_var'}'` = yes; then
13173 cat >>confdefs.h
<<_ACEOF
13174 #define CRAY_STACKSEG_END $ac_func
13183 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13184 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13185 if test "${ac_cv_c_stack_direction+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 if test "$cross_compiling" = yes; then
13189 ac_cv_c_stack_direction
=0
13191 cat >conftest.
$ac_ext <<_ACEOF
13194 cat confdefs.h
>>conftest.
$ac_ext
13195 cat >>conftest.
$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13198 find_stack_direction ()
13200 static char *addr = 0;
13205 return find_stack_direction ();
13208 return (&dummy > addr) ? 1 : -1;
13214 exit (find_stack_direction () < 0);
13217 rm -f conftest
$ac_exeext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13219 (eval $ac_link) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 ac_cv_c_stack_direction
=1
13230 echo "$as_me: program exited with status $ac_status" >&5
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 ( exit $ac_status )
13235 ac_cv_c_stack_direction
=-1
13237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13240 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13241 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13243 cat >>confdefs.h
<<_ACEOF
13244 #define STACK_DIRECTION $ac_cv_c_stack_direction
13251 # fmod, logb, and frexp are found in -lm on most systems.
13252 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13254 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13255 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
13256 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 ac_check_lib_save_LIBS
=$LIBS
13261 cat >conftest.
$ac_ext <<_ACEOF
13264 cat confdefs.h
>>conftest.
$ac_ext
13265 cat >>conftest.
$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13268 /* Override any gcc2 internal prototype to avoid an error. */
13272 /* We use char because int might match the return type of a gcc2
13273 builtin and then its argument prototype would still apply. */
13283 rm -f conftest.
$ac_objext conftest
$ac_exeext
13284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13285 (eval $ac_link) 2>conftest.er1
13287 grep -v '^ *+' conftest.er1
>conftest.err
13289 cat conftest.err
>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } &&
13292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; } &&
13298 { ac_try
='test -s conftest$ac_exeext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 ac_cv_lib_m_sqrt
=yes
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.
$ac_ext >&5
13309 ac_cv_lib_m_sqrt
=no
13311 rm -f conftest.err conftest.
$ac_objext \
13312 conftest
$ac_exeext conftest.
$ac_ext
13313 LIBS
=$ac_check_lib_save_LIBS
13315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13316 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
13317 if test $ac_cv_lib_m_sqrt = yes; then
13318 cat >>confdefs.h
<<_ACEOF
13319 #define HAVE_LIBM 1
13327 # Check for mail-locking functions in a "mail" library. Probably this should
13328 # have the same check as for liblockfile below.
13330 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13331 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
13332 if test "${ac_cv_lib_mail_maillock+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 ac_check_lib_save_LIBS
=$LIBS
13336 LIBS
="-lmail $LIBS"
13337 cat >conftest.
$ac_ext <<_ACEOF
13340 cat confdefs.h
>>conftest.
$ac_ext
13341 cat >>conftest.
$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13344 /* Override any gcc2 internal prototype to avoid an error. */
13348 /* We use char because int might match the return type of a gcc2
13349 builtin and then its argument prototype would still apply. */
13359 rm -f conftest.
$ac_objext conftest
$ac_exeext
13360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13361 (eval $ac_link) 2>conftest.er1
13363 grep -v '^ *+' conftest.er1
>conftest.err
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try
='test -s conftest$ac_exeext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 ac_cv_lib_mail_maillock
=yes
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 ac_cv_lib_mail_maillock
=no
13387 rm -f conftest.err conftest.
$ac_objext \
13388 conftest
$ac_exeext conftest.
$ac_ext
13389 LIBS
=$ac_check_lib_save_LIBS
13391 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13392 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
13393 if test $ac_cv_lib_mail_maillock = yes; then
13394 cat >>confdefs.h
<<_ACEOF
13395 #define HAVE_LIBMAIL 1
13398 LIBS
="-lmail $LIBS"
13403 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13404 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
13405 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13406 echo $ECHO_N "(cached) $ECHO_C" >&6
13408 ac_check_lib_save_LIBS
=$LIBS
13409 LIBS
="-llockfile $LIBS"
13410 cat >conftest.
$ac_ext <<_ACEOF
13413 cat confdefs.h
>>conftest.
$ac_ext
13414 cat >>conftest.
$ac_ext <<_ACEOF
13415 /* end confdefs.h. */
13417 /* Override any gcc2 internal prototype to avoid an error. */
13421 /* We use char because int might match the return type of a gcc2
13422 builtin and then its argument prototype would still apply. */
13432 rm -f conftest.
$ac_objext conftest
$ac_exeext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13434 (eval $ac_link) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest$ac_exeext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 ac_cv_lib_lockfile_maillock
=yes
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.
$ac_ext >&5
13458 ac_cv_lib_lockfile_maillock
=no
13460 rm -f conftest.err conftest.
$ac_objext \
13461 conftest
$ac_exeext conftest.
$ac_ext
13462 LIBS
=$ac_check_lib_save_LIBS
13464 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13465 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
13466 if test $ac_cv_lib_lockfile_maillock = yes; then
13467 cat >>confdefs.h
<<_ACEOF
13468 #define HAVE_LIBLOCKFILE 1
13471 LIBS
="-llockfile $LIBS"
13475 # If we have the shared liblockfile, assume we must use it for mail
13476 # locking (e.g. Debian). If we couldn't link against liblockfile
13477 # (no liblockfile.a installed), ensure that we don't need to.
13478 if test "$ac_cv_lib_lockfile_maillock" = no
; then
13479 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13480 set dummy liblockfile.so
; ac_word
=$2
13481 echo "$as_me:$LINENO: checking for $ac_word" >&5
13482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13483 if test "${ac_cv_prog_liblockfile+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 if test -n "$liblockfile"; then
13487 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
13489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13490 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
13491 for as_dir
in $as_dummy
13494 test -z "$as_dir" && as_dir
=.
13495 for ac_exec_ext
in '' $ac_executable_extensions; do
13496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13497 ac_cv_prog_liblockfile
="yes"
13498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13504 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
13507 liblockfile
=$ac_cv_prog_liblockfile
13508 if test -n "$liblockfile"; then
13509 echo "$as_me:$LINENO: result: $liblockfile" >&5
13510 echo "${ECHO_T}$liblockfile" >&6
13512 echo "$as_me:$LINENO: result: no" >&5
13513 echo "${ECHO_T}no" >&6
13516 if test $ac_cv_prog_liblockfile = yes; then
13517 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
13518 This probably means that movemail could lose mail.
13519 There may be a \`development' package to install containing liblockfile." >&5
13520 echo "$as_me: error: Shared liblockfile found but can't link against it.
13521 This probably means that movemail could lose mail.
13522 There may be a \`development' package to install containing liblockfile." >&2;}
13523 { (exit 1); exit 1; }; }
13528 for ac_func
in touchlock
13530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13531 echo "$as_me:$LINENO: checking for $ac_func" >&5
13532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13533 if eval "test \"\${$as_ac_var+set}\" = set"; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 cat >conftest.
$ac_ext <<_ACEOF
13539 cat confdefs.h
>>conftest.
$ac_ext
13540 cat >>conftest.
$ac_ext <<_ACEOF
13541 /* end confdefs.h. */
13542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13544 #define $ac_func innocuous_$ac_func
13546 /* System header to define __stub macros and hopefully few prototypes,
13547 which can conflict with char $ac_func (); below.
13548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13549 <limits.h> exists even on freestanding compilers. */
13552 # include <limits.h>
13554 # include <assert.h>
13559 /* Override any gcc2 internal prototype to avoid an error. */
13564 /* We use char because int might match the return type of a gcc2
13565 builtin and then its argument prototype would still apply. */
13567 /* The GNU C library defines this for functions which it implements
13568 to always fail with ENOSYS. Some functions are actually named
13569 something starting with __ and the normal name is an alias. */
13570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13573 char (*f) () = $ac_func;
13582 return f != $ac_func;
13587 rm -f conftest.
$ac_objext conftest
$ac_exeext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13589 (eval $ac_link) 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13598 (eval $ac_try) 2>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; } &&
13602 { ac_try
='test -s conftest$ac_exeext'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; }; then
13608 eval "$as_ac_var=yes"
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.
$ac_ext >&5
13613 eval "$as_ac_var=no"
13615 rm -f conftest.err conftest.
$ac_objext \
13616 conftest
$ac_exeext conftest.
$ac_ext
13618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13620 if test `eval echo '${'$as_ac_var'}'` = yes; then
13621 cat >>confdefs.h
<<_ACEOF
13622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13629 for ac_header
in maillock.h
13631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13633 echo "$as_me:$LINENO: checking for $ac_header" >&5
13634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13641 # Is the header compilable?
13642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 $ac_includes_default
13651 #include <$ac_header>
13653 rm -f conftest.
$ac_objext
13654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13655 (eval $ac_compile) 2>conftest.er1
13657 grep -v '^ *+' conftest.er1
>conftest.err
13659 cat conftest.err
>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; } &&
13668 { ac_try
='test -s conftest.$ac_objext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then
13674 ac_header_compiler
=yes
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.
$ac_ext >&5
13679 ac_header_compiler
=no
13681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13683 echo "${ECHO_T}$ac_header_compiler" >&6
13685 # Is the header present?
13686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13688 cat >conftest.
$ac_ext <<_ACEOF
13691 cat confdefs.h
>>conftest.
$ac_ext
13692 cat >>conftest.
$ac_ext <<_ACEOF
13693 /* end confdefs.h. */
13694 #include <$ac_header>
13696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1
>conftest.err
13701 cat conftest.err
>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } >/dev
/null
; then
13704 if test -s conftest.err
; then
13705 ac_cpp_err
=$ac_c_preproc_warn_flag
13706 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13713 if test -z "$ac_cpp_err"; then
13714 ac_header_preproc
=yes
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13719 ac_header_preproc
=no
13721 rm -f conftest.err conftest.
$ac_ext
13722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13723 echo "${ECHO_T}$ac_header_preproc" >&6
13725 # So? What about this header?
13726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13732 ac_header_preproc
=yes
13735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13749 ## ------------------------------------------ ##
13750 ## Report this to the AC_PACKAGE_NAME lists. ##
13751 ## ------------------------------------------ ##
13754 sed "s/^/$as_me: WARNING: /" >&2
13757 echo "$as_me:$LINENO: checking for $ac_header" >&5
13758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13760 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 eval "$as_ac_Header=\$ac_header_preproc"
13764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13769 cat >>confdefs.h
<<_ACEOF
13770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13845 for ac_func
in gethostname getdomainname dup2 \
13846 rename closedir mkdir
rmdir sysinfo getrusage \
13847 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13848 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13849 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13850 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13851 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13852 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13853 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
13855 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13856 echo "$as_me:$LINENO: checking for $ac_func" >&5
13857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13858 if eval "test \"\${$as_ac_var+set}\" = set"; then
13859 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 cat >conftest.
$ac_ext <<_ACEOF
13864 cat confdefs.h
>>conftest.
$ac_ext
13865 cat >>conftest.
$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13869 #define $ac_func innocuous_$ac_func
13871 /* System header to define __stub macros and hopefully few prototypes,
13872 which can conflict with char $ac_func (); below.
13873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13874 <limits.h> exists even on freestanding compilers. */
13877 # include <limits.h>
13879 # include <assert.h>
13884 /* Override any gcc2 internal prototype to avoid an error. */
13889 /* We use char because int might match the return type of a gcc2
13890 builtin and then its argument prototype would still apply. */
13892 /* The GNU C library defines this for functions which it implements
13893 to always fail with ENOSYS. Some functions are actually named
13894 something starting with __ and the normal name is an alias. */
13895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13898 char (*f) () = $ac_func;
13907 return f != $ac_func;
13912 rm -f conftest.
$ac_objext conftest
$ac_exeext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13914 (eval $ac_link) 2>conftest.er1
13916 grep -v '^ *+' conftest.er1
>conftest.err
13918 cat conftest.err
>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); } &&
13921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; } &&
13927 { ac_try
='test -s conftest$ac_exeext'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; }; then
13933 eval "$as_ac_var=yes"
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.
$ac_ext >&5
13938 eval "$as_ac_var=no"
13940 rm -f conftest.err conftest.
$ac_objext \
13941 conftest
$ac_exeext conftest.
$ac_ext
13943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13945 if test `eval echo '${'$as_ac_var'}'` = yes; then
13946 cat >>confdefs.h
<<_ACEOF
13947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13955 for ac_header
in sys
/un.h
13957 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13959 echo "$as_me:$LINENO: checking for $ac_header" >&5
13960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13967 # Is the header compilable?
13968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13970 cat >conftest.
$ac_ext <<_ACEOF
13973 cat confdefs.h
>>conftest.
$ac_ext
13974 cat >>conftest.
$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13976 $ac_includes_default
13977 #include <$ac_header>
13979 rm -f conftest.
$ac_objext
13980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13981 (eval $ac_compile) 2>conftest.er1
13983 grep -v '^ *+' conftest.er1
>conftest.err
13985 cat conftest.err
>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); } &&
13988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13990 (eval $ac_try) 2>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); }; } &&
13994 { ac_try
='test -s conftest.$ac_objext'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; }; then
14000 ac_header_compiler
=yes
14002 echo "$as_me: failed program was:" >&5
14003 sed 's/^/| /' conftest.
$ac_ext >&5
14005 ac_header_compiler
=no
14007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14009 echo "${ECHO_T}$ac_header_compiler" >&6
14011 # Is the header present?
14012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14014 cat >conftest.
$ac_ext <<_ACEOF
14017 cat confdefs.h
>>conftest.
$ac_ext
14018 cat >>conftest.
$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020 #include <$ac_header>
14022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14025 grep -v '^ *+' conftest.er1
>conftest.err
14027 cat conftest.err
>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } >/dev
/null
; then
14030 if test -s conftest.err
; then
14031 ac_cpp_err
=$ac_c_preproc_warn_flag
14032 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14039 if test -z "$ac_cpp_err"; then
14040 ac_header_preproc
=yes
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 ac_header_preproc
=no
14047 rm -f conftest.err conftest.
$ac_ext
14048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14049 echo "${ECHO_T}$ac_header_preproc" >&6
14051 # So? What about this header?
14052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14058 ac_header_preproc
=yes
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14075 ## ------------------------------------------ ##
14076 ## Report this to the AC_PACKAGE_NAME lists. ##
14077 ## ------------------------------------------ ##
14080 sed "s/^/$as_me: WARNING: /" >&2
14083 echo "$as_me:$LINENO: checking for $ac_header" >&5
14084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 eval "$as_ac_Header=\$ac_header_preproc"
14090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14095 cat >>confdefs.h
<<_ACEOF
14096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14107 for ac_header
in stdlib.h sys
/time.h unistd.h
14109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14111 echo "$as_me:$LINENO: checking for $ac_header" >&5
14112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14119 # Is the header compilable?
14120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14122 cat >conftest.
$ac_ext <<_ACEOF
14125 cat confdefs.h
>>conftest.
$ac_ext
14126 cat >>conftest.
$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128 $ac_includes_default
14129 #include <$ac_header>
14131 rm -f conftest.
$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>conftest.er1
14135 grep -v '^ *+' conftest.er1
>conftest.err
14137 cat conftest.err
>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try
='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_header_compiler
=yes
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.
$ac_ext >&5
14157 ac_header_compiler
=no
14159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14161 echo "${ECHO_T}$ac_header_compiler" >&6
14163 # Is the header present?
14164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <$ac_header>
14174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14177 grep -v '^ *+' conftest.er1
>conftest.err
14179 cat conftest.err
>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } >/dev
/null
; then
14182 if test -s conftest.err
; then
14183 ac_cpp_err
=$ac_c_preproc_warn_flag
14184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14191 if test -z "$ac_cpp_err"; then
14192 ac_header_preproc
=yes
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14197 ac_header_preproc
=no
14199 rm -f conftest.err conftest.
$ac_ext
14200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14201 echo "${ECHO_T}$ac_header_preproc" >&6
14203 # So? What about this header?
14204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14210 ac_header_preproc
=yes
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14227 ## ------------------------------------------ ##
14228 ## Report this to the AC_PACKAGE_NAME lists. ##
14229 ## ------------------------------------------ ##
14232 sed "s/^/$as_me: WARNING: /" >&2
14235 echo "$as_me:$LINENO: checking for $ac_header" >&5
14236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 eval "$as_ac_Header=\$ac_header_preproc"
14242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14247 cat >>confdefs.h
<<_ACEOF
14248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14256 for ac_func
in alarm
14258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14259 echo "$as_me:$LINENO: checking for $ac_func" >&5
14260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14261 if eval "test \"\${$as_ac_var+set}\" = set"; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14272 #define $ac_func innocuous_$ac_func
14274 /* System header to define __stub macros and hopefully few prototypes,
14275 which can conflict with char $ac_func (); below.
14276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14277 <limits.h> exists even on freestanding compilers. */
14280 # include <limits.h>
14282 # include <assert.h>
14287 /* Override any gcc2 internal prototype to avoid an error. */
14292 /* We use char because int might match the return type of a gcc2
14293 builtin and then its argument prototype would still apply. */
14295 /* The GNU C library defines this for functions which it implements
14296 to always fail with ENOSYS. Some functions are actually named
14297 something starting with __ and the normal name is an alias. */
14298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14301 char (*f) () = $ac_func;
14310 return f != $ac_func;
14315 rm -f conftest.
$ac_objext conftest
$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14319 grep -v '^ *+' conftest.er1
>conftest.err
14321 cat conftest.err
>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try
='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 eval "$as_ac_var=yes"
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14341 eval "$as_ac_var=no"
14343 rm -f conftest.err conftest.
$ac_objext \
14344 conftest
$ac_exeext conftest.
$ac_ext
14346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14348 if test `eval echo '${'$as_ac_var'}'` = yes; then
14349 cat >>confdefs.h
<<_ACEOF
14350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 echo "$as_me:$LINENO: checking for working mktime" >&5
14357 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
14358 if test "${ac_cv_func_working_mktime+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 if test "$cross_compiling" = yes; then
14362 ac_cv_func_working_mktime
=no
14364 cat >conftest.
$ac_ext <<_ACEOF
14367 cat confdefs.h
>>conftest.
$ac_ext
14368 cat >>conftest.
$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370 /* Test program from Paul Eggert and Tony Leneis. */
14371 #if TIME_WITH_SYS_TIME
14372 # include <sys/time.h>
14375 # if HAVE_SYS_TIME_H
14376 # include <sys/time.h>
14383 # include <stdlib.h>
14387 # include <unistd.h>
14391 # define alarm(X) /* empty */
14394 /* Work around redefinition to rpl_putenv by other config tests. */
14397 static time_t time_t_max;
14398 static time_t time_t_min;
14400 /* Values we'll use to set the TZ environment variable. */
14401 static char *tz_strings[] = {
14402 (char *) 0, "TZ=GMT0", "TZ=JST-9",
14403 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
14405 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14407 /* Fail if mktime fails to convert a date in the spring-forward gap.
14408 Based on a problem report from Andreas Jaeger. */
14410 spring_forward_gap ()
14412 /* glibc (up to about 1998-10-07) failed this test. */
14415 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
14416 instead of "TZ=America/Vancouver" in order to detect the bug even
14417 on systems that don't support the Olson extension, or don't have the
14418 full zoneinfo tables installed. */
14419 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
14428 if (mktime (&tm) == (time_t)-1)
14437 if ((lt = localtime (&now)) && mktime (lt) != now)
14445 mktime_test1 (now);
14446 mktime_test1 ((time_t) (time_t_max - now));
14447 mktime_test1 ((time_t) (time_t_min + now));
14453 /* Based on code from Ariel Faigon. */
14463 if (tm.tm_mon != 2 || tm.tm_mday != 31)
14473 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
14474 now = mktime (&tm);
14475 if (now != (time_t) -1)
14477 struct tm *lt = localtime (&now);
14479 && lt->tm_year == tm.tm_year
14480 && lt->tm_mon == tm.tm_mon
14481 && lt->tm_mday == tm.tm_mday
14482 && lt->tm_hour == tm.tm_hour
14483 && lt->tm_min == tm.tm_min
14484 && lt->tm_sec == tm.tm_sec
14485 && lt->tm_yday == tm.tm_yday
14486 && lt->tm_wday == tm.tm_wday
14487 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14488 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14499 /* This test makes some buggy mktime implementations loop.
14500 Give up after 60 seconds; a mktime slower than that
14501 isn't worth using anyway. */
14504 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
14507 if ((time_t) -1 < 0)
14508 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
14510 delta = time_t_max / 997; /* a suitable prime number */
14511 for (i = 0; i < N_STRINGS; i++)
14514 putenv (tz_strings[i]);
14516 for (t = 0; t <= time_t_max - delta; t += delta)
14518 mktime_test ((time_t) 1);
14519 mktime_test ((time_t) (60 * 60));
14520 mktime_test ((time_t) (60 * 60 * 24));
14522 for (j = 1; 0 < j; j *= 2)
14524 bigtime_test (j - 1);
14527 spring_forward_gap ();
14531 rm -f conftest
$ac_exeext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14533 (eval $ac_link) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; }; then
14542 ac_cv_func_working_mktime
=yes
14544 echo "$as_me: program exited with status $ac_status" >&5
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.
$ac_ext >&5
14548 ( exit $ac_status )
14549 ac_cv_func_working_mktime
=no
14551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14554 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14555 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14556 if test $ac_cv_func_working_mktime = no
; then
14558 "mktime.$ac_objext" | \
14559 *" mktime.$ac_objext" | \
14560 "mktime.$ac_objext "* | \
14561 *" mktime.$ac_objext "* ) ;;
14562 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14567 if test "$ac_cv_func_working_mktime" = no
; then
14569 cat >>confdefs.h
<<\_ACEOF
14570 #define BROKEN_MKTIME 1
14575 ac_have_func
=no
# yes means we've found a way to get the load average.
14577 # Make sure getloadavg.c is where it belongs, at configure-time.
14578 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14579 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14580 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14581 { (exit 1); exit 1; }; }
14585 # Check for getloadavg, but be sure not to touch the cache variable.
14586 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14587 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14588 if test "${ac_cv_func_getloadavg+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 cat >conftest.
$ac_ext <<_ACEOF
14594 cat confdefs.h
>>conftest.
$ac_ext
14595 cat >>conftest.
$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14599 #define getloadavg innocuous_getloadavg
14601 /* System header to define __stub macros and hopefully few prototypes,
14602 which can conflict with char getloadavg (); below.
14603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14604 <limits.h> exists even on freestanding compilers. */
14607 # include <limits.h>
14609 # include <assert.h>
14614 /* Override any gcc2 internal prototype to avoid an error. */
14619 /* We use char because int might match the return type of a gcc2
14620 builtin and then its argument prototype would still apply. */
14621 char getloadavg ();
14622 /* The GNU C library defines this for functions which it implements
14623 to always fail with ENOSYS. Some functions are actually named
14624 something starting with __ and the normal name is an alias. */
14625 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14628 char (*f) () = getloadavg;
14637 return f != getloadavg;
14642 rm -f conftest.
$ac_objext conftest
$ac_exeext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14644 (eval $ac_link) 2>conftest.er1
14646 grep -v '^ *+' conftest.er1
>conftest.err
14648 cat conftest.err
>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try
='test -s conftest$ac_exeext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 ac_cv_func_getloadavg
=yes
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.
$ac_ext >&5
14668 ac_cv_func_getloadavg
=no
14670 rm -f conftest.err conftest.
$ac_objext \
14671 conftest
$ac_exeext conftest.
$ac_ext
14673 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14674 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14675 if test $ac_cv_func_getloadavg = yes; then
14680 ) && ac_have_func
=yes
14682 # On HPUX9, an unprivileged user can get load averages through this function.
14684 for ac_func
in pstat_getdynamic
14686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14687 echo "$as_me:$LINENO: checking for $ac_func" >&5
14688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14689 if eval "test \"\${$as_ac_var+set}\" = set"; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 cat >conftest.
$ac_ext <<_ACEOF
14695 cat confdefs.h
>>conftest.
$ac_ext
14696 cat >>conftest.
$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14700 #define $ac_func innocuous_$ac_func
14702 /* System header to define __stub macros and hopefully few prototypes,
14703 which can conflict with char $ac_func (); below.
14704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14705 <limits.h> exists even on freestanding compilers. */
14708 # include <limits.h>
14710 # include <assert.h>
14715 /* Override any gcc2 internal prototype to avoid an error. */
14720 /* We use char because int might match the return type of a gcc2
14721 builtin and then its argument prototype would still apply. */
14723 /* The GNU C library defines this for functions which it implements
14724 to always fail with ENOSYS. Some functions are actually named
14725 something starting with __ and the normal name is an alias. */
14726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14729 char (*f) () = $ac_func;
14738 return f != $ac_func;
14743 rm -f conftest.
$ac_objext conftest
$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>conftest.er1
14747 grep -v '^ *+' conftest.er1
>conftest.err
14749 cat conftest.err
>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; } &&
14758 { ac_try
='test -s conftest$ac_exeext'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; }; then
14764 eval "$as_ac_var=yes"
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.
$ac_ext >&5
14769 eval "$as_ac_var=no"
14771 rm -f conftest.err conftest.
$ac_objext \
14772 conftest
$ac_exeext conftest.
$ac_ext
14774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14776 if test `eval echo '${'$as_ac_var'}'` = yes; then
14777 cat >>confdefs.h
<<_ACEOF
14778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14785 # Solaris has libkstat which does not require root.
14787 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14788 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14789 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 ac_check_lib_save_LIBS
=$LIBS
14793 LIBS
="-lkstat $LIBS"
14794 cat >conftest.
$ac_ext <<_ACEOF
14797 cat confdefs.h
>>conftest.
$ac_ext
14798 cat >>conftest.
$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14801 /* Override any gcc2 internal prototype to avoid an error. */
14805 /* We use char because int might match the return type of a gcc2
14806 builtin and then its argument prototype would still apply. */
14807 char kstat_open ();
14816 rm -f conftest.
$ac_objext conftest
$ac_exeext
14817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14818 (eval $ac_link) 2>conftest.er1
14820 grep -v '^ *+' conftest.er1
>conftest.err
14822 cat conftest.err
>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; } &&
14831 { ac_try
='test -s conftest$ac_exeext'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; }; then
14837 ac_cv_lib_kstat_kstat_open
=yes
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.
$ac_ext >&5
14842 ac_cv_lib_kstat_kstat_open
=no
14844 rm -f conftest.err conftest.
$ac_objext \
14845 conftest
$ac_exeext conftest.
$ac_ext
14846 LIBS
=$ac_check_lib_save_LIBS
14848 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14849 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14850 if test $ac_cv_lib_kstat_kstat_open = yes; then
14851 cat >>confdefs.h
<<_ACEOF
14852 #define HAVE_LIBKSTAT 1
14855 LIBS
="-lkstat $LIBS"
14859 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14861 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14862 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14863 # to get the right answer into the cache.
14864 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14865 if test $ac_have_func = no
; then
14866 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
14867 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
14868 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 ac_check_lib_save_LIBS
=$LIBS
14873 cat >conftest.
$ac_ext <<_ACEOF
14876 cat confdefs.h
>>conftest.
$ac_ext
14877 cat >>conftest.
$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14880 /* Override any gcc2 internal prototype to avoid an error. */
14884 /* We use char because int might match the return type of a gcc2
14885 builtin and then its argument prototype would still apply. */
14895 rm -f conftest.
$ac_objext conftest
$ac_exeext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14897 (eval $ac_link) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try
='test -s conftest$ac_exeext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_lib_elf_elf_begin
=yes
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ac_cv_lib_elf_elf_begin
=no
14923 rm -f conftest.err conftest.
$ac_objext \
14924 conftest
$ac_exeext conftest.
$ac_ext
14925 LIBS
=$ac_check_lib_save_LIBS
14927 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
14928 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
14929 if test $ac_cv_lib_elf_elf_begin = yes; then
14934 if test $ac_have_func = no
; then
14935 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
14936 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
14937 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 ac_check_lib_save_LIBS
=$LIBS
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any gcc2 internal prototype to avoid an error. */
14953 /* We use char because int might match the return type of a gcc2
14954 builtin and then its argument prototype would still apply. */
14964 rm -f conftest.
$ac_objext conftest
$ac_exeext
14965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14966 (eval $ac_link) 2>conftest.er1
14968 grep -v '^ *+' conftest.er1
>conftest.err
14970 cat conftest.err
>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } &&
14973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; } &&
14979 { ac_try
='test -s conftest$ac_exeext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14985 ac_cv_lib_kvm_kvm_open
=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.
$ac_ext >&5
14990 ac_cv_lib_kvm_kvm_open
=no
14992 rm -f conftest.err conftest.
$ac_objext \
14993 conftest
$ac_exeext conftest.
$ac_ext
14994 LIBS
=$ac_check_lib_save_LIBS
14996 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
14997 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
14998 if test $ac_cv_lib_kvm_kvm_open = yes; then
15002 # Check for the 4.4BSD definition of getloadavg.
15003 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15004 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
15005 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 ac_check_lib_save_LIBS
=$LIBS
15009 LIBS
="-lutil $LIBS"
15010 cat >conftest.
$ac_ext <<_ACEOF
15013 cat confdefs.h
>>conftest.
$ac_ext
15014 cat >>conftest.
$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15017 /* Override any gcc2 internal prototype to avoid an error. */
15021 /* We use char because int might match the return type of a gcc2
15022 builtin and then its argument prototype would still apply. */
15023 char getloadavg ();
15032 rm -f conftest.
$ac_objext conftest
$ac_exeext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15034 (eval $ac_link) 2>conftest.er1
15036 grep -v '^ *+' conftest.er1
>conftest.err
15038 cat conftest.err
>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
15041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; } &&
15047 { ac_try
='test -s conftest$ac_exeext'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; }; then
15053 ac_cv_lib_util_getloadavg
=yes
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.
$ac_ext >&5
15058 ac_cv_lib_util_getloadavg
=no
15060 rm -f conftest.err conftest.
$ac_objext \
15061 conftest
$ac_exeext conftest.
$ac_ext
15062 LIBS
=$ac_check_lib_save_LIBS
15064 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15065 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
15066 if test $ac_cv_lib_util_getloadavg = yes; then
15067 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
15072 if test $ac_have_func = no
; then
15073 # There is a commonly available library for RS/6000 AIX.
15074 # Since it is not a standard part of AIX, it might be installed locally.
15075 ac_getloadavg_LIBS
=$LIBS
15076 LIBS
="-L/usr/local/lib $LIBS"
15077 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15078 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
15079 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 ac_check_lib_save_LIBS
=$LIBS
15083 LIBS
="-lgetloadavg $LIBS"
15084 cat >conftest.
$ac_ext <<_ACEOF
15087 cat confdefs.h
>>conftest.
$ac_ext
15088 cat >>conftest.
$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15091 /* Override any gcc2 internal prototype to avoid an error. */
15095 /* We use char because int might match the return type of a gcc2
15096 builtin and then its argument prototype would still apply. */
15097 char getloadavg ();
15106 rm -f conftest.
$ac_objext conftest
$ac_exeext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15108 (eval $ac_link) 2>conftest.er1
15110 grep -v '^ *+' conftest.er1
>conftest.err
15112 cat conftest.err
>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } &&
15115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; } &&
15121 { ac_try
='test -s conftest$ac_exeext'
15122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15123 (eval $ac_try) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15127 ac_cv_lib_getloadavg_getloadavg
=yes
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.
$ac_ext >&5
15132 ac_cv_lib_getloadavg_getloadavg
=no
15134 rm -f conftest.err conftest.
$ac_objext \
15135 conftest
$ac_exeext conftest.
$ac_ext
15136 LIBS
=$ac_check_lib_save_LIBS
15138 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15139 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
15140 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15141 LIBS
="-lgetloadavg $LIBS"
15143 LIBS
=$ac_getloadavg_LIBS
15148 # Make sure it is really in the library, if we think we found it,
15149 # otherwise set up the replacement function.
15151 for ac_func
in getloadavg
15153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15154 echo "$as_me:$LINENO: checking for $ac_func" >&5
15155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15156 if eval "test \"\${$as_ac_var+set}\" = set"; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 cat >conftest.
$ac_ext <<_ACEOF
15162 cat confdefs.h
>>conftest.
$ac_ext
15163 cat >>conftest.
$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15167 #define $ac_func innocuous_$ac_func
15169 /* System header to define __stub macros and hopefully few prototypes,
15170 which can conflict with char $ac_func (); below.
15171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15172 <limits.h> exists even on freestanding compilers. */
15175 # include <limits.h>
15177 # include <assert.h>
15182 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15190 /* The GNU C library defines this for functions which it implements
15191 to always fail with ENOSYS. Some functions are actually named
15192 something starting with __ and the normal name is an alias. */
15193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15196 char (*f) () = $ac_func;
15205 return f != $ac_func;
15210 rm -f conftest.
$ac_objext conftest
$ac_exeext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15212 (eval $ac_link) 2>conftest.er1
15214 grep -v '^ *+' conftest.er1
>conftest.err
15216 cat conftest.err
>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } &&
15219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; } &&
15225 { ac_try
='test -s conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 eval "$as_ac_var=yes"
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15236 eval "$as_ac_var=no"
15238 rm -f conftest.err conftest.
$ac_objext \
15239 conftest
$ac_exeext conftest.
$ac_ext
15241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15243 if test `eval echo '${'$as_ac_var'}'` = yes; then
15244 cat >>confdefs.h
<<_ACEOF
15245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15250 "getloadavg.$ac_objext" | \
15251 *" getloadavg.$ac_objext" | \
15252 "getloadavg.$ac_objext "* | \
15253 *" getloadavg.$ac_objext "* ) ;;
15254 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
15258 cat >>confdefs.h
<<\_ACEOF
15259 #define C_GETLOADAVG 1
15262 # Figure out what our getloadavg.c needs.
15264 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15265 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15266 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15267 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15271 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15273 # Is the header compilable?
15274 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15275 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282 $ac_includes_default
15283 #include <sys/dg_sys_info.h>
15285 rm -f conftest.
$ac_objext
15286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>conftest.er1
15289 grep -v '^ *+' conftest.er1
>conftest.err
15291 cat conftest.err
>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; } &&
15300 { ac_try
='test -s conftest.$ac_objext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15306 ac_header_compiler
=yes
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.
$ac_ext >&5
15311 ac_header_compiler
=no
15313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15315 echo "${ECHO_T}$ac_header_compiler" >&6
15317 # Is the header present?
15318 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15319 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15320 cat >conftest.
$ac_ext <<_ACEOF
15323 cat confdefs.h
>>conftest.
$ac_ext
15324 cat >>conftest.
$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326 #include <sys/dg_sys_info.h>
15328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15331 grep -v '^ *+' conftest.er1
>conftest.err
15333 cat conftest.err
>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } >/dev
/null
; then
15336 if test -s conftest.err
; then
15337 ac_cpp_err
=$ac_c_preproc_warn_flag
15338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15345 if test -z "$ac_cpp_err"; then
15346 ac_header_preproc
=yes
15348 echo "$as_me: failed program was:" >&5
15349 sed 's/^/| /' conftest.
$ac_ext >&5
15351 ac_header_preproc
=no
15353 rm -f conftest.err conftest.
$ac_ext
15354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15355 echo "${ECHO_T}$ac_header_preproc" >&6
15357 # So? What about this header?
15358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15360 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15361 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15362 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15363 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15364 ac_header_preproc
=yes
15367 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15368 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15369 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15370 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15371 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15372 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15373 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15374 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15375 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15376 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15377 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15378 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15381 ## ------------------------------------------ ##
15382 ## Report this to the AC_PACKAGE_NAME lists. ##
15383 ## ------------------------------------------ ##
15386 sed "s/^/$as_me: WARNING: /" >&2
15389 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15390 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15391 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15396 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15397 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15400 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15403 cat >>confdefs.h
<<\_ACEOF
15408 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15409 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
15410 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 ac_check_lib_save_LIBS
=$LIBS
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 /* Override any gcc2 internal prototype to avoid an error. */
15426 /* We use char because int might match the return type of a gcc2
15427 builtin and then its argument prototype would still apply. */
15428 char dg_sys_info ();
15437 rm -f conftest.
$ac_objext conftest
$ac_exeext
15438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15439 (eval $ac_link) 2>conftest.er1
15441 grep -v '^ *+' conftest.er1
>conftest.err
15443 cat conftest.err
>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_lib_dgc_dg_sys_info
=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.
$ac_ext >&5
15463 ac_cv_lib_dgc_dg_sys_info
=no
15465 rm -f conftest.err conftest.
$ac_objext \
15466 conftest
$ac_exeext conftest.
$ac_ext
15467 LIBS
=$ac_check_lib_save_LIBS
15469 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15470 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
15471 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15472 cat >>confdefs.h
<<_ACEOF
15473 #define HAVE_LIBDGC 1
15484 if test "${ac_cv_header_locale_h+set}" = set; then
15485 echo "$as_me:$LINENO: checking for locale.h" >&5
15486 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15487 if test "${ac_cv_header_locale_h+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15491 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15493 # Is the header compilable?
15494 echo "$as_me:$LINENO: checking locale.h usability" >&5
15495 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
15496 cat >conftest.
$ac_ext <<_ACEOF
15499 cat confdefs.h
>>conftest.
$ac_ext
15500 cat >>conftest.
$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15502 $ac_includes_default
15503 #include <locale.h>
15505 rm -f conftest.
$ac_objext
15506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15507 (eval $ac_compile) 2>conftest.er1
15509 grep -v '^ *+' conftest.er1
>conftest.err
15511 cat conftest.err
>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); } &&
15514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516 (eval $ac_try) 2>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); }; } &&
15520 { ac_try
='test -s conftest.$ac_objext'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; }; then
15526 ac_header_compiler
=yes
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.
$ac_ext >&5
15531 ac_header_compiler
=no
15533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15535 echo "${ECHO_T}$ac_header_compiler" >&6
15537 # Is the header present?
15538 echo "$as_me:$LINENO: checking locale.h presence" >&5
15539 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15540 cat >conftest.
$ac_ext <<_ACEOF
15543 cat confdefs.h
>>conftest.
$ac_ext
15544 cat >>conftest.
$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 #include <locale.h>
15548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15551 grep -v '^ *+' conftest.er1
>conftest.err
15553 cat conftest.err
>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } >/dev
/null
; then
15556 if test -s conftest.err
; then
15557 ac_cpp_err
=$ac_c_preproc_warn_flag
15558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15565 if test -z "$ac_cpp_err"; then
15566 ac_header_preproc
=yes
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 ac_header_preproc
=no
15573 rm -f conftest.err conftest.
$ac_ext
15574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15575 echo "${ECHO_T}$ac_header_preproc" >&6
15577 # So? What about this header?
15578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15580 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15581 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15582 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15583 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15584 ac_header_preproc
=yes
15587 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15588 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15589 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15590 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15591 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15592 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15593 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15594 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15595 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15596 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15597 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15598 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15601 ## ------------------------------------------ ##
15602 ## Report this to the AC_PACKAGE_NAME lists. ##
15603 ## ------------------------------------------ ##
15606 sed "s/^/$as_me: WARNING: /" >&2
15609 echo "$as_me:$LINENO: checking for locale.h" >&5
15610 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15611 if test "${ac_cv_header_locale_h+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 ac_cv_header_locale_h
=$ac_header_preproc
15616 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15617 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15623 for ac_func
in setlocale
15625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15626 echo "$as_me:$LINENO: checking for $ac_func" >&5
15627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15628 if eval "test \"\${$as_ac_var+set}\" = set"; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 cat >conftest.
$ac_ext <<_ACEOF
15634 cat confdefs.h
>>conftest.
$ac_ext
15635 cat >>conftest.
$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15639 #define $ac_func innocuous_$ac_func
15641 /* System header to define __stub macros and hopefully few prototypes,
15642 which can conflict with char $ac_func (); below.
15643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15644 <limits.h> exists even on freestanding compilers. */
15647 # include <limits.h>
15649 # include <assert.h>
15654 /* Override any gcc2 internal prototype to avoid an error. */
15659 /* We use char because int might match the return type of a gcc2
15660 builtin and then its argument prototype would still apply. */
15662 /* The GNU C library defines this for functions which it implements
15663 to always fail with ENOSYS. Some functions are actually named
15664 something starting with __ and the normal name is an alias. */
15665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15668 char (*f) () = $ac_func;
15677 return f != $ac_func;
15682 rm -f conftest.
$ac_objext conftest
$ac_exeext
15683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15684 (eval $ac_link) 2>conftest.er1
15686 grep -v '^ *+' conftest.er1
>conftest.err
15688 cat conftest.err
>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); } &&
15691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; } &&
15697 { ac_try
='test -s conftest$ac_exeext'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; }; then
15703 eval "$as_ac_var=yes"
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.
$ac_ext >&5
15708 eval "$as_ac_var=no"
15710 rm -f conftest.err conftest.
$ac_objext \
15711 conftest
$ac_exeext conftest.
$ac_ext
15713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15715 if test `eval echo '${'$as_ac_var'}'` = yes; then
15716 cat >>confdefs.h
<<_ACEOF
15717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15724 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15725 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15726 # Irix 4.0.5F has the header but not the library.
15727 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15730 cat >>confdefs.h
<<\_ACEOF
15736 if test $ac_have_func = no
; then
15737 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15738 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15739 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15740 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15743 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15744 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15746 # Is the header compilable?
15747 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15748 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15756 #include <inq_stats/cpustats.h>
15758 rm -f conftest.
$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15762 grep -v '^ *+' conftest.er1
>conftest.err
15764 cat conftest.err
>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; } &&
15773 { ac_try
='test -s conftest.$ac_objext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 ac_header_compiler
=yes
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 ac_header_compiler
=no
15786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15788 echo "${ECHO_T}$ac_header_compiler" >&6
15790 # Is the header present?
15791 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15792 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 #include <inq_stats/cpustats.h>
15801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } >/dev
/null
; then
15809 if test -s conftest.err
; then
15810 ac_cpp_err
=$ac_c_preproc_warn_flag
15811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15818 if test -z "$ac_cpp_err"; then
15819 ac_header_preproc
=yes
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.
$ac_ext >&5
15824 ac_header_preproc
=no
15826 rm -f conftest.err conftest.
$ac_ext
15827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15828 echo "${ECHO_T}$ac_header_preproc" >&6
15830 # So? What about this header?
15831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15833 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15834 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15835 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15836 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15837 ac_header_preproc
=yes
15840 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15841 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15842 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15843 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15844 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15845 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15846 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15847 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15848 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15849 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15850 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15851 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15854 ## ------------------------------------------ ##
15855 ## Report this to the AC_PACKAGE_NAME lists. ##
15856 ## ------------------------------------------ ##
15859 sed "s/^/$as_me: WARNING: /" >&2
15862 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15863 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15864 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15865 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
15869 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15870 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15873 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
15876 cat >>confdefs.h
<<\_ACEOF
15881 cat >>confdefs.h
<<\_ACEOF
15890 if test $ac_have_func = no
; then
15891 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15892 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
15893 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
15894 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
15898 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
15900 # Is the header compilable?
15901 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
15902 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
15903 cat >conftest.
$ac_ext <<_ACEOF
15906 cat confdefs.h
>>conftest.
$ac_ext
15907 cat >>conftest.
$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909 $ac_includes_default
15910 #include <sys/cpustats.h>
15912 rm -f conftest.
$ac_objext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15914 (eval $ac_compile) 2>conftest.er1
15916 grep -v '^ *+' conftest.er1
>conftest.err
15918 cat conftest.err
>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } &&
15921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; } &&
15927 { ac_try
='test -s conftest.$ac_objext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_header_compiler
=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15938 ac_header_compiler
=no
15940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15942 echo "${ECHO_T}$ac_header_compiler" >&6
15944 # Is the header present?
15945 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
15946 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
15947 cat >conftest.
$ac_ext <<_ACEOF
15950 cat confdefs.h
>>conftest.
$ac_ext
15951 cat >>conftest.
$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 #include <sys/cpustats.h>
15955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15958 grep -v '^ *+' conftest.er1
>conftest.err
15960 cat conftest.err
>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } >/dev
/null
; then
15963 if test -s conftest.err
; then
15964 ac_cpp_err
=$ac_c_preproc_warn_flag
15965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15972 if test -z "$ac_cpp_err"; then
15973 ac_header_preproc
=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15978 ac_header_preproc
=no
15980 rm -f conftest.err conftest.
$ac_ext
15981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15982 echo "${ECHO_T}$ac_header_preproc" >&6
15984 # So? What about this header?
15985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15987 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15988 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15989 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
15990 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
15991 ac_header_preproc
=yes
15994 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
15995 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
15996 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
15997 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
15998 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
15999 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
16000 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16001 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16002 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16003 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16004 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16005 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16008 ## ------------------------------------------ ##
16009 ## Report this to the AC_PACKAGE_NAME lists. ##
16010 ## ------------------------------------------ ##
16013 sed "s/^/$as_me: WARNING: /" >&2
16016 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16017 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16018 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
16023 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16024 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16027 if test $ac_cv_header_sys_cpustats_h = yes; then
16028 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
16037 if test $ac_have_func = no
; then
16039 for ac_header
in mach
/mach.h
16041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16043 echo "$as_me:$LINENO: checking for $ac_header" >&5
16044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16051 # Is the header compilable?
16052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16054 cat >conftest.
$ac_ext <<_ACEOF
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16061 #include <$ac_header>
16063 rm -f conftest.
$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16067 grep -v '^ *+' conftest.er1
>conftest.err
16069 cat conftest.err
>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try
='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_header_compiler
=yes
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.
$ac_ext >&5
16089 ac_header_compiler
=no
16091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16093 echo "${ECHO_T}$ac_header_compiler" >&6
16095 # Is the header present?
16096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16098 cat >conftest.
$ac_ext <<_ACEOF
16101 cat confdefs.h
>>conftest.
$ac_ext
16102 cat >>conftest.
$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 #include <$ac_header>
16106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16109 grep -v '^ *+' conftest.er1
>conftest.err
16111 cat conftest.err
>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } >/dev
/null
; then
16114 if test -s conftest.err
; then
16115 ac_cpp_err
=$ac_c_preproc_warn_flag
16116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16123 if test -z "$ac_cpp_err"; then
16124 ac_header_preproc
=yes
16126 echo "$as_me: failed program was:" >&5
16127 sed 's/^/| /' conftest.
$ac_ext >&5
16129 ac_header_preproc
=no
16131 rm -f conftest.err conftest.
$ac_ext
16132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16133 echo "${ECHO_T}$ac_header_preproc" >&6
16135 # So? What about this header?
16136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16142 ac_header_preproc
=yes
16145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16159 ## ------------------------------------------ ##
16160 ## Report this to the AC_PACKAGE_NAME lists. ##
16161 ## ------------------------------------------ ##
16164 sed "s/^/$as_me: WARNING: /" >&2
16167 echo "$as_me:$LINENO: checking for $ac_header" >&5
16168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 eval "$as_ac_Header=\$ac_header_preproc"
16174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16179 cat >>confdefs.h
<<_ACEOF
16180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16190 for ac_header
in nlist.h
16192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16194 echo "$as_me:$LINENO: checking for $ac_header" >&5
16195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16202 # Is the header compilable?
16203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16205 cat >conftest.
$ac_ext <<_ACEOF
16208 cat confdefs.h
>>conftest.
$ac_ext
16209 cat >>conftest.
$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 $ac_includes_default
16212 #include <$ac_header>
16214 rm -f conftest.
$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1
>conftest.err
16220 cat conftest.err
>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try
='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 ac_header_compiler
=yes
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.
$ac_ext >&5
16240 ac_header_compiler
=no
16242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16244 echo "${ECHO_T}$ac_header_compiler" >&6
16246 # Is the header present?
16247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16249 cat >conftest.
$ac_ext <<_ACEOF
16252 cat confdefs.h
>>conftest.
$ac_ext
16253 cat >>conftest.
$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 #include <$ac_header>
16257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16260 grep -v '^ *+' conftest.er1
>conftest.err
16262 cat conftest.err
>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } >/dev
/null
; then
16265 if test -s conftest.err
; then
16266 ac_cpp_err
=$ac_c_preproc_warn_flag
16267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16274 if test -z "$ac_cpp_err"; then
16275 ac_header_preproc
=yes
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 ac_header_preproc
=no
16282 rm -f conftest.err conftest.
$ac_ext
16283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16284 echo "${ECHO_T}$ac_header_preproc" >&6
16286 # So? What about this header?
16287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16293 ac_header_preproc
=yes
16296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16310 ## ------------------------------------------ ##
16311 ## Report this to the AC_PACKAGE_NAME lists. ##
16312 ## ------------------------------------------ ##
16315 sed "s/^/$as_me: WARNING: /" >&2
16318 echo "$as_me:$LINENO: checking for $ac_header" >&5
16319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 eval "$as_ac_Header=\$ac_header_preproc"
16325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16330 cat >>confdefs.h
<<_ACEOF
16331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16333 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16334 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
16335 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16349 static struct nlist ac_aggr;
16350 if (ac_aggr.n_un.n_name)
16356 rm -f conftest.
$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16360 grep -v '^ *+' conftest.er1
>conftest.err
16362 cat conftest.err
>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; } &&
16371 { ac_try
='test -s conftest.$ac_objext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 ac_cv_member_struct_nlist_n_un_n_name
=yes
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.
$ac_ext >&5
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16393 static struct nlist ac_aggr;
16394 if (sizeof ac_aggr.n_un.n_name)
16400 rm -f conftest.
$ac_objext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16402 (eval $ac_compile) 2>conftest.er1
16404 grep -v '^ *+' conftest.er1
>conftest.err
16406 cat conftest.err
>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } &&
16409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; } &&
16415 { ac_try
='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_cv_member_struct_nlist_n_un_n_name
=yes
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 ac_cv_member_struct_nlist_n_un_n_name
=no
16428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16432 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16433 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
16434 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16436 cat >>confdefs.h
<<_ACEOF
16437 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
16441 cat >>confdefs.h
<<\_ACEOF
16442 #define NLIST_NAME_UNION 1
16456 # Some definitions of getloadavg require that the program be installed setgid.
16457 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16458 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
16459 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
16469 #ifdef LDAV_PRIVILEGED
16470 Yowza Am I SETGID yet
16473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16474 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
16475 ac_cv_func_getloadavg_setgid
=yes
16477 ac_cv_func_getloadavg_setgid
=no
16482 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16483 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
16484 if test $ac_cv_func_getloadavg_setgid = yes; then
16487 cat >>confdefs.h
<<\_ACEOF
16488 #define GETLOADAVG_PRIVILEGED 1
16495 if test $ac_cv_func_getloadavg_setgid = yes; then
16496 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16497 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
16498 if test "${ac_cv_group_kmem+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
16502 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
16503 # If we got an error (system does not support symlinks), try without -L.
16504 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
16505 ac_cv_group_kmem
=`echo $ac_ls_output \
16506 | sed -ne 's/[ ][ ]*/ /g;
16507 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
16511 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
16512 echo "${ECHO_T}$ac_cv_group_kmem" >&6
16513 KMEM_GROUP
=$ac_cv_group_kmem
16515 if test "x$ac_save_LIBS" = x
; then
16516 GETLOADAVG_LIBS
=$LIBS
16518 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
16524 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16525 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
16526 if test "${ac_cv_sys_largefile_source+set}" = set; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 ac_cv_sys_largefile_source
=no
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16546 rm -f conftest.
$ac_objext
16547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16548 (eval $ac_compile) 2>conftest.er1
16550 grep -v '^ *+' conftest.er1
>conftest.err
16552 cat conftest.err
>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } &&
16555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try
='test -s conftest.$ac_objext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16574 cat >conftest.
$ac_ext <<_ACEOF
16577 cat confdefs.h
>>conftest.
$ac_ext
16578 cat >>conftest.
$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 #define _LARGEFILE_SOURCE 1
16590 rm -f conftest.
$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16594 grep -v '^ *+' conftest.er1
>conftest.err
16596 cat conftest.err
>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try
='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 ac_cv_sys_largefile_source
=1; break
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.
$ac_ext >&5
16617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16621 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16622 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16623 if test "$ac_cv_sys_largefile_source" != no
; then
16625 cat >>confdefs.h
<<_ACEOF
16626 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16632 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16633 # in glibc 2.1.3, but that breaks too many other things.
16634 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16635 echo "$as_me:$LINENO: checking for fseeko" >&5
16636 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16637 if test "${ac_cv_func_fseeko+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16650 return fseeko && fseeko (stdin, 0, 0);
16655 rm -f conftest.
$ac_objext conftest
$ac_exeext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16657 (eval $ac_link) 2>conftest.er1
16659 grep -v '^ *+' conftest.er1
>conftest.err
16661 cat conftest.err
>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } &&
16664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try
='test -s conftest$ac_exeext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_func_fseeko
=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.
$ac_ext >&5
16681 ac_cv_func_fseeko
=no
16683 rm -f conftest.err conftest.
$ac_objext \
16684 conftest
$ac_exeext conftest.
$ac_ext
16686 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16687 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16688 if test $ac_cv_func_fseeko = yes; then
16690 cat >>confdefs.h
<<\_ACEOF
16691 #define HAVE_FSEEKO 1
16697 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16698 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16699 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 # Use it with a single arg.
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 $ac_includes_default
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 ac_cv_func_getpgrp_void
=no
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.
$ac_ext >&5
16744 ac_cv_func_getpgrp_void
=yes
16746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16749 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16750 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16751 if test $ac_cv_func_getpgrp_void = yes; then
16753 cat >>confdefs.h
<<\_ACEOF
16754 #define GETPGRP_VOID 1
16761 for ac_func
in strftime
16763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16764 echo "$as_me:$LINENO: checking for $ac_func" >&5
16765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16766 if eval "test \"\${$as_ac_var+set}\" = set"; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 cat >conftest.
$ac_ext <<_ACEOF
16772 cat confdefs.h
>>conftest.
$ac_ext
16773 cat >>conftest.
$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16777 #define $ac_func innocuous_$ac_func
16779 /* System header to define __stub macros and hopefully few prototypes,
16780 which can conflict with char $ac_func (); below.
16781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16782 <limits.h> exists even on freestanding compilers. */
16785 # include <limits.h>
16787 # include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16797 /* We use char because int might match the return type of a gcc2
16798 builtin and then its argument prototype would still apply. */
16800 /* The GNU C library defines this for functions which it implements
16801 to always fail with ENOSYS. Some functions are actually named
16802 something starting with __ and the normal name is an alias. */
16803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16806 char (*f) () = $ac_func;
16815 return f != $ac_func;
16820 rm -f conftest.
$ac_objext conftest
$ac_exeext
16821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16822 (eval $ac_link) 2>conftest.er1
16824 grep -v '^ *+' conftest.er1
>conftest.err
16826 cat conftest.err
>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } &&
16829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 (eval $ac_try) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; } &&
16835 { ac_try
='test -s conftest$ac_exeext'
16836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837 (eval $ac_try) 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; }; then
16841 eval "$as_ac_var=yes"
16843 echo "$as_me: failed program was:" >&5
16844 sed 's/^/| /' conftest.
$ac_ext >&5
16846 eval "$as_ac_var=no"
16848 rm -f conftest.err conftest.
$ac_objext \
16849 conftest
$ac_exeext conftest.
$ac_ext
16851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16853 if test `eval echo '${'$as_ac_var'}'` = yes; then
16854 cat >>confdefs.h
<<_ACEOF
16855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16859 # strftime is in -lintl on SCO UNIX.
16860 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
16861 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
16862 if test "${ac_cv_lib_intl_strftime+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 ac_check_lib_save_LIBS
=$LIBS
16866 LIBS
="-lintl $LIBS"
16867 cat >conftest.
$ac_ext <<_ACEOF
16870 cat confdefs.h
>>conftest.
$ac_ext
16871 cat >>conftest.
$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16874 /* Override any gcc2 internal prototype to avoid an error. */
16878 /* We use char because int might match the return type of a gcc2
16879 builtin and then its argument prototype would still apply. */
16889 rm -f conftest.
$ac_objext conftest
$ac_exeext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16891 (eval $ac_link) 2>conftest.er1
16893 grep -v '^ *+' conftest.er1
>conftest.err
16895 cat conftest.err
>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try
='test -s conftest$ac_exeext'
16905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16906 (eval $ac_try) 2>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); }; }; then
16910 ac_cv_lib_intl_strftime
=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ac_cv_lib_intl_strftime
=no
16917 rm -f conftest.err conftest.
$ac_objext \
16918 conftest
$ac_exeext conftest.
$ac_ext
16919 LIBS
=$ac_check_lib_save_LIBS
16921 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
16922 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
16923 if test $ac_cv_lib_intl_strftime = yes; then
16924 cat >>confdefs.h
<<\_ACEOF
16925 #define HAVE_STRFTIME 1
16928 LIBS
="-lintl $LIBS"
16937 for ac_func
in grantpt
16939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16940 echo "$as_me:$LINENO: checking for $ac_func" >&5
16941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16942 if eval "test \"\${$as_ac_var+set}\" = set"; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16953 #define $ac_func innocuous_$ac_func
16955 /* System header to define __stub macros and hopefully few prototypes,
16956 which can conflict with char $ac_func (); below.
16957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16958 <limits.h> exists even on freestanding compilers. */
16961 # include <limits.h>
16963 # include <assert.h>
16968 /* Override any gcc2 internal prototype to avoid an error. */
16973 /* We use char because int might match the return type of a gcc2
16974 builtin and then its argument prototype would still apply. */
16976 /* The GNU C library defines this for functions which it implements
16977 to always fail with ENOSYS. Some functions are actually named
16978 something starting with __ and the normal name is an alias. */
16979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16982 char (*f) () = $ac_func;
16991 return f != $ac_func;
16996 rm -f conftest.
$ac_objext conftest
$ac_exeext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16998 (eval $ac_link) 2>conftest.er1
17000 grep -v '^ *+' conftest.er1
>conftest.err
17002 cat conftest.err
>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; } &&
17011 { ac_try
='test -s conftest$ac_exeext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 eval "$as_ac_var=yes"
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.
$ac_ext >&5
17022 eval "$as_ac_var=no"
17024 rm -f conftest.err conftest.
$ac_objext \
17025 conftest
$ac_exeext conftest.
$ac_ext
17027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17029 if test `eval echo '${'$as_ac_var'}'` = yes; then
17030 cat >>confdefs.h
<<_ACEOF
17031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17038 # PTY-related GNU extensions.
17040 for ac_func
in getpt
17042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17043 echo "$as_me:$LINENO: checking for $ac_func" >&5
17044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17045 if eval "test \"\${$as_ac_var+set}\" = set"; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 cat >conftest.
$ac_ext <<_ACEOF
17051 cat confdefs.h
>>conftest.
$ac_ext
17052 cat >>conftest.
$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17056 #define $ac_func innocuous_$ac_func
17058 /* System header to define __stub macros and hopefully few prototypes,
17059 which can conflict with char $ac_func (); below.
17060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17061 <limits.h> exists even on freestanding compilers. */
17064 # include <limits.h>
17066 # include <assert.h>
17071 /* Override any gcc2 internal prototype to avoid an error. */
17076 /* We use char because int might match the return type of a gcc2
17077 builtin and then its argument prototype would still apply. */
17079 /* The GNU C library defines this for functions which it implements
17080 to always fail with ENOSYS. Some functions are actually named
17081 something starting with __ and the normal name is an alias. */
17082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17085 char (*f) () = $ac_func;
17094 return f != $ac_func;
17099 rm -f conftest.
$ac_objext conftest
$ac_exeext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17101 (eval $ac_link) 2>conftest.er1
17103 grep -v '^ *+' conftest.er1
>conftest.err
17105 cat conftest.err
>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } &&
17114 { ac_try
='test -s conftest$ac_exeext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 eval "$as_ac_var=yes"
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.
$ac_ext >&5
17125 eval "$as_ac_var=no"
17127 rm -f conftest.err conftest.
$ac_objext \
17128 conftest
$ac_exeext conftest.
$ac_ext
17130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17132 if test `eval echo '${'$as_ac_var'}'` = yes; then
17133 cat >>confdefs.h
<<_ACEOF
17134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17141 # Check this now, so that we will NOT find the above functions in ncurses.
17142 # That is because we have not set up to link ncurses in lib-src.
17143 # It's better to believe a function is not available
17144 # than to expect to find it in ncurses.
17146 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
17147 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
17148 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 ac_check_lib_save_LIBS
=$LIBS
17152 LIBS
="-lncurses $LIBS"
17153 cat >conftest.
$ac_ext <<_ACEOF
17156 cat confdefs.h
>>conftest.
$ac_ext
17157 cat >>conftest.
$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17160 /* Override any gcc2 internal prototype to avoid an error. */
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17175 rm -f conftest.
$ac_objext conftest
$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>conftest.er1
17179 grep -v '^ *+' conftest.er1
>conftest.err
17181 cat conftest.err
>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } &&
17184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try
='test -s conftest$ac_exeext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 ac_cv_lib_ncurses_tparm
=yes
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 ac_cv_lib_ncurses_tparm
=no
17203 rm -f conftest.err conftest.
$ac_objext \
17204 conftest
$ac_exeext conftest.
$ac_ext
17205 LIBS
=$ac_check_lib_save_LIBS
17207 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
17208 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
17209 if test $ac_cv_lib_ncurses_tparm = yes; then
17210 cat >>confdefs.h
<<_ACEOF
17211 #define HAVE_LIBNCURSES 1
17214 LIBS
="-lncurses $LIBS"
17219 # Do we need the Hesiod library to provide the support routines?
17220 if test "$with_hesiod" = yes ; then
17221 # Don't set $LIBS here -- see comments above.
17223 echo "$as_me:$LINENO: checking for res_send" >&5
17224 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
17225 if test "${ac_cv_func_res_send+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
17235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17236 #define res_send innocuous_res_send
17238 /* System header to define __stub macros and hopefully few prototypes,
17239 which can conflict with char res_send (); below.
17240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17241 <limits.h> exists even on freestanding compilers. */
17244 # include <limits.h>
17246 # include <assert.h>
17251 /* Override any gcc2 internal prototype to avoid an error. */
17256 /* We use char because int might match the return type of a gcc2
17257 builtin and then its argument prototype would still apply. */
17259 /* The GNU C library defines this for functions which it implements
17260 to always fail with ENOSYS. Some functions are actually named
17261 something starting with __ and the normal name is an alias. */
17262 #if defined (__stub_res_send) || defined (__stub___res_send)
17265 char (*f) () = res_send;
17274 return f != res_send;
17279 rm -f conftest.
$ac_objext conftest
$ac_exeext
17280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17281 (eval $ac_link) 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } &&
17288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; } &&
17294 { ac_try
='test -s conftest$ac_exeext'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; }; then
17300 ac_cv_func_res_send
=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.
$ac_ext >&5
17305 ac_cv_func_res_send
=no
17307 rm -f conftest.err conftest.
$ac_objext \
17308 conftest
$ac_exeext conftest.
$ac_ext
17310 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
17311 echo "${ECHO_T}$ac_cv_func_res_send" >&6
17312 if test $ac_cv_func_res_send = yes; then
17315 echo "$as_me:$LINENO: checking for __res_send" >&5
17316 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
17317 if test "${ac_cv_func___res_send+set}" = set; then
17318 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 cat >conftest.
$ac_ext <<_ACEOF
17323 cat confdefs.h
>>conftest.
$ac_ext
17324 cat >>conftest.
$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
17327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17328 #define __res_send innocuous___res_send
17330 /* System header to define __stub macros and hopefully few prototypes,
17331 which can conflict with char __res_send (); below.
17332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17333 <limits.h> exists even on freestanding compilers. */
17336 # include <limits.h>
17338 # include <assert.h>
17343 /* Override any gcc2 internal prototype to avoid an error. */
17348 /* We use char because int might match the return type of a gcc2
17349 builtin and then its argument prototype would still apply. */
17350 char __res_send ();
17351 /* The GNU C library defines this for functions which it implements
17352 to always fail with ENOSYS. Some functions are actually named
17353 something starting with __ and the normal name is an alias. */
17354 #if defined (__stub___res_send) || defined (__stub_____res_send)
17357 char (*f) () = __res_send;
17366 return f != __res_send;
17371 rm -f conftest.
$ac_objext conftest
$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>conftest.er1
17375 grep -v '^ *+' conftest.er1
>conftest.err
17377 cat conftest.err
>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; } &&
17386 { ac_try
='test -s conftest$ac_exeext'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 ac_cv_func___res_send
=yes
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 ac_cv_func___res_send
=no
17399 rm -f conftest.err conftest.
$ac_objext \
17400 conftest
$ac_exeext conftest.
$ac_ext
17402 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
17403 echo "${ECHO_T}$ac_cv_func___res_send" >&6
17404 if test $ac_cv_func___res_send = yes; then
17407 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
17408 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
17409 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 ac_check_lib_save_LIBS
=$LIBS
17413 LIBS
="-lresolv $LIBS"
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any gcc2 internal prototype to avoid an error. */
17425 /* We use char because int might match the return type of a gcc2
17426 builtin and then its argument prototype would still apply. */
17436 rm -f conftest.
$ac_objext conftest
$ac_exeext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438 (eval $ac_link) 2>conftest.er1
17440 grep -v '^ *+' conftest.er1
>conftest.err
17442 cat conftest.err
>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; } &&
17451 { ac_try
='test -s conftest$ac_exeext'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; }; then
17457 ac_cv_lib_resolv_res_send
=yes
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.
$ac_ext >&5
17462 ac_cv_lib_resolv_res_send
=no
17464 rm -f conftest.err conftest.
$ac_objext \
17465 conftest
$ac_exeext conftest.
$ac_ext
17466 LIBS
=$ac_check_lib_save_LIBS
17468 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
17469 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
17470 if test $ac_cv_lib_resolv_res_send = yes; then
17473 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
17474 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
17475 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 ac_check_lib_save_LIBS
=$LIBS
17479 LIBS
="-lresolv $LIBS"
17480 cat >conftest.
$ac_ext <<_ACEOF
17483 cat confdefs.h
>>conftest.
$ac_ext
17484 cat >>conftest.
$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17487 /* Override any gcc2 internal prototype to avoid an error. */
17491 /* We use char because int might match the return type of a gcc2
17492 builtin and then its argument prototype would still apply. */
17493 char __res_send ();
17502 rm -f conftest.
$ac_objext conftest
$ac_exeext
17503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17504 (eval $ac_link) 2>conftest.er1
17506 grep -v '^ *+' conftest.er1
>conftest.err
17508 cat conftest.err
>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } &&
17511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; } &&
17517 { ac_try
='test -s conftest$ac_exeext'
17518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17519 (eval $ac_try) 2>&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); }; }; then
17523 ac_cv_lib_resolv___res_send
=yes
17525 echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.
$ac_ext >&5
17528 ac_cv_lib_resolv___res_send
=no
17530 rm -f conftest.err conftest.
$ac_objext \
17531 conftest
$ac_exeext conftest.
$ac_ext
17532 LIBS
=$ac_check_lib_save_LIBS
17534 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17535 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17536 if test $ac_cv_lib_resolv___res_send = yes; then
17546 if test "$resolv" = yes ; then
17549 cat >>confdefs.h
<<\_ACEOF
17550 #define HAVE_LIBRESOLV 1
17556 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17557 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17558 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17569 #define hes_getmailhost innocuous_hes_getmailhost
17571 /* System header to define __stub macros and hopefully few prototypes,
17572 which can conflict with char hes_getmailhost (); below.
17573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17574 <limits.h> exists even on freestanding compilers. */
17577 # include <limits.h>
17579 # include <assert.h>
17582 #undef hes_getmailhost
17584 /* Override any gcc2 internal prototype to avoid an error. */
17589 /* We use char because int might match the return type of a gcc2
17590 builtin and then its argument prototype would still apply. */
17591 char hes_getmailhost ();
17592 /* The GNU C library defines this for functions which it implements
17593 to always fail with ENOSYS. Some functions are actually named
17594 something starting with __ and the normal name is an alias. */
17595 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17598 char (*f) () = hes_getmailhost;
17607 return f != hes_getmailhost;
17612 rm -f conftest.
$ac_objext conftest
$ac_exeext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17614 (eval $ac_link) 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; } &&
17627 { ac_try
='test -s conftest$ac_exeext'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; }; then
17633 ac_cv_func_hes_getmailhost
=yes
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.
$ac_ext >&5
17638 ac_cv_func_hes_getmailhost
=no
17640 rm -f conftest.err conftest.
$ac_objext \
17641 conftest
$ac_exeext conftest.
$ac_ext
17643 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17644 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17645 if test $ac_cv_func_hes_getmailhost = yes; then
17648 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17649 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17650 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 ac_check_lib_save_LIBS
=$LIBS
17654 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17655 cat >conftest.
$ac_ext <<_ACEOF
17658 cat confdefs.h
>>conftest.
$ac_ext
17659 cat >>conftest.
$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17662 /* Override any gcc2 internal prototype to avoid an error. */
17666 /* We use char because int might match the return type of a gcc2
17667 builtin and then its argument prototype would still apply. */
17668 char hes_getmailhost ();
17672 hes_getmailhost ();
17677 rm -f conftest.
$ac_objext conftest
$ac_exeext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17679 (eval $ac_link) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try
='test -s conftest$ac_exeext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 ac_cv_lib_hesiod_hes_getmailhost
=yes
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17703 ac_cv_lib_hesiod_hes_getmailhost
=no
17705 rm -f conftest.err conftest.
$ac_objext \
17706 conftest
$ac_exeext conftest.
$ac_ext
17707 LIBS
=$ac_check_lib_save_LIBS
17709 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17710 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17711 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17713 cat >>confdefs.h
<<\_ACEOF
17714 #define HAVE_LIBHESIOD 1
17725 # These tell us which Kerberos-related libraries to use.
17726 if test "${with_kerberos+set}" = set; then
17728 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17729 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17730 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17731 echo $ECHO_N "(cached) $ECHO_C" >&6
17733 ac_check_lib_save_LIBS
=$LIBS
17734 LIBS
="-lcom_err $LIBS"
17735 cat >conftest.
$ac_ext <<_ACEOF
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17742 /* Override any gcc2 internal prototype to avoid an error. */
17746 /* We use char because int might match the return type of a gcc2
17747 builtin and then its argument prototype would still apply. */
17757 rm -f conftest.
$ac_objext conftest
$ac_exeext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17759 (eval $ac_link) 2>conftest.er1
17761 grep -v '^ *+' conftest.er1
>conftest.err
17763 cat conftest.err
>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try
='test -s conftest$ac_exeext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17778 ac_cv_lib_com_err_com_err
=yes
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.
$ac_ext >&5
17783 ac_cv_lib_com_err_com_err
=no
17785 rm -f conftest.err conftest.
$ac_objext \
17786 conftest
$ac_exeext conftest.
$ac_ext
17787 LIBS
=$ac_check_lib_save_LIBS
17789 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17790 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17791 if test $ac_cv_lib_com_err_com_err = yes; then
17792 cat >>confdefs.h
<<_ACEOF
17793 #define HAVE_LIBCOM_ERR 1
17796 LIBS
="-lcom_err $LIBS"
17801 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17802 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17803 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 ac_check_lib_save_LIBS
=$LIBS
17807 LIBS
="-lk5crypto $LIBS"
17808 cat >conftest.
$ac_ext <<_ACEOF
17811 cat confdefs.h
>>conftest.
$ac_ext
17812 cat >>conftest.
$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17815 /* Override any gcc2 internal prototype to avoid an error. */
17819 /* We use char because int might match the return type of a gcc2
17820 builtin and then its argument prototype would still apply. */
17821 char mit_des_cbc_encrypt ();
17825 mit_des_cbc_encrypt ();
17830 rm -f conftest.
$ac_objext conftest
$ac_exeext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17832 (eval $ac_link) 2>conftest.er1
17834 grep -v '^ *+' conftest.er1
>conftest.err
17836 cat conftest.err
>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try
='test -s conftest$ac_exeext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
17858 rm -f conftest.err conftest.
$ac_objext \
17859 conftest
$ac_exeext conftest.
$ac_ext
17860 LIBS
=$ac_check_lib_save_LIBS
17862 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
17863 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
17864 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
17865 cat >>confdefs.h
<<_ACEOF
17866 #define HAVE_LIBK5CRYPTO 1
17869 LIBS
="-lk5crypto $LIBS"
17874 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
17875 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
17876 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 ac_check_lib_save_LIBS
=$LIBS
17880 LIBS
="-lcrypto $LIBS"
17881 cat >conftest.
$ac_ext <<_ACEOF
17884 cat confdefs.h
>>conftest.
$ac_ext
17885 cat >>conftest.
$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17888 /* Override any gcc2 internal prototype to avoid an error. */
17892 /* We use char because int might match the return type of a gcc2
17893 builtin and then its argument prototype would still apply. */
17894 char mit_des_cbc_encrypt ();
17898 mit_des_cbc_encrypt ();
17903 rm -f conftest.
$ac_objext conftest
$ac_exeext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17905 (eval $ac_link) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try
='test -s conftest$ac_exeext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
17926 echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.
$ac_ext >&5
17929 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
17931 rm -f conftest.err conftest.
$ac_objext \
17932 conftest
$ac_exeext conftest.
$ac_ext
17933 LIBS
=$ac_check_lib_save_LIBS
17935 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
17936 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
17937 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
17938 cat >>confdefs.h
<<_ACEOF
17939 #define HAVE_LIBCRYPTO 1
17942 LIBS
="-lcrypto $LIBS"
17947 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
17948 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
17949 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
17950 echo $ECHO_N "(cached) $ECHO_C" >&6
17952 ac_check_lib_save_LIBS
=$LIBS
17953 LIBS
="-lkrb5 $LIBS"
17954 cat >conftest.
$ac_ext <<_ACEOF
17957 cat confdefs.h
>>conftest.
$ac_ext
17958 cat >>conftest.
$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17961 /* Override any gcc2 internal prototype to avoid an error. */
17965 /* We use char because int might match the return type of a gcc2
17966 builtin and then its argument prototype would still apply. */
17967 char krb5_init_context ();
17971 krb5_init_context ();
17976 rm -f conftest.
$ac_objext conftest
$ac_exeext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17978 (eval $ac_link) 2>conftest.er1
17980 grep -v '^ *+' conftest.er1
>conftest.err
17982 cat conftest.err
>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } &&
17985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try
='test -s conftest$ac_exeext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17997 ac_cv_lib_krb5_krb5_init_context
=yes
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.
$ac_ext >&5
18002 ac_cv_lib_krb5_krb5_init_context
=no
18004 rm -f conftest.err conftest.
$ac_objext \
18005 conftest
$ac_exeext conftest.
$ac_ext
18006 LIBS
=$ac_check_lib_save_LIBS
18008 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18009 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
18010 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18011 cat >>confdefs.h
<<_ACEOF
18012 #define HAVE_LIBKRB5 1
18015 LIBS
="-lkrb5 $LIBS"
18019 if test "${with_kerberos5+set}" != set; then
18021 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
18022 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
18023 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 ac_check_lib_save_LIBS
=$LIBS
18027 LIBS
="-ldes425 $LIBS"
18028 cat >conftest.
$ac_ext <<_ACEOF
18031 cat confdefs.h
>>conftest.
$ac_ext
18032 cat >>conftest.
$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18035 /* Override any gcc2 internal prototype to avoid an error. */
18039 /* We use char because int might match the return type of a gcc2
18040 builtin and then its argument prototype would still apply. */
18041 char des_cbc_encrypt ();
18045 des_cbc_encrypt ();
18050 rm -f conftest.
$ac_objext conftest
$ac_exeext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18052 (eval $ac_link) 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; } &&
18065 { ac_try
='test -s conftest$ac_exeext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18071 ac_cv_lib_des425_des_cbc_encrypt
=yes
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.
$ac_ext >&5
18076 ac_cv_lib_des425_des_cbc_encrypt
=no
18078 rm -f conftest.err conftest.
$ac_objext \
18079 conftest
$ac_exeext conftest.
$ac_ext
18080 LIBS
=$ac_check_lib_save_LIBS
18082 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
18083 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
18084 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
18085 cat >>confdefs.h
<<_ACEOF
18086 #define HAVE_LIBDES425 1
18089 LIBS
="-ldes425 $LIBS"
18093 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
18094 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
18095 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 ac_check_lib_save_LIBS
=$LIBS
18100 cat >conftest.
$ac_ext <<_ACEOF
18103 cat confdefs.h
>>conftest.
$ac_ext
18104 cat >>conftest.
$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18107 /* Override any gcc2 internal prototype to avoid an error. */
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18113 char des_cbc_encrypt ();
18117 des_cbc_encrypt ();
18122 rm -f conftest.
$ac_objext conftest
$ac_exeext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18124 (eval $ac_link) 2>conftest.er1
18126 grep -v '^ *+' conftest.er1
>conftest.err
18128 cat conftest.err
>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try
='test -s conftest$ac_exeext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18143 ac_cv_lib_des_des_cbc_encrypt
=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 ac_cv_lib_des_des_cbc_encrypt
=no
18150 rm -f conftest.err conftest.
$ac_objext \
18151 conftest
$ac_exeext conftest.
$ac_ext
18152 LIBS
=$ac_check_lib_save_LIBS
18154 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
18155 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
18156 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
18157 cat >>confdefs.h
<<_ACEOF
18158 #define HAVE_LIBDES 1
18168 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
18169 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
18170 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 ac_check_lib_save_LIBS
=$LIBS
18174 LIBS
="-lkrb4 $LIBS"
18175 cat >conftest.
$ac_ext <<_ACEOF
18178 cat confdefs.h
>>conftest.
$ac_ext
18179 cat >>conftest.
$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18182 /* Override any gcc2 internal prototype to avoid an error. */
18186 /* We use char because int might match the return type of a gcc2
18187 builtin and then its argument prototype would still apply. */
18188 char krb_get_cred ();
18197 rm -f conftest.
$ac_objext conftest
$ac_exeext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18199 (eval $ac_link) 2>conftest.er1
18201 grep -v '^ *+' conftest.er1
>conftest.err
18203 cat conftest.err
>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; } &&
18212 { ac_try
='test -s conftest$ac_exeext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 ac_cv_lib_krb4_krb_get_cred
=yes
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.
$ac_ext >&5
18223 ac_cv_lib_krb4_krb_get_cred
=no
18225 rm -f conftest.err conftest.
$ac_objext \
18226 conftest
$ac_exeext conftest.
$ac_ext
18227 LIBS
=$ac_check_lib_save_LIBS
18229 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
18230 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
18231 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
18232 cat >>confdefs.h
<<_ACEOF
18233 #define HAVE_LIBKRB4 1
18236 LIBS
="-lkrb4 $LIBS"
18240 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
18241 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
18242 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
18243 echo $ECHO_N "(cached) $ECHO_C" >&6
18245 ac_check_lib_save_LIBS
=$LIBS
18247 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18254 /* Override any gcc2 internal prototype to avoid an error. */
18258 /* We use char because int might match the return type of a gcc2
18259 builtin and then its argument prototype would still apply. */
18260 char krb_get_cred ();
18269 rm -f conftest.
$ac_objext conftest
$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try
='test -s conftest$ac_exeext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18290 ac_cv_lib_krb_krb_get_cred
=yes
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.
$ac_ext >&5
18295 ac_cv_lib_krb_krb_get_cred
=no
18297 rm -f conftest.err conftest.
$ac_objext \
18298 conftest
$ac_exeext conftest.
$ac_ext
18299 LIBS
=$ac_check_lib_save_LIBS
18301 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
18302 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
18303 if test $ac_cv_lib_krb_krb_get_cred = yes; then
18304 cat >>confdefs.h
<<_ACEOF
18305 #define HAVE_LIBKRB 1
18316 if test "${with_kerberos5+set}" = set; then
18318 for ac_header
in krb5.h
18320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18322 echo "$as_me:$LINENO: checking for $ac_header" >&5
18323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18330 # Is the header compilable?
18331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 $ac_includes_default
18340 #include <$ac_header>
18342 rm -f conftest.
$ac_objext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18344 (eval $ac_compile) 2>conftest.er1
18346 grep -v '^ *+' conftest.er1
>conftest.err
18348 cat conftest.err
>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } &&
18351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 ac_header_compiler
=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18368 ac_header_compiler
=no
18370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18372 echo "${ECHO_T}$ac_header_compiler" >&6
18374 # Is the header present?
18375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <$ac_header>
18385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18388 grep -v '^ *+' conftest.er1
>conftest.err
18390 cat conftest.err
>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } >/dev
/null
; then
18393 if test -s conftest.err
; then
18394 ac_cpp_err
=$ac_c_preproc_warn_flag
18395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18402 if test -z "$ac_cpp_err"; then
18403 ac_header_preproc
=yes
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.
$ac_ext >&5
18408 ac_header_preproc
=no
18410 rm -f conftest.err conftest.
$ac_ext
18411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18412 echo "${ECHO_T}$ac_header_preproc" >&6
18414 # So? What about this header?
18415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18421 ac_header_preproc
=yes
18424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18438 ## ------------------------------------------ ##
18439 ## Report this to the AC_PACKAGE_NAME lists. ##
18440 ## ------------------------------------------ ##
18443 sed "s/^/$as_me: WARNING: /" >&2
18446 echo "$as_me:$LINENO: checking for $ac_header" >&5
18447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 eval "$as_ac_Header=\$ac_header_preproc"
18453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18458 cat >>confdefs.h
<<_ACEOF
18459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18468 for ac_header
in des.h
18470 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18472 echo "$as_me:$LINENO: checking for $ac_header" >&5
18473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18480 # Is the header compilable?
18481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18483 cat >conftest.
$ac_ext <<_ACEOF
18486 cat confdefs.h
>>conftest.
$ac_ext
18487 cat >>conftest.
$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 $ac_includes_default
18490 #include <$ac_header>
18492 rm -f conftest.
$ac_objext
18493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18494 (eval $ac_compile) 2>conftest.er1
18496 grep -v '^ *+' conftest.er1
>conftest.err
18498 cat conftest.err
>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); } &&
18501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; } &&
18507 { ac_try
='test -s conftest.$ac_objext'
18508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509 (eval $ac_try) 2>&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); }; }; then
18513 ac_header_compiler
=yes
18515 echo "$as_me: failed program was:" >&5
18516 sed 's/^/| /' conftest.
$ac_ext >&5
18518 ac_header_compiler
=no
18520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18522 echo "${ECHO_T}$ac_header_compiler" >&6
18524 # Is the header present?
18525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18527 cat >conftest.
$ac_ext <<_ACEOF
18530 cat confdefs.h
>>conftest.
$ac_ext
18531 cat >>conftest.
$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 #include <$ac_header>
18535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18538 grep -v '^ *+' conftest.er1
>conftest.err
18540 cat conftest.err
>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } >/dev
/null
; then
18543 if test -s conftest.err
; then
18544 ac_cpp_err
=$ac_c_preproc_warn_flag
18545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18552 if test -z "$ac_cpp_err"; then
18553 ac_header_preproc
=yes
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18558 ac_header_preproc
=no
18560 rm -f conftest.err conftest.
$ac_ext
18561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18562 echo "${ECHO_T}$ac_header_preproc" >&6
18564 # So? What about this header?
18565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18571 ac_header_preproc
=yes
18574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18588 ## ------------------------------------------ ##
18589 ## Report this to the AC_PACKAGE_NAME lists. ##
18590 ## ------------------------------------------ ##
18593 sed "s/^/$as_me: WARNING: /" >&2
18596 echo "$as_me:$LINENO: checking for $ac_header" >&5
18597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 eval "$as_ac_Header=\$ac_header_preproc"
18603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18608 cat >>confdefs.h
<<_ACEOF
18609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18614 for ac_header
in kerberosIV
/des.h
18616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18618 echo "$as_me:$LINENO: checking for $ac_header" >&5
18619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18626 # Is the header compilable?
18627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 #include <$ac_header>
18638 rm -f conftest.
$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18642 grep -v '^ *+' conftest.er1
>conftest.err
18644 cat conftest.err
>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; } &&
18653 { ac_try
='test -s conftest.$ac_objext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_header_compiler
=yes
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 ac_header_compiler
=no
18666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18668 echo "${ECHO_T}$ac_header_compiler" >&6
18670 # Is the header present?
18671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 #include <$ac_header>
18681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1
>conftest.err
18686 cat conftest.err
>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } >/dev
/null
; then
18689 if test -s conftest.err
; then
18690 ac_cpp_err
=$ac_c_preproc_warn_flag
18691 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18698 if test -z "$ac_cpp_err"; then
18699 ac_header_preproc
=yes
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.
$ac_ext >&5
18704 ac_header_preproc
=no
18706 rm -f conftest.err conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18708 echo "${ECHO_T}$ac_header_preproc" >&6
18710 # So? What about this header?
18711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18717 ac_header_preproc
=yes
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18734 ## ------------------------------------------ ##
18735 ## Report this to the AC_PACKAGE_NAME lists. ##
18736 ## ------------------------------------------ ##
18739 sed "s/^/$as_me: WARNING: /" >&2
18742 echo "$as_me:$LINENO: checking for $ac_header" >&5
18743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 eval "$as_ac_Header=\$ac_header_preproc"
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h
<<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18760 for ac_header
in kerberos
/des.h
18762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18764 echo "$as_me:$LINENO: checking for $ac_header" >&5
18765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18772 # Is the header compilable?
18773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 #include <$ac_header>
18784 rm -f conftest.
$ac_objext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18786 (eval $ac_compile) 2>conftest.er1
18788 grep -v '^ *+' conftest.er1
>conftest.err
18790 cat conftest.err
>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795 (eval $ac_try) 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; } &&
18799 { ac_try
='test -s conftest.$ac_objext'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_header_compiler
=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.
$ac_ext >&5
18810 ac_header_compiler
=no
18812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18814 echo "${ECHO_T}$ac_header_compiler" >&6
18816 # Is the header present?
18817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18819 cat >conftest.
$ac_ext <<_ACEOF
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 #include <$ac_header>
18827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18830 grep -v '^ *+' conftest.er1
>conftest.err
18832 cat conftest.err
>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } >/dev
/null
; then
18835 if test -s conftest.err
; then
18836 ac_cpp_err
=$ac_c_preproc_warn_flag
18837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18844 if test -z "$ac_cpp_err"; then
18845 ac_header_preproc
=yes
18847 echo "$as_me: failed program was:" >&5
18848 sed 's/^/| /' conftest.
$ac_ext >&5
18850 ac_header_preproc
=no
18852 rm -f conftest.err conftest.
$ac_ext
18853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18854 echo "${ECHO_T}$ac_header_preproc" >&6
18856 # So? What about this header?
18857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18863 ac_header_preproc
=yes
18866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18880 ## ------------------------------------------ ##
18881 ## Report this to the AC_PACKAGE_NAME lists. ##
18882 ## ------------------------------------------ ##
18885 sed "s/^/$as_me: WARNING: /" >&2
18888 echo "$as_me:$LINENO: checking for $ac_header" >&5
18889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 eval "$as_ac_Header=\$ac_header_preproc"
18895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18900 cat >>confdefs.h
<<_ACEOF
18901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18917 for ac_header
in krb.h
18919 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18921 echo "$as_me:$LINENO: checking for $ac_header" >&5
18922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18929 # Is the header compilable?
18930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18932 cat >conftest.
$ac_ext <<_ACEOF
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 $ac_includes_default
18939 #include <$ac_header>
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_header_compiler
=yes
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 ac_header_compiler
=no
18969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18971 echo "${ECHO_T}$ac_header_compiler" >&6
18973 # Is the header present?
18974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18976 cat >conftest.
$ac_ext <<_ACEOF
18979 cat confdefs.h
>>conftest.
$ac_ext
18980 cat >>conftest.
$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18982 #include <$ac_header>
18984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } >/dev
/null
; then
18992 if test -s conftest.err
; then
18993 ac_cpp_err
=$ac_c_preproc_warn_flag
18994 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19001 if test -z "$ac_cpp_err"; then
19002 ac_header_preproc
=yes
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19007 ac_header_preproc
=no
19009 rm -f conftest.err conftest.
$ac_ext
19010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19011 echo "${ECHO_T}$ac_header_preproc" >&6
19013 # So? What about this header?
19014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19020 ac_header_preproc
=yes
19023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19037 ## ------------------------------------------ ##
19038 ## Report this to the AC_PACKAGE_NAME lists. ##
19039 ## ------------------------------------------ ##
19042 sed "s/^/$as_me: WARNING: /" >&2
19045 echo "$as_me:$LINENO: checking for $ac_header" >&5
19046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19050 eval "$as_ac_Header=\$ac_header_preproc"
19052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19057 cat >>confdefs.h
<<_ACEOF
19058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19063 for ac_header
in kerberosIV
/krb.h
19065 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19067 echo "$as_me:$LINENO: checking for $ac_header" >&5
19068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19075 # Is the header compilable?
19076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19078 cat >conftest.
$ac_ext <<_ACEOF
19081 cat confdefs.h
>>conftest.
$ac_ext
19082 cat >>conftest.
$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19085 #include <$ac_header>
19087 rm -f conftest.
$ac_objext
19088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19089 (eval $ac_compile) 2>conftest.er1
19091 grep -v '^ *+' conftest.er1
>conftest.err
19093 cat conftest.err
>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } &&
19096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try
='test -s conftest.$ac_objext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19108 ac_header_compiler
=yes
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.
$ac_ext >&5
19113 ac_header_compiler
=no
19115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19117 echo "${ECHO_T}$ac_header_compiler" >&6
19119 # Is the header present?
19120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19122 cat >conftest.
$ac_ext <<_ACEOF
19125 cat confdefs.h
>>conftest.
$ac_ext
19126 cat >>conftest.
$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <$ac_header>
19130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19133 grep -v '^ *+' conftest.er1
>conftest.err
19135 cat conftest.err
>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } >/dev
/null
; then
19138 if test -s conftest.err
; then
19139 ac_cpp_err
=$ac_c_preproc_warn_flag
19140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19147 if test -z "$ac_cpp_err"; then
19148 ac_header_preproc
=yes
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.
$ac_ext >&5
19153 ac_header_preproc
=no
19155 rm -f conftest.err conftest.
$ac_ext
19156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19157 echo "${ECHO_T}$ac_header_preproc" >&6
19159 # So? What about this header?
19160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19166 ac_header_preproc
=yes
19169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19183 ## ------------------------------------------ ##
19184 ## Report this to the AC_PACKAGE_NAME lists. ##
19185 ## ------------------------------------------ ##
19188 sed "s/^/$as_me: WARNING: /" >&2
19191 echo "$as_me:$LINENO: checking for $ac_header" >&5
19192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 eval "$as_ac_Header=\$ac_header_preproc"
19198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19203 cat >>confdefs.h
<<_ACEOF
19204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19209 for ac_header
in kerberos
/krb.h
19211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19213 echo "$as_me:$LINENO: checking for $ac_header" >&5
19214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19221 # Is the header compilable?
19222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19224 cat >conftest.
$ac_ext <<_ACEOF
19227 cat confdefs.h
>>conftest.
$ac_ext
19228 cat >>conftest.
$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 $ac_includes_default
19231 #include <$ac_header>
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try
='test -s conftest.$ac_objext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 ac_header_compiler
=yes
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.
$ac_ext >&5
19259 ac_header_compiler
=no
19261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19263 echo "${ECHO_T}$ac_header_compiler" >&6
19265 # Is the header present?
19266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <$ac_header>
19276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19279 grep -v '^ *+' conftest.er1
>conftest.err
19281 cat conftest.err
>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } >/dev
/null
; then
19284 if test -s conftest.err
; then
19285 ac_cpp_err
=$ac_c_preproc_warn_flag
19286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19293 if test -z "$ac_cpp_err"; then
19294 ac_header_preproc
=yes
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.
$ac_ext >&5
19299 ac_header_preproc
=no
19301 rm -f conftest.err conftest.
$ac_ext
19302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19303 echo "${ECHO_T}$ac_header_preproc" >&6
19305 # So? What about this header?
19306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19312 ac_header_preproc
=yes
19315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19329 ## ------------------------------------------ ##
19330 ## Report this to the AC_PACKAGE_NAME lists. ##
19331 ## ------------------------------------------ ##
19334 sed "s/^/$as_me: WARNING: /" >&2
19337 echo "$as_me:$LINENO: checking for $ac_header" >&5
19338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19340 echo $ECHO_N "(cached) $ECHO_C" >&6
19342 eval "$as_ac_Header=\$ac_header_preproc"
19344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19349 cat >>confdefs.h
<<_ACEOF
19350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19367 for ac_header
in com_err.h
19369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19371 echo "$as_me:$LINENO: checking for $ac_header" >&5
19372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19379 # Is the header compilable?
19380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 #include <$ac_header>
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest.$ac_objext'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_header_compiler
=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 ac_header_compiler
=no
19419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19421 echo "${ECHO_T}$ac_header_compiler" >&6
19423 # Is the header present?
19424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19426 cat >conftest.
$ac_ext <<_ACEOF
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 #include <$ac_header>
19434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19437 grep -v '^ *+' conftest.er1
>conftest.err
19439 cat conftest.err
>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } >/dev
/null
; then
19442 if test -s conftest.err
; then
19443 ac_cpp_err
=$ac_c_preproc_warn_flag
19444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19451 if test -z "$ac_cpp_err"; then
19452 ac_header_preproc
=yes
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19457 ac_header_preproc
=no
19459 rm -f conftest.err conftest.
$ac_ext
19460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19461 echo "${ECHO_T}$ac_header_preproc" >&6
19463 # So? What about this header?
19464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19470 ac_header_preproc
=yes
19473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19487 ## ------------------------------------------ ##
19488 ## Report this to the AC_PACKAGE_NAME lists. ##
19489 ## ------------------------------------------ ##
19492 sed "s/^/$as_me: WARNING: /" >&2
19495 echo "$as_me:$LINENO: checking for $ac_header" >&5
19496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 eval "$as_ac_Header=\$ac_header_preproc"
19502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19507 cat >>confdefs.h
<<_ACEOF
19508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19517 # Solaris requires -lintl if you want strerror (which calls dgettext)
19518 # to return localized messages.
19520 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19521 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19522 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 ac_check_lib_save_LIBS
=$LIBS
19526 LIBS
="-lintl $LIBS"
19527 cat >conftest.
$ac_ext <<_ACEOF
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19534 /* Override any gcc2 internal prototype to avoid an error. */
19538 /* We use char because int might match the return type of a gcc2
19539 builtin and then its argument prototype would still apply. */
19549 rm -f conftest.
$ac_objext conftest
$ac_exeext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19551 (eval $ac_link) 2>conftest.er1
19553 grep -v '^ *+' conftest.er1
>conftest.err
19555 cat conftest.err
>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } &&
19558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; } &&
19564 { ac_try
='test -s conftest$ac_exeext'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; }; then
19570 ac_cv_lib_intl_dgettext
=yes
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.
$ac_ext >&5
19575 ac_cv_lib_intl_dgettext
=no
19577 rm -f conftest.err conftest.
$ac_objext \
19578 conftest
$ac_exeext conftest.
$ac_ext
19579 LIBS
=$ac_check_lib_save_LIBS
19581 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19582 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19583 if test $ac_cv_lib_intl_dgettext = yes; then
19584 cat >>confdefs.h
<<_ACEOF
19585 #define HAVE_LIBINTL 1
19588 LIBS
="-lintl $LIBS"
19593 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19594 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19595 if test "${emacs_cv_localtime_cache+set}" = set; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 if test x
$ac_cv_func_tzset = xyes
; then
19599 if test "$cross_compiling" = yes; then
19600 # If we have tzset, assume the worst when cross-compiling.
19601 emacs_cv_localtime_cache
=yes
19603 cat >conftest.
$ac_ext <<_ACEOF
19606 cat confdefs.h
>>conftest.
$ac_ext
19607 cat >>conftest.
$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19610 extern char **environ;
19614 for (to = from = environ; (*to = *from); from++)
19615 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19618 char TZ_GMT0[] = "TZ=GMT0";
19619 char TZ_PST8[] = "TZ=PST8";
19622 time_t now = time ((time_t *) 0);
19623 int hour_GMT0, hour_unset;
19624 if (putenv (TZ_GMT0) != 0)
19626 hour_GMT0 = localtime (&now)->tm_hour;
19628 hour_unset = localtime (&now)->tm_hour;
19629 if (putenv (TZ_PST8) != 0)
19631 if (localtime (&now)->tm_hour == hour_GMT0)
19634 if (localtime (&now)->tm_hour != hour_unset)
19639 rm -f conftest
$ac_exeext
19640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19641 (eval $ac_link) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646 (eval $ac_try) 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; }; then
19650 emacs_cv_localtime_cache
=no
19652 echo "$as_me: program exited with status $ac_status" >&5
19653 echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.
$ac_ext >&5
19656 ( exit $ac_status )
19657 emacs_cv_localtime_cache
=yes
19659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19662 # If we lack tzset, report that localtime does not cache TZ,
19663 # since we can't invalidate the cache if we don't have tzset.
19664 emacs_cv_localtime_cache
=no
19667 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19668 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19669 if test $emacs_cv_localtime_cache = yes; then
19671 cat >>confdefs.h
<<\_ACEOF
19672 #define LOCALTIME_CACHE 1
19677 if test "x$HAVE_TIMEVAL" = xyes
; then
19679 for ac_func
in gettimeofday
19681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19682 echo "$as_me:$LINENO: checking for $ac_func" >&5
19683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19684 if eval "test \"\${$as_ac_var+set}\" = set"; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19695 #define $ac_func innocuous_$ac_func
19697 /* System header to define __stub macros and hopefully few prototypes,
19698 which can conflict with char $ac_func (); below.
19699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19700 <limits.h> exists even on freestanding compilers. */
19703 # include <limits.h>
19705 # include <assert.h>
19710 /* Override any gcc2 internal prototype to avoid an error. */
19715 /* We use char because int might match the return type of a gcc2
19716 builtin and then its argument prototype would still apply. */
19718 /* The GNU C library defines this for functions which it implements
19719 to always fail with ENOSYS. Some functions are actually named
19720 something starting with __ and the normal name is an alias. */
19721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19724 char (*f) () = $ac_func;
19733 return f != $ac_func;
19738 rm -f conftest.
$ac_objext conftest
$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>conftest.er1
19742 grep -v '^ *+' conftest.er1
>conftest.err
19744 cat conftest.err
>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try
='test -s conftest$ac_exeext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19759 eval "$as_ac_var=yes"
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 eval "$as_ac_var=no"
19766 rm -f conftest.err conftest.
$ac_objext \
19767 conftest
$ac_exeext conftest.
$ac_ext
19769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19771 if test `eval echo '${'$as_ac_var'}'` = yes; then
19772 cat >>confdefs.h
<<_ACEOF
19773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19779 if test $ac_cv_func_gettimeofday = yes; then
19780 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19781 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19782 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19783 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 cat >conftest.
$ac_ext <<_ACEOF
19788 cat confdefs.h
>>conftest.
$ac_ext
19789 cat >>conftest.
$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19792 #ifdef TIME_WITH_SYS_TIME
19793 #include <sys/time.h>
19796 #ifdef HAVE_SYS_TIME_H
19797 #include <sys/time.h>
19805 struct timeval time;
19806 gettimeofday (&time, 0);
19811 rm -f conftest.
$ac_objext
19812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19813 (eval $ac_compile) 2>conftest.er1
19815 grep -v '^ *+' conftest.er1
>conftest.err
19817 cat conftest.err
>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } &&
19820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; } &&
19826 { ac_try
='test -s conftest.$ac_objext'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; }; then
19832 emacs_cv_gettimeofday_two_arguments
=yes
19834 echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.
$ac_ext >&5
19837 emacs_cv_gettimeofday_two_arguments
=no
19839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19841 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19842 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19843 if test $emacs_cv_gettimeofday_two_arguments = no
; then
19845 cat >>confdefs.h
<<\_ACEOF
19846 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19853 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
19854 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
19855 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
19856 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 #include <sys/types.h>
19866 #include <$ac_cv_struct_tm>
19872 static struct tm ac_aggr;
19873 if (ac_aggr.tm_zone)
19879 rm -f conftest.
$ac_objext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19881 (eval $ac_compile) 2>conftest.er1
19883 grep -v '^ *+' conftest.er1
>conftest.err
19885 cat conftest.err
>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } &&
19888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; } &&
19894 { ac_try
='test -s conftest.$ac_objext'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; }; then
19900 ac_cv_member_struct_tm_tm_zone
=yes
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.
$ac_ext >&5
19905 cat >conftest.
$ac_ext <<_ACEOF
19908 cat confdefs.h
>>conftest.
$ac_ext
19909 cat >>conftest.
$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <sys/types.h>
19912 #include <$ac_cv_struct_tm>
19918 static struct tm ac_aggr;
19919 if (sizeof ac_aggr.tm_zone)
19925 rm -f conftest.
$ac_objext
19926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19927 (eval $ac_compile) 2>conftest.er1
19929 grep -v '^ *+' conftest.er1
>conftest.err
19931 cat conftest.err
>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); } &&
19934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try
='test -s conftest.$ac_objext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_member_struct_tm_tm_zone
=yes
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.
$ac_ext >&5
19951 ac_cv_member_struct_tm_tm_zone
=no
19953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19957 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
19958 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
19959 if test $ac_cv_member_struct_tm_tm_zone = yes; then
19961 cat >>confdefs.h
<<_ACEOF
19962 #define HAVE_STRUCT_TM_TM_ZONE 1
19968 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
19970 cat >>confdefs.h
<<\_ACEOF
19971 #define HAVE_TM_ZONE 1
19975 echo "$as_me:$LINENO: checking for tzname" >&5
19976 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
19977 if test "${ac_cv_var_tzname+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19987 #ifndef tzname /* For SGI. */
19988 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
19999 rm -f conftest.
$ac_objext conftest
$ac_exeext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20001 (eval $ac_link) 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest$ac_exeext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_cv_var_tzname
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_cv_var_tzname
=no
20027 rm -f conftest.err conftest.
$ac_objext \
20028 conftest
$ac_exeext conftest.
$ac_ext
20030 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
20031 echo "${ECHO_T}$ac_cv_var_tzname" >&6
20032 if test $ac_cv_var_tzname = yes; then
20034 cat >>confdefs.h
<<\_ACEOF
20035 #define HAVE_TZNAME 1
20042 if test "$ac_cv_func_gettimeofday" = yes; then
20043 echo "$as_me:$LINENO: checking for struct timezone" >&5
20044 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20045 if test "${emacs_cv_struct_timezone+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 cat >conftest.
$ac_ext <<_ACEOF
20051 cat confdefs.h
>>conftest.
$ac_ext
20052 cat >>conftest.
$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 #include <sys/time.h>
20058 struct timezone tz;
20063 rm -f conftest.
$ac_objext
20064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20065 (eval $ac_compile) 2>conftest.er1
20067 grep -v '^ *+' conftest.er1
>conftest.err
20069 cat conftest.err
>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } &&
20072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; } &&
20078 { ac_try
='test -s conftest.$ac_objext'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20084 if test "$cross_compiling" = yes; then
20085 emacs_cv_struct_timezone
=yes
20087 cat >conftest.
$ac_ext <<_ACEOF
20090 cat confdefs.h
>>conftest.
$ac_ext
20091 cat >>conftest.
$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20094 #ifdef TIME_WITH_SYS_TIME
20095 #include <sys/time.h>
20098 #ifdef HAVE_SYS_TIME_H
20099 #include <sys/time.h>
20105 struct timeval time;
20106 struct timezone dummy;
20107 exit (gettimeofday (&time, &dummy));
20110 rm -f conftest
$ac_exeext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112 (eval $ac_link) 2>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20121 emacs_cv_struct_timezone
=yes
20123 echo "$as_me: program exited with status $ac_status" >&5
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.
$ac_ext >&5
20127 ( exit $ac_status )
20128 emacs_cv_struct_timezone
=no
20130 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.
$ac_ext >&5
20136 emacs_cv_struct_timezone
=no
20138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20140 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
20141 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
20145 echo "$as_me:$LINENO: checking for socket" >&5
20146 echo $ECHO_N "checking for socket... $ECHO_C" >&6
20147 if test "${ac_cv_func_socket+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 cat >conftest.
$ac_ext <<_ACEOF
20153 cat confdefs.h
>>conftest.
$ac_ext
20154 cat >>conftest.
$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
20157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20158 #define socket innocuous_socket
20160 /* System header to define __stub macros and hopefully few prototypes,
20161 which can conflict with char socket (); below.
20162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20163 <limits.h> exists even on freestanding compilers. */
20166 # include <limits.h>
20168 # include <assert.h>
20173 /* Override any gcc2 internal prototype to avoid an error. */
20178 /* We use char because int might match the return type of a gcc2
20179 builtin and then its argument prototype would still apply. */
20181 /* The GNU C library defines this for functions which it implements
20182 to always fail with ENOSYS. Some functions are actually named
20183 something starting with __ and the normal name is an alias. */
20184 #if defined (__stub_socket) || defined (__stub___socket)
20187 char (*f) () = socket;
20196 return f != socket;
20201 rm -f conftest.
$ac_objext conftest
$ac_exeext
20202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20203 (eval $ac_link) 2>conftest.er1
20205 grep -v '^ *+' conftest.er1
>conftest.err
20207 cat conftest.err
>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); } &&
20210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; } &&
20216 { ac_try
='test -s conftest$ac_exeext'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; }; then
20222 ac_cv_func_socket
=yes
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20227 ac_cv_func_socket
=no
20229 rm -f conftest.err conftest.
$ac_objext \
20230 conftest
$ac_exeext conftest.
$ac_ext
20232 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
20233 echo "${ECHO_T}$ac_cv_func_socket" >&6
20234 if test $ac_cv_func_socket = yes; then
20240 if test $ok_so_far = yes; then
20241 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20242 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20243 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20244 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20248 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20250 # Is the header compilable?
20251 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
20252 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
20253 cat >conftest.
$ac_ext <<_ACEOF
20256 cat confdefs.h
>>conftest.
$ac_ext
20257 cat >>conftest.
$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 #include <netinet/in.h>
20262 rm -f conftest.
$ac_objext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20264 (eval $ac_compile) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try
='test -s conftest.$ac_objext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 ac_header_compiler
=yes
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.
$ac_ext >&5
20288 ac_header_compiler
=no
20290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20292 echo "${ECHO_T}$ac_header_compiler" >&6
20294 # Is the header present?
20295 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
20296 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
20297 cat >conftest.
$ac_ext <<_ACEOF
20300 cat confdefs.h
>>conftest.
$ac_ext
20301 cat >>conftest.
$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <netinet/in.h>
20305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1
>conftest.err
20310 cat conftest.err
>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } >/dev
/null
; then
20313 if test -s conftest.err
; then
20314 ac_cpp_err
=$ac_c_preproc_warn_flag
20315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20322 if test -z "$ac_cpp_err"; then
20323 ac_header_preproc
=yes
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.
$ac_ext >&5
20328 ac_header_preproc
=no
20330 rm -f conftest.err conftest.
$ac_ext
20331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20332 echo "${ECHO_T}$ac_header_preproc" >&6
20334 # So? What about this header?
20335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20337 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
20338 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20339 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
20340 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
20341 ac_header_preproc
=yes
20344 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
20345 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
20346 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
20347 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
20348 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
20349 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
20350 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
20351 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
20352 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
20353 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
20354 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
20355 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
20358 ## ------------------------------------------ ##
20359 ## Report this to the AC_PACKAGE_NAME lists. ##
20360 ## ------------------------------------------ ##
20363 sed "s/^/$as_me: WARNING: /" >&2
20366 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20367 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20368 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 ac_cv_header_netinet_in_h
=$ac_header_preproc
20373 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20374 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20377 if test $ac_cv_header_netinet_in_h = yes; then
20385 if test $ok_so_far = yes; then
20386 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20387 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20388 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20389 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20393 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20395 # Is the header compilable?
20396 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
20397 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 #include <arpa/inet.h>
20407 rm -f conftest.
$ac_objext
20408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20409 (eval $ac_compile) 2>conftest.er1
20411 grep -v '^ *+' conftest.er1
>conftest.err
20413 cat conftest.err
>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } &&
20416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; } &&
20422 { ac_try
='test -s conftest.$ac_objext'
20423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20424 (eval $ac_try) 2>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; }; then
20428 ac_header_compiler
=yes
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.
$ac_ext >&5
20433 ac_header_compiler
=no
20435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20437 echo "${ECHO_T}$ac_header_compiler" >&6
20439 # Is the header present?
20440 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
20441 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
20442 cat >conftest.
$ac_ext <<_ACEOF
20445 cat confdefs.h
>>conftest.
$ac_ext
20446 cat >>conftest.
$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 #include <arpa/inet.h>
20450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20453 grep -v '^ *+' conftest.er1
>conftest.err
20455 cat conftest.err
>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } >/dev
/null
; then
20458 if test -s conftest.err
; then
20459 ac_cpp_err
=$ac_c_preproc_warn_flag
20460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20467 if test -z "$ac_cpp_err"; then
20468 ac_header_preproc
=yes
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.
$ac_ext >&5
20473 ac_header_preproc
=no
20475 rm -f conftest.err conftest.
$ac_ext
20476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20477 echo "${ECHO_T}$ac_header_preproc" >&6
20479 # So? What about this header?
20480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20482 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
20483 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20484 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
20485 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
20486 ac_header_preproc
=yes
20489 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
20490 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
20491 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
20492 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
20493 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
20494 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
20495 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
20496 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
20497 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
20498 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
20499 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
20500 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20503 ## ------------------------------------------ ##
20504 ## Report this to the AC_PACKAGE_NAME lists. ##
20505 ## ------------------------------------------ ##
20508 sed "s/^/$as_me: WARNING: /" >&2
20511 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20512 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20513 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20516 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20518 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20519 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20522 if test $ac_cv_header_arpa_inet_h = yes; then
20530 if test $ok_so_far = yes; then
20532 cat >>confdefs.h
<<\_ACEOF
20533 #define HAVE_INET_SOCKETS 1
20539 for ac_header
in sys
/ioctl.h
20541 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20543 echo "$as_me:$LINENO: checking for $ac_header" >&5
20544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20551 # Is the header compilable?
20552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20554 cat >conftest.
$ac_ext <<_ACEOF
20557 cat confdefs.h
>>conftest.
$ac_ext
20558 cat >>conftest.
$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 $ac_includes_default
20561 #include <$ac_header>
20563 rm -f conftest.
$ac_objext
20564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20565 (eval $ac_compile) 2>conftest.er1
20567 grep -v '^ *+' conftest.er1
>conftest.err
20569 cat conftest.err
>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; } &&
20578 { ac_try
='test -s conftest.$ac_objext'
20579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580 (eval $ac_try) 2>&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); }; }; then
20584 ac_header_compiler
=yes
20586 echo "$as_me: failed program was:" >&5
20587 sed 's/^/| /' conftest.
$ac_ext >&5
20589 ac_header_compiler
=no
20591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20593 echo "${ECHO_T}$ac_header_compiler" >&6
20595 # Is the header present?
20596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20598 cat >conftest.
$ac_ext <<_ACEOF
20601 cat confdefs.h
>>conftest.
$ac_ext
20602 cat >>conftest.
$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #include <$ac_header>
20606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20609 grep -v '^ *+' conftest.er1
>conftest.err
20611 cat conftest.err
>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } >/dev
/null
; then
20614 if test -s conftest.err
; then
20615 ac_cpp_err
=$ac_c_preproc_warn_flag
20616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20623 if test -z "$ac_cpp_err"; then
20624 ac_header_preproc
=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 ac_header_preproc
=no
20631 rm -f conftest.err conftest.
$ac_ext
20632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20633 echo "${ECHO_T}$ac_header_preproc" >&6
20635 # So? What about this header?
20636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20641 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20642 ac_header_preproc
=yes
20645 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20646 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20648 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20649 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20650 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20651 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20652 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20655 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20656 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20659 ## ------------------------------------------ ##
20660 ## Report this to the AC_PACKAGE_NAME lists. ##
20661 ## ------------------------------------------ ##
20664 sed "s/^/$as_me: WARNING: /" >&2
20667 echo "$as_me:$LINENO: checking for $ac_header" >&5
20668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20670 echo $ECHO_N "(cached) $ECHO_C" >&6
20672 eval "$as_ac_Header=\$ac_header_preproc"
20674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20679 cat >>confdefs.h
<<_ACEOF
20680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20688 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20690 cat >>confdefs.h
<<\_ACEOF
20691 #define HAVE_AIX_SMT_EXP 1
20696 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20697 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20698 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20699 echo "$as_me:$LINENO: result: yes" >&5
20700 echo "${ECHO_T}yes" >&6
20702 cat >>confdefs.h
<<\_ACEOF
20703 #define HAVE_DEV_PTMX 1
20707 echo "$as_me:$LINENO: result: no" >&5
20708 echo "${ECHO_T}no" >&6
20711 echo "$as_me:$LINENO: checking for pid_t" >&5
20712 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20713 if test "${ac_cv_type_pid_t+set}" = set; then
20714 echo $ECHO_N "(cached) $ECHO_C" >&6
20716 cat >conftest.
$ac_ext <<_ACEOF
20719 cat confdefs.h
>>conftest.
$ac_ext
20720 cat >>conftest.
$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20728 if (sizeof (pid_t))
20734 rm -f conftest.
$ac_objext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>conftest.er1
20738 grep -v '^ *+' conftest.er1
>conftest.err
20740 cat conftest.err
>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try
='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_cv_type_pid_t
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_cv_type_pid_t
=no
20762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20764 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20765 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20766 if test $ac_cv_type_pid_t = yes; then
20770 cat >>confdefs.h
<<_ACEOF
20778 for ac_header
in unistd.h vfork.h
20780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20782 echo "$as_me:$LINENO: checking for $ac_header" >&5
20783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20790 # Is the header compilable?
20791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20793 cat >conftest.
$ac_ext <<_ACEOF
20796 cat confdefs.h
>>conftest.
$ac_ext
20797 cat >>conftest.
$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20799 $ac_includes_default
20800 #include <$ac_header>
20802 rm -f conftest.
$ac_objext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20804 (eval $ac_compile) 2>conftest.er1
20806 grep -v '^ *+' conftest.er1
>conftest.err
20808 cat conftest.err
>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20813 (eval $ac_try) 2>&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); }; } &&
20817 { ac_try
='test -s conftest.$ac_objext'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; }; then
20823 ac_header_compiler
=yes
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.
$ac_ext >&5
20828 ac_header_compiler
=no
20830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20832 echo "${ECHO_T}$ac_header_compiler" >&6
20834 # Is the header present?
20835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20837 cat >conftest.
$ac_ext <<_ACEOF
20840 cat confdefs.h
>>conftest.
$ac_ext
20841 cat >>conftest.
$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 #include <$ac_header>
20845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1
>conftest.err
20850 cat conftest.err
>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } >/dev
/null
; then
20853 if test -s conftest.err
; then
20854 ac_cpp_err
=$ac_c_preproc_warn_flag
20855 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20862 if test -z "$ac_cpp_err"; then
20863 ac_header_preproc
=yes
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.
$ac_ext >&5
20868 ac_header_preproc
=no
20870 rm -f conftest.err conftest.
$ac_ext
20871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20872 echo "${ECHO_T}$ac_header_preproc" >&6
20874 # So? What about this header?
20875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20881 ac_header_preproc
=yes
20884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20898 ## ------------------------------------------ ##
20899 ## Report this to the AC_PACKAGE_NAME lists. ##
20900 ## ------------------------------------------ ##
20903 sed "s/^/$as_me: WARNING: /" >&2
20906 echo "$as_me:$LINENO: checking for $ac_header" >&5
20907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 eval "$as_ac_Header=\$ac_header_preproc"
20913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20918 cat >>confdefs.h
<<_ACEOF
20919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20928 for ac_func
in fork vfork
20930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20931 echo "$as_me:$LINENO: checking for $ac_func" >&5
20932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20933 if eval "test \"\${$as_ac_var+set}\" = set"; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20944 #define $ac_func innocuous_$ac_func
20946 /* System header to define __stub macros and hopefully few prototypes,
20947 which can conflict with char $ac_func (); below.
20948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20949 <limits.h> exists even on freestanding compilers. */
20952 # include <limits.h>
20954 # include <assert.h>
20959 /* Override any gcc2 internal prototype to avoid an error. */
20964 /* We use char because int might match the return type of a gcc2
20965 builtin and then its argument prototype would still apply. */
20967 /* The GNU C library defines this for functions which it implements
20968 to always fail with ENOSYS. Some functions are actually named
20969 something starting with __ and the normal name is an alias. */
20970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20973 char (*f) () = $ac_func;
20982 return f != $ac_func;
20987 rm -f conftest.
$ac_objext conftest
$ac_exeext
20988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20989 (eval $ac_link) 2>conftest.er1
20991 grep -v '^ *+' conftest.er1
>conftest.err
20993 cat conftest.err
>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try
='test -s conftest$ac_exeext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 eval "$as_ac_var=yes"
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.
$ac_ext >&5
21013 eval "$as_ac_var=no"
21015 rm -f conftest.err conftest.
$ac_objext \
21016 conftest
$ac_exeext conftest.
$ac_ext
21018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21020 if test `eval echo '${'$as_ac_var'}'` = yes; then
21021 cat >>confdefs.h
<<_ACEOF
21022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21028 if test "x$ac_cv_func_fork" = xyes
; then
21029 echo "$as_me:$LINENO: checking for working fork" >&5
21030 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21031 if test "${ac_cv_func_fork_works+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 if test "$cross_compiling" = yes; then
21035 ac_cv_func_fork_works
=cross
21037 cat >conftest.
$ac_ext <<_ACEOF
21038 /* By Ruediger Kuhlmann. */
21039 #include <sys/types.h>
21041 # include <unistd.h>
21043 /* Some systems only have a dummy stub for fork() */
21051 rm -f conftest
$ac_exeext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21053 (eval $ac_link) 2>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_cv_func_fork_works
=yes
21064 echo "$as_me: program exited with status $ac_status" >&5
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21068 ( exit $ac_status )
21069 ac_cv_func_fork_works
=no
21071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21074 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21075 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21078 ac_cv_func_fork_works
=$ac_cv_func_fork
21080 if test "x$ac_cv_func_fork_works" = xcross
; then
21082 *-*-amigaos* |
*-*-msdosdjgpp*)
21083 # Override, as these systems have only a dummy fork() stub
21084 ac_cv_func_fork_works
=no
21087 ac_cv_func_fork_works
=yes
21090 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21091 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21093 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21094 if test "x$ac_cv_func_vfork" = xyes
; then
21095 echo "$as_me:$LINENO: checking for working vfork" >&5
21096 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21097 if test "${ac_cv_func_vfork_works+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 if test "$cross_compiling" = yes; then
21101 ac_cv_func_vfork_works
=cross
21103 cat >conftest.
$ac_ext <<_ACEOF
21106 cat confdefs.h
>>conftest.
$ac_ext
21107 cat >>conftest.
$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109 /* Thanks to Paul Eggert for this test. */
21111 #include <stdlib.h>
21112 #include <sys/types.h>
21113 #include <sys/stat.h>
21114 #include <sys/wait.h>
21116 # include <unistd.h>
21119 # include <vfork.h>
21121 /* On some sparc systems, changes by the child to local and incoming
21122 argument registers are propagated back to the parent. The compiler
21123 is told about this with #include <vfork.h>, but some compilers
21124 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21125 static variable whose address is put into a register that is
21126 clobbered by the vfork. */
21129 sparc_address_test (int arg)
21131 sparc_address_test (arg) int arg;
21134 static pid_t child;
21152 pid_t parent = getpid ();
21155 sparc_address_test (0);
21160 /* Here is another test for sparc vfork register problems. This
21161 test uses lots of local variables, at least as many local
21162 variables as main has allocated so far including compiler
21163 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21164 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21165 reuse the register of parent for one of the local variables,
21166 since it will think that parent can't possibly be used any more
21167 in this routine. Assigning to the local variable will thus
21168 munge parent in the parent process. */
21170 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21171 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21172 /* Convince the compiler that p..p7 are live; otherwise, it might
21173 use the same hardware register for all 8 local variables. */
21174 if (p != p1 || p != p2 || p != p3 || p != p4
21175 || p != p5 || p != p6 || p != p7)
21178 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21179 from child file descriptors. If the child closes a descriptor
21180 before it execs or exits, this munges the parent's descriptor
21181 as well. Test for this by closing stdout in the child. */
21182 _exit(close(fileno(stdout)) != 0);
21187 while (wait(&status) != child)
21190 /* Was there some problem with vforking? */
21193 /* Did the child fail? (This shouldn't happen.) */
21196 /* Did the vfork/compiler bug occur? */
21197 || parent != getpid()
21199 /* Did the file descriptor bug occur? */
21200 || fstat(fileno(stdout), &st) != 0
21205 rm -f conftest
$ac_exeext
21206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21207 (eval $ac_link) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_cv_func_vfork_works
=yes
21218 echo "$as_me: program exited with status $ac_status" >&5
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.
$ac_ext >&5
21222 ( exit $ac_status )
21223 ac_cv_func_vfork_works
=no
21225 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21228 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21229 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21232 if test "x$ac_cv_func_fork_works" = xcross
; then
21233 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21234 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21235 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21238 if test "x$ac_cv_func_vfork_works" = xyes
; then
21240 cat >>confdefs.h
<<\_ACEOF
21241 #define HAVE_WORKING_VFORK 1
21246 cat >>confdefs.h
<<\_ACEOF
21251 if test "x$ac_cv_func_fork_works" = xyes
; then
21253 cat >>confdefs.h
<<\_ACEOF
21254 #define HAVE_WORKING_FORK 1
21260 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21261 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21262 if test "${emacs_cv_langinfo_codeset+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 #include <langinfo.h>
21275 char* cs = nl_langinfo(CODESET);
21280 rm -f conftest.
$ac_objext conftest
$ac_exeext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21282 (eval $ac_link) 2>conftest.er1
21284 grep -v '^ *+' conftest.er1
>conftest.err
21286 cat conftest.err
>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; } &&
21295 { ac_try
='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 emacs_cv_langinfo_codeset
=yes
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 emacs_cv_langinfo_codeset
=no
21308 rm -f conftest.err conftest.
$ac_objext \
21309 conftest
$ac_exeext conftest.
$ac_ext
21312 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
21313 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
21314 if test $emacs_cv_langinfo_codeset = yes; then
21316 cat >>confdefs.h
<<\_ACEOF
21317 #define HAVE_LANGINFO_CODESET 1
21322 echo "$as_me:$LINENO: checking for size_t" >&5
21323 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21324 if test "${ac_cv_type_size_t+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 cat >conftest.
$ac_ext <<_ACEOF
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 $ac_includes_default
21339 if (sizeof (size_t))
21345 rm -f conftest.
$ac_objext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21347 (eval $ac_compile) 2>conftest.er1
21349 grep -v '^ *+' conftest.er1
>conftest.err
21351 cat conftest.err
>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try
='test -s conftest.$ac_objext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21366 ac_cv_type_size_t
=yes
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 ac_cv_type_size_t
=no
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21375 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21376 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21377 if test $ac_cv_type_size_t = yes; then
21379 cat >>confdefs.h
<<_ACEOF
21380 #define HAVE_SIZE_T 1
21387 echo "$as_me:$LINENO: checking for mbstate_t" >&5
21388 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
21389 if test "${ac_cv_type_mbstate_t+set}" = set; then
21390 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 cat >conftest.
$ac_ext <<_ACEOF
21395 cat confdefs.h
>>conftest.
$ac_ext
21396 cat >>conftest.
$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 # include <wchar.h>
21403 mbstate_t x; return sizeof x;
21408 rm -f conftest.
$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>conftest.er1
21412 grep -v '^ *+' conftest.er1
>conftest.err
21414 cat conftest.err
>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } &&
21417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try
='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_cv_type_mbstate_t
=yes
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_cv_type_mbstate_t
=no
21436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21438 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
21439 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
21440 if test $ac_cv_type_mbstate_t = yes; then
21442 cat >>confdefs.h
<<\_ACEOF
21443 #define HAVE_MBSTATE_T 1
21448 cat >>confdefs.h
<<\_ACEOF
21449 #define mbstate_t int
21454 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
21455 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
21456 if test "${emacs_cv_c_restrict+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 cat >conftest.
$ac_ext <<_ACEOF
21462 cat confdefs.h
>>conftest.
$ac_ext
21463 cat >>conftest.
$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 void fred (int *restrict x);
21474 rm -f conftest.
$ac_objext
21475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21476 (eval $ac_compile) 2>conftest.er1
21478 grep -v '^ *+' conftest.er1
>conftest.err
21480 cat conftest.err
>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; } &&
21489 { ac_try
='test -s conftest.$ac_objext'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; }; then
21495 emacs_cv_c_restrict
=yes
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.
$ac_ext >&5
21500 cat >conftest.
$ac_ext <<_ACEOF
21503 cat confdefs.h
>>conftest.
$ac_ext
21504 cat >>conftest.
$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 void fred (int *__restrict x);
21515 rm -f conftest.
$ac_objext
21516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21517 (eval $ac_compile) 2>conftest.er1
21519 grep -v '^ *+' conftest.er1
>conftest.err
21521 cat conftest.err
>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; } &&
21530 { ac_try
='test -s conftest.$ac_objext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 emacs_cv_c_restrict
=__restrict
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 emacs_cv_c_restrict
=no
21543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21547 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21548 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21549 case "$emacs_cv_c_restrict" in
21550 yes) emacs_restrict
=restrict
;;
21551 no
) emacs_restrict
="";;
21552 *) emacs_restrict
="$emacs_cv_c_restrict";;
21554 if test "$emacs_restrict" != __restrict
; then
21556 cat >>confdefs.h
<<_ACEOF
21557 #define __restrict $emacs_restrict
21562 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21563 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21564 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 cat >conftest.
$ac_ext <<_ACEOF
21570 cat confdefs.h
>>conftest.
$ac_ext
21571 cat >>conftest.
$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 void fred (int x[__restrict]);
21582 rm -f conftest.
$ac_objext
21583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21584 (eval $ac_compile) 2>conftest.er1
21586 grep -v '^ *+' conftest.er1
>conftest.err
21588 cat conftest.err
>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } &&
21591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try
='test -s conftest.$ac_objext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 emacs_cv_c_restrict_arr
=yes
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21608 emacs_cv_c_restrict_arr
=no
21610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21612 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21613 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21614 if test "$emacs_cv_c_restrict_arr" = yes; then
21616 cat >>confdefs.h
<<\_ACEOF
21617 #define __restrict_arr __restrict
21624 # Set up the CFLAGS for real compilation, so we can substitute it.
21625 CFLAGS
="$REAL_CFLAGS"
21626 CPPFLAGS
="$REAL_CPPFLAGS"
21628 #### Find out which version of Emacs this is.
21629 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21630 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21631 if test x
"${version}" = x
; then
21632 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21633 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21634 { (exit 1); exit 1; }; }
21637 ### Specify what sort of things we'll be editing into Makefile and config.h.
21638 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21674 cat >>confdefs.h
<<_ACEOF
21675 #define EMACS_CONFIGURATION "${canonical}"
21679 cat >>confdefs.h
<<_ACEOF
21680 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21684 cat >>confdefs.h
<<_ACEOF
21685 #define config_machfile "${machfile}"
21689 cat >>confdefs.h
<<_ACEOF
21690 #define config_opsysfile "${opsysfile}"
21694 cat >>confdefs.h
<<_ACEOF
21695 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21699 cat >>confdefs.h
<<_ACEOF
21700 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21704 cat >>confdefs.h
<<_ACEOF
21705 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21709 cat >>confdefs.h
<<_ACEOF
21710 #define UNEXEC_SRC ${UNEXEC_SRC}
21714 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21716 cat >>confdefs.h
<<\_ACEOF
21717 #define HAVE_X_WINDOWS 1
21721 if test "${USE_X_TOOLKIT}" != "none" ; then
21723 cat >>confdefs.h
<<\_ACEOF
21724 #define USE_X_TOOLKIT 1
21728 if test "${HAVE_X11}" = "yes" ; then
21730 cat >>confdefs.h
<<\_ACEOF
21735 if test "${HAVE_XFREE386}" = "yes" ; then
21737 cat >>confdefs.h
<<\_ACEOF
21738 #define HAVE_XFREE386 1
21742 if test "${HAVE_MENUS}" = "yes" ; then
21744 cat >>confdefs.h
<<\_ACEOF
21745 #define HAVE_MENUS 1
21749 if test "${GNU_MALLOC}" = "yes" ; then
21751 cat >>confdefs.h
<<\_ACEOF
21752 #define GNU_MALLOC 1
21756 if test "${REL_ALLOC}" = "yes" ; then
21758 cat >>confdefs.h
<<\_ACEOF
21759 #define REL_ALLOC 1
21768 #### Report on what we decided to do.
21769 #### Report GTK as a toolkit, even if it doesn't use Xt.
21770 #### It makes printing result more understandable as using GTK sets
21771 #### toolkit_scroll_bars to yes by default.
21772 if test "${HAVE_GTK}" = "yes"; then
21777 Configured for \`${canonical}'.
21779 Where should the build process find the source code? ${srcdir}
21780 What operating system and machine description files should Emacs use?
21781 \`${opsysfile}' and \`${machfile}'
21782 What compiler should emacs be built with? ${CC} ${CFLAGS}
21783 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21784 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21785 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21786 What window system should Emacs use? ${window_system}
21787 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21789 if test -n "${x_includes}"; then
21790 echo " Where do we find X Windows header files? ${x_includes}"
21792 echo " Where do we find X Windows header files? Standard dirs"
21794 if test -n "${x_libraries}"; then
21795 echo " Where do we find X Windows libraries? ${x_libraries}"
21797 echo " Where do we find X Windows libraries? Standard dirs"
21800 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21801 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21802 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21803 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21804 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21805 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21806 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21809 if test "$emacs_cv_randomheap" = warn
; then
21810 { echo "$as_me:$LINENO: WARNING:
21811 **********************************************************************
21813 Heap start address is randomized and no workaround is known.
21814 Emacs will probably dump core when temacs is run in the build phase.
21815 Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS'
21816 for further information.
21818 **********************************************************************
21820 echo "$as_me: WARNING:
21821 **********************************************************************
21823 Heap start address is randomized and no workaround is known.
21824 Emacs will probably dump core when temacs is run in the build phase.
21825 Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS'
21826 for further information.
21828 **********************************************************************
21832 # Remove any trailing slashes in these variables.
21833 test "${prefix}" != NONE
&&
21834 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
21835 test "${exec_prefix}" != NONE
&&
21836 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
21838 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
21839 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
21840 ## from Makefile.c can correctly provide the arg `-traditional' to the
21843 cat >conftest.
$ac_ext <<_ACEOF
21846 cat confdefs.h
>>conftest.
$ac_ext
21847 cat >>conftest.
$ac_ext <<_ACEOF
21848 /* end confdefs.h. */
21851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21852 $EGREP "yes..yes" >/dev
/null
2>&1; then
21853 CPP_NEED_TRADITIONAL
=no
21855 CPP_NEED_TRADITIONAL
=yes
21860 ac_config_files
="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
21861 ac_config_commands
="$ac_config_commands default"
21862 cat >confcache
<<\_ACEOF
21863 # This file is a shell script that caches the results of configure
21864 # tests run on this system so they can be shared between configure
21865 # scripts and configure runs, see configure's option --config-cache.
21866 # It is not useful on other systems. If it contains results you don't
21867 # want to keep, you may remove or edit it.
21869 # config.status only pays attention to the cache file if you give it
21870 # the --recheck option to rerun configure.
21872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21874 # following values.
21878 # The following way of writing the cache mishandles newlines in values,
21879 # but we know of no workaround that is simple, portable, and efficient.
21880 # So, don't put newlines in cache variables' values.
21881 # Ultrix sh set writes to stderr and can't be redirected directly,
21882 # and sets the high bit in the cache file unless we assign to the vars.
21885 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21887 # `set' does not quote correctly, so add quotes (double-quote
21888 # substitution turns \\\\ into \\, and sed turns \\ into \).
21891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21894 # `set' quotes correctly as required by POSIX, so do not add quotes.
21896 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21905 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21907 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21908 if test -w $cache_file; then
21909 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21910 cat confcache
>$cache_file
21912 echo "not updating unwritable cache $cache_file"
21917 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21918 # Let make expand exec_prefix.
21919 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21921 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21922 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21923 # trailing colons and then remove the whole line if VPATH becomes empty
21924 # (actually we leave an empty line to preserve line numbers).
21925 if test "x$srcdir" = x.
; then
21926 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21927 s/:*\$(srcdir):*/:/;
21928 s/:*\${srcdir}:*/:/;
21930 s/^\([^=]*=[ ]*\):*/\1/;
21936 DEFS
=-DHAVE_CONFIG_H
21940 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21941 # 1. Remove the extension, and $U if already installed.
21942 ac_i
=`echo "$ac_i" |
21943 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21945 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21946 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21948 LIBOBJS
=$ac_libobjs
21950 LTLIBOBJS
=$ac_ltlibobjs
21954 : ${CONFIG_STATUS=./config.status}
21955 ac_clean_files_save
=$ac_clean_files
21956 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21957 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21958 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21959 cat >$CONFIG_STATUS <<_ACEOF
21961 # Generated by $as_me.
21962 # Run this file to recreate the current configuration.
21963 # Compiler output produced by configure, useful for debugging
21964 # configure, is in config.log if it exists.
21967 ac_cs_recheck=false
21969 SHELL=\${CONFIG_SHELL-$SHELL}
21972 cat >>$CONFIG_STATUS <<\_ACEOF
21973 ## --------------------- ##
21974 ## M4sh Initialization. ##
21975 ## --------------------- ##
21977 # Be Bourne compatible
21978 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21981 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21982 # is contrary to our usage. Disable this feature.
21983 alias -g '${1+"$@"}'='"$@"'
21984 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21987 DUALCASE
=1; export DUALCASE
# for MKS sh
21989 # Support unset when possible.
21990 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21997 # Work around bugs in pre-3.0 UWIN ksh.
21998 $as_unset ENV MAIL MAILPATH
22005 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22006 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22007 LC_TELEPHONE LC_TIME
22009 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22010 eval $as_var=C
; export $as_var
22016 # Required to use basename.
22017 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22023 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22024 as_basename
=basename
22030 # Name of the executable.
22031 as_me
=`$as_basename "$0" ||
22032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22033 X"$0" : 'X\(//\)$' \| \
22034 X"$0" : 'X\(/\)$' \| \
22035 . : '\(.\)' 2>/dev/null ||
22037 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22038 /^X\/\(\/\/\)$/{ s//\1/; q; }
22039 /^X\/\(\/\).*/{ s//\1/; q; }
22043 # PATH needs CR, and LINENO needs CR and PATH.
22044 # Avoid depending upon Character Ranges.
22045 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22046 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22047 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22048 as_cr_digits
='0123456789'
22049 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22051 # The user is always right.
22052 if test "${PATH_SEPARATOR+set}" != set; then
22053 echo "#! /bin/sh" >conf$$.sh
22054 echo "exit 0" >>conf$$.sh
22056 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22065 as_lineno_1
=$LINENO
22066 as_lineno_2
=$LINENO
22067 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22068 test "x$as_lineno_1" != "x$as_lineno_2" &&
22069 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22070 # Find who we are. Look in the path if we contain no path at all
22073 *[\\/]* ) as_myself
=$0 ;;
22074 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22075 for as_dir
in $PATH
22078 test -z "$as_dir" && as_dir
=.
22079 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22084 # We did not find ourselves, most probably we were run as `sh COMMAND'
22085 # in which case we are not to be found in the path.
22086 if test "x$as_myself" = x
; then
22089 if test ! -f "$as_myself"; then
22090 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22091 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22092 { (exit 1); exit 1; }; }
22094 case $CONFIG_SHELL in
22096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22097 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22100 test -z "$as_dir" && as_dir
=.
22101 for as_base
in sh bash ksh sh5
; do
22104 if ("$as_dir/$as_base" -c '
22105 as_lineno_1=$LINENO
22106 as_lineno_2=$LINENO
22107 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22108 test "x$as_lineno_1" != "x$as_lineno_2" &&
22109 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22110 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22111 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22112 CONFIG_SHELL
=$as_dir/$as_base
22113 export CONFIG_SHELL
22114 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22122 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22123 # uniformly replaced by the line number. The first 'sed' inserts a
22124 # line-number line before each line; the second 'sed' does the real
22125 # work. The second script uses 'N' to pair each line-number line
22126 # with the numbered line, and appends trailing '-' during
22127 # substitution so that $LINENO is not a special case at line end.
22128 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22129 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22130 sed '=' <$as_myself |
22135 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22138 s,^['$as_cr_digits']*\n,,
22139 ' >$as_me.lineno
&&
22140 chmod +x
$as_me.lineno ||
22141 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22142 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22143 { (exit 1); exit 1; }; }
22145 # Don't try to exec as it changes $[0], causing all sort of problems
22146 # (the dirname of $[0] is not the place where we might find the
22147 # original and so on. Autoconf is especially sensible to this).
22149 # Exit status is that of the last command.
22154 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22155 *c
*,-n*) ECHO_N
= ECHO_C
='
22157 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22158 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22161 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22167 rm -f conf$$ conf$$.exe conf$$.
file
22169 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22170 # We could just check for DJGPP; but this test a) works b) is more generic
22171 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22172 if test -f conf$$.exe
; then
22173 # Don't use ln at all; we don't have any links
22178 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22183 rm -f conf$$ conf$$.exe conf$$.
file
22185 if mkdir
-p .
2>/dev
/null
; then
22188 test -d .
/-p && rmdir .
/-p
22192 as_executable_p
="test -f"
22194 # Sed expression to map a string onto a valid CPP name.
22195 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22197 # Sed expression to map a string onto a valid variable name.
22198 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22202 # We need space, tab and new line, in precisely that order.
22212 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22213 # report actual input values of CONFIG_FILES etc. instead of their
22214 # values after options handling. Logging --version etc. is OK.
22218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22219 ## Running $as_me. ##
22224 This file was extended by $as_me, which was
22225 generated by GNU Autoconf 2.59. Invocation command line was
22227 CONFIG_FILES = $CONFIG_FILES
22228 CONFIG_HEADERS = $CONFIG_HEADERS
22229 CONFIG_LINKS = $CONFIG_LINKS
22230 CONFIG_COMMANDS = $CONFIG_COMMANDS
22234 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22238 # Files that config.status was made for.
22239 if test -n "$ac_config_files"; then
22240 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22243 if test -n "$ac_config_headers"; then
22244 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22247 if test -n "$ac_config_links"; then
22248 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22251 if test -n "$ac_config_commands"; then
22252 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22255 cat >>$CONFIG_STATUS <<\_ACEOF
22258 \`$as_me' instantiates files from templates according to the
22259 current configuration.
22261 Usage: $0 [OPTIONS] [FILE]...
22263 -h, --help print this help, then exit
22264 -V, --version print version number, then exit
22265 -q, --quiet do not print progress messages
22266 -d, --debug don't remove temporary files
22267 --recheck update $as_me by reconfiguring in the same conditions
22268 --file=FILE[:TEMPLATE]
22269 instantiate the configuration file FILE
22270 --header=FILE[:TEMPLATE]
22271 instantiate the configuration header FILE
22273 Configuration files:
22276 Configuration headers:
22279 Configuration commands:
22282 Report bugs to <bug-autoconf@gnu.org>."
22285 cat >>$CONFIG_STATUS <<_ACEOF
22288 configured by $0, generated by GNU Autoconf 2.59,
22289 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22291 Copyright (C) 2003 Free Software Foundation, Inc.
22292 This config.status script is free software; the Free Software Foundation
22293 gives unlimited permission to copy, distribute and modify it."
22298 cat >>$CONFIG_STATUS <<\_ACEOF
22299 # If no file are specified by the user, then we need to provide default
22300 # value. By we need to know if files were specified by the user.
22306 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22307 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22315 *) # This is not an option, so the user has probably given explicit
22318 ac_need_defaults
=false
;;
22322 # Handling of the options.
22324 cat >>$CONFIG_STATUS <<\_ACEOF
22325 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22327 --version |
--vers* |
-V )
22328 echo "$ac_cs_version"; exit 0 ;;
22330 # Conflict between --help and --header
22331 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22332 Try \`$0 --help' for more information." >&5
22333 echo "$as_me: error: ambiguous option: $1
22334 Try \`$0 --help' for more information." >&2;}
22335 { (exit 1); exit 1; }; };;
22336 --help |
--hel |
-h )
22337 echo "$ac_cs_usage"; exit 0 ;;
22338 --debug |
--d* |
-d )
22340 --file |
--fil |
--fi |
--f )
22342 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22343 ac_need_defaults
=false
;;
22344 --header |
--heade |
--head |
--hea )
22346 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22347 ac_need_defaults
=false
;;
22348 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22349 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22352 # This is an error.
22353 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22354 Try \`$0 --help' for more information." >&5
22355 echo "$as_me: error: unrecognized option: $1
22356 Try \`$0 --help' for more information." >&2;}
22357 { (exit 1); exit 1; }; } ;;
22359 *) ac_config_targets
="$ac_config_targets $1" ;;
22365 ac_configure_extra_args
=
22367 if $ac_cs_silent; then
22369 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22373 cat >>$CONFIG_STATUS <<_ACEOF
22374 if \$ac_cs_recheck; then
22375 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22376 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22381 cat >>$CONFIG_STATUS <<_ACEOF
22383 # INIT-COMMANDS section.
22386 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
22392 cat >>$CONFIG_STATUS <<\_ACEOF
22393 for ac_config_target
in $ac_config_targets
22395 case "$ac_config_target" in
22396 # Handling of arguments.
22397 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22398 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
22399 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
22400 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
22401 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
22402 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
22403 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
22404 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
22405 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
22406 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
22407 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22408 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
22409 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22410 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22411 { (exit 1); exit 1; }; };;
22415 # If the user did not use the arguments to specify the items to instantiate,
22416 # then the envvar interface is used. Set only those that are not.
22417 # We use the long form for the default assignment because of an extremely
22418 # bizarre bug on SunOS 4.1.3.
22419 if $ac_need_defaults; then
22420 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22421 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22422 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22425 # Have a temporary directory for convenience. Make it in the build tree
22426 # simply because there is no reason to put it here, and in addition,
22427 # creating and moving files from /tmp can sometimes cause problems.
22428 # Create a temporary directory, and hook for its removal unless debugging.
22431 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22432 trap '{ (exit 1); exit 1; }' 1 2 13 15
22435 # Create a (secure) tmp directory for tmp files.
22438 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22439 test -n "$tmp" && test -d "$tmp"
22442 tmp
=.
/confstat$$
-$RANDOM
22443 (umask 077 && mkdir
$tmp)
22446 echo "$me: cannot create a temporary directory in ." >&2
22447 { (exit 1); exit 1; }
22452 cat >>$CONFIG_STATUS <<_ACEOF
22455 # CONFIG_FILES section.
22458 # No need to generate the scripts if there are no CONFIG_FILES.
22459 # This happens for instance when ./config.status config.h
22460 if test -n "\$CONFIG_FILES"; then
22461 # Protect against being on the right side of a sed subst in config.status.
22462 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22463 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22464 s,@SHELL@,$SHELL,;t t
22465 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22466 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22467 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22468 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22469 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22470 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22471 s,@exec_prefix@,$exec_prefix,;t t
22472 s,@prefix@,$prefix,;t t
22473 s,@program_transform_name@,$program_transform_name,;t t
22474 s,@bindir@,$bindir,;t t
22475 s,@sbindir@,$sbindir,;t t
22476 s,@libexecdir@,$libexecdir,;t t
22477 s,@datadir@,$datadir,;t t
22478 s,@sysconfdir@,$sysconfdir,;t t
22479 s,@sharedstatedir@,$sharedstatedir,;t t
22480 s,@localstatedir@,$localstatedir,;t t
22481 s,@libdir@,$libdir,;t t
22482 s,@includedir@,$includedir,;t t
22483 s,@oldincludedir@,$oldincludedir,;t t
22484 s,@infodir@,$infodir,;t t
22485 s,@mandir@,$mandir,;t t
22486 s,@build_alias@,$build_alias,;t t
22487 s,@host_alias@,$host_alias,;t t
22488 s,@target_alias@,$target_alias,;t t
22489 s,@DEFS@,$DEFS,;t t
22490 s,@ECHO_C@,$ECHO_C,;t t
22491 s,@ECHO_N@,$ECHO_N,;t t
22492 s,@ECHO_T@,$ECHO_T,;t t
22493 s,@LIBS@,$LIBS,;t t
22494 s,@MAINT@,$MAINT,;t t
22495 s,@build@,$build,;t t
22496 s,@build_cpu@,$build_cpu,;t t
22497 s,@build_vendor@,$build_vendor,;t t
22498 s,@build_os@,$build_os,;t t
22499 s,@host@,$host,;t t
22500 s,@host_cpu@,$host_cpu,;t t
22501 s,@host_vendor@,$host_vendor,;t t
22502 s,@host_os@,$host_os,;t t
22504 s,@CFLAGS@,$CFLAGS,;t t
22505 s,@LDFLAGS@,$LDFLAGS,;t t
22506 s,@CPPFLAGS@,$CPPFLAGS,;t t
22507 s,@ac_ct_CC@,$ac_ct_CC,;t t
22508 s,@EXEEXT@,$EXEEXT,;t t
22509 s,@OBJEXT@,$OBJEXT,;t t
22510 s,@LN_S@,$LN_S,;t t
22512 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22513 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22514 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22515 s,@RANLIB@,$RANLIB,;t t
22516 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22517 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22518 s,@EGREP@,$EGREP,;t t
22519 s,@LIBSOUND@,$LIBSOUND,;t t
22520 s,@SET_MAKE@,$SET_MAKE,;t t
22521 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22522 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22523 s,@GTK_LIBS@,$GTK_LIBS,;t t
22524 s,@ALLOCA@,$ALLOCA,;t t
22525 s,@liblockfile@,$liblockfile,;t t
22526 s,@LIBOBJS@,$LIBOBJS,;t t
22527 s,@NEED_SETGID@,$NEED_SETGID,;t t
22528 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22529 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22530 s,@version@,$version,;t t
22531 s,@configuration@,$configuration,;t t
22532 s,@canonical@,$canonical,;t t
22533 s,@srcdir@,$srcdir,;t t
22534 s,@lispdir@,$lispdir,;t t
22535 s,@locallisppath@,$locallisppath,;t t
22536 s,@lisppath@,$lisppath,;t t
22537 s,@x_default_search_path@,$x_default_search_path,;t t
22538 s,@etcdir@,$etcdir,;t t
22539 s,@archlibdir@,$archlibdir,;t t
22540 s,@docdir@,$docdir,;t t
22541 s,@bitmapdir@,$bitmapdir,;t t
22542 s,@gamedir@,$gamedir,;t t
22543 s,@gameuser@,$gameuser,;t t
22544 s,@c_switch_system@,$c_switch_system,;t t
22545 s,@c_switch_machine@,$c_switch_machine,;t t
22546 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22547 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22548 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22549 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22550 s,@machfile@,$machfile,;t t
22551 s,@opsysfile@,$opsysfile,;t t
22552 s,@carbon_appdir@,$carbon_appdir,;t t
22553 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22558 cat >>$CONFIG_STATUS <<\_ACEOF
22559 # Split the substitutions into bite-sized pieces for seds with
22560 # small command number limits, like on Digital OSF/1 and HP-UX.
22561 ac_max_sed_lines
=48
22562 ac_sed_frag
=1 # Number of current file.
22563 ac_beg
=1 # First line for current file.
22564 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22567 while $ac_more_lines; do
22568 if test $ac_beg -gt 1; then
22569 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22571 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22573 if test ! -s $tmp/subs.frag
; then
22574 ac_more_lines
=false
22576 # The purpose of the label and of the branching condition is to
22577 # speed up the sed processing (if there are no `@' at all, there
22578 # is no need to browse any of the substitutions).
22579 # These are the two extra sed commands mentioned above.
22581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22582 if test -z "$ac_sed_cmds"; then
22583 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22585 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22587 ac_sed_frag
=`expr $ac_sed_frag + 1`
22589 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22592 if test -z "$ac_sed_cmds"; then
22595 fi # test -n "$CONFIG_FILES"
22598 cat >>$CONFIG_STATUS <<\_ACEOF
22599 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22600 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22602 - |
*:- |
*:-:* ) # input from stdin
22604 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22605 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22606 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22607 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22608 * ) ac_file_in
=$ac_file.
in ;;
22611 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22612 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22614 X"$ac_file" : 'X\(//\)[^/]' \| \
22615 X"$ac_file" : 'X\(//\)$' \| \
22616 X"$ac_file" : 'X\(/\)' \| \
22617 . : '\(.\)' 2>/dev/null ||
22619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22621 /^X\(\/\/\)$/{ s//\1/; q; }
22622 /^X\(\/\).*/{ s//\1/; q; }
22624 { if $as_mkdir_p; then
22629 while test ! -d "$as_dir"; do
22630 as_dirs
="$as_dir $as_dirs"
22631 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22633 X"$as_dir" : 'X\(//\)[^/]' \| \
22634 X"$as_dir" : 'X\(//\)$' \| \
22635 X"$as_dir" : 'X\(/\)' \| \
22636 . : '\(.\)' 2>/dev/null ||
22638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22640 /^X\(\/\/\)$/{ s//\1/; q; }
22641 /^X\(\/\).*/{ s//\1/; q; }
22644 test ! -n "$as_dirs" || mkdir
$as_dirs
22645 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22646 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22647 { (exit 1); exit 1; }; }; }
22651 if test "$ac_dir" != .
; then
22652 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22653 # A "../" for each directory in $ac_dir_suffix.
22654 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22656 ac_dir_suffix
= ac_top_builddir
=
22660 .
) # No --srcdir option. We are building in place.
22662 if test -z "$ac_top_builddir"; then
22665 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22667 [\\/]* | ?
:[\\/]* ) # Absolute path.
22668 ac_srcdir
=$srcdir$ac_dir_suffix;
22669 ac_top_srcdir
=$srcdir ;;
22670 *) # Relative path.
22671 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22672 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22675 # Do not use `cd foo && pwd` to compute absolute paths, because
22676 # the directories may not exist.
22678 .
) ac_abs_builddir
="$ac_dir";;
22681 .
) ac_abs_builddir
=`pwd`;;
22682 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22683 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22686 case $ac_abs_builddir in
22687 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22689 case ${ac_top_builddir}.
in
22690 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22691 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22692 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22695 case $ac_abs_builddir in
22696 .
) ac_abs_srcdir
=$ac_srcdir;;
22699 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22700 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22701 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22704 case $ac_abs_builddir in
22705 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22707 case $ac_top_srcdir in
22708 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22709 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22710 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22716 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22717 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22720 # Let's still pretend it is `configure' which instantiates (i.e., don't
22721 # use $as_me), people would be surprised to read:
22722 # /* config.h. Generated by config.status. */
22723 if test x
"$ac_file" = x-
; then
22726 configure_input
="$ac_file. "
22728 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22729 sed 's,.*/,,'` by configure."
22731 # First look for the input files in the build tree, otherwise in the
22733 ac_file_inputs
=`IFS=:
22734 for f in $ac_file_in; do
22736 -) echo $tmp/stdin ;;
22738 # Absolute (can't be DOS-style, as IFS=:)
22739 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22740 echo "$as_me: error: cannot find input file: $f" >&2;}
22741 { (exit 1); exit 1; }; }
22744 if test -f "$f"; then
22747 elif test -f "$srcdir/$f"; then
22752 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22753 echo "$as_me: error: cannot find input file: $f" >&2;}
22754 { (exit 1); exit 1; }; }
22757 done` ||
{ (exit 1); exit 1; }
22759 if test x
"$ac_file" != x-
; then
22760 { echo "$as_me:$LINENO: creating $ac_file" >&5
22761 echo "$as_me: creating $ac_file" >&6;}
22765 cat >>$CONFIG_STATUS <<_ACEOF
22769 cat >>$CONFIG_STATUS <<\_ACEOF
22771 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22772 s
,@configure_input@
,$configure_input,;t t
22773 s
,@srcdir@
,$ac_srcdir,;t t
22774 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22775 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22776 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22777 s
,@builddir@
,$ac_builddir,;t t
22778 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22779 s
,@top_builddir@
,$ac_top_builddir,;t t
22780 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22781 s
,@INSTALL@
,$ac_INSTALL,;t t
22782 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22784 if test x"$ac_file" != x-; then
22785 mv $tmp/out $ac_file
22793 cat >>$CONFIG_STATUS <<\_ACEOF
22796 # CONFIG_HEADER section.
22799 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22800 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22802 # ac_d sets the value in "#define NAME VALUE" lines.
22803 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22804 ac_dB
='[ ].*$,\1#\2'
22807 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22808 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22809 ac_uB
='$,\1#\2define\3'
22813 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22814 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22816 - |
*:- |
*:-:* ) # input from stdin
22818 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22819 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22820 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22821 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22822 * ) ac_file_in
=$ac_file.
in ;;
22825 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22826 echo "$as_me: creating $ac_file" >&6;}
22828 # First look for the input files in the build tree, otherwise in the
22830 ac_file_inputs
=`IFS=:
22831 for f in $ac_file_in; do
22833 -) echo $tmp/stdin ;;
22835 # Absolute (can't be DOS-style, as IFS=:)
22836 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22837 echo "$as_me: error: cannot find input file: $f" >&2;}
22838 { (exit 1); exit 1; }; }
22839 # Do quote $f, to prevent DOS paths from being IFS'd.
22842 if test -f "$f"; then
22845 elif test -f "$srcdir/$f"; then
22850 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22851 echo "$as_me: error: cannot find input file: $f" >&2;}
22852 { (exit 1); exit 1; }; }
22855 done` ||
{ (exit 1); exit 1; }
22856 # Remove the trailing spaces.
22857 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22861 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22862 # `conftest.undefs', that substitutes the proper values into
22863 # config.h.in to produce config.h. The first handles `#define'
22864 # templates, and the second `#undef' templates.
22865 # And first: Protect against being on the right side of a sed subst in
22866 # config.status. Protect against being in an unquoted here document
22867 # in config.status.
22868 rm -f conftest.defines conftest.undefs
22869 # Using a here document instead of a string reduces the quoting nightmare.
22870 # Putting comments in sed scripts is not portable.
22872 # `end' is used to avoid that the second main sed command (meant for
22873 # 0-ary CPP macros) applies to n-ary macro definitions.
22874 # See the Autoconf documentation for `clear'.
22875 cat >confdef2sed.
sed <<\_ACEOF
22880 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22882 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22885 # If some macros were called several times there might be several times
22886 # the same #defines, which is useless. Nevertheless, we may not want to
22887 # sort them, since we want the *last* AC-DEFINE to be honored.
22888 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22889 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22890 rm -f confdef2sed.sed
22892 # This sed command replaces #undef with comments. This is necessary, for
22893 # example, in the case of _POSIX_SOURCE, which is predefined and required
22894 # on some systems where configure will not decide to define it.
22895 cat >>conftest.undefs <<\_ACEOF
22896 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22899 # Break up conftest.defines because some shells have a limit on the size
22900 # of here documents, and old seds have small limits too (100 cmds).
22901 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22902 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22903 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22904 echo ' :' >>$CONFIG_STATUS
22905 rm -f conftest.tail
22906 while grep . conftest.defines >/dev/null
22908 # Write a limited-size here document to $tmp/defines.sed.
22909 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22910 # Speed up: don't consider the non `#define' lines.
22911 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22912 # Work around the forget-to-reset-the-flag bug.
22913 echo 't clr' >>$CONFIG_STATUS
22914 echo ': clr' >>$CONFIG_STATUS
22915 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22917 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22919 mv $tmp/out $tmp/in
22921 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22922 rm -f conftest.defines
22923 mv conftest.
tail conftest.defines
22925 rm -f conftest.defines
22926 echo ' fi # grep' >>$CONFIG_STATUS
22927 echo >>$CONFIG_STATUS
22929 # Break up conftest.undefs because some shells have a limit on the size
22930 # of here documents, and old seds have small limits too (100 cmds).
22931 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22932 rm -f conftest.
tail
22933 while grep . conftest.undefs
>/dev
/null
22935 # Write a limited-size here document to $tmp/undefs.sed.
22936 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22937 # Speed up: don't consider the non
`#undef'
22938 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22939 # Work around the forget-to-reset-the-flag bug.
22940 echo 't clr' >>$CONFIG_STATUS
22941 echo ': clr' >>$CONFIG_STATUS
22942 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22944 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22946 mv $tmp/out $tmp/in
22948 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22949 rm -f conftest.undefs
22950 mv conftest.tail conftest.undefs
22952 rm -f conftest.undefs
22954 cat >>$CONFIG_STATUS <<\_ACEOF
22955 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22956 # use $as_me), people would be surprised to read:
22957 # /* config.h. Generated by config.status. */
22958 if test x
"$ac_file" = x-
; then
22959 echo "/* Generated by configure. */" >$tmp/config.h
22961 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22963 cat $tmp/in >>$tmp/config.h
22965 if test x
"$ac_file" != x-
; then
22966 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22967 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22968 echo "$as_me: $ac_file is unchanged" >&6;}
22970 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22972 X"$ac_file" : 'X\(//\)[^/]' \| \
22973 X"$ac_file" : 'X\(//\)$' \| \
22974 X"$ac_file" : 'X\(/\)' \| \
22975 . : '\(.\)' 2>/dev/null ||
22977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22979 /^X\(\/\/\)$/{ s//\1/; q; }
22980 /^X\(\/\).*/{ s//\1/; q; }
22982 { if $as_mkdir_p; then
22987 while test ! -d "$as_dir"; do
22988 as_dirs
="$as_dir $as_dirs"
22989 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22991 X"$as_dir" : 'X\(//\)[^/]' \| \
22992 X"$as_dir" : 'X\(//\)$' \| \
22993 X"$as_dir" : 'X\(/\)' \| \
22994 . : '\(.\)' 2>/dev/null ||
22996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22998 /^X\(\/\/\)$/{ s//\1/; q; }
22999 /^X\(\/\).*/{ s//\1/; q; }
23002 test ! -n "$as_dirs" || mkdir
$as_dirs
23003 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23004 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23005 { (exit 1); exit 1; }; }; }
23008 mv $tmp/config.h
$ac_file
23012 rm -f $tmp/config.h
23016 cat >>$CONFIG_STATUS <<\_ACEOF
23019 # CONFIG_COMMANDS section.
23021 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23022 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23023 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23024 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23025 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23026 X"$ac_dest" : 'X\(//\)[^/]' \| \
23027 X"$ac_dest" : 'X\(//\)$' \| \
23028 X"$ac_dest" : 'X\(/\)' \| \
23029 . : '\(.\)' 2>/dev/null ||
23031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23033 /^X\(\/\/\)$/{ s//\1/; q; }
23034 /^X\(\/\).*/{ s//\1/; q; }
23036 { if $as_mkdir_p; then
23041 while test ! -d "$as_dir"; do
23042 as_dirs
="$as_dir $as_dirs"
23043 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23044 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23045 X"$as_dir" : 'X\(//\)[^/]' \| \
23046 X"$as_dir" : 'X\(//\)$' \| \
23047 X"$as_dir" : 'X\(/\)' \| \
23048 . : '\(.\)' 2>/dev/null ||
23050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23052 /^X\(\/\/\)$/{ s//\1/; q; }
23053 /^X\(\/\).*/{ s//\1/; q; }
23056 test ! -n "$as_dirs" || mkdir
$as_dirs
23057 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23058 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23059 { (exit 1); exit 1; }; }; }
23063 if test "$ac_dir" != .
; then
23064 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23065 # A "../" for each directory in $ac_dir_suffix.
23066 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23068 ac_dir_suffix
= ac_top_builddir
=
23072 .
) # No --srcdir option. We are building in place.
23074 if test -z "$ac_top_builddir"; then
23077 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23079 [\\/]* | ?
:[\\/]* ) # Absolute path.
23080 ac_srcdir
=$srcdir$ac_dir_suffix;
23081 ac_top_srcdir
=$srcdir ;;
23082 *) # Relative path.
23083 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23084 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23087 # Do not use `cd foo && pwd` to compute absolute paths, because
23088 # the directories may not exist.
23090 .
) ac_abs_builddir
="$ac_dir";;
23093 .
) ac_abs_builddir
=`pwd`;;
23094 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23095 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23098 case $ac_abs_builddir in
23099 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23101 case ${ac_top_builddir}.
in
23102 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23103 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23104 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23107 case $ac_abs_builddir in
23108 .
) ac_abs_srcdir
=$ac_srcdir;;
23111 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23112 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23113 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23116 case $ac_abs_builddir in
23117 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23119 case $ac_top_srcdir in
23120 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23121 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23122 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23127 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23128 echo "$as_me: executing $ac_dest commands" >&6;}
23132 ### Make the necessary directories, if they don't exist.
23133 for dir
in etc lisp
; do
23134 test -d ${dir} || mkdir
${dir}
23137 # Build src/Makefile from ${srcdir}/src/Makefile.c
23138 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
23139 # This must be done after src/config.h is built, since we rely on that file.
23141 # Now get this: Some word that is part of the ${srcdir} directory name
23142 # or the ${configuration} value might, just might, happen to be an
23143 # identifier like `sun4' or `i386' or something, and be predefined by
23144 # the C preprocessor to some helpful value like 1, or maybe the empty
23145 # string. Needless to say consequent macro substitutions are less
23146 # than conducive to the makefile finding the correct directory.
23147 undefs
="`echo $top_srcdir $configuration $canonical |
23148 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
23149 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
23152 echo creating src
/epaths.h
23153 ${MAKE-make} epaths-force
23155 # As of 2000-11-19, newest development versions of GNU cpp preprocess
23156 # `..' to `. .' unless invoked with -traditional
23158 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
23159 CPPFLAGS
="$CPPFLAGS -traditional"
23162 echo creating lib-src
/Makefile
23164 rm -f junk.c junk1.c junk2.c
23165 sed -e '/start of cpp stuff/q' \
23166 < Makefile.c
> junk1.c
23167 sed -e '1,/start of cpp stuff/d'\
23168 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23169 < Makefile.c
> junk.c
23170 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23171 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23172 cat junk1.c junk2.c
> Makefile.new
23173 rm -f junk.c junk1.c junk2.c
23174 chmod 444 Makefile.new
23175 mv -f Makefile.new Makefile
23178 echo creating src
/Makefile
23180 rm -f junk.c junk1.c junk2.c
23181 sed -e '/start of cpp stuff/q' \
23182 < Makefile.c
> junk1.c
23183 sed -e '1,/start of cpp stuff/d'\
23184 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23185 < Makefile.c
> junk.c
23186 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23187 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23188 cat junk1.c junk2.c
> Makefile.new
23189 rm -f junk.c junk1.c junk2.c
23190 chmod 444 Makefile.new
23191 mv -f Makefile.new Makefile
23194 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
23195 echo creating src
/.gdbinit
23196 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
23199 # This is how we know whether to re-run configure in certain cases.
23200 touch src
/config.stamp
23207 cat >>$CONFIG_STATUS <<\_ACEOF
23209 { (exit 0); exit 0; }
23211 chmod +x
$CONFIG_STATUS
23212 ac_clean_files
=$ac_clean_files_save
23215 # configure is writing to config.log, and then calls config.status.
23216 # config.status does its own redirection, appending to config.log.
23217 # Unfortunately, on DOS this fails, as config.log is still kept open
23218 # by configure, so config.status won't be able to write to it; its
23219 # output is simply discarded. So we exec the FD to /dev/null,
23220 # effectively closing config.log, so it can be properly (re)opened and
23221 # appended to by config.status. When coming back to configure, we
23222 # need to make the FD available again.
23223 if test "$no_create" != yes; then
23225 ac_config_status_args
=
23226 test "$silent" = yes &&
23227 ac_config_status_args
="$ac_config_status_args --quiet"
23229 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23231 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23232 # would make configure fail if this is the last instruction.
23233 $ac_cs_success ||
{ (exit 1); exit 1; }