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"
3254 || test ! -s conftest.err'
3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; } &&
3260 { ac_try
='test -s conftest.$ac_objext'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; }; then
3268 echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.
$ac_ext >&5
3273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3274 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3277 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3278 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3279 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3280 ac_test_CFLAGS
=${CFLAGS+set}
3281 ac_save_CFLAGS
=$CFLAGS
3283 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3284 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3285 if test "${ac_cv_prog_cc_g+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3303 rm -f conftest.
$ac_objext
3304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3305 (eval $ac_compile) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try
='test -z "$ac_c_werror_flag"
3313 || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try
='test -s conftest.$ac_objext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.
$ac_ext >&5
3332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3334 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3336 if test "$ac_test_CFLAGS" = set; then
3337 CFLAGS
=$ac_save_CFLAGS
3338 elif test $ac_cv_prog_cc_g = yes; then
3339 if test "$GCC" = yes; then
3345 if test "$GCC" = yes; then
3351 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3352 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3353 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 ac_cv_prog_cc_stdc
=no
3358 cat >conftest.
$ac_ext <<_ACEOF
3361 cat confdefs.h
>>conftest.
$ac_ext
3362 cat >>conftest.
$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3366 #include <sys/types.h>
3367 #include <sys/stat.h>
3368 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3369 struct buf { int x; };
3370 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3371 static char *e (p, i)
3377 static char *f (char * (*g) (char **, int), char **p, ...)
3382 s = g (p, va_arg (v,int));
3387 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3388 function prototypes and stuff, but not '\xHH' hex character constants.
3389 These don't provoke an error unfortunately, instead are silently treated
3390 as 'x'. The following induces an error, until -std1 is added to get
3391 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3392 array size at least. It's necessary to write '\x00'==0 to get something
3393 that's true only with -std1. */
3394 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3396 int test (int i, double x);
3397 struct s1 {int (*f) (int a);};
3398 struct s2 {int (*f) (double a);};
3399 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3405 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3410 # Don't try gcc -ansi; that turns off useful extensions and
3411 # breaks some systems' header files.
3412 # AIX -qlanglvl=ansi
3413 # Ultrix and OSF/1 -std1
3414 # HP-UX 10.20 and later -Ae
3415 # HP-UX older versions -Aa -D_HPUX_SOURCE
3416 # SVR4 -Xc -D__EXTENSIONS__
3417 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3419 CC
="$ac_save_CC $ac_arg"
3420 rm -f conftest.
$ac_objext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3422 (eval $ac_compile) 2>conftest.er1
3424 grep -v '^ *+' conftest.er1
>conftest.err
3426 cat conftest.err
>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try
='test -z "$ac_c_werror_flag"
3430 || test ! -s conftest.err'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; } &&
3436 { ac_try
='test -s conftest.$ac_objext'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 ac_cv_prog_cc_stdc
=$ac_arg
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.
$ac_ext >&5
3449 rm -f conftest.err conftest.
$ac_objext
3451 rm -f conftest.
$ac_ext conftest.
$ac_objext
3456 case "x$ac_cv_prog_cc_stdc" in
3458 echo "$as_me:$LINENO: result: none needed" >&5
3459 echo "${ECHO_T}none needed" >&6 ;;
3461 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3462 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3463 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3466 # Some people use a C++ compiler to compile C. Since we use `exit',
3467 # in C++ we need to declare it. In case someone uses the same compiler
3468 # for both compiling C and C++ we need to have the C++ compiler decide
3469 # the declaration of exit, since it's the most demanding environment.
3470 cat >conftest.
$ac_ext <<_ACEOF
3475 rm -f conftest.
$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477 (eval $ac_compile) 2>conftest.er1
3479 grep -v '^ *+' conftest.er1
>conftest.err
3481 cat conftest.err
>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try
='test -z "$ac_c_werror_flag"
3485 || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try
='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 for ac_declaration
in \
3499 'extern "C" void std::exit (int) throw (); using std::exit;' \
3500 'extern "C" void std::exit (int); using std::exit;' \
3501 'extern "C" void exit (int) throw ();' \
3502 'extern "C" void exit (int);' \
3505 cat >conftest.
$ac_ext <<_ACEOF
3508 cat confdefs.h
>>conftest.
$ac_ext
3509 cat >>conftest.
$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3521 rm -f conftest.
$ac_objext
3522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3523 (eval $ac_compile) 2>conftest.er1
3525 grep -v '^ *+' conftest.er1
>conftest.err
3527 cat conftest.err
>&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try
='test -z "$ac_c_werror_flag"
3531 || test ! -s conftest.err'
3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }; } &&
3537 { ac_try
='test -s conftest.$ac_objext'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; }; then
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.
$ac_ext >&5
3550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3551 cat >conftest.
$ac_ext <<_ACEOF
3554 cat confdefs.h
>>conftest.
$ac_ext
3555 cat >>conftest.
$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3566 rm -f conftest.
$ac_objext
3567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3568 (eval $ac_compile) 2>conftest.er1
3570 grep -v '^ *+' conftest.er1
>conftest.err
3572 cat conftest.err
>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } &&
3575 { ac_try
='test -z "$ac_c_werror_flag"
3576 || test ! -s conftest.err'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; } &&
3582 { ac_try
='test -s conftest.$ac_objext'
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; }; then
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.
$ac_ext >&5
3594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3597 if test -n "$ac_declaration"; then
3598 echo '#ifdef __cplusplus' >>confdefs.h
3599 echo $ac_declaration >>confdefs.h
3600 echo '#endif' >>confdefs.h
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 # On Suns, sometimes $CPP names a directory.
3617 if test -n "$CPP" && test -d "$CPP"; then
3621 #### Some systems specify a CPP to use unless we are using GCC.
3622 #### Now that we know whether we are using GCC, we can decide whether
3623 #### to use that one.
3624 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3629 #### Some systems specify a CC to use unless we are using GCC.
3630 #### Now that we know whether we are using GCC, we can decide whether
3631 #### to use that one.
3632 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3633 test x
$cc_specified != xyes
3638 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3640 CC
="$CC $GCC_TEST_OPTIONS"
3643 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3645 CC
="$CC $NON_GCC_TEST_OPTIONS"
3648 #### Some other nice autoconf tests.
3650 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3651 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3653 if test "$LN_S" = "ln -s"; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3657 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3658 echo "${ECHO_T}no, using $LN_S" >&6
3662 ac_cpp
='$CPP $CPPFLAGS'
3663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3666 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3667 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3668 # On Suns, sometimes $CPP names a directory.
3669 if test -n "$CPP" && test -d "$CPP"; then
3672 if test -z "$CPP"; then
3673 if test "${ac_cv_prog_CPP+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 # Double quotes because CPP needs to be expanded
3677 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3680 for ac_c_preproc_warn_flag
in '' yes
3682 # Use a header file that comes with gcc, so configuring glibc
3683 # with a fresh cross-compiler works.
3684 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3685 # <limits.h> exists even on freestanding compilers.
3686 # On the NeXT, cc -E runs the code through the compiler's parser,
3687 # not just through cpp. "Syntax error" is here to catch this case.
3688 cat >conftest.
$ac_ext <<_ACEOF
3691 cat confdefs.h
>>conftest.
$ac_ext
3692 cat >>conftest.
$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3695 # include <limits.h>
3697 # include <assert.h>
3701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev
/null
; then
3709 if test -s conftest.err
; then
3710 ac_cpp_err
=$ac_c_preproc_warn_flag
3711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3718 if test -z "$ac_cpp_err"; then
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 # Broken: fails on valid input.
3727 rm -f conftest.err conftest.
$ac_ext
3729 # OK, works on sane cases. Now check whether non-existent headers
3730 # can be detected and how.
3731 cat >conftest.
$ac_ext <<_ACEOF
3734 cat confdefs.h
>>conftest.
$ac_ext
3735 cat >>conftest.
$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #include <ac_nonexistent.h>
3739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3742 grep -v '^ *+' conftest.er1
>conftest.err
3744 cat conftest.err
>&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } >/dev
/null
; then
3747 if test -s conftest.err
; then
3748 ac_cpp_err
=$ac_c_preproc_warn_flag
3749 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3756 if test -z "$ac_cpp_err"; then
3757 # Broken: success on invalid input.
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.
$ac_ext >&5
3763 # Passes both tests.
3767 rm -f conftest.err conftest.
$ac_ext
3770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3771 rm -f conftest.err conftest.
$ac_ext
3772 if $ac_preproc_ok; then
3784 echo "$as_me:$LINENO: result: $CPP" >&5
3785 echo "${ECHO_T}$CPP" >&6
3787 for ac_c_preproc_warn_flag
in '' yes
3789 # Use a header file that comes with gcc, so configuring glibc
3790 # with a fresh cross-compiler works.
3791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792 # <limits.h> exists even on freestanding compilers.
3793 # On the NeXT, cc -E runs the code through the compiler's parser,
3794 # not just through cpp. "Syntax error" is here to catch this case.
3795 cat >conftest.
$ac_ext <<_ACEOF
3798 cat confdefs.h
>>conftest.
$ac_ext
3799 cat >>conftest.
$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3802 # include <limits.h>
3804 # include <assert.h>
3808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3811 grep -v '^ *+' conftest.er1
>conftest.err
3813 cat conftest.err
>&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } >/dev
/null
; then
3816 if test -s conftest.err
; then
3817 ac_cpp_err
=$ac_c_preproc_warn_flag
3818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3825 if test -z "$ac_cpp_err"; then
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.
$ac_ext >&5
3831 # Broken: fails on valid input.
3834 rm -f conftest.err conftest.
$ac_ext
3836 # OK, works on sane cases. Now check whether non-existent headers
3837 # can be detected and how.
3838 cat >conftest.
$ac_ext <<_ACEOF
3841 cat confdefs.h
>>conftest.
$ac_ext
3842 cat >>conftest.
$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3844 #include <ac_nonexistent.h>
3846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } >/dev
/null
; then
3854 if test -s conftest.err
; then
3855 ac_cpp_err
=$ac_c_preproc_warn_flag
3856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3863 if test -z "$ac_cpp_err"; then
3864 # Broken: success on invalid input.
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.
$ac_ext >&5
3870 # Passes both tests.
3874 rm -f conftest.err conftest.
$ac_ext
3877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3878 rm -f conftest.err conftest.
$ac_ext
3879 if $ac_preproc_ok; then
3882 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3883 See \`config.log' for more details." >&5
3884 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3885 See \`config.log' for more details." >&2;}
3886 { (exit 1); exit 1; }; }
3890 ac_cpp
='$CPP $CPPFLAGS'
3891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3895 # Find a good install program. We prefer a C program (faster),
3896 # so one script is as good as another. But avoid the broken or
3897 # incompatible versions:
3898 # SysV /etc/install, /usr/sbin/install
3899 # SunOS /usr/etc/install
3900 # IRIX /sbin/install
3902 # AmigaOS /C/install, which installs bootblocks on floppy discs
3903 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3904 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3905 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3906 # OS/2's system install, which has a completely different semantic
3907 # ./install, which can be erroneously created by make from ./install.sh.
3908 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3909 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3910 if test -z "$INSTALL"; then
3911 if test "${ac_cv_path_install+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 # Account for people who put trailing slashes in PATH elements.
3921 .
/ | .
// |
/cC
/* | \
3922 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3923 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3926 # OSF1 and SCO ODT 3.0 have their own names for install.
3927 # Don't use installbsd from OSF since it installs stuff as root
3929 for ac_prog
in ginstall scoinst
install; do
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3932 if test $ac_prog = install &&
3933 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3934 # AIX install. It has an incompatible calling convention.
3936 elif test $ac_prog = install &&
3937 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3938 # program-specific install script used by HP pwplus--don't use.
3941 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3953 if test "${ac_cv_path_install+set}" = set; then
3954 INSTALL
=$ac_cv_path_install
3956 # As a last resort, use the slow shell script. We don't cache a
3957 # path for INSTALL within a source directory, because that will
3958 # break other packages using the cache if that directory is
3959 # removed, or if the path is relative.
3960 INSTALL
=$ac_install_sh
3963 echo "$as_me:$LINENO: result: $INSTALL" >&5
3964 echo "${ECHO_T}$INSTALL" >&6
3966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3967 # It thinks the first close brace ends the variable substitution.
3968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3972 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3974 if test "x$RANLIB" = x
; then
3975 if test -n "$ac_tool_prefix"; then
3976 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3977 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3978 echo "$as_me:$LINENO: checking for $ac_word" >&5
3979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3980 if test "${ac_cv_prog_RANLIB+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 if test -n "$RANLIB"; then
3984 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 RANLIB
=$ac_cv_prog_RANLIB
4003 if test -n "$RANLIB"; then
4004 echo "$as_me:$LINENO: result: $RANLIB" >&5
4005 echo "${ECHO_T}$RANLIB" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4012 if test -z "$ac_cv_prog_RANLIB"; then
4013 ac_ct_RANLIB
=$RANLIB
4014 # Extract the first word of "ranlib", so it can be a program name with args.
4015 set dummy ranlib
; ac_word
=$2
4016 echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -n "$ac_ct_RANLIB"; then
4022 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4041 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4042 if test -n "$ac_ct_RANLIB"; then
4043 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4044 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4050 RANLIB
=$ac_ct_RANLIB
4052 RANLIB
="$ac_cv_prog_RANLIB"
4056 # Extract the first word of "install-info", so it can be a program name with args.
4057 set dummy install-info
; ac_word
=$2
4058 echo "$as_me:$LINENO: checking for $ac_word" >&5
4059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4060 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 case $INSTALL_INFO in
4065 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4087 if test -n "$INSTALL_INFO"; then
4088 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4089 echo "${ECHO_T}$INSTALL_INFO" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4095 # Extract the first word of "install-info", so it can be a program name with args.
4096 set dummy install-info
; ac_word
=$2
4097 echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4099 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 case $INSTALL_INFO in
4104 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 for as_dir
in /usr
/sbin
4111 test -z "$as_dir" && as_dir
=.
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4126 if test -n "$INSTALL_INFO"; then
4127 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4128 echo "${ECHO_T}$INSTALL_INFO" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4134 # Extract the first word of "install-info", so it can be a program name with args.
4135 set dummy install-info
; ac_word
=$2
4136 echo "$as_me:$LINENO: checking for $ac_word" >&5
4137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4138 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 case $INSTALL_INFO in
4143 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4150 test -z "$as_dir" && as_dir
=.
4151 for ac_exec_ext
in '' $ac_executable_extensions; do
4152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4164 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4166 if test -n "$INSTALL_INFO"; then
4167 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4168 echo "${ECHO_T}$INSTALL_INFO" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4176 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4178 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4181 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4183 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4187 late_LDFLAGS
=$LDFLAGS
4188 if test "$GCC" = yes; then
4189 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4191 LDFLAGS
="$LDFLAGS -znocombreloc"
4194 echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4195 echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4197 cat >conftest.
$ac_ext <<_ACEOF
4200 rm -f conftest.
$ac_objext conftest
$ac_exeext
4201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4202 (eval $ac_link) 2>conftest.er1
4204 grep -v '^ *+' conftest.er1
>conftest.err
4206 cat conftest.err
>&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); } &&
4209 { ac_try
='test -z "$ac_c_werror_flag"
4210 || test ! -s conftest.err'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; } &&
4216 { ac_try
='test -s conftest$ac_exeext'
4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; }; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me: failed program was:" >&5
4226 sed 's/^/| /' conftest.
$ac_ext >&5
4228 LDFLAGS
=$late_LDFLAGS
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4232 rm -f conftest.err conftest.
$ac_objext \
4233 conftest
$ac_exeext conftest.
$ac_ext
4236 echo "$as_me:$LINENO: checking for egrep" >&5
4237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4238 if test "${ac_cv_prog_egrep+set}" = set; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4242 then ac_cv_prog_egrep
='grep -E'
4243 else ac_cv_prog_egrep
='egrep'
4246 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4247 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4248 EGREP
=$ac_cv_prog_egrep
4252 echo "$as_me:$LINENO: checking for AIX" >&5
4253 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4254 cat >conftest.
$ac_ext <<_ACEOF
4257 cat confdefs.h
>>conftest.
$ac_ext
4258 cat >>conftest.
$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4266 $EGREP "yes" >/dev
/null
2>&1; then
4267 echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6
4269 cat >>confdefs.h
<<\_ACEOF
4270 #define _ALL_SOURCE 1
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4281 #### Extract some information from the operating system and machine files.
4283 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4284 - which libraries the lib-src programs will want, and
4285 - whether the GNU malloc routines are usable..." >&5
4286 echo "$as_me: checking the machine- and system-dependent files to find out
4287 - which libraries the lib-src programs will want, and
4288 - whether the GNU malloc routines are usable..." >&6;}
4290 ### First figure out CFLAGS (which we use for running the compiler here)
4291 ### and REAL_CFLAGS (which we use for real compilation).
4292 ### The two are the same except on a few systems, where they are made
4293 ### different to work around various lossages. For example,
4294 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4295 ### as implying static linking.
4297 ### If the CFLAGS env var is specified, we use that value
4298 ### instead of the default.
4300 ### It's not important that this name contain the PID; you can't run
4301 ### two configures in the same directory and have anything work
4303 tempcname
="conftest.c"
4306 #include "'${srcdir}'/src/'${opsysfile}'"
4307 #include "'${srcdir}'/src/'${machfile}'"
4308 #ifndef LIBS_MACHINE
4309 #define LIBS_MACHINE
4314 #ifndef C_SWITCH_SYSTEM
4315 #define C_SWITCH_SYSTEM
4317 #ifndef C_SWITCH_MACHINE
4318 #define C_SWITCH_MACHINE
4320 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4321 configure___ c_switch_system=C_SWITCH_SYSTEM
4322 configure___ c_switch_machine=C_SWITCH_MACHINE
4325 #define LIB_X11_LIB -lX11
4328 #ifndef LIBX11_MACHINE
4329 #define LIBX11_MACHINE
4332 #ifndef LIBX11_SYSTEM
4333 #define LIBX11_SYSTEM
4335 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4338 configure___ unexec=UNEXEC
4340 configure___ unexec=unexec.o
4343 #ifdef SYSTEM_MALLOC
4344 configure___ system_malloc=yes
4346 configure___ system_malloc=no
4349 #ifdef USE_MMAP_FOR_BUFFERS
4350 configure___ use_mmap_for_buffers=yes
4352 configure___ use_mmap_for_buffers=no
4355 #ifndef C_DEBUG_SWITCH
4356 #define C_DEBUG_SWITCH -g
4359 #ifndef C_OPTIMIZE_SWITCH
4361 #define C_OPTIMIZE_SWITCH -O2
4363 #define C_OPTIMIZE_SWITCH -O
4367 #ifndef LD_SWITCH_MACHINE
4368 #define LD_SWITCH_MACHINE
4371 #ifndef LD_SWITCH_SYSTEM
4372 #define LD_SWITCH_SYSTEM
4375 #ifndef LD_SWITCH_X_SITE_AUX
4376 #define LD_SWITCH_X_SITE_AUX
4379 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4380 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4382 #ifdef THIS_IS_CONFIGURE
4384 /* Get the CFLAGS for tests in configure. */
4386 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4388 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4391 #else /* not THIS_IS_CONFIGURE */
4393 /* Get the CFLAGS for real compilation. */
4395 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4397 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4400 #endif /* not THIS_IS_CONFIGURE */
4403 # The value of CPP is a quoted variable reference, so we need to do this
4404 # to get its actual value...
4405 CPP
=`eval "echo $CPP"`
4406 eval `${CPP} -Isrc ${tempcname} \
4407 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4408 if test "x$SPECIFIED_CFLAGS" = x
; then
4409 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4410 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4412 REAL_CFLAGS
="$CFLAGS"
4416 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4418 ### Make sure subsequent tests use flags consistent with the build flags.
4420 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4421 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4423 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4429 cat >>confdefs.h
<<\_ACEOF
4430 #define _GNU_SOURCE 1
4435 # Check whether --enable-largefile or --disable-largefile was given.
4436 if test "${enable_largefile+set}" = set; then
4437 enableval
="$enable_largefile"
4440 if test "$enable_largefile" != no
; then
4442 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4443 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4444 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 ac_cv_sys_largefile_CC
=no
4448 if test "$GCC" != yes; then
4451 # IRIX 6.2 and later do not support large files by default,
4452 # so use the C compiler's -n32 option if that helps.
4453 cat >conftest.
$ac_ext <<_ACEOF
4456 cat confdefs.h
>>conftest.
$ac_ext
4457 cat >>conftest.
$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4459 #include <sys/types.h>
4460 /* Check that off_t can represent 2**63 - 1 correctly.
4461 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4462 since some C++ compilers masquerading as C compilers
4463 incorrectly reject 9223372036854775807. */
4464 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4465 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4466 && LARGE_OFF_T % 2147483647 == 1)
4476 rm -f conftest.
$ac_objext
4477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4478 (eval $ac_compile) 2>conftest.er1
4480 grep -v '^ *+' conftest.er1
>conftest.err
4482 cat conftest.err
>&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); } &&
4485 { ac_try
='test -z "$ac_c_werror_flag"
4486 || test ! -s conftest.err'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; } &&
4492 { ac_try
='test -s conftest.$ac_objext'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; }; then
4500 echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.
$ac_ext >&5
4504 rm -f conftest.err conftest.
$ac_objext
4506 rm -f conftest.
$ac_objext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4508 (eval $ac_compile) 2>conftest.er1
4510 grep -v '^ *+' conftest.er1
>conftest.err
4512 cat conftest.err
>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try
='test -z "$ac_c_werror_flag"
4516 || test ! -s conftest.err'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; } &&
4522 { ac_try
='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 ac_cv_sys_largefile_CC
=' -n32'; break
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.
$ac_ext >&5
4534 rm -f conftest.err conftest.
$ac_objext
4538 rm -f conftest.
$ac_ext
4541 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4542 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4543 if test "$ac_cv_sys_largefile_CC" != no
; then
4544 CC
=$CC$ac_cv_sys_largefile_CC
4547 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4548 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4549 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_cv_sys_file_offset_bits
=no
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4560 #include <sys/types.h>
4561 /* Check that off_t can represent 2**63 - 1 correctly.
4562 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4563 since some C++ compilers masquerading as C compilers
4564 incorrectly reject 9223372036854775807. */
4565 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4566 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4567 && LARGE_OFF_T % 2147483647 == 1)
4577 rm -f conftest.
$ac_objext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>conftest.er1
4581 grep -v '^ *+' conftest.er1
>conftest.err
4583 cat conftest.err
>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try
='test -z "$ac_c_werror_flag"
4587 || test ! -s conftest.err'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; } &&
4593 { ac_try
='test -s conftest.$ac_objext'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; }; then
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.
$ac_ext >&5
4605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4606 cat >conftest.
$ac_ext <<_ACEOF
4609 cat confdefs.h
>>conftest.
$ac_ext
4610 cat >>conftest.
$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4612 #define _FILE_OFFSET_BITS 64
4613 #include <sys/types.h>
4614 /* Check that off_t can represent 2**63 - 1 correctly.
4615 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4616 since some C++ compilers masquerading as C compilers
4617 incorrectly reject 9223372036854775807. */
4618 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4619 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4620 && LARGE_OFF_T % 2147483647 == 1)
4630 rm -f conftest.
$ac_objext
4631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4632 (eval $ac_compile) 2>conftest.er1
4634 grep -v '^ *+' conftest.er1
>conftest.err
4636 cat conftest.err
>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } &&
4639 { ac_try
='test -z "$ac_c_werror_flag"
4640 || test ! -s conftest.err'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; } &&
4646 { ac_try
='test -s conftest.$ac_objext'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; }; then
4652 ac_cv_sys_file_offset_bits
=64; break
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.
$ac_ext >&5
4658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4662 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4663 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4664 if test "$ac_cv_sys_file_offset_bits" != no
; then
4666 cat >>confdefs.h
<<_ACEOF
4667 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4672 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4673 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4674 if test "${ac_cv_sys_large_files+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 ac_cv_sys_large_files
=no
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4685 #include <sys/types.h>
4686 /* Check that off_t can represent 2**63 - 1 correctly.
4687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4688 since some C++ compilers masquerading as C compilers
4689 incorrectly reject 9223372036854775807. */
4690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4692 && LARGE_OFF_T % 2147483647 == 1)
4702 rm -f conftest.
$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>conftest.er1
4706 grep -v '^ *+' conftest.er1
>conftest.err
4708 cat conftest.err
>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } &&
4711 { ac_try
='test -z "$ac_c_werror_flag"
4712 || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try
='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.
$ac_ext >&5
4730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4731 cat >conftest.
$ac_ext <<_ACEOF
4734 cat confdefs.h
>>conftest.
$ac_ext
4735 cat >>conftest.
$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4737 #define _LARGE_FILES 1
4738 #include <sys/types.h>
4739 /* Check that off_t can represent 2**63 - 1 correctly.
4740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4741 since some C++ compilers masquerading as C compilers
4742 incorrectly reject 9223372036854775807. */
4743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4745 && LARGE_OFF_T % 2147483647 == 1)
4755 rm -f conftest.
$ac_objext
4756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4757 (eval $ac_compile) 2>conftest.er1
4759 grep -v '^ *+' conftest.er1
>conftest.err
4761 cat conftest.err
>&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } &&
4764 { ac_try
='test -z "$ac_c_werror_flag"
4765 || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try
='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_sys_large_files
=1; break
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4788 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4789 if test "$ac_cv_sys_large_files" != no
; then
4791 cat >>confdefs.h
<<_ACEOF
4792 #define _LARGE_FILES $ac_cv_sys_large_files
4800 if test "${with_sound}" != "no"; then
4801 # Sound support for GNU/Linux and the free BSDs.
4802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4804 if test "${ac_cv_header_stdc+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 cat >conftest.
$ac_ext <<_ACEOF
4810 cat confdefs.h
>>conftest.
$ac_ext
4811 cat >>conftest.
$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4826 rm -f conftest.
$ac_objext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1
>conftest.err
4832 cat conftest.err
>&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try
='test -z "$ac_c_werror_flag"
4836 || test ! -s conftest.err'
4837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; } &&
4842 { ac_try
='test -s conftest.$ac_objext'
4843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; }; then
4848 ac_cv_header_stdc
=yes
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.
$ac_ext >&5
4853 ac_cv_header_stdc
=no
4855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 if test $ac_cv_header_stdc = yes; then
4858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4869 $EGREP "memchr" >/dev
/null
2>&1; then
4872 ac_cv_header_stdc
=no
4878 if test $ac_cv_header_stdc = yes; then
4879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4890 $EGREP "free" >/dev
/null
2>&1; then
4893 ac_cv_header_stdc
=no
4899 if test $ac_cv_header_stdc = yes; then
4900 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4901 if test "$cross_compiling" = yes; then
4904 cat >conftest.
$ac_ext <<_ACEOF
4907 cat confdefs.h
>>conftest.
$ac_ext
4908 cat >>conftest.
$ac_ext <<_ACEOF
4909 /* end confdefs.h. */
4911 #if ((' ' & 0x0FF) == 0x020)
4912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4915 # define ISLOWER(c) \
4916 (('a' <= (c) && (c) <= 'i') \
4917 || ('j' <= (c) && (c) <= 'r') \
4918 || ('s' <= (c) && (c) <= 'z'))
4919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4927 for (i = 0; i < 256; i++)
4928 if (XOR (islower (i), ISLOWER (i))
4929 || toupper (i) != TOUPPER (i))
4934 rm -f conftest
$ac_exeext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4936 (eval $ac_link) 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; }; then
4947 echo "$as_me: program exited with status $ac_status" >&5
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.
$ac_ext >&5
4952 ac_cv_header_stdc
=no
4954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4959 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4960 if test $ac_cv_header_stdc = yes; then
4962 cat >>confdefs.h
<<\_ACEOF
4963 #define STDC_HEADERS 1
4968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4978 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4979 inttypes.h stdint.h unistd.h
4981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4982 echo "$as_me:$LINENO: checking for $ac_header" >&5
4983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 cat >conftest.
$ac_ext <<_ACEOF
4990 cat confdefs.h
>>conftest.
$ac_ext
4991 cat >>conftest.
$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4993 $ac_includes_default
4995 #include <$ac_header>
4997 rm -f conftest.
$ac_objext
4998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4999 (eval $ac_compile) 2>conftest.er1
5001 grep -v '^ *+' conftest.er1
>conftest.err
5003 cat conftest.err
>&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } &&
5006 { ac_try
='test -z "$ac_c_werror_flag"
5007 || test ! -s conftest.err'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; } &&
5013 { ac_try
='test -s conftest.$ac_objext'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; }; then
5019 eval "$as_ac_Header=yes"
5021 echo "$as_me: failed program was:" >&5
5022 sed 's/^/| /' conftest.
$ac_ext >&5
5024 eval "$as_ac_Header=no"
5026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5031 cat >>confdefs.h
<<_ACEOF
5032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5043 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5045 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5047 echo "$as_me:$LINENO: checking for $ac_header" >&5
5048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5055 # Is the header compilable?
5056 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5058 cat >conftest.
$ac_ext <<_ACEOF
5061 cat confdefs.h
>>conftest.
$ac_ext
5062 cat >>conftest.
$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5064 $ac_includes_default
5065 #include <$ac_header>
5067 rm -f conftest.
$ac_objext
5068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5069 (eval $ac_compile) 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try
='test -z "$ac_c_werror_flag"
5077 || test ! -s conftest.err'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; } &&
5083 { ac_try
='test -s conftest.$ac_objext'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; }; then
5089 ac_header_compiler
=yes
5091 echo "$as_me: failed program was:" >&5
5092 sed 's/^/| /' conftest.
$ac_ext >&5
5094 ac_header_compiler
=no
5096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5098 echo "${ECHO_T}$ac_header_compiler" >&6
5100 # Is the header present?
5101 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5103 cat >conftest.
$ac_ext <<_ACEOF
5106 cat confdefs.h
>>conftest.
$ac_ext
5107 cat >>conftest.
$ac_ext <<_ACEOF
5108 /* end confdefs.h. */
5109 #include <$ac_header>
5111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5114 grep -v '^ *+' conftest.er1
>conftest.err
5116 cat conftest.err
>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } >/dev
/null
; then
5119 if test -s conftest.err
; then
5120 ac_cpp_err
=$ac_c_preproc_warn_flag
5121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5128 if test -z "$ac_cpp_err"; then
5129 ac_header_preproc
=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5134 ac_header_preproc
=no
5136 rm -f conftest.err conftest.
$ac_ext
5137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5138 echo "${ECHO_T}$ac_header_preproc" >&6
5140 # So? What about this header?
5141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5147 ac_header_preproc
=yes
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5164 ## ------------------------------------------ ##
5165 ## Report this to the AC_PACKAGE_NAME lists. ##
5166 ## ------------------------------------------ ##
5169 sed "s/^/$as_me: WARNING: /" >&2
5172 echo "$as_me:$LINENO: checking for $ac_header" >&5
5173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 eval "$as_ac_Header=\$ac_header_preproc"
5179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5184 cat >>confdefs.h
<<_ACEOF
5185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5192 # Emulation library used on NetBSD.
5193 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5194 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5195 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 ac_check_lib_save_LIBS
=$LIBS
5199 LIBS
="-lossaudio $LIBS"
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5207 /* Override any gcc2 internal prototype to avoid an error. */
5211 /* We use char because int might match the return type of a gcc2
5212 builtin and then its argument prototype would still apply. */
5222 rm -f conftest.
$ac_objext conftest
$ac_exeext
5223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5224 (eval $ac_link) 2>conftest.er1
5226 grep -v '^ *+' conftest.er1
>conftest.err
5228 cat conftest.err
>&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); } &&
5231 { ac_try
='test -z "$ac_c_werror_flag"
5232 || test ! -s conftest.err'
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }; } &&
5238 { ac_try
='test -s conftest$ac_exeext'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; }; then
5244 ac_cv_lib_ossaudio__oss_ioctl
=yes
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.
$ac_ext >&5
5249 ac_cv_lib_ossaudio__oss_ioctl
=no
5251 rm -f conftest.err conftest.
$ac_objext \
5252 conftest
$ac_exeext conftest.
$ac_ext
5253 LIBS
=$ac_check_lib_save_LIBS
5255 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5256 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5257 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5289 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5290 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5291 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5292 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h
5294 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5296 echo "$as_me:$LINENO: checking for $ac_header" >&5
5297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5304 # Is the header compilable?
5305 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5307 cat >conftest.
$ac_ext <<_ACEOF
5310 cat confdefs.h
>>conftest.
$ac_ext
5311 cat >>conftest.
$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5313 $ac_includes_default
5314 #include <$ac_header>
5316 rm -f conftest.
$ac_objext
5317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5318 (eval $ac_compile) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } &&
5325 { ac_try
='test -z "$ac_c_werror_flag"
5326 || test ! -s conftest.err'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; } &&
5332 { ac_try
='test -s conftest.$ac_objext'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; }; then
5338 ac_header_compiler
=yes
5340 echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.
$ac_ext >&5
5343 ac_header_compiler
=no
5345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5347 echo "${ECHO_T}$ac_header_compiler" >&6
5349 # Is the header present?
5350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5352 cat >conftest.
$ac_ext <<_ACEOF
5355 cat confdefs.h
>>conftest.
$ac_ext
5356 cat >>conftest.
$ac_ext <<_ACEOF
5357 /* end confdefs.h. */
5358 #include <$ac_header>
5360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5363 grep -v '^ *+' conftest.er1
>conftest.err
5365 cat conftest.err
>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } >/dev
/null
; then
5368 if test -s conftest.err
; then
5369 ac_cpp_err
=$ac_c_preproc_warn_flag
5370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5377 if test -z "$ac_cpp_err"; then
5378 ac_header_preproc
=yes
5380 echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.
$ac_ext >&5
5383 ac_header_preproc
=no
5385 rm -f conftest.err conftest.
$ac_ext
5386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5387 echo "${ECHO_T}$ac_header_preproc" >&6
5389 # So? What about this header?
5390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5396 ac_header_preproc
=yes
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5413 ## ------------------------------------------ ##
5414 ## Report this to the AC_PACKAGE_NAME lists. ##
5415 ## ------------------------------------------ ##
5418 sed "s/^/$as_me: WARNING: /" >&2
5421 echo "$as_me:$LINENO: checking for $ac_header" >&5
5422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 eval "$as_ac_Header=\$ac_header_preproc"
5428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5433 cat >>confdefs.h
<<_ACEOF
5434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5442 for ac_header
in term.h
5444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5445 echo "$as_me:$LINENO: checking for $ac_header" >&5
5446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 cat >conftest.
$ac_ext <<_ACEOF
5453 cat confdefs.h
>>conftest.
$ac_ext
5454 cat >>conftest.
$ac_ext <<_ACEOF
5455 /* end confdefs.h. */
5456 #include <$ac_header>
5458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5461 grep -v '^ *+' conftest.er1
>conftest.err
5463 cat conftest.err
>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } >/dev
/null
; then
5466 if test -s conftest.err
; then
5467 ac_cpp_err
=$ac_c_preproc_warn_flag
5468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5475 if test -z "$ac_cpp_err"; then
5476 eval "$as_ac_Header=yes"
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5481 eval "$as_ac_Header=no"
5483 rm -f conftest.err conftest.
$ac_ext
5485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5488 cat >>confdefs.h
<<_ACEOF
5489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5496 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5497 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5498 if test "${ac_cv_header_stdc+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 cat >conftest.
$ac_ext <<_ACEOF
5504 cat confdefs.h
>>conftest.
$ac_ext
5505 cat >>conftest.
$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5520 rm -f conftest.
$ac_objext
5521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5522 (eval $ac_compile) 2>conftest.er1
5524 grep -v '^ *+' conftest.er1
>conftest.err
5526 cat conftest.err
>&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); } &&
5529 { ac_try
='test -z "$ac_c_werror_flag"
5530 || test ! -s conftest.err'
5531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; } &&
5536 { ac_try
='test -s conftest.$ac_objext'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; }; then
5542 ac_cv_header_stdc
=yes
5544 echo "$as_me: failed program was:" >&5
5545 sed 's/^/| /' conftest.
$ac_ext >&5
5547 ac_cv_header_stdc
=no
5549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5551 if test $ac_cv_header_stdc = yes; then
5552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5563 $EGREP "memchr" >/dev
/null
2>&1; then
5566 ac_cv_header_stdc
=no
5572 if test $ac_cv_header_stdc = yes; then
5573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5574 cat >conftest.
$ac_ext <<_ACEOF
5577 cat confdefs.h
>>conftest.
$ac_ext
5578 cat >>conftest.
$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5584 $EGREP "free" >/dev
/null
2>&1; then
5587 ac_cv_header_stdc
=no
5593 if test $ac_cv_header_stdc = yes; then
5594 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5595 if test "$cross_compiling" = yes; then
5598 cat >conftest.
$ac_ext <<_ACEOF
5601 cat confdefs.h
>>conftest.
$ac_ext
5602 cat >>conftest.
$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5605 #if ((' ' & 0x0FF) == 0x020)
5606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 # define ISLOWER(c) \
5610 (('a' <= (c) && (c) <= 'i') \
5611 || ('j' <= (c) && (c) <= 'r') \
5612 || ('s' <= (c) && (c) <= 'z'))
5613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5621 for (i = 0; i < 256; i++)
5622 if (XOR (islower (i), ISLOWER (i))
5623 || toupper (i) != TOUPPER (i))
5628 rm -f conftest
$ac_exeext
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630 (eval $ac_link) 2>&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; }; then
5641 echo "$as_me: program exited with status $ac_status" >&5
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5646 ac_cv_header_stdc
=no
5648 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5652 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5653 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5654 if test $ac_cv_header_stdc = yes; then
5656 cat >>confdefs.h
<<\_ACEOF
5657 #define STDC_HEADERS 1
5662 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5663 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5664 if test "${ac_cv_header_time+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 cat >conftest.
$ac_ext <<_ACEOF
5670 cat confdefs.h
>>conftest.
$ac_ext
5671 cat >>conftest.
$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 #include <sys/types.h>
5674 #include <sys/time.h>
5680 if ((struct tm *) 0)
5686 rm -f conftest.
$ac_objext
5687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5688 (eval $ac_compile) 2>conftest.er1
5690 grep -v '^ *+' conftest.er1
>conftest.err
5692 cat conftest.err
>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try
='test -z "$ac_c_werror_flag"
5696 || test ! -s conftest.err'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; } &&
5702 { ac_try
='test -s conftest.$ac_objext'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; }; then
5708 ac_cv_header_time
=yes
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_header_time
=no
5715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5717 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5718 echo "${ECHO_T}$ac_cv_header_time" >&6
5719 if test $ac_cv_header_time = yes; then
5721 cat >>confdefs.h
<<\_ACEOF
5722 #define TIME_WITH_SYS_TIME 1
5727 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5728 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5729 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 cat >conftest.
$ac_ext <<_ACEOF
5735 cat confdefs.h
>>conftest.
$ac_ext
5736 cat >>conftest.
$ac_ext <<_ACEOF
5737 /* end confdefs.h. */
5738 $ac_includes_default
5743 char *p = (char *) sys_siglist;
5750 rm -f conftest.
$ac_objext
5751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5752 (eval $ac_compile) 2>conftest.er1
5754 grep -v '^ *+' conftest.er1
>conftest.err
5756 cat conftest.err
>&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); } &&
5759 { ac_try
='test -z "$ac_c_werror_flag"
5760 || test ! -s conftest.err'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; } &&
5766 { ac_try
='test -s conftest.$ac_objext'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; }; then
5772 ac_cv_have_decl_sys_siglist
=yes
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.
$ac_ext >&5
5777 ac_cv_have_decl_sys_siglist
=no
5779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5781 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5782 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5783 if test $ac_cv_have_decl_sys_siglist = yes; then
5785 cat >>confdefs.h
<<_ACEOF
5786 #define HAVE_DECL_SYS_SIGLIST 1
5791 cat >>confdefs.h
<<_ACEOF
5792 #define HAVE_DECL_SYS_SIGLIST 0
5799 if test $ac_cv_have_decl_sys_siglist != yes; then
5800 # For Tru64, at least:
5801 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5802 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5803 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 cat >conftest.
$ac_ext <<_ACEOF
5809 cat confdefs.h
>>conftest.
$ac_ext
5810 cat >>conftest.
$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812 $ac_includes_default
5816 #ifndef __sys_siglist
5817 char *p = (char *) __sys_siglist;
5824 rm -f conftest.
$ac_objext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5826 (eval $ac_compile) 2>conftest.er1
5828 grep -v '^ *+' conftest.er1
>conftest.err
5830 cat conftest.err
>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } &&
5833 { ac_try
='test -z "$ac_c_werror_flag"
5834 || test ! -s conftest.err'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; } &&
5840 { ac_try
='test -s conftest.$ac_objext'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5846 ac_cv_have_decl___sys_siglist
=yes
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.
$ac_ext >&5
5851 ac_cv_have_decl___sys_siglist
=no
5853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5855 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5856 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5857 if test $ac_cv_have_decl___sys_siglist = yes; then
5859 cat >>confdefs.h
<<_ACEOF
5860 #define HAVE_DECL___SYS_SIGLIST 1
5865 cat >>confdefs.h
<<_ACEOF
5866 #define HAVE_DECL___SYS_SIGLIST 0
5873 if test $ac_cv_have_decl___sys_siglist = yes; then
5875 cat >>confdefs.h
<<\_ACEOF
5876 #define sys_siglist __sys_siglist
5881 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5882 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5883 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 cat >conftest.
$ac_ext <<_ACEOF
5889 cat confdefs.h
>>conftest.
$ac_ext
5890 cat >>conftest.
$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 #include <sys/types.h>
5893 #include <sys/wait.h>
5895 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5898 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5906 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5911 rm -f conftest.
$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5915 grep -v '^ *+' conftest.er1
>conftest.err
5917 cat conftest.err
>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try
='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try
='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_sys_wait_h
=yes
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.
$ac_ext >&5
5938 ac_cv_header_sys_wait_h
=no
5940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5942 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5943 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5944 if test $ac_cv_header_sys_wait_h = yes; then
5946 cat >>confdefs.h
<<\_ACEOF
5947 #define HAVE_SYS_WAIT_H 1
5953 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
5954 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
5955 if test "${emacs_cv_struct_utimbuf+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 cat >conftest.
$ac_ext <<_ACEOF
5961 cat confdefs.h
>>conftest.
$ac_ext
5962 cat >>conftest.
$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #ifdef TIME_WITH_SYS_TIME
5965 #include <sys/time.h>
5968 #ifdef HAVE_SYS_TIME_H
5969 #include <sys/time.h>
5980 static struct utimbuf x; x.actime = x.modtime;
5985 rm -f conftest.
$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try
='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try
='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 emacs_cv_struct_utimbuf
=yes
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.
$ac_ext >&5
6012 emacs_cv_struct_utimbuf
=no
6014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6017 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6018 if test $emacs_cv_struct_utimbuf = yes; then
6020 cat >>confdefs.h
<<\_ACEOF
6021 #define HAVE_STRUCT_UTIMBUF 1
6026 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6027 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6028 if test "${ac_cv_type_signal+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 cat >conftest.
$ac_ext <<_ACEOF
6034 cat confdefs.h
>>conftest.
$ac_ext
6035 cat >>conftest.
$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6037 #include <sys/types.h>
6043 extern "C" void (*signal (int, void (*)(int)))(int);
6045 void (*signal ()) ();
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_cv_type_signal
=void
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 ac_cv_type_signal
=int
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6088 echo "${ECHO_T}$ac_cv_type_signal" >&6
6090 cat >>confdefs.h
<<_ACEOF
6091 #define RETSIGTYPE $ac_cv_type_signal
6096 echo "$as_me:$LINENO: checking for speed_t" >&5
6097 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6098 if test "${emacs_cv_speed_t+set}" = set; then
6099 echo $ECHO_N "(cached) $ECHO_C" >&6
6101 cat >conftest.
$ac_ext <<_ACEOF
6104 cat confdefs.h
>>conftest.
$ac_ext
6105 cat >>conftest.
$ac_ext <<_ACEOF
6106 /* end confdefs.h. */
6107 #include <termios.h>
6116 rm -f conftest.
$ac_objext
6117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6118 (eval $ac_compile) 2>conftest.er1
6120 grep -v '^ *+' conftest.er1
>conftest.err
6122 cat conftest.err
>&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); } &&
6125 { ac_try
='test -z "$ac_c_werror_flag"
6126 || test ! -s conftest.err'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; } &&
6132 { ac_try
='test -s conftest.$ac_objext'
6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }; }; then
6138 emacs_cv_speed_t
=yes
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6147 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6148 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6149 if test $emacs_cv_speed_t = yes; then
6151 cat >>confdefs.h
<<\_ACEOF
6152 #define HAVE_SPEED_T 1
6157 echo "$as_me:$LINENO: checking for struct timeval" >&5
6158 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6159 if test "${emacs_cv_struct_timeval+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 cat >conftest.
$ac_ext <<_ACEOF
6165 cat confdefs.h
>>conftest.
$ac_ext
6166 cat >>conftest.
$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6168 #ifdef TIME_WITH_SYS_TIME
6169 #include <sys/time.h>
6172 #ifdef HAVE_SYS_TIME_H
6173 #include <sys/time.h>
6181 static struct timeval x; x.tv_sec = x.tv_usec;
6186 rm -f conftest.
$ac_objext
6187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6188 (eval $ac_compile) 2>conftest.er1
6190 grep -v '^ *+' conftest.er1
>conftest.err
6192 cat conftest.err
>&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); } &&
6195 { ac_try
='test -z "$ac_c_werror_flag"
6196 || test ! -s conftest.err'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; } &&
6202 { ac_try
='test -s conftest.$ac_objext'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6208 emacs_cv_struct_timeval
=yes
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.
$ac_ext >&5
6213 emacs_cv_struct_timeval
=no
6215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6217 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6218 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6219 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6220 if test $emacs_cv_struct_timeval = yes; then
6222 cat >>confdefs.h
<<\_ACEOF
6223 #define HAVE_TIMEVAL 1
6228 echo "$as_me:$LINENO: checking for struct exception" >&5
6229 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6230 if test "${emacs_cv_struct_exception+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 cat >conftest.
$ac_ext <<_ACEOF
6236 cat confdefs.h
>>conftest.
$ac_ext
6237 cat >>conftest.
$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6243 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6248 rm -f conftest.
$ac_objext
6249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6250 (eval $ac_compile) 2>conftest.er1
6252 grep -v '^ *+' conftest.er1
>conftest.err
6254 cat conftest.err
>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } &&
6257 { ac_try
='test -z "$ac_c_werror_flag"
6258 || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try
='test -s conftest.$ac_objext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 emacs_cv_struct_exception
=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6275 emacs_cv_struct_exception
=no
6277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6279 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6280 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6281 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6282 if test $emacs_cv_struct_exception != yes; then
6284 cat >>confdefs.h
<<\_ACEOF
6285 #define NO_MATHERR 1
6291 for ac_header
in sys
/socket.h
6293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6295 echo "$as_me:$LINENO: checking for $ac_header" >&5
6296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6303 # Is the header compilable?
6304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6306 cat >conftest.
$ac_ext <<_ACEOF
6309 cat confdefs.h
>>conftest.
$ac_ext
6310 cat >>conftest.
$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312 $ac_includes_default
6313 #include <$ac_header>
6315 rm -f conftest.
$ac_objext
6316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6317 (eval $ac_compile) 2>conftest.er1
6319 grep -v '^ *+' conftest.er1
>conftest.err
6321 cat conftest.err
>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } &&
6324 { ac_try
='test -z "$ac_c_werror_flag"
6325 || test ! -s conftest.err'
6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; } &&
6331 { ac_try
='test -s conftest.$ac_objext'
6332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); }; }; then
6337 ac_header_compiler
=yes
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.
$ac_ext >&5
6342 ac_header_compiler
=no
6344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6346 echo "${ECHO_T}$ac_header_compiler" >&6
6348 # Is the header present?
6349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6351 cat >conftest.
$ac_ext <<_ACEOF
6354 cat confdefs.h
>>conftest.
$ac_ext
6355 cat >>conftest.
$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6357 #include <$ac_header>
6359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6362 grep -v '^ *+' conftest.er1
>conftest.err
6364 cat conftest.err
>&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } >/dev
/null
; then
6367 if test -s conftest.err
; then
6368 ac_cpp_err
=$ac_c_preproc_warn_flag
6369 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6376 if test -z "$ac_cpp_err"; then
6377 ac_header_preproc
=yes
6379 echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.
$ac_ext >&5
6382 ac_header_preproc
=no
6384 rm -f conftest.err conftest.
$ac_ext
6385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6386 echo "${ECHO_T}$ac_header_preproc" >&6
6388 # So? What about this header?
6389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6394 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6395 ac_header_preproc
=yes
6398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6403 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6404 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6405 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6409 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6412 ## ------------------------------------------ ##
6413 ## Report this to the AC_PACKAGE_NAME lists. ##
6414 ## ------------------------------------------ ##
6417 sed "s/^/$as_me: WARNING: /" >&2
6420 echo "$as_me:$LINENO: checking for $ac_header" >&5
6421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 eval "$as_ac_Header=\$ac_header_preproc"
6427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6432 cat >>confdefs.h
<<_ACEOF
6433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6441 for ac_header
in net
/if.h
6443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6444 echo "$as_me:$LINENO: checking for $ac_header" >&5
6445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 cat >conftest.
$ac_ext <<_ACEOF
6452 cat confdefs.h
>>conftest.
$ac_ext
6453 cat >>conftest.
$ac_ext <<_ACEOF
6454 /* end confdefs.h. */
6455 $ac_includes_default
6456 #if HAVE_SYS_SOCKET_H
6457 #include <sys/socket.h>
6460 #include <$ac_header>
6462 rm -f conftest.
$ac_objext
6463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6464 (eval $ac_compile) 2>conftest.er1
6466 grep -v '^ *+' conftest.er1
>conftest.err
6468 cat conftest.err
>&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } &&
6471 { ac_try
='test -z "$ac_c_werror_flag"
6472 || test ! -s conftest.err'
6473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); }; } &&
6478 { ac_try
='test -s conftest.$ac_objext'
6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); }; }; then
6484 eval "$as_ac_Header=yes"
6486 echo "$as_me: failed program was:" >&5
6487 sed 's/^/| /' conftest.
$ac_ext >&5
6489 eval "$as_ac_Header=no"
6491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6496 cat >>confdefs.h
<<_ACEOF
6497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6505 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6506 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6507 if test "${ac_cv_struct_tm+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 cat >conftest.
$ac_ext <<_ACEOF
6513 cat confdefs.h
>>conftest.
$ac_ext
6514 cat >>conftest.
$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 #include <sys/types.h>
6522 struct tm *tp; tp->tm_sec;
6527 rm -f conftest.
$ac_objext
6528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6529 (eval $ac_compile) 2>conftest.er1
6531 grep -v '^ *+' conftest.er1
>conftest.err
6533 cat conftest.err
>&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } &&
6536 { ac_try
='test -z "$ac_c_werror_flag"
6537 || test ! -s conftest.err'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; } &&
6543 { ac_try
='test -s conftest.$ac_objext'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6549 ac_cv_struct_tm
=time.h
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.
$ac_ext >&5
6554 ac_cv_struct_tm
=sys
/time.h
6556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6558 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6559 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6560 if test $ac_cv_struct_tm = sys
/time.h
; then
6562 cat >>confdefs.h
<<\_ACEOF
6563 #define TM_IN_SYS_TIME 1
6568 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6569 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6570 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 #include <sys/types.h>
6580 #include <$ac_cv_struct_tm>
6586 static struct tm ac_aggr;
6587 if (ac_aggr.tm_zone)
6593 rm -f conftest.
$ac_objext
6594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6595 (eval $ac_compile) 2>conftest.er1
6597 grep -v '^ *+' conftest.er1
>conftest.err
6599 cat conftest.err
>&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } &&
6602 { ac_try
='test -z "$ac_c_werror_flag"
6603 || test ! -s conftest.err'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; } &&
6609 { ac_try
='test -s conftest.$ac_objext'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; }; then
6615 ac_cv_member_struct_tm_tm_zone
=yes
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.
$ac_ext >&5
6620 cat >conftest.
$ac_ext <<_ACEOF
6623 cat confdefs.h
>>conftest.
$ac_ext
6624 cat >>conftest.
$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6626 #include <sys/types.h>
6627 #include <$ac_cv_struct_tm>
6633 static struct tm ac_aggr;
6634 if (sizeof ac_aggr.tm_zone)
6640 rm -f conftest.
$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag"
6650 || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 ac_cv_member_struct_tm_tm_zone
=yes
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_cv_member_struct_tm_tm_zone
=no
6669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6673 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6674 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6675 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define HAVE_STRUCT_TM_TM_ZONE 1
6684 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6686 cat >>confdefs.h
<<\_ACEOF
6687 #define HAVE_TM_ZONE 1
6691 echo "$as_me:$LINENO: checking for tzname" >&5
6692 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6693 if test "${ac_cv_var_tzname+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6696 cat >conftest.
$ac_ext <<_ACEOF
6699 cat confdefs.h
>>conftest.
$ac_ext
6700 cat >>conftest.
$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6703 #ifndef tzname /* For SGI. */
6704 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6715 rm -f conftest.
$ac_objext conftest
$ac_exeext
6716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6717 (eval $ac_link) 2>conftest.er1
6719 grep -v '^ *+' conftest.er1
>conftest.err
6721 cat conftest.err
>&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } &&
6724 { ac_try
='test -z "$ac_c_werror_flag"
6725 || test ! -s conftest.err'
6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); }; } &&
6731 { ac_try
='test -s conftest$ac_exeext'
6732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); }; }; then
6737 ac_cv_var_tzname
=yes
6739 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.
$ac_ext >&5
6744 rm -f conftest.err conftest.
$ac_objext \
6745 conftest
$ac_exeext conftest.
$ac_ext
6747 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6748 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6749 if test $ac_cv_var_tzname = yes; then
6751 cat >>confdefs.h
<<\_ACEOF
6752 #define HAVE_TZNAME 1
6758 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6759 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6760 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6766 cat confdefs.h
>>conftest.
$ac_ext
6767 cat >>conftest.
$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6774 static struct tm ac_aggr;
6775 if (ac_aggr.tm_gmtoff)
6781 rm -f conftest.
$ac_objext
6782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6783 (eval $ac_compile) 2>conftest.er1
6785 grep -v '^ *+' conftest.er1
>conftest.err
6787 cat conftest.err
>&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } &&
6790 { ac_try
='test -z "$ac_c_werror_flag"
6791 || test ! -s conftest.err'
6792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }; } &&
6797 { ac_try
='test -s conftest.$ac_objext'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; }; then
6803 ac_cv_member_struct_tm_tm_gmtoff
=yes
6805 echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.
$ac_ext >&5
6808 cat >conftest.
$ac_ext <<_ACEOF
6811 cat confdefs.h
>>conftest.
$ac_ext
6812 cat >>conftest.
$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6819 static struct tm ac_aggr;
6820 if (sizeof ac_aggr.tm_gmtoff)
6826 rm -f conftest.
$ac_objext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6828 (eval $ac_compile) 2>conftest.er1
6830 grep -v '^ *+' conftest.er1
>conftest.err
6832 cat conftest.err
>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); } &&
6835 { ac_try
='test -z "$ac_c_werror_flag"
6836 || test ! -s conftest.err'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; } &&
6842 { ac_try
='test -s conftest.$ac_objext'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then
6848 ac_cv_member_struct_tm_tm_gmtoff
=yes
6850 echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.
$ac_ext >&5
6853 ac_cv_member_struct_tm_tm_gmtoff
=no
6855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6859 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6860 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6861 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6863 cat >>confdefs.h
<<\_ACEOF
6864 #define HAVE_TM_GMTOFF 1
6869 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6870 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6871 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 cat >conftest.
$ac_ext <<_ACEOF
6877 cat confdefs.h
>>conftest.
$ac_ext
6878 cat >>conftest.
$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6880 $ac_includes_default
6881 #if HAVE_SYS_SOCKET_H
6882 #include <sys/socket.h>
6891 static struct ifreq ac_aggr;
6892 if (ac_aggr.ifr_flags)
6898 rm -f conftest.
$ac_objext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900 (eval $ac_compile) 2>conftest.er1
6902 grep -v '^ *+' conftest.er1
>conftest.err
6904 cat conftest.err
>&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } &&
6907 { ac_try
='test -z "$ac_c_werror_flag"
6908 || test ! -s conftest.err'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; } &&
6914 { ac_try
='test -s conftest.$ac_objext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6920 ac_cv_member_struct_ifreq_ifr_flags
=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.
$ac_ext >&5
6925 cat >conftest.
$ac_ext <<_ACEOF
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6931 $ac_includes_default
6932 #if HAVE_SYS_SOCKET_H
6933 #include <sys/socket.h>
6942 static struct ifreq ac_aggr;
6943 if (sizeof ac_aggr.ifr_flags)
6949 rm -f conftest.
$ac_objext
6950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6951 (eval $ac_compile) 2>conftest.er1
6953 grep -v '^ *+' conftest.er1
>conftest.err
6955 cat conftest.err
>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } &&
6958 { ac_try
='test -z "$ac_c_werror_flag"
6959 || test ! -s conftest.err'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; } &&
6965 { ac_try
='test -s conftest.$ac_objext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6971 ac_cv_member_struct_ifreq_ifr_flags
=yes
6973 echo "$as_me: failed program was:" >&5
6974 sed 's/^/| /' conftest.
$ac_ext >&5
6976 ac_cv_member_struct_ifreq_ifr_flags
=no
6978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6982 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
6983 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
6984 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
6986 cat >>confdefs.h
<<_ACEOF
6987 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
6992 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
6993 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
6994 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 cat >conftest.
$ac_ext <<_ACEOF
7000 cat confdefs.h
>>conftest.
$ac_ext
7001 cat >>conftest.
$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 $ac_includes_default
7004 #if HAVE_SYS_SOCKET_H
7005 #include <sys/socket.h>
7014 static struct ifreq ac_aggr;
7015 if (ac_aggr.ifr_hwaddr)
7021 rm -f conftest.
$ac_objext
7022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7023 (eval $ac_compile) 2>conftest.er1
7025 grep -v '^ *+' conftest.er1
>conftest.err
7027 cat conftest.err
>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try
='test -z "$ac_c_werror_flag"
7031 || test ! -s conftest.err'
7032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }; } &&
7037 { ac_try
='test -s conftest.$ac_objext'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7043 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7045 echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.
$ac_ext >&5
7048 cat >conftest.
$ac_ext <<_ACEOF
7051 cat confdefs.h
>>conftest.
$ac_ext
7052 cat >>conftest.
$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7054 $ac_includes_default
7055 #if HAVE_SYS_SOCKET_H
7056 #include <sys/socket.h>
7065 static struct ifreq ac_aggr;
7066 if (sizeof ac_aggr.ifr_hwaddr)
7072 rm -f conftest.
$ac_objext
7073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7074 (eval $ac_compile) 2>conftest.er1
7076 grep -v '^ *+' conftest.er1
>conftest.err
7078 cat conftest.err
>&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } &&
7081 { ac_try
='test -z "$ac_c_werror_flag"
7082 || test ! -s conftest.err'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; } &&
7088 { ac_try
='test -s conftest.$ac_objext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7094 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.
$ac_ext >&5
7099 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7105 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7106 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7107 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7109 cat >>confdefs.h
<<_ACEOF
7110 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7115 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7116 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7117 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 cat >conftest.
$ac_ext <<_ACEOF
7123 cat confdefs.h
>>conftest.
$ac_ext
7124 cat >>conftest.
$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7126 $ac_includes_default
7127 #if HAVE_SYS_SOCKET_H
7128 #include <sys/socket.h>
7137 static struct ifreq ac_aggr;
7138 if (ac_aggr.ifr_netmask)
7144 rm -f conftest.
$ac_objext
7145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7146 (eval $ac_compile) 2>conftest.er1
7148 grep -v '^ *+' conftest.er1
>conftest.err
7150 cat conftest.err
>&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); } &&
7153 { ac_try
='test -z "$ac_c_werror_flag"
7154 || test ! -s conftest.err'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; } &&
7160 { ac_try
='test -s conftest.$ac_objext'
7161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7166 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.
$ac_ext >&5
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 $ac_includes_default
7178 #if HAVE_SYS_SOCKET_H
7179 #include <sys/socket.h>
7188 static struct ifreq ac_aggr;
7189 if (sizeof ac_aggr.ifr_netmask)
7195 rm -f conftest.
$ac_objext
7196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7197 (eval $ac_compile) 2>conftest.er1
7199 grep -v '^ *+' conftest.er1
>conftest.err
7201 cat conftest.err
>&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } &&
7204 { ac_try
='test -z "$ac_c_werror_flag"
7205 || test ! -s conftest.err'
7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; } &&
7211 { ac_try
='test -s conftest.$ac_objext'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; }; then
7217 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.
$ac_ext >&5
7222 ac_cv_member_struct_ifreq_ifr_netmask
=no
7224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7228 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7229 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7230 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7232 cat >>confdefs.h
<<_ACEOF
7233 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7238 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7239 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7240 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 cat >conftest.
$ac_ext <<_ACEOF
7246 cat confdefs.h
>>conftest.
$ac_ext
7247 cat >>conftest.
$ac_ext <<_ACEOF
7248 /* end confdefs.h. */
7249 $ac_includes_default
7250 #if HAVE_SYS_SOCKET_H
7251 #include <sys/socket.h>
7260 static struct ifreq ac_aggr;
7261 if (ac_aggr.ifr_broadaddr)
7267 rm -f conftest.
$ac_objext
7268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 (eval $ac_compile) 2>conftest.er1
7271 grep -v '^ *+' conftest.er1
>conftest.err
7273 cat conftest.err
>&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); } &&
7276 { ac_try
='test -z "$ac_c_werror_flag"
7277 || test ! -s conftest.err'
7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); }; } &&
7283 { ac_try
='test -s conftest.$ac_objext'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; }; then
7289 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.
$ac_ext >&5
7294 cat >conftest.
$ac_ext <<_ACEOF
7297 cat confdefs.h
>>conftest.
$ac_ext
7298 cat >>conftest.
$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 $ac_includes_default
7301 #if HAVE_SYS_SOCKET_H
7302 #include <sys/socket.h>
7311 static struct ifreq ac_aggr;
7312 if (sizeof ac_aggr.ifr_broadaddr)
7318 rm -f conftest.
$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>conftest.er1
7322 grep -v '^ *+' conftest.er1
>conftest.err
7324 cat conftest.err
>&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try
='test -z "$ac_c_werror_flag"
7328 || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try
='test -s conftest.$ac_objext'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.
$ac_ext >&5
7345 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7351 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7352 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7353 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7355 cat >>confdefs.h
<<_ACEOF
7356 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7361 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7362 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7363 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 cat >conftest.
$ac_ext <<_ACEOF
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7372 $ac_includes_default
7373 #if HAVE_SYS_SOCKET_H
7374 #include <sys/socket.h>
7383 static struct ifreq ac_aggr;
7384 if (ac_aggr.ifr_addr)
7390 rm -f conftest.
$ac_objext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>conftest.er1
7394 grep -v '^ *+' conftest.er1
>conftest.err
7396 cat conftest.err
>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } &&
7399 { ac_try
='test -z "$ac_c_werror_flag"
7400 || test ! -s conftest.err'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; } &&
7406 { ac_try
='test -s conftest.$ac_objext'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; }; then
7412 ac_cv_member_struct_ifreq_ifr_addr
=yes
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.
$ac_ext >&5
7417 cat >conftest.
$ac_ext <<_ACEOF
7420 cat confdefs.h
>>conftest.
$ac_ext
7421 cat >>conftest.
$ac_ext <<_ACEOF
7422 /* end confdefs.h. */
7423 $ac_includes_default
7424 #if HAVE_SYS_SOCKET_H
7425 #include <sys/socket.h>
7434 static struct ifreq ac_aggr;
7435 if (sizeof ac_aggr.ifr_addr)
7441 rm -f conftest.
$ac_objext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7443 (eval $ac_compile) 2>conftest.er1
7445 grep -v '^ *+' conftest.er1
>conftest.err
7447 cat conftest.err
>&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } &&
7450 { ac_try
='test -z "$ac_c_werror_flag"
7451 || test ! -s conftest.err'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; } &&
7457 { ac_try
='test -s conftest.$ac_objext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7463 ac_cv_member_struct_ifreq_ifr_addr
=yes
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7468 ac_cv_member_struct_ifreq_ifr_addr
=no
7470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7474 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7475 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7476 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7478 cat >>confdefs.h
<<_ACEOF
7479 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7487 echo "$as_me:$LINENO: checking for function prototypes" >&5
7488 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7489 if test "$ac_cv_prog_cc_stdc" != no
; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 cat >>confdefs.h
<<\_ACEOF
7494 #define PROTOTYPES 1
7498 cat >>confdefs.h
<<\_ACEOF
7499 #define __PROTOTYPES 1
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for working volatile" >&5
7508 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7509 if test "${ac_cv_c_volatile+set}" = set; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 cat >conftest.
$ac_ext <<_ACEOF
7515 cat confdefs.h
>>conftest.
$ac_ext
7516 cat >>conftest.
$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7529 rm -f conftest.
$ac_objext
7530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7531 (eval $ac_compile) 2>conftest.er1
7533 grep -v '^ *+' conftest.er1
>conftest.err
7535 cat conftest.err
>&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } &&
7538 { ac_try
='test -z "$ac_c_werror_flag"
7539 || test ! -s conftest.err'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; } &&
7545 { ac_try
='test -s conftest.$ac_objext'
7546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); }; }; then
7551 ac_cv_c_volatile
=yes
7553 echo "$as_me: failed program was:" >&5
7554 sed 's/^/| /' conftest.
$ac_ext >&5
7558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7560 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7561 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7562 if test $ac_cv_c_volatile = no
; then
7564 cat >>confdefs.h
<<\_ACEOF
7570 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7571 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7572 if test "${ac_cv_c_const+set}" = set; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 cat >conftest.
$ac_ext <<_ACEOF
7578 cat confdefs.h
>>conftest.
$ac_ext
7579 cat >>conftest.
$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7585 /* FIXME: Include the comments suggested by Paul. */
7587 /* Ultrix mips cc rejects this. */
7588 typedef int charset[2];
7590 /* SunOS 4.1.1 cc rejects this. */
7591 char const *const *ccp;
7593 /* NEC SVR4.0.2 mips cc rejects this. */
7594 struct point {int x, y;};
7595 static struct point const zero = {0,0};
7596 /* AIX XL C 1.02.0.0 rejects this.
7597 It does not let you subtract one const X* pointer from another in
7598 an arm of an if-expression whose if-part is not a constant
7600 const char *g = "string";
7601 ccp = &g + (g ? g-g : 0);
7602 /* HPUX 7.0 cc rejects these. */
7605 ccp = (char const *const *) p;
7606 { /* SCO 3.2v4 cc rejects this. */
7608 char const *s = 0 ? (char *) 0 : (char const *) 0;
7612 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7614 const int *foo = &x[0];
7617 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7618 typedef const int *iptr;
7622 { /* AIX XL C 1.02.0.0 rejects this saying
7623 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7624 struct s { int j; const int *ap[3]; };
7625 struct s *b; b->j = 5;
7627 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7636 rm -f conftest.
$ac_objext
7637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7638 (eval $ac_compile) 2>conftest.er1
7640 grep -v '^ *+' conftest.er1
>conftest.err
7642 cat conftest.err
>&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); } &&
7645 { ac_try
='test -z "$ac_c_werror_flag"
7646 || test ! -s conftest.err'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; } &&
7652 { ac_try
='test -s conftest.$ac_objext'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; }; then
7660 echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.
$ac_ext >&5
7665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7667 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7668 echo "${ECHO_T}$ac_cv_c_const" >&6
7669 if test $ac_cv_c_const = no
; then
7671 cat >>confdefs.h
<<\_ACEOF
7677 echo "$as_me:$LINENO: checking for void * support" >&5
7678 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7679 if test "${emacs_cv_void_star+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 cat >conftest.
$ac_ext <<_ACEOF
7685 cat confdefs.h
>>conftest.
$ac_ext
7686 cat >>conftest.
$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7697 rm -f conftest.
$ac_objext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7699 (eval $ac_compile) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } &&
7706 { ac_try
='test -z "$ac_c_werror_flag"
7707 || test ! -s conftest.err'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; } &&
7713 { ac_try
='test -s conftest.$ac_objext'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; }; then
7719 emacs_cv_void_star
=yes
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.
$ac_ext >&5
7724 emacs_cv_void_star
=no
7726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7728 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7729 echo "${ECHO_T}$emacs_cv_void_star" >&6
7730 if test $emacs_cv_void_star = yes; then
7731 cat >>confdefs.h
<<\_ACEOF
7732 #define POINTER_TYPE void
7736 cat >>confdefs.h
<<\_ACEOF
7737 #define POINTER_TYPE char
7744 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7745 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7746 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7747 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 cat >conftest.
make <<\_ACEOF
7752 @
echo 'ac_maketemp="$(MAKE)"'
7754 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7755 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7756 if test -n "$ac_maketemp"; then
7757 eval ac_cv_prog_make_
${ac_make}_set
=yes
7759 eval ac_cv_prog_make_
${ac_make}_set
=no
7763 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7764 echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6
7768 echo "$as_me:$LINENO: result: no" >&5
7769 echo "${ECHO_T}no" >&6
7770 SET_MAKE
="MAKE=${MAKE-make}"
7774 echo "$as_me:$LINENO: checking for long file names" >&5
7775 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7776 if test "${ac_cv_sys_long_file_names+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 ac_cv_sys_long_file_names
=yes
7780 # Test for long file names in all the places we know might matter:
7781 # . the current directory, where building will happen
7782 # $prefix/lib where we will be installing things
7783 # $exec_prefix/lib likewise
7784 # eval it to expand exec_prefix.
7785 # $TMPDIR if set, where it might want to write temporary files
7786 # if $TMPDIR is not set:
7787 # /tmp where it might want to write temporary files
7790 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7793 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7795 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7796 test -d $ac_dir ||
continue
7797 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7798 ac_xdir
=$ac_dir/cf$$
7799 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7800 ac_tf1
=$ac_xdir/conftest9012345
7801 ac_tf2
=$ac_xdir/conftest9012346
7802 (echo 1 >$ac_tf1) 2>/dev
/null
7803 (echo 2 >$ac_tf2) 2>/dev
/null
7804 ac_val
=`cat $ac_tf1 2>/dev/null`
7805 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7806 ac_cv_sys_long_file_names
=no
7807 rm -rf $ac_xdir 2>/dev
/null
7810 rm -rf $ac_xdir 2>/dev
/null
7813 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7814 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7815 if test $ac_cv_sys_long_file_names = yes; then
7817 cat >>confdefs.h
<<\_ACEOF
7818 #define HAVE_LONG_FILE_NAMES 1
7824 #### Choose a window system.
7826 echo "$as_me:$LINENO: checking for X" >&5
7827 echo $ECHO_N "checking for X... $ECHO_C" >&6
7830 # Check whether --with-x or --without-x was given.
7831 if test "${with_x+set}" = set; then
7835 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7836 if test "x$with_x" = xno
; then
7837 # The user explicitly disabled X.
7840 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7841 # Both variables are already set.
7844 if test "${ac_cv_have_x+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 # One or both of the vars are not set, and there is no cached value.
7848 ac_x_includes
=no ac_x_libraries
=no
7850 if mkdir conftest.dir
; then
7852 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7853 cat >Imakefile
<<'_ACEOF'
7855 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7857 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7859 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7860 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7861 for ac_extension
in a so sl
; do
7862 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7863 test -f $ac_im_libdir/libX11.
$ac_extension; then
7864 ac_im_usrlibdir
=$ac_im_libdir; break
7867 # Screen out bogus values from the imake configuration. They are
7868 # bogus both because they are the default anyway, and because
7869 # using them would break gcc on systems where it needs fixed includes.
7870 case $ac_im_incroot in
7872 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7874 case $ac_im_usrlibdir in
7876 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7883 # Standard set of common directories for X headers.
7884 # Check X11 before X11Rn because it is often a symlink to the current release.
7896 /usr/local/X11/include
7897 /usr/local/X11R6/include
7898 /usr/local/X11R5/include
7899 /usr/local/X11R4/include
7901 /usr/local/include/X11
7902 /usr/local/include/X11R6
7903 /usr/local/include/X11R5
7904 /usr/local/include/X11R4
7908 /usr/XFree86/include/X11
7912 /usr/unsupported/include
7914 /usr/local/x11r5/include
7915 /usr/lpp/Xamples/include
7917 /usr/openwin/include
7918 /usr/openwin/share/include'
7920 if test "$ac_x_includes" = no
; then
7921 # Guess where to find include files, by looking for Intrinsic.h.
7922 # First, try using that file with no special directory specified.
7923 cat >conftest.
$ac_ext <<_ACEOF
7926 cat confdefs.h
>>conftest.
$ac_ext
7927 cat >>conftest.
$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7929 #include <X11/Intrinsic.h>
7931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7934 grep -v '^ *+' conftest.er1
>conftest.err
7936 cat conftest.err
>&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } >/dev
/null
; then
7939 if test -s conftest.err
; then
7940 ac_cpp_err
=$ac_c_preproc_warn_flag
7941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7948 if test -z "$ac_cpp_err"; then
7949 # We can compile using X headers with no special include directory.
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7955 for ac_dir
in $ac_x_header_dirs; do
7956 if test -r "$ac_dir/X11/Intrinsic.h"; then
7957 ac_x_includes
=$ac_dir
7962 rm -f conftest.err conftest.
$ac_ext
7963 fi # $ac_x_includes = no
7965 if test "$ac_x_libraries" = no
; then
7966 # Check for the libraries.
7967 # See if we find them without any special options.
7968 # Don't add to $LIBS permanently.
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 #include <X11/Intrinsic.h>
7986 rm -f conftest.
$ac_objext conftest
$ac_exeext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7988 (eval $ac_link) 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try
='test -z "$ac_c_werror_flag"
7996 || test ! -s conftest.err'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try
='test -s conftest$ac_exeext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8009 # We can link X programs with no special library path.
8012 echo "$as_me: failed program was:" >&5
8013 sed 's/^/| /' conftest.
$ac_ext >&5
8016 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8018 # Don't even attempt the hair of trying to link an X program!
8019 for ac_extension
in a so sl
; do
8020 if test -r $ac_dir/libXt.
$ac_extension; then
8021 ac_x_libraries
=$ac_dir
8027 rm -f conftest.err conftest.
$ac_objext \
8028 conftest
$ac_exeext conftest.
$ac_ext
8029 fi # $ac_x_libraries = no
8031 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8032 # Didn't find X anywhere. Cache the known absence of X.
8033 ac_cv_have_x
="have_x=no"
8035 # Record where we found X for the cache.
8036 ac_cv_have_x
="have_x=yes \
8037 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8042 eval "$ac_cv_have_x"
8045 if test "$have_x" != yes; then
8046 echo "$as_me:$LINENO: result: $have_x" >&5
8047 echo "${ECHO_T}$have_x" >&6
8050 # If each of the values was on the command line, it overrides each guess.
8051 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8052 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8053 # Update the cache value to reflect the command line values.
8054 ac_cv_have_x
="have_x=yes \
8055 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8056 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8057 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8060 if test "$no_x" = yes; then
8066 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8067 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8068 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8069 x_default_search_path
=""
8070 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8072 ${x_library}/X11/%L/%T/%N%C%S:\
8073 ${x_library}/X11/%l/%T/%N%C%S:\
8074 ${x_library}/X11/%T/%N%C%S:\
8075 ${x_library}/X11/%L/%T/%N%S:\
8076 ${x_library}/X11/%l/%T/%N%S:\
8077 ${x_library}/X11/%T/%N%S"
8078 if test x
"${x_default_search_path}" = x
; then
8079 x_default_search_path
=${x_search_path}
8081 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8085 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8086 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8089 if test x
"${x_includes}" = x
; then
8090 bitmapdir
=/usr
/include
/X11
/bitmaps
8092 # accumulate include directories that have X11 bitmap subdirectories
8094 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8095 if test -d "${bmd}/X11/bitmaps"; then
8096 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8098 if test -d "${bmd}/bitmaps"; then
8099 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8102 if test ${bmd_acc} != "dummyval"; then
8103 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8107 case "${window_system}" in
8111 case "${with_x_toolkit}" in
8112 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8113 motif
) USE_X_TOOLKIT
=MOTIF
;;
8115 USE_X_TOOLKIT
=none
;;
8116 no
) USE_X_TOOLKIT
=none
;;
8117 * ) USE_X_TOOLKIT
=maybe
;;
8127 ### If we're using X11, we should use the X menu package.
8130 yes ) HAVE_MENUS
=yes ;;
8133 if test "${opsys}" = "hpux9"; then
8134 case "${x_libraries}" in
8136 opsysfile
="s/hpux9-x11r4.h"
8141 if test "${opsys}" = "hpux9shr"; then
8142 case "${x_libraries}" in
8144 opsysfile
="s/hpux9shxr4.h"
8149 ### Compute the unexec source name from the object name.
8150 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8152 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8153 # Assume not, until told otherwise.
8156 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8157 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8158 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8161 cat >conftest.
$ac_ext <<_ACEOF
8164 cat confdefs.h
>>conftest.
$ac_ext
8165 cat >>conftest.
$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8169 #define malloc_get_state innocuous_malloc_get_state
8171 /* System header to define __stub macros and hopefully few prototypes,
8172 which can conflict with char malloc_get_state (); below.
8173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8174 <limits.h> exists even on freestanding compilers. */
8177 # include <limits.h>
8179 # include <assert.h>
8182 #undef malloc_get_state
8184 /* Override any gcc2 internal prototype to avoid an error. */
8189 /* We use char because int might match the return type of a gcc2
8190 builtin and then its argument prototype would still apply. */
8191 char malloc_get_state ();
8192 /* The GNU C library defines this for functions which it implements
8193 to always fail with ENOSYS. Some functions are actually named
8194 something starting with __ and the normal name is an alias. */
8195 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8198 char (*f) () = malloc_get_state;
8207 return f != malloc_get_state;
8212 rm -f conftest.
$ac_objext conftest
$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1
>conftest.err
8218 cat conftest.err
>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -z "$ac_c_werror_flag"
8222 || test ! -s conftest.err'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; } &&
8228 { ac_try
='test -s conftest$ac_exeext'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then
8234 ac_cv_func_malloc_get_state
=yes
8236 echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.
$ac_ext >&5
8239 ac_cv_func_malloc_get_state
=no
8241 rm -f conftest.err conftest.
$ac_objext \
8242 conftest
$ac_exeext conftest.
$ac_ext
8244 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8245 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8246 if test $ac_cv_func_malloc_get_state = yes; then
8252 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8253 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8254 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8255 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8265 #define malloc_set_state innocuous_malloc_set_state
8267 /* System header to define __stub macros and hopefully few prototypes,
8268 which can conflict with char malloc_set_state (); below.
8269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8270 <limits.h> exists even on freestanding compilers. */
8273 # include <limits.h>
8275 # include <assert.h>
8278 #undef malloc_set_state
8280 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8287 char malloc_set_state ();
8288 /* The GNU C library defines this for functions which it implements
8289 to always fail with ENOSYS. Some functions are actually named
8290 something starting with __ and the normal name is an alias. */
8291 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8294 char (*f) () = malloc_set_state;
8303 return f != malloc_set_state;
8308 rm -f conftest.
$ac_objext conftest
$ac_exeext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8310 (eval $ac_link) 2>conftest.er1
8312 grep -v '^ *+' conftest.er1
>conftest.err
8314 cat conftest.err
>&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try
='test -z "$ac_c_werror_flag"
8318 || test ! -s conftest.err'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try
='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_func_malloc_set_state
=yes
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.
$ac_ext >&5
8335 ac_cv_func_malloc_set_state
=no
8337 rm -f conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8340 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8341 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8342 if test $ac_cv_func_malloc_set_state = yes; then
8348 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8349 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8350 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 cat >conftest.
$ac_ext <<_ACEOF
8356 cat confdefs.h
>>conftest.
$ac_ext
8357 cat >>conftest.
$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8359 extern void (* __after_morecore_hook)();
8363 __after_morecore_hook = 0
8368 rm -f conftest.
$ac_objext conftest
$ac_exeext
8369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8370 (eval $ac_link) 2>conftest.er1
8372 grep -v '^ *+' conftest.er1
>conftest.err
8374 cat conftest.err
>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } &&
8377 { ac_try
='test -z "$ac_c_werror_flag"
8378 || test ! -s conftest.err'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; } &&
8384 { ac_try
='test -s conftest$ac_exeext'
8385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8390 emacs_cv_var___after_morecore_hook
=yes
8392 echo "$as_me: failed program was:" >&5
8393 sed 's/^/| /' conftest.
$ac_ext >&5
8395 emacs_cv_var___after_morecore_hook
=no
8397 rm -f conftest.err conftest.
$ac_objext \
8398 conftest
$ac_exeext conftest.
$ac_ext
8400 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8401 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8402 if test $emacs_cv_var___after_morecore_hook = no
; then
8405 if test "${system_malloc}" = "yes"; then
8408 (The GNU allocators don't work with this system configuration.)"
8410 if test "$doug_lea_malloc" = "yes" ; then
8411 if test "$GNU_MALLOC" = yes ; then
8413 (Using Doug Lea's new malloc from the GNU C Library.)"
8416 cat >>confdefs.h
<<\_ACEOF
8417 #define DOUG_LEA_MALLOC 1
8422 if test x
"${REL_ALLOC}" = x
; then
8423 REL_ALLOC
=${GNU_MALLOC}
8429 for ac_header
in stdlib.h unistd.h
8431 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8433 echo "$as_me:$LINENO: checking for $ac_header" >&5
8434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8441 # Is the header compilable?
8442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8444 cat >conftest.
$ac_ext <<_ACEOF
8447 cat confdefs.h
>>conftest.
$ac_ext
8448 cat >>conftest.
$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8450 $ac_includes_default
8451 #include <$ac_header>
8453 rm -f conftest.
$ac_objext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8455 (eval $ac_compile) 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try
='test -z "$ac_c_werror_flag"
8463 || test ! -s conftest.err'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; } &&
8469 { ac_try
='test -s conftest.$ac_objext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_header_compiler
=yes
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.
$ac_ext >&5
8480 ac_header_compiler
=no
8482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8484 echo "${ECHO_T}$ac_header_compiler" >&6
8486 # Is the header present?
8487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8489 cat >conftest.
$ac_ext <<_ACEOF
8492 cat confdefs.h
>>conftest.
$ac_ext
8493 cat >>conftest.
$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8495 #include <$ac_header>
8497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8500 grep -v '^ *+' conftest.er1
>conftest.err
8502 cat conftest.err
>&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } >/dev
/null
; then
8505 if test -s conftest.err
; then
8506 ac_cpp_err
=$ac_c_preproc_warn_flag
8507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8514 if test -z "$ac_cpp_err"; then
8515 ac_header_preproc
=yes
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.
$ac_ext >&5
8520 ac_header_preproc
=no
8522 rm -f conftest.err conftest.
$ac_ext
8523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8524 echo "${ECHO_T}$ac_header_preproc" >&6
8526 # So? What about this header?
8527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8533 ac_header_preproc
=yes
8536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8550 ## ------------------------------------------ ##
8551 ## Report this to the AC_PACKAGE_NAME lists. ##
8552 ## ------------------------------------------ ##
8555 sed "s/^/$as_me: WARNING: /" >&2
8558 echo "$as_me:$LINENO: checking for $ac_header" >&5
8559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 eval "$as_ac_Header=\$ac_header_preproc"
8565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8570 cat >>confdefs.h
<<_ACEOF
8571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8579 for ac_func
in getpagesize
8581 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8582 echo "$as_me:$LINENO: checking for $ac_func" >&5
8583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8584 if eval "test \"\${$as_ac_var+set}\" = set"; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 cat >conftest.
$ac_ext <<_ACEOF
8590 cat confdefs.h
>>conftest.
$ac_ext
8591 cat >>conftest.
$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8595 #define $ac_func innocuous_$ac_func
8597 /* System header to define __stub macros and hopefully few prototypes,
8598 which can conflict with char $ac_func (); below.
8599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8600 <limits.h> exists even on freestanding compilers. */
8603 # include <limits.h>
8605 # include <assert.h>
8610 /* Override any gcc2 internal prototype to avoid an error. */
8615 /* We use char because int might match the return type of a gcc2
8616 builtin and then its argument prototype would still apply. */
8618 /* The GNU C library defines this for functions which it implements
8619 to always fail with ENOSYS. Some functions are actually named
8620 something starting with __ and the normal name is an alias. */
8621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8624 char (*f) () = $ac_func;
8633 return f != $ac_func;
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest$ac_exeext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 eval "$as_ac_var=yes"
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 eval "$as_ac_var=no"
8667 rm -f conftest.err conftest.
$ac_objext \
8668 conftest
$ac_exeext conftest.
$ac_ext
8670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8672 if test `eval echo '${'$as_ac_var'}'` = yes; then
8673 cat >>confdefs.h
<<_ACEOF
8674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8680 echo "$as_me:$LINENO: checking for working mmap" >&5
8681 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8682 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 if test "$cross_compiling" = yes; then
8686 ac_cv_func_mmap_fixed_mapped
=no
8688 cat >conftest.
$ac_ext <<_ACEOF
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 $ac_includes_default
8695 /* malloc might have been renamed as rpl_malloc. */
8698 /* Thanks to Mike Haertel and Jim Avera for this test.
8699 Here is a matrix of mmap possibilities:
8700 mmap private not fixed
8701 mmap private fixed at somewhere currently unmapped
8702 mmap private fixed at somewhere already mapped
8703 mmap shared not fixed
8704 mmap shared fixed at somewhere currently unmapped
8705 mmap shared fixed at somewhere already mapped
8706 For private mappings, we should verify that changes cannot be read()
8707 back from the file, nor mmap's back from the file at a different
8708 address. (There have been systems where private was not correctly
8709 implemented like the infamous i386 svr4.0, and systems where the
8710 VM page cache was not coherent with the file system buffer cache
8711 like early versions of FreeBSD and possibly contemporary NetBSD.)
8712 For shared mappings, we should conversely verify that changes get
8713 propagated back to all the places they're supposed to be.
8715 Grep wants private fixed already mapped.
8716 The main things grep needs to know about mmap are:
8717 * does it exist and is it safe to write into the mmap'd area
8718 * how to use it (BSD variants) */
8721 #include <sys/mman.h>
8723 #if !STDC_HEADERS && !HAVE_STDLIB_H
8727 /* This mess was copied from the GNU getpagesize.h. */
8728 #if !HAVE_GETPAGESIZE
8729 /* Assume that all systems that can run configure have sys/param.h. */
8730 # if !HAVE_SYS_PARAM_H
8731 # define HAVE_SYS_PARAM_H 1
8734 # ifdef _SC_PAGESIZE
8735 # define getpagesize() sysconf(_SC_PAGESIZE)
8736 # else /* no _SC_PAGESIZE */
8737 # if HAVE_SYS_PARAM_H
8738 # include <sys/param.h>
8739 # ifdef EXEC_PAGESIZE
8740 # define getpagesize() EXEC_PAGESIZE
8741 # else /* no EXEC_PAGESIZE */
8743 # define getpagesize() NBPG * CLSIZE
8746 # endif /* no CLSIZE */
8747 # else /* no NBPG */
8749 # define getpagesize() NBPC
8750 # else /* no NBPC */
8752 # define getpagesize() PAGESIZE
8753 # endif /* PAGESIZE */
8754 # endif /* no NBPC */
8755 # endif /* no NBPG */
8756 # endif /* no EXEC_PAGESIZE */
8757 # else /* no HAVE_SYS_PARAM_H */
8758 # define getpagesize() 8192 /* punt totally */
8759 # endif /* no HAVE_SYS_PARAM_H */
8760 # endif /* no _SC_PAGESIZE */
8762 #endif /* no HAVE_GETPAGESIZE */
8767 char *data, *data2, *data3;
8771 pagesize = getpagesize ();
8773 /* First, make a file with some known garbage in it. */
8774 data = (char *) malloc (pagesize);
8777 for (i = 0; i < pagesize; ++i)
8778 *(data + i) = rand ();
8780 fd = creat ("conftest.mmap", 0600);
8783 if (write (fd, data, pagesize) != pagesize)
8787 /* Next, try to mmap the file at a fixed address which already has
8788 something else allocated at it. If we can, also make sure that
8789 we see the same garbage. */
8790 fd = open ("conftest.mmap", O_RDWR);
8793 data2 = (char *) malloc (2 * pagesize);
8796 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8797 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8798 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8800 for (i = 0; i < pagesize; ++i)
8801 if (*(data + i) != *(data2 + i))
8804 /* Finally, make sure that changes to the mapped area do not
8805 percolate back to the file as seen by read(). (This is a bug on
8806 some variants of i386 svr4.0.) */
8807 for (i = 0; i < pagesize; ++i)
8808 *(data2 + i) = *(data2 + i) + 1;
8809 data3 = (char *) malloc (pagesize);
8812 if (read (fd, data3, pagesize) != pagesize)
8814 for (i = 0; i < pagesize; ++i)
8815 if (*(data + i) != *(data3 + i))
8821 rm -f conftest
$ac_exeext
8822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8823 (eval $ac_link) 2>&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 ac_cv_func_mmap_fixed_mapped
=yes
8834 echo "$as_me: program exited with status $ac_status" >&5
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.
$ac_ext >&5
8839 ac_cv_func_mmap_fixed_mapped
=no
8841 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8844 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8845 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8846 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8848 cat >>confdefs.h
<<\_ACEOF
8855 if test $use_mmap_for_buffers = yes; then
8859 LIBS
="$libsrc_libs $LIBS"
8862 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8863 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8864 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8865 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 ac_check_lib_save_LIBS
=$LIBS
8869 cat >conftest.
$ac_ext <<_ACEOF
8872 cat confdefs.h
>>conftest.
$ac_ext
8873 cat >>conftest.
$ac_ext <<_ACEOF
8874 /* end confdefs.h. */
8876 /* Override any gcc2 internal prototype to avoid an error. */
8880 /* We use char because int might match the return type of a gcc2
8881 builtin and then its argument prototype would still apply. */
8891 rm -f conftest.
$ac_objext conftest
$ac_exeext
8892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8893 (eval $ac_link) 2>conftest.er1
8895 grep -v '^ *+' conftest.er1
>conftest.err
8897 cat conftest.err
>&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } &&
8900 { ac_try
='test -z "$ac_c_werror_flag"
8901 || test ! -s conftest.err'
8902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; } &&
8907 { ac_try
='test -s conftest$ac_exeext'
8908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); }; }; then
8913 ac_cv_lib_dnet_dnet_ntoa
=yes
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.
$ac_ext >&5
8918 ac_cv_lib_dnet_dnet_ntoa
=no
8920 rm -f conftest.err conftest.
$ac_objext \
8921 conftest
$ac_exeext conftest.
$ac_ext
8922 LIBS
=$ac_check_lib_save_LIBS
8924 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8925 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8926 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8927 cat >>confdefs.h
<<_ACEOF
8928 #define HAVE_LIBDNET 1
8936 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
8937 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
8938 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8943 cat >conftest.
$ac_ext <<_ACEOF
8946 cat confdefs.h
>>conftest.
$ac_ext
8947 cat >>conftest.
$ac_ext <<_ACEOF
8948 /* end confdefs.h. */
8959 rm -f conftest.
$ac_objext conftest
$ac_exeext
8960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8961 (eval $ac_link) 2>conftest.er1
8963 grep -v '^ *+' conftest.er1
>conftest.err
8965 cat conftest.err
>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try
='test -z "$ac_c_werror_flag"
8969 || test ! -s conftest.err'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; } &&
8975 { ac_try
='test -s conftest$ac_exeext'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; }; then
8981 ac_cv_lib_Xbsd_main
=yes
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.
$ac_ext >&5
8986 ac_cv_lib_Xbsd_main
=no
8988 rm -f conftest.err conftest.
$ac_objext \
8989 conftest
$ac_exeext conftest.
$ac_ext
8990 LIBS
=$ac_check_lib_save_LIBS
8992 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
8993 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
8994 if test $ac_cv_lib_Xbsd_main = yes; then
8995 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9000 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9001 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9002 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 ac_check_lib_save_LIBS
=$LIBS
9006 LIBS
="-lpthreads $LIBS"
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9014 /* Override any gcc2 internal prototype to avoid an error. */
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9029 rm -f conftest.
$ac_objext conftest
$ac_exeext
9030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9031 (eval $ac_link) 2>conftest.er1
9033 grep -v '^ *+' conftest.er1
>conftest.err
9035 cat conftest.err
>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } &&
9038 { ac_try
='test -z "$ac_c_werror_flag"
9039 || test ! -s conftest.err'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; } &&
9045 { ac_try
='test -s conftest$ac_exeext'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 ac_cv_lib_pthreads_cma_open
=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.
$ac_ext >&5
9056 ac_cv_lib_pthreads_cma_open
=no
9058 rm -f conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_lib_save_LIBS
9062 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9063 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9064 if test $ac_cv_lib_pthreads_cma_open = yes; then
9065 cat >>confdefs.h
<<_ACEOF
9066 #define HAVE_LIBPTHREADS 1
9069 LIBS
="-lpthreads $LIBS"
9074 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9075 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9076 if test -d /usr
/X386
/include
; then
9078 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9082 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9083 echo "${ECHO_T}$HAVE_XFREE386" >&6
9088 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9089 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9090 if test "${gdb_cv_bigtoc+set}" = set; then
9091 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9096 *) gdb_cv_bigtoc
=-bbigtoc ;;
9099 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9100 cat >conftest.
$ac_ext <<_ACEOF
9103 cat confdefs.h
>>conftest.
$ac_ext
9104 cat >>conftest.
$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9115 rm -f conftest.
$ac_objext conftest
$ac_exeext
9116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117 (eval $ac_link) 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } &&
9124 { ac_try
='test -z "$ac_c_werror_flag"
9125 || test ! -s conftest.err'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; } &&
9131 { ac_try
='test -s conftest$ac_exeext'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; }; then
9139 echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.
$ac_ext >&5
9144 rm -f conftest.err conftest.
$ac_objext \
9145 conftest
$ac_exeext conftest.
$ac_ext
9148 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9149 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9153 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9154 # used for the tests that follow. We set them back to REAL_CFLAGS and
9155 # REAL_CPPFLAGS later on.
9157 REAL_CPPFLAGS
="$CPPFLAGS"
9159 if test "${HAVE_X11}" = "yes"; then
9160 DEFS
="$C_SWITCH_X_SITE $DEFS"
9161 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9163 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9164 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9166 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9167 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9168 # but it's more convenient here to set LD_RUN_PATH
9169 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9170 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9171 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9175 if test "${opsys}" = "gnu-linux"; then
9176 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9177 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9178 cat >conftest.
$ac_ext <<_ACEOF
9181 cat confdefs.h
>>conftest.
$ac_ext
9182 cat >>conftest.
$ac_ext <<_ACEOF
9183 /* end confdefs.h. */
9188 XOpenDisplay ("foo");
9193 rm -f conftest.
$ac_objext conftest
$ac_exeext
9194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9195 (eval $ac_link) 2>conftest.er1
9197 grep -v '^ *+' conftest.er1
>conftest.err
9199 cat conftest.err
>&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } &&
9202 { ac_try
='test -z "$ac_c_werror_flag"
9203 || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } &&
9209 { ac_try
='test -s conftest$ac_exeext'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; }; then
9215 xlinux_first_failure
=no
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.
$ac_ext >&5
9220 xlinux_first_failure
=yes
9222 rm -f conftest.err conftest.
$ac_objext \
9223 conftest
$ac_exeext conftest.
$ac_ext
9224 if test "${xlinux_first_failure}" = "yes"; then
9225 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9226 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9227 OLD_CPPFLAGS
="$CPPFLAGS"
9229 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9230 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9231 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9232 LIBS
="$LIBS -b i486-linuxaout"
9233 cat >conftest.
$ac_ext <<_ACEOF
9236 cat confdefs.h
>>conftest.
$ac_ext
9237 cat >>conftest.
$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9243 XOpenDisplay ("foo");
9248 rm -f conftest.
$ac_objext conftest
$ac_exeext
9249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250 (eval $ac_link) 2>conftest.er1
9252 grep -v '^ *+' conftest.er1
>conftest.err
9254 cat conftest.err
>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } &&
9257 { ac_try
='test -z "$ac_c_werror_flag"
9258 || test ! -s conftest.err'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; } &&
9264 { ac_try
='test -s conftest$ac_exeext'
9265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }; }; then
9270 xlinux_second_failure
=no
9272 echo "$as_me: failed program was:" >&5
9273 sed 's/^/| /' conftest.
$ac_ext >&5
9275 xlinux_second_failure
=yes
9277 rm -f conftest.err conftest.
$ac_objext \
9278 conftest
$ac_exeext conftest.
$ac_ext
9279 if test "${xlinux_second_failure}" = "yes"; then
9280 # If we get the same failure with -b, there is no use adding -b.
9281 # So take it out. This plays safe.
9282 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9283 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9284 CPPFLAGS
="$OLD_CPPFLAGS"
9286 echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9293 echo "$as_me:$LINENO: result: no" >&5
9294 echo "${ECHO_T}no" >&6
9298 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9299 # header files included from there.
9300 echo "$as_me:$LINENO: checking for Xkb" >&5
9301 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9302 cat >conftest.
$ac_ext <<_ACEOF
9305 cat confdefs.h
>>conftest.
$ac_ext
9306 cat >>conftest.
$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9308 #include <X11/Xlib.h>
9309 #include <X11/XKBlib.h>
9313 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9318 rm -f conftest.
$ac_objext conftest
$ac_exeext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9320 (eval $ac_link) 2>conftest.er1
9322 grep -v '^ *+' conftest.er1
>conftest.err
9324 cat conftest.err
>&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try
='test -z "$ac_c_werror_flag"
9328 || test ! -s conftest.err'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; } &&
9334 { ac_try
='test -s conftest$ac_exeext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.
$ac_ext >&5
9347 rm -f conftest.err conftest.
$ac_objext \
9348 conftest
$ac_exeext conftest.
$ac_ext
9349 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9350 echo "${ECHO_T}$emacs_xkb" >&6
9351 if test $emacs_xkb = yes; then
9353 cat >>confdefs.h
<<\_ACEOF
9354 #define HAVE_XKBGETKEYBOARD 1
9363 for ac_func
in XrmSetDatabase XScreenResourceString \
9364 XScreenNumberOfScreen XSetWMProtocols
9366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9367 echo "$as_me:$LINENO: checking for $ac_func" >&5
9368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9369 if eval "test \"\${$as_ac_var+set}\" = set"; then
9370 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 cat >conftest.
$ac_ext <<_ACEOF
9375 cat confdefs.h
>>conftest.
$ac_ext
9376 cat >>conftest.
$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9380 #define $ac_func innocuous_$ac_func
9382 /* System header to define __stub macros and hopefully few prototypes,
9383 which can conflict with char $ac_func (); below.
9384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9385 <limits.h> exists even on freestanding compilers. */
9388 # include <limits.h>
9390 # include <assert.h>
9395 /* Override any gcc2 internal prototype to avoid an error. */
9400 /* We use char because int might match the return type of a gcc2
9401 builtin and then its argument prototype would still apply. */
9403 /* The GNU C library defines this for functions which it implements
9404 to always fail with ENOSYS. Some functions are actually named
9405 something starting with __ and the normal name is an alias. */
9406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9409 char (*f) () = $ac_func;
9418 return f != $ac_func;
9423 rm -f conftest.
$ac_objext conftest
$ac_exeext
9424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9425 (eval $ac_link) 2>conftest.er1
9427 grep -v '^ *+' conftest.er1
>conftest.err
9429 cat conftest.err
>&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try
='test -z "$ac_c_werror_flag"
9433 || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try
='test -s conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 eval "$as_ac_var=yes"
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 eval "$as_ac_var=no"
9452 rm -f conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9457 if test `eval echo '${'$as_ac_var'}'` = yes; then
9458 cat >>confdefs.h
<<_ACEOF
9459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9467 if test "${window_system}" = "x11"; then
9468 echo "$as_me:$LINENO: checking X11 version 6" >&5
9469 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9470 if test "${emacs_cv_x11_version_6+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 cat >conftest.
$ac_ext <<_ACEOF
9476 cat confdefs.h
>>conftest.
$ac_ext
9477 cat >>conftest.
$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9479 #include <X11/Xlib.h>
9483 #if XlibSpecificationRelease < 6
9491 rm -f conftest.
$ac_objext conftest
$ac_exeext
9492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9493 (eval $ac_link) 2>conftest.er1
9495 grep -v '^ *+' conftest.er1
>conftest.err
9497 cat conftest.err
>&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } &&
9500 { ac_try
='test -z "$ac_c_werror_flag"
9501 || test ! -s conftest.err'
9502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; } &&
9507 { ac_try
='test -s conftest$ac_exeext'
9508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); }; }; then
9513 emacs_cv_x11_version_6
=yes
9515 echo "$as_me: failed program was:" >&5
9516 sed 's/^/| /' conftest.
$ac_ext >&5
9518 emacs_cv_x11_version_6
=no
9520 rm -f conftest.err conftest.
$ac_objext \
9521 conftest
$ac_exeext conftest.
$ac_ext
9524 if test $emacs_cv_x11_version_6 = yes; then
9525 echo "$as_me:$LINENO: result: 6 or newer" >&5
9526 echo "${ECHO_T}6 or newer" >&6
9528 cat >>confdefs.h
<<\_ACEOF
9529 #define HAVE_X11R6 1
9533 echo "$as_me:$LINENO: result: before 6" >&5
9534 echo "${ECHO_T}before 6" >&6
9538 if test "${window_system}" = "x11"; then
9539 echo "$as_me:$LINENO: checking X11 version 5" >&5
9540 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9541 if test "${emacs_cv_x11_version_5+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 cat >conftest.
$ac_ext <<_ACEOF
9547 cat confdefs.h
>>conftest.
$ac_ext
9548 cat >>conftest.
$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9550 #include <X11/Xlib.h>
9554 #if XlibSpecificationRelease < 5
9562 rm -f conftest.
$ac_objext conftest
$ac_exeext
9563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9564 (eval $ac_link) 2>conftest.er1
9566 grep -v '^ *+' conftest.er1
>conftest.err
9568 cat conftest.err
>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } &&
9571 { ac_try
='test -z "$ac_c_werror_flag"
9572 || test ! -s conftest.err'
9573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; } &&
9578 { ac_try
='test -s conftest$ac_exeext'
9579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; }; then
9584 emacs_cv_x11_version_5
=yes
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.
$ac_ext >&5
9589 emacs_cv_x11_version_5
=no
9591 rm -f conftest.err conftest.
$ac_objext \
9592 conftest
$ac_exeext conftest.
$ac_ext
9595 if test $emacs_cv_x11_version_5 = yes; then
9596 echo "$as_me:$LINENO: result: 5 or newer" >&5
9597 echo "${ECHO_T}5 or newer" >&6
9600 cat >>confdefs.h
<<\_ACEOF
9601 #define HAVE_X11R5 1
9606 echo "$as_me:$LINENO: result: before 5" >&5
9607 echo "${ECHO_T}before 5" >&6
9614 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9615 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9616 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9617 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9618 { (exit 1); exit 1; }; };
9622 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9624 if test "X${with_pkg_config_prog}" != X
; then
9625 PKG_CONFIG
="${with_pkg_config_prog}"
9630 if test -z "$PKG_CONFIG"; then
9631 # Extract the first word of "pkg-config", so it can be a program name with args.
9632 set dummy pkg-config
; ac_word
=$2
9633 echo "$as_me:$LINENO: checking for $ac_word" >&5
9634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9635 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9647 test -z "$as_dir" && as_dir
=.
9648 for ac_exec_ext
in '' $ac_executable_extensions; do
9649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9650 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9657 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9661 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9663 if test -n "$PKG_CONFIG"; then
9664 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9665 echo "${ECHO_T}$PKG_CONFIG" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 if test "$PKG_CONFIG" = "no" ; then
9674 echo "*** The pkg-config script could not be found. Make sure it is"
9675 echo "*** in your path, or give the full path to pkg-config with"
9676 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9677 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9679 PKG_CONFIG_MIN_VERSION
=0.9.0
9680 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9681 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9682 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9684 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9689 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9690 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9691 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9692 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9693 echo "${ECHO_T}$GTK_CFLAGS" >&6
9695 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9696 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9697 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9698 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9699 echo "${ECHO_T}$GTK_LIBS" >&6
9703 ## If we have a custom action on failure, don't print errors, but
9704 ## do set a variable so people can do so.
9705 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9706 echo $GTK_PKG_ERRORS
9712 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9713 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9717 if test $succeeded = yes; then
9720 { { 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
9721 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;}
9722 { (exit 1); exit 1; }; }
9727 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9728 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9729 LIBS
="$GTK_LIBS $LIBS"
9732 cat >>confdefs.h
<<\_ACEOF
9738 with_toolkit_scroll_bars
=yes
9740 HAVE_GTK_MULTIDISPLAY
=no
9742 for ac_func
in gdk_display_open
9744 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9745 echo "$as_me:$LINENO: checking for $ac_func" >&5
9746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9747 if eval "test \"\${$as_ac_var+set}\" = set"; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9750 cat >conftest.
$ac_ext <<_ACEOF
9753 cat confdefs.h
>>conftest.
$ac_ext
9754 cat >>conftest.
$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9758 #define $ac_func innocuous_$ac_func
9760 /* System header to define __stub macros and hopefully few prototypes,
9761 which can conflict with char $ac_func (); below.
9762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9763 <limits.h> exists even on freestanding compilers. */
9766 # include <limits.h>
9768 # include <assert.h>
9773 /* Override any gcc2 internal prototype to avoid an error. */
9778 /* We use char because int might match the return type of a gcc2
9779 builtin and then its argument prototype would still apply. */
9781 /* The GNU C library defines this for functions which it implements
9782 to always fail with ENOSYS. Some functions are actually named
9783 something starting with __ and the normal name is an alias. */
9784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9787 char (*f) () = $ac_func;
9796 return f != $ac_func;
9801 rm -f conftest.
$ac_objext conftest
$ac_exeext
9802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9803 (eval $ac_link) 2>conftest.er1
9805 grep -v '^ *+' conftest.er1
>conftest.err
9807 cat conftest.err
>&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } &&
9810 { ac_try
='test -z "$ac_c_werror_flag"
9811 || test ! -s conftest.err'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; } &&
9817 { ac_try
='test -s conftest$ac_exeext'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; }; then
9823 eval "$as_ac_var=yes"
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.
$ac_ext >&5
9828 eval "$as_ac_var=no"
9830 rm -f conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9835 if test `eval echo '${'$as_ac_var'}'` = yes; then
9836 cat >>confdefs.h
<<_ACEOF
9837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9839 HAVE_GTK_MULTIDISPLAY
=yes
9843 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
9845 cat >>confdefs.h
<<\_ACEOF
9846 #define HAVE_GTK_MULTIDISPLAY 1
9852 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
9853 if test x
"${HAVE_X11R5}" = xyes
; then
9854 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
9855 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
9856 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
9857 echo $ECHO_N "(cached) $ECHO_C" >&6
9859 cat >conftest.
$ac_ext <<_ACEOF
9862 cat confdefs.h
>>conftest.
$ac_ext
9863 cat >>conftest.
$ac_ext <<_ACEOF
9864 /* end confdefs.h. */
9866 #include <X11/Intrinsic.h>
9867 #include <X11/Xaw/Simple.h>
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9878 (eval $ac_link) 2>conftest.er1
9880 grep -v '^ *+' conftest.er1
>conftest.err
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } &&
9885 { ac_try
='test -z "$ac_c_werror_flag"
9886 || test ! -s conftest.err'
9887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 (exit $ac_status); }; } &&
9892 { ac_try
='test -s conftest$ac_exeext'
9893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); }; }; then
9898 emacs_cv_x11_version_5_with_xaw
=yes
9900 echo "$as_me: failed program was:" >&5
9901 sed 's/^/| /' conftest.
$ac_ext >&5
9903 emacs_cv_x11_version_5_with_xaw
=no
9905 rm -f conftest.err conftest.
$ac_objext \
9906 conftest
$ac_exeext conftest.
$ac_ext
9909 if test $emacs_cv_x11_version_5_with_xaw = yes; then
9910 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
9911 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
9914 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
9915 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
9923 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
9925 if test "${USE_X_TOOLKIT}" != "none"; then
9926 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
9927 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
9928 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 cat >conftest.
$ac_ext <<_ACEOF
9934 cat confdefs.h
>>conftest.
$ac_ext
9935 cat >>conftest.
$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9937 #include <X11/Intrinsic.h>
9941 #if XtSpecificationRelease < 6
9949 rm -f conftest.
$ac_objext conftest
$ac_exeext
9950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9951 (eval $ac_link) 2>conftest.er1
9953 grep -v '^ *+' conftest.er1
>conftest.err
9955 cat conftest.err
>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try
='test -z "$ac_c_werror_flag"
9959 || test ! -s conftest.err'
9960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); }; } &&
9965 { ac_try
='test -s conftest$ac_exeext'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; }; then
9971 emacs_cv_x11_toolkit_version_6
=yes
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.
$ac_ext >&5
9976 emacs_cv_x11_toolkit_version_6
=no
9978 rm -f conftest.err conftest.
$ac_objext \
9979 conftest
$ac_exeext conftest.
$ac_ext
9982 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
9983 if test $emacs_cv_x11_toolkit_version_6 = yes; then
9984 echo "$as_me:$LINENO: result: 6 or newer" >&5
9985 echo "${ECHO_T}6 or newer" >&6
9987 cat >>confdefs.h
<<\_ACEOF
9988 #define HAVE_X11XTR6 1
9992 echo "$as_me:$LINENO: result: before 6" >&5
9993 echo "${ECHO_T}before 6" >&6
9997 if test x
$HAVE_X11XTR6 = xyes
; then
9998 LIBS
="-lXt -lSM -lICE $LIBS"
10003 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10004 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10005 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10008 ac_check_lib_save_LIBS
=$LIBS
10010 cat >conftest.
$ac_ext <<_ACEOF
10013 cat confdefs.h
>>conftest.
$ac_ext
10014 cat >>conftest.
$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any gcc2 internal prototype to avoid an error. */
10021 /* We use char because int might match the return type of a gcc2
10022 builtin and then its argument prototype would still apply. */
10023 char XmuConvertStandardSelection ();
10027 XmuConvertStandardSelection ();
10032 rm -f conftest.
$ac_objext conftest
$ac_exeext
10033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10034 (eval $ac_link) 2>conftest.er1
10036 grep -v '^ *+' conftest.er1
>conftest.err
10038 cat conftest.err
>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try
='test -z "$ac_c_werror_flag"
10042 || test ! -s conftest.err'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; } &&
10048 { ac_try
='test -s conftest$ac_exeext'
10049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050 (eval $ac_try) 2>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); }; }; then
10054 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.
$ac_ext >&5
10059 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10061 rm -f conftest.err conftest.
$ac_objext \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 LIBS
=$ac_check_lib_save_LIBS
10065 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10066 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10067 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10068 cat >>confdefs.h
<<_ACEOF
10069 #define HAVE_LIBXMU 1
10076 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10079 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10080 if test "${HAVE_X11}" = "yes"; then
10081 if test "${USE_X_TOOLKIT}" != "none"; then
10083 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10084 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10085 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 ac_check_lib_save_LIBS
=$LIBS
10089 LIBS
="-lXext $LIBS"
10090 cat >conftest.
$ac_ext <<_ACEOF
10093 cat confdefs.h
>>conftest.
$ac_ext
10094 cat >>conftest.
$ac_ext <<_ACEOF
10095 /* end confdefs.h. */
10097 /* Override any gcc2 internal prototype to avoid an error. */
10101 /* We use char because int might match the return type of a gcc2
10102 builtin and then its argument prototype would still apply. */
10103 char XShapeQueryExtension ();
10107 XShapeQueryExtension ();
10112 rm -f conftest.
$ac_objext conftest
$ac_exeext
10113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10114 (eval $ac_link) 2>conftest.er1
10116 grep -v '^ *+' conftest.er1
>conftest.err
10118 cat conftest.err
>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); } &&
10121 { ac_try
='test -z "$ac_c_werror_flag"
10122 || test ! -s conftest.err'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; } &&
10128 { ac_try
='test -s conftest$ac_exeext'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; }; then
10134 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10136 echo "$as_me: failed program was:" >&5
10137 sed 's/^/| /' conftest.
$ac_ext >&5
10139 ac_cv_lib_Xext_XShapeQueryExtension
=no
10141 rm -f conftest.err conftest.
$ac_objext \
10142 conftest
$ac_exeext conftest.
$ac_ext
10143 LIBS
=$ac_check_lib_save_LIBS
10145 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10146 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10147 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10148 cat >>confdefs.h
<<_ACEOF
10149 #define HAVE_LIBXEXT 1
10152 LIBS
="-lXext $LIBS"
10159 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10160 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10161 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10162 if test "${emacs_cv_lesstif+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 # We put this in CFLAGS temporarily to precede other -I options
10166 # that might be in CFLAGS temporarily.
10167 # We put this in CPPFLAGS where it precedes the other -I options.
10168 OLD_CPPFLAGS
=$CPPFLAGS
10170 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10171 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10187 rm -f conftest.
$ac_objext
10188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10189 (eval $ac_compile) 2>conftest.er1
10191 grep -v '^ *+' conftest.er1
>conftest.err
10193 cat conftest.err
>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); } &&
10196 { ac_try
='test -z "$ac_c_werror_flag"
10197 || test ! -s conftest.err'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; } &&
10203 { ac_try
='test -s conftest.$ac_objext'
10204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10205 (eval $ac_try) 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; }; then
10209 emacs_cv_lesstif
=yes
10211 echo "$as_me: failed program was:" >&5
10212 sed 's/^/| /' conftest.
$ac_ext >&5
10214 emacs_cv_lesstif
=no
10216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10218 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10219 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10220 if test $emacs_cv_lesstif = yes; then
10221 # Make sure this -I option remains in CPPFLAGS after it is set
10222 # back to REAL_CPPFLAGS.
10223 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10224 # have those other -I options anyway. Ultimately, having this
10225 # directory ultimately in CPPFLAGS will be enough.
10226 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10227 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10230 CPPFLAGS
=$OLD_CPPFLAGS
10232 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10233 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10234 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 cat >conftest.
$ac_ext <<_ACEOF
10240 cat confdefs.h
>>conftest.
$ac_ext
10241 cat >>conftest.
$ac_ext <<_ACEOF
10242 /* end confdefs.h. */
10247 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10250 Motif version prior to 2.1.
10256 rm -f conftest.
$ac_objext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>conftest.er1
10260 grep -v '^ *+' conftest.er1
>conftest.err
10262 cat conftest.err
>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try
='test -z "$ac_c_werror_flag"
10266 || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try
='test -s conftest.$ac_objext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 emacs_cv_motif_version_2_1
=yes
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.
$ac_ext >&5
10283 emacs_cv_motif_version_2_1
=no
10285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10287 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10288 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10289 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10290 if test $emacs_cv_motif_version_2_1 = yes; then
10293 cat >>confdefs.h
<<\_ACEOF
10294 #define HAVE_MOTIF_2_1 1
10297 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10298 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10299 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 ac_check_lib_save_LIBS
=$LIBS
10304 cat >conftest.
$ac_ext <<_ACEOF
10307 cat confdefs.h
>>conftest.
$ac_ext
10308 cat >>conftest.
$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10311 /* Override any gcc2 internal prototype to avoid an error. */
10315 /* We use char because int might match the return type of a gcc2
10316 builtin and then its argument prototype would still apply. */
10317 char XpCreateContext ();
10321 XpCreateContext ();
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"
10336 || test ! -s conftest.err'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; } &&
10342 { ac_try
='test -s conftest$ac_exeext'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; }; then
10348 ac_cv_lib_Xp_XpCreateContext
=yes
10350 echo "$as_me: failed program was:" >&5
10351 sed 's/^/| /' conftest.
$ac_ext >&5
10353 ac_cv_lib_Xp_XpCreateContext
=no
10355 rm -f conftest.err conftest.
$ac_objext \
10356 conftest
$ac_exeext conftest.
$ac_ext
10357 LIBS
=$ac_check_lib_save_LIBS
10359 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10360 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10361 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10365 if test ${HAVE_LIBXP} = yes; then
10367 cat >>confdefs.h
<<\_ACEOF
10368 #define HAVE_LIBXP 1
10375 ### Is -lXaw3d available?
10377 if test "${HAVE_X11}" = "yes"; then
10378 if test "${USE_X_TOOLKIT}" != "none"; then
10379 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10380 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10381 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10382 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 cat >conftest.
$ac_ext <<_ACEOF
10387 cat confdefs.h
>>conftest.
$ac_ext
10388 cat >>conftest.
$ac_ext <<_ACEOF
10389 /* end confdefs.h. */
10390 #include <X11/Xaw3d/Scrollbar.h>
10392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10395 grep -v '^ *+' conftest.er1
>conftest.err
10397 cat conftest.err
>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } >/dev
/null
; then
10400 if test -s conftest.err
; then
10401 ac_cpp_err
=$ac_c_preproc_warn_flag
10402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10409 if test -z "$ac_cpp_err"; then
10410 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.
$ac_ext >&5
10415 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
10417 rm -f conftest.err conftest.
$ac_ext
10419 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
10420 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
10421 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
10422 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10423 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
10424 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
10425 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 ac_check_lib_save_LIBS
=$LIBS
10428 LIBS
="-lXaw3d $LIBS"
10429 cat >conftest.
$ac_ext <<_ACEOF
10432 cat confdefs.h
>>conftest.
$ac_ext
10433 cat >>conftest.
$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10436 /* Override any gcc2 internal prototype to avoid an error. */
10440 /* We use char because int might match the return type of a gcc2
10441 builtin and then its argument prototype would still apply. */
10442 char XawScrollbarSetThumb ();
10446 XawScrollbarSetThumb ();
10451 rm -f conftest.
$ac_objext conftest
$ac_exeext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10453 (eval $ac_link) 2>conftest.er1
10455 grep -v '^ *+' conftest.er1
>conftest.err
10457 cat conftest.err
>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } &&
10460 { ac_try
='test -z "$ac_c_werror_flag"
10461 || test ! -s conftest.err'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try
='test -s conftest$ac_exeext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.
$ac_ext >&5
10478 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
10480 rm -f conftest.err conftest.
$ac_objext \
10481 conftest
$ac_exeext conftest.
$ac_ext
10482 LIBS
=$ac_check_lib_save_LIBS
10484 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
10485 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
10486 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
10493 if test "${HAVE_XAW3D}" = "yes"; then
10495 cat >>confdefs.h
<<\_ACEOF
10496 #define HAVE_XAW3D 1
10505 USE_TOOLKIT_SCROLL_BARS
=no
10506 if test "${with_toolkit_scroll_bars}" != "no"; then
10507 if test "${USE_X_TOOLKIT}" != "none"; then
10508 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10509 cat >>confdefs.h
<<\_ACEOF
10510 #define USE_TOOLKIT_SCROLL_BARS 1
10514 USE_TOOLKIT_SCROLL_BARS
=yes
10515 elif test "${HAVE_XAW3D}" = "yes"; then
10516 cat >>confdefs.h
<<\_ACEOF
10517 #define USE_TOOLKIT_SCROLL_BARS 1
10520 USE_TOOLKIT_SCROLL_BARS
=yes
10522 elif test "${HAVE_GTK}" = "yes"; then
10523 cat >>confdefs.h
<<\_ACEOF
10524 #define USE_TOOLKIT_SCROLL_BARS 1
10527 USE_TOOLKIT_SCROLL_BARS
=yes
10531 cat >conftest.
$ac_ext <<_ACEOF
10534 cat confdefs.h
>>conftest.
$ac_ext
10535 cat >>conftest.
$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10538 #include <X11/Xlib.h>
10539 #include <X11/Xresource.h>
10548 rm -f conftest.
$ac_objext
10549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10550 (eval $ac_compile) 2>conftest.er1
10552 grep -v '^ *+' conftest.er1
>conftest.err
10554 cat conftest.err
>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try
='test -z "$ac_c_werror_flag"
10558 || test ! -s conftest.err'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; } &&
10564 { ac_try
='test -s conftest.$ac_objext'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; }; then
10572 cat >>confdefs.h
<<\_ACEOF
10577 echo "$as_me: failed program was:" >&5
10578 sed 's/^/| /' conftest.
$ac_ext >&5
10582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10585 if test "${with_xim}" != "no"; then
10587 cat >>confdefs.h
<<\_ACEOF
10594 if test "${HAVE_XIM}" != "no"; then
10595 late_CFLAGS
=$CFLAGS
10596 if test "$GCC" = yes; then
10597 CFLAGS
="$CFLAGS --pedantic-errors"
10599 cat >conftest.
$ac_ext <<_ACEOF
10602 cat confdefs.h
>>conftest.
$ac_ext
10603 cat >>conftest.
$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10606 #include <X11/Xlib.h>
10607 #include <X11/Xresource.h>
10616 XPointer *client_data;
10618 /* If we're not using GCC, it's probably not XFree86, and this is
10619 probably right, but we can't use something like --pedantic-errors. */
10620 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
10621 char*, XIMProc, XPointer*);
10623 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
10629 rm -f conftest.
$ac_objext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10631 (eval $ac_compile) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try
='test -z "$ac_c_werror_flag"
10639 || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try
='test -s conftest.$ac_objext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10651 emacs_cv_arg6_star
=yes
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.
$ac_ext >&5
10657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10659 if test "$emacs_cv_arg6_star" = yes; then
10660 cat >>confdefs.h
<<\_ACEOF
10661 #define XRegisterIMInstantiateCallback_arg6 XPointer*
10665 cat >>confdefs.h
<<\_ACEOF
10666 #define XRegisterIMInstantiateCallback_arg6 XPointer
10670 CFLAGS
=$late_CFLAGS
10673 ### Use -lXpm if available, unless `--with-xpm=no'.
10675 if test "${HAVE_X11}" = "yes"; then
10676 if test "${with_xpm}" != "no"; then
10677 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10678 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
10679 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
10680 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
10684 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
10686 # Is the header compilable?
10687 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
10688 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
10689 cat >conftest.
$ac_ext <<_ACEOF
10692 cat confdefs.h
>>conftest.
$ac_ext
10693 cat >>conftest.
$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10695 $ac_includes_default
10696 #include <X11/xpm.h>
10698 rm -f conftest.
$ac_objext
10699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10700 (eval $ac_compile) 2>conftest.er1
10702 grep -v '^ *+' conftest.er1
>conftest.err
10704 cat conftest.err
>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } &&
10707 { ac_try
='test -z "$ac_c_werror_flag"
10708 || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_header_compiler
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10725 ac_header_compiler
=no
10727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10729 echo "${ECHO_T}$ac_header_compiler" >&6
10731 # Is the header present?
10732 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
10733 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
10734 cat >conftest.
$ac_ext <<_ACEOF
10737 cat confdefs.h
>>conftest.
$ac_ext
10738 cat >>conftest.
$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10740 #include <X11/xpm.h>
10742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10745 grep -v '^ *+' conftest.er1
>conftest.err
10747 cat conftest.err
>&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } >/dev
/null
; then
10750 if test -s conftest.err
; then
10751 ac_cpp_err
=$ac_c_preproc_warn_flag
10752 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10759 if test -z "$ac_cpp_err"; then
10760 ac_header_preproc
=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10765 ac_header_preproc
=no
10767 rm -f conftest.err conftest.
$ac_ext
10768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10769 echo "${ECHO_T}$ac_header_preproc" >&6
10771 # So? What about this header?
10772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10774 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
10775 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10776 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
10777 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
10778 ac_header_preproc
=yes
10781 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
10782 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
10783 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
10784 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
10786 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
10788 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
10789 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
10790 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
10792 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
10795 ## ------------------------------------------ ##
10796 ## Report this to the AC_PACKAGE_NAME lists. ##
10797 ## ------------------------------------------ ##
10800 sed "s/^/$as_me: WARNING: /" >&2
10803 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
10804 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
10805 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_cv_header_X11_xpm_h
=$ac_header_preproc
10810 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
10811 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
10814 if test $ac_cv_header_X11_xpm_h = yes; then
10815 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
10816 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
10817 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 ac_check_lib_save_LIBS
=$LIBS
10821 LIBS
="-lXpm -lX11 $LIBS"
10822 cat >conftest.
$ac_ext <<_ACEOF
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10829 /* Override any gcc2 internal prototype to avoid an error. */
10833 /* We use char because int might match the return type of a gcc2
10834 builtin and then its argument prototype would still apply. */
10835 char XpmReadFileToPixmap ();
10839 XpmReadFileToPixmap ();
10844 rm -f conftest.
$ac_objext conftest
$ac_exeext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>conftest.er1
10848 grep -v '^ *+' conftest.er1
>conftest.err
10850 cat conftest.err
>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } &&
10853 { ac_try
='test -z "$ac_c_werror_flag"
10854 || test ! -s conftest.err'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; } &&
10860 { ac_try
='test -s conftest$ac_exeext'
10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then
10866 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.
$ac_ext >&5
10871 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
10873 rm -f conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_lib_save_LIBS
10877 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10878 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
10879 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
10886 if test "${HAVE_XPM}" = "yes"; then
10887 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
10888 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
10889 cat >conftest.
$ac_ext <<_ACEOF
10892 cat confdefs.h
>>conftest.
$ac_ext
10893 cat >>conftest.
$ac_ext <<_ACEOF
10894 /* end confdefs.h. */
10895 #include "X11/xpm.h"
10896 #ifndef XpmReturnAllocPixels
10897 no_return_alloc_pixels
10901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10902 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
10910 if test "${HAVE_XPM}" = "yes"; then
10911 echo "$as_me:$LINENO: result: yes" >&5
10912 echo "${ECHO_T}yes" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10920 if test "${HAVE_XPM}" = "yes"; then
10922 cat >>confdefs.h
<<\_ACEOF
10929 ### Use -ljpeg if available, unless `--with-jpeg=no'.
10931 if test "${HAVE_X11}" = "yes"; then
10932 if test "${with_jpeg}" != "no"; then
10933 if test "${ac_cv_header_jerror_h+set}" = set; then
10934 echo "$as_me:$LINENO: checking for jerror.h" >&5
10935 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
10936 if test "${ac_cv_header_jerror_h+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
10940 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
10942 # Is the header compilable?
10943 echo "$as_me:$LINENO: checking jerror.h usability" >&5
10944 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
10945 cat >conftest.
$ac_ext <<_ACEOF
10948 cat confdefs.h
>>conftest.
$ac_ext
10949 cat >>conftest.
$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 $ac_includes_default
10952 #include <jerror.h>
10954 rm -f conftest.
$ac_objext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -z "$ac_c_werror_flag"
10964 || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try
='test -s conftest.$ac_objext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 ac_header_compiler
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 ac_header_compiler
=no
10983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10985 echo "${ECHO_T}$ac_header_compiler" >&6
10987 # Is the header present?
10988 echo "$as_me:$LINENO: checking jerror.h presence" >&5
10989 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
10990 cat >conftest.
$ac_ext <<_ACEOF
10993 cat confdefs.h
>>conftest.
$ac_ext
10994 cat >>conftest.
$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 #include <jerror.h>
10998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11001 grep -v '^ *+' conftest.er1
>conftest.err
11003 cat conftest.err
>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } >/dev
/null
; then
11006 if test -s conftest.err
; then
11007 ac_cpp_err
=$ac_c_preproc_warn_flag
11008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11015 if test -z "$ac_cpp_err"; then
11016 ac_header_preproc
=yes
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.
$ac_ext >&5
11021 ac_header_preproc
=no
11023 rm -f conftest.err conftest.
$ac_ext
11024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11025 echo "${ECHO_T}$ac_header_preproc" >&6
11027 # So? What about this header?
11028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11030 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11031 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11032 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11033 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11034 ac_header_preproc
=yes
11037 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11038 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11039 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11040 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11041 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11042 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11043 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11044 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11045 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11046 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11047 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11048 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11051 ## ------------------------------------------ ##
11052 ## Report this to the AC_PACKAGE_NAME lists. ##
11053 ## ------------------------------------------ ##
11056 sed "s/^/$as_me: WARNING: /" >&2
11059 echo "$as_me:$LINENO: checking for jerror.h" >&5
11060 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11061 if test "${ac_cv_header_jerror_h+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 ac_cv_header_jerror_h
=$ac_header_preproc
11066 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11067 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11070 if test $ac_cv_header_jerror_h = yes; then
11071 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11072 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11073 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 ac_check_lib_save_LIBS
=$LIBS
11077 LIBS
="-ljpeg $LIBS"
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11085 /* Override any gcc2 internal prototype to avoid an error. */
11089 /* We use char because int might match the return type of a gcc2
11090 builtin and then its argument prototype would still apply. */
11091 char jpeg_destroy_compress ();
11095 jpeg_destroy_compress ();
11100 rm -f conftest.
$ac_objext conftest
$ac_exeext
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11102 (eval $ac_link) 2>conftest.er1
11104 grep -v '^ *+' conftest.er1
>conftest.err
11106 cat conftest.err
>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } &&
11109 { ac_try
='test -z "$ac_c_werror_flag"
11110 || test ! -s conftest.err'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; } &&
11116 { ac_try
='test -s conftest$ac_exeext'
11117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11118 (eval $ac_try) 2>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); }; }; then
11122 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.
$ac_ext >&5
11127 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11129 rm -f conftest.err conftest.
$ac_objext \
11130 conftest
$ac_exeext conftest.
$ac_ext
11131 LIBS
=$ac_check_lib_save_LIBS
11133 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11134 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11135 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11145 if test "${HAVE_JPEG}" = "yes"; then
11146 cat >>confdefs.h
<<\_ACEOF
11147 #define HAVE_JPEG 1
11150 cat >conftest.
$ac_ext <<_ACEOF
11153 cat confdefs.h
>>conftest.
$ac_ext
11154 cat >>conftest.
$ac_ext <<_ACEOF
11155 /* end confdefs.h. */
11156 #include <jpeglib.h>
11157 version=JPEG_LIB_VERSION
11160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11161 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11162 cat >>confdefs.h
<<\_ACEOF
11163 #define HAVE_JPEG 1
11167 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11168 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11176 ### Use -lpng if available, unless `--with-png=no'.
11178 if test "${HAVE_X11}" = "yes"; then
11179 if test "${with_png}" != "no"; then
11180 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11181 # in /usr/include/libpng.
11184 for ac_header
in png.h libpng
/png.h
11186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11188 echo "$as_me:$LINENO: checking for $ac_header" >&5
11189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11196 # Is the header compilable?
11197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11205 $ac_includes_default
11206 #include <$ac_header>
11208 rm -f conftest.
$ac_objext
11209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11210 (eval $ac_compile) 2>conftest.er1
11212 grep -v '^ *+' conftest.er1
>conftest.err
11214 cat conftest.err
>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } &&
11217 { ac_try
='test -z "$ac_c_werror_flag"
11218 || test ! -s conftest.err'
11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220 (eval $ac_try) 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try
='test -s conftest.$ac_objext'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; }; then
11230 ac_header_compiler
=yes
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.
$ac_ext >&5
11235 ac_header_compiler
=no
11237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11239 echo "${ECHO_T}$ac_header_compiler" >&6
11241 # Is the header present?
11242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250 #include <$ac_header>
11252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11255 grep -v '^ *+' conftest.er1
>conftest.err
11257 cat conftest.err
>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } >/dev
/null
; then
11260 if test -s conftest.err
; then
11261 ac_cpp_err
=$ac_c_preproc_warn_flag
11262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11269 if test -z "$ac_cpp_err"; then
11270 ac_header_preproc
=yes
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.
$ac_ext >&5
11275 ac_header_preproc
=no
11277 rm -f conftest.err conftest.
$ac_ext
11278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11279 echo "${ECHO_T}$ac_header_preproc" >&6
11281 # So? What about this header?
11282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11288 ac_header_preproc
=yes
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11305 ## ------------------------------------------ ##
11306 ## Report this to the AC_PACKAGE_NAME lists. ##
11307 ## ------------------------------------------ ##
11310 sed "s/^/$as_me: WARNING: /" >&2
11313 echo "$as_me:$LINENO: checking for $ac_header" >&5
11314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 eval "$as_ac_Header=\$ac_header_preproc"
11320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11325 cat >>confdefs.h
<<_ACEOF
11326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11333 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11334 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11335 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11336 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 ac_check_lib_save_LIBS
=$LIBS
11340 LIBS
="-lpng -lz -lm $LIBS"
11341 cat >conftest.
$ac_ext <<_ACEOF
11344 cat confdefs.h
>>conftest.
$ac_ext
11345 cat >>conftest.
$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11348 /* Override any gcc2 internal prototype to avoid an error. */
11352 /* We use char because int might match the return type of a gcc2
11353 builtin and then its argument prototype would still apply. */
11354 char png_get_channels ();
11358 png_get_channels ();
11363 rm -f conftest.
$ac_objext conftest
$ac_exeext
11364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11365 (eval $ac_link) 2>conftest.er1
11367 grep -v '^ *+' conftest.er1
>conftest.err
11369 cat conftest.err
>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } &&
11372 { ac_try
='test -z "$ac_c_werror_flag"
11373 || test ! -s conftest.err'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; } &&
11379 { ac_try
='test -s conftest$ac_exeext'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11385 ac_cv_lib_png_png_get_channels
=yes
11387 echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.
$ac_ext >&5
11390 ac_cv_lib_png_png_get_channels
=no
11392 rm -f conftest.err conftest.
$ac_objext \
11393 conftest
$ac_exeext conftest.
$ac_ext
11394 LIBS
=$ac_check_lib_save_LIBS
11396 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
11397 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
11398 if test $ac_cv_lib_png_png_get_channels = yes; then
11405 if test "${HAVE_PNG}" = "yes"; then
11407 cat >>confdefs.h
<<\_ACEOF
11414 ### Use -ltiff if available, unless `--with-tiff=no'.
11416 if test "${HAVE_X11}" = "yes"; then
11417 if test "${with_tiff}" != "no"; then
11418 if test "${ac_cv_header_tiffio_h+set}" = set; then
11419 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11420 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11421 if test "${ac_cv_header_tiffio_h+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11425 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11427 # Is the header compilable?
11428 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
11429 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 $ac_includes_default
11437 #include <tiffio.h>
11439 rm -f conftest.
$ac_objext
11440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11441 (eval $ac_compile) 2>conftest.er1
11443 grep -v '^ *+' conftest.er1
>conftest.err
11445 cat conftest.err
>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } &&
11448 { ac_try
='test -z "$ac_c_werror_flag"
11449 || test ! -s conftest.err'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; } &&
11455 { ac_try
='test -s conftest.$ac_objext'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; }; then
11461 ac_header_compiler
=yes
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.
$ac_ext >&5
11466 ac_header_compiler
=no
11468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11470 echo "${ECHO_T}$ac_header_compiler" >&6
11472 # Is the header present?
11473 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
11474 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
11475 cat >conftest.
$ac_ext <<_ACEOF
11478 cat confdefs.h
>>conftest.
$ac_ext
11479 cat >>conftest.
$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <tiffio.h>
11483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11486 grep -v '^ *+' conftest.er1
>conftest.err
11488 cat conftest.err
>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } >/dev
/null
; then
11491 if test -s conftest.err
; then
11492 ac_cpp_err
=$ac_c_preproc_warn_flag
11493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11500 if test -z "$ac_cpp_err"; then
11501 ac_header_preproc
=yes
11503 echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.
$ac_ext >&5
11506 ac_header_preproc
=no
11508 rm -f conftest.err conftest.
$ac_ext
11509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11510 echo "${ECHO_T}$ac_header_preproc" >&6
11512 # So? What about this header?
11513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11515 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
11516 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11517 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
11518 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
11519 ac_header_preproc
=yes
11522 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
11523 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
11525 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
11527 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
11528 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
11529 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
11531 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
11532 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
11533 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
11536 ## ------------------------------------------ ##
11537 ## Report this to the AC_PACKAGE_NAME lists. ##
11538 ## ------------------------------------------ ##
11541 sed "s/^/$as_me: WARNING: /" >&2
11544 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11545 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11546 if test "${ac_cv_header_tiffio_h+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 ac_cv_header_tiffio_h
=$ac_header_preproc
11551 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11552 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11555 if test $ac_cv_header_tiffio_h = yes; then
11557 # At least one tiff package requires the jpeg library.
11558 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
11559 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
11560 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
11561 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 ac_check_lib_save_LIBS
=$LIBS
11565 LIBS
="-ltiff $tifflibs $LIBS"
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11573 /* Override any gcc2 internal prototype to avoid an error. */
11577 /* We use char because int might match the return type of a gcc2
11578 builtin and then its argument prototype would still apply. */
11579 char TIFFGetVersion ();
11588 rm -f conftest.
$ac_objext conftest
$ac_exeext
11589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11590 (eval $ac_link) 2>conftest.er1
11592 grep -v '^ *+' conftest.er1
>conftest.err
11594 cat conftest.err
>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); } &&
11597 { ac_try
='test -z "$ac_c_werror_flag"
11598 || test ! -s conftest.err'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; } &&
11604 { ac_try
='test -s conftest$ac_exeext'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; }; then
11610 ac_cv_lib_tiff_TIFFGetVersion
=yes
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.
$ac_ext >&5
11615 ac_cv_lib_tiff_TIFFGetVersion
=no
11617 rm -f conftest.err conftest.
$ac_objext \
11618 conftest
$ac_exeext conftest.
$ac_ext
11619 LIBS
=$ac_check_lib_save_LIBS
11621 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
11622 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
11623 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
11632 if test "${HAVE_TIFF}" = "yes"; then
11634 cat >>confdefs.h
<<\_ACEOF
11635 #define HAVE_TIFF 1
11641 ### Use -lgif if available, unless `--with-gif=no'.
11643 if test "${HAVE_X11}" = "yes"; then
11644 if test "${with_gif}" != "no"; then
11645 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11646 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
11647 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
11648 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11651 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
11652 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
11654 # Is the header compilable?
11655 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
11656 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
11657 cat >conftest.
$ac_ext <<_ACEOF
11660 cat confdefs.h
>>conftest.
$ac_ext
11661 cat >>conftest.
$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11663 $ac_includes_default
11664 #include <gif_lib.h>
11666 rm -f conftest.
$ac_objext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11668 (eval $ac_compile) 2>conftest.er1
11670 grep -v '^ *+' conftest.er1
>conftest.err
11672 cat conftest.err
>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try
='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try
='test -s conftest.$ac_objext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_header_compiler
=yes
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.
$ac_ext >&5
11693 ac_header_compiler
=no
11695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11697 echo "${ECHO_T}$ac_header_compiler" >&6
11699 # Is the header present?
11700 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
11701 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
11702 cat >conftest.
$ac_ext <<_ACEOF
11705 cat confdefs.h
>>conftest.
$ac_ext
11706 cat >>conftest.
$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 #include <gif_lib.h>
11710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11713 grep -v '^ *+' conftest.er1
>conftest.err
11715 cat conftest.err
>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } >/dev
/null
; then
11718 if test -s conftest.err
; then
11719 ac_cpp_err
=$ac_c_preproc_warn_flag
11720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11727 if test -z "$ac_cpp_err"; then
11728 ac_header_preproc
=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11733 ac_header_preproc
=no
11735 rm -f conftest.err conftest.
$ac_ext
11736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11737 echo "${ECHO_T}$ac_header_preproc" >&6
11739 # So? What about this header?
11740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11742 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
11743 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
11745 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
11746 ac_header_preproc
=yes
11749 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
11750 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
11751 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
11752 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
11753 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
11754 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
11755 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
11756 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
11757 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
11758 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
11760 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
11763 ## ------------------------------------------ ##
11764 ## Report this to the AC_PACKAGE_NAME lists. ##
11765 ## ------------------------------------------ ##
11768 sed "s/^/$as_me: WARNING: /" >&2
11771 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
11772 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
11773 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11776 ac_cv_header_gif_lib_h
=$ac_header_preproc
11778 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
11779 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
11782 if test $ac_cv_header_gif_lib_h = yes; then
11783 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
11784 # Earlier versions can crash Emacs.
11785 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
11786 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
11787 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
11788 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 ac_check_lib_save_LIBS
=$LIBS
11791 LIBS
="-lungif $LIBS"
11792 cat >conftest.
$ac_ext <<_ACEOF
11795 cat confdefs.h
>>conftest.
$ac_ext
11796 cat >>conftest.
$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11799 /* Override any gcc2 internal prototype to avoid an error. */
11803 /* We use char because int might match the return type of a gcc2
11804 builtin and then its argument prototype would still apply. */
11805 char EGifPutExtensionLast ();
11809 EGifPutExtensionLast ();
11814 rm -f conftest.
$ac_objext conftest
$ac_exeext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11816 (eval $ac_link) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_c_werror_flag"
11824 || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try
='test -s conftest$ac_exeext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.
$ac_ext >&5
11841 ac_cv_lib_ungif_EGifPutExtensionLast
=no
11843 rm -f conftest.err conftest.
$ac_objext \
11844 conftest
$ac_exeext conftest.
$ac_ext
11845 LIBS
=$ac_check_lib_save_LIBS
11847 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
11848 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
11849 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
11858 if test "${HAVE_GIF}" = "yes"; then
11860 cat >>confdefs.h
<<\_ACEOF
11867 ### Use Mac OS X Carbon API to implement GUI.
11869 if test "${with_carbon}" != "no"; then
11870 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
11871 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
11872 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
11873 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11876 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
11877 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
11879 # Is the header compilable?
11880 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
11881 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
11882 cat >conftest.
$ac_ext <<_ACEOF
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 $ac_includes_default
11889 #include <Carbon/Carbon.h>
11891 rm -f conftest.
$ac_objext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11893 (eval $ac_compile) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try
='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try
='test -s conftest.$ac_objext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_header_compiler
=yes
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ac_header_compiler
=no
11920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11922 echo "${ECHO_T}$ac_header_compiler" >&6
11924 # Is the header present?
11925 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
11926 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
11927 cat >conftest.
$ac_ext <<_ACEOF
11930 cat confdefs.h
>>conftest.
$ac_ext
11931 cat >>conftest.
$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11933 #include <Carbon/Carbon.h>
11935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11938 grep -v '^ *+' conftest.er1
>conftest.err
11940 cat conftest.err
>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } >/dev
/null
; then
11943 if test -s conftest.err
; then
11944 ac_cpp_err
=$ac_c_preproc_warn_flag
11945 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11952 if test -z "$ac_cpp_err"; then
11953 ac_header_preproc
=yes
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.
$ac_ext >&5
11958 ac_header_preproc
=no
11960 rm -f conftest.err conftest.
$ac_ext
11961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11962 echo "${ECHO_T}$ac_header_preproc" >&6
11964 # So? What about this header?
11965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11967 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
11968 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11969 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
11970 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
11971 ac_header_preproc
=yes
11974 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
11975 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
11976 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
11977 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
11978 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
11979 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
11980 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
11981 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
11982 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
11983 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
11984 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
11985 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
11988 ## ------------------------------------------ ##
11989 ## Report this to the AC_PACKAGE_NAME lists. ##
11990 ## ------------------------------------------ ##
11993 sed "s/^/$as_me: WARNING: /" >&2
11996 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
11997 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
11998 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
12003 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12004 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12007 if test $ac_cv_header_Carbon_Carbon_h = yes; then
12014 if test "${HAVE_CARBON}" = "yes"; then
12016 cat >>confdefs.h
<<\_ACEOF
12017 #define HAVE_CARBON 1
12021 ## Specify the install directory
12023 if test "${carbon_appdir_x}" != ""; then
12024 case ${carbon_appdir_x} in
12025 y | ye |
yes) carbon_appdir
=/Applications
;;
12026 * ) carbon_appdir
=${carbon_appdir_x} ;;
12029 # We also have mouse menus.
12033 ### Use session management (-lSM -lICE) if available
12035 if test "${HAVE_X11}" = "yes"; then
12036 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12037 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12038 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12039 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12043 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12045 # Is the header compilable?
12046 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12047 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12048 cat >conftest.
$ac_ext <<_ACEOF
12051 cat confdefs.h
>>conftest.
$ac_ext
12052 cat >>conftest.
$ac_ext <<_ACEOF
12053 /* end confdefs.h. */
12054 $ac_includes_default
12055 #include <X11/SM/SMlib.h>
12057 rm -f conftest.
$ac_objext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>conftest.er1
12061 grep -v '^ *+' conftest.er1
>conftest.err
12063 cat conftest.err
>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try
='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try
='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ac_header_compiler
=yes
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.
$ac_ext >&5
12084 ac_header_compiler
=no
12086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12088 echo "${ECHO_T}$ac_header_compiler" >&6
12090 # Is the header present?
12091 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12092 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12093 cat >conftest.
$ac_ext <<_ACEOF
12096 cat confdefs.h
>>conftest.
$ac_ext
12097 cat >>conftest.
$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12099 #include <X11/SM/SMlib.h>
12101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1
>conftest.err
12106 cat conftest.err
>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } >/dev
/null
; then
12109 if test -s conftest.err
; then
12110 ac_cpp_err
=$ac_c_preproc_warn_flag
12111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12118 if test -z "$ac_cpp_err"; then
12119 ac_header_preproc
=yes
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.
$ac_ext >&5
12124 ac_header_preproc
=no
12126 rm -f conftest.err conftest.
$ac_ext
12127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12128 echo "${ECHO_T}$ac_header_preproc" >&6
12130 # So? What about this header?
12131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12133 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12134 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12135 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12136 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12137 ac_header_preproc
=yes
12140 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12141 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12142 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12143 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12144 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12145 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12146 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12147 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12148 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12149 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12150 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12151 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12154 ## ------------------------------------------ ##
12155 ## Report this to the AC_PACKAGE_NAME lists. ##
12156 ## ------------------------------------------ ##
12159 sed "s/^/$as_me: WARNING: /" >&2
12162 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12163 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12164 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12169 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12170 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12173 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12174 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12175 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12176 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 ac_check_lib_save_LIBS
=$LIBS
12180 LIBS
="-lSM -lICE $LIBS"
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12188 /* Override any gcc2 internal prototype to avoid an error. */
12192 /* We use char because int might match the return type of a gcc2
12193 builtin and then its argument prototype would still apply. */
12194 char SmcOpenConnection ();
12198 SmcOpenConnection ();
12203 rm -f conftest.
$ac_objext conftest
$ac_exeext
12204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12205 (eval $ac_link) 2>conftest.er1
12207 grep -v '^ *+' conftest.er1
>conftest.err
12209 cat conftest.err
>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); } &&
12212 { ac_try
='test -z "$ac_c_werror_flag"
12213 || test ! -s conftest.err'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; } &&
12219 { ac_try
='test -s conftest$ac_exeext'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; }; then
12225 ac_cv_lib_SM_SmcOpenConnection
=yes
12227 echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.
$ac_ext >&5
12230 ac_cv_lib_SM_SmcOpenConnection
=no
12232 rm -f conftest.err conftest.
$ac_objext \
12233 conftest
$ac_exeext conftest.
$ac_ext
12234 LIBS
=$ac_check_lib_save_LIBS
12236 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12237 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12238 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12246 if test "${HAVE_X_SM}" = "yes"; then
12248 cat >>confdefs.h
<<\_ACEOF
12249 #define HAVE_X_SM 1
12254 *) LIBS
="-lSM -lICE $LIBS" ;;
12259 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12260 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12261 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12262 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 cat >conftest.
$ac_ext <<_ACEOF
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12280 rm -f conftest.
$ac_objext conftest
$ac_exeext
12281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12282 (eval $ac_link) 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } &&
12289 { ac_try
='test -z "$ac_c_werror_flag"
12290 || test ! -s conftest.err'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; } &&
12296 { ac_try
='test -s conftest$ac_exeext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 emacs_cv_netdb_declares_h_errno
=yes
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 emacs_cv_netdb_declares_h_errno
=no
12309 rm -f conftest.err conftest.
$ac_objext \
12310 conftest
$ac_exeext conftest.
$ac_ext
12312 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
12313 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
12314 if test $emacs_cv_netdb_declares_h_errno = yes; then
12316 cat >>confdefs.h
<<\_ACEOF
12317 #define HAVE_H_ERRNO 1
12322 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12323 # for constant arguments. Useless!
12324 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12325 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12326 if test "${ac_cv_working_alloca_h+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 cat >conftest.
$ac_ext <<_ACEOF
12332 cat confdefs.h
>>conftest.
$ac_ext
12333 cat >>conftest.
$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12335 #include <alloca.h>
12339 char *p = (char *) alloca (2 * sizeof (int));
12344 rm -f conftest.
$ac_objext conftest
$ac_exeext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>conftest.er1
12348 grep -v '^ *+' conftest.er1
>conftest.err
12350 cat conftest.err
>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try
='test -z "$ac_c_werror_flag"
12354 || test ! -s conftest.err'
12355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 (eval $ac_try) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); }; } &&
12360 { ac_try
='test -s conftest$ac_exeext'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12366 ac_cv_working_alloca_h
=yes
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.
$ac_ext >&5
12371 ac_cv_working_alloca_h
=no
12373 rm -f conftest.err conftest.
$ac_objext \
12374 conftest
$ac_exeext conftest.
$ac_ext
12376 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12377 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12378 if test $ac_cv_working_alloca_h = yes; then
12380 cat >>confdefs.h
<<\_ACEOF
12381 #define HAVE_ALLOCA_H 1
12386 echo "$as_me:$LINENO: checking for alloca" >&5
12387 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12388 if test "${ac_cv_func_alloca_works+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 cat >conftest.
$ac_ext <<_ACEOF
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12398 # define alloca __builtin_alloca
12401 # include <malloc.h>
12402 # define alloca _alloca
12405 # include <alloca.h>
12410 # ifndef alloca /* predefined by HP cc +Olibcalls */
12421 char *p = (char *) alloca (1);
12426 rm -f conftest.
$ac_objext conftest
$ac_exeext
12427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12428 (eval $ac_link) 2>conftest.er1
12430 grep -v '^ *+' conftest.er1
>conftest.err
12432 cat conftest.err
>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } &&
12435 { ac_try
='test -z "$ac_c_werror_flag"
12436 || test ! -s conftest.err'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; } &&
12442 { ac_try
='test -s conftest$ac_exeext'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12448 ac_cv_func_alloca_works
=yes
12450 echo "$as_me: failed program was:" >&5
12451 sed 's/^/| /' conftest.
$ac_ext >&5
12453 ac_cv_func_alloca_works
=no
12455 rm -f conftest.err conftest.
$ac_objext \
12456 conftest
$ac_exeext conftest.
$ac_ext
12458 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12459 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12461 if test $ac_cv_func_alloca_works = yes; then
12463 cat >>confdefs.h
<<\_ACEOF
12464 #define HAVE_ALLOCA 1
12468 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12469 # that cause trouble. Some versions do not even contain alloca or
12470 # contain a buggy version. If you still want to use their alloca,
12471 # use ar to extract alloca.o from them instead of compiling alloca.c.
12473 ALLOCA
=alloca.
$ac_objext
12475 cat >>confdefs.h
<<\_ACEOF
12480 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12481 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12482 if test "${ac_cv_os_cray+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 cat >conftest.
$ac_ext <<_ACEOF
12488 cat confdefs.h
>>conftest.
$ac_ext
12489 cat >>conftest.
$ac_ext <<_ACEOF
12490 /* end confdefs.h. */
12491 #if defined(CRAY) && ! defined(CRAY2)
12498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12499 $EGREP "webecray" >/dev
/null
2>&1; then
12507 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12508 echo "${ECHO_T}$ac_cv_os_cray" >&6
12509 if test $ac_cv_os_cray = yes; then
12510 for ac_func
in _getb67 GETB67 getb67
; do
12511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12512 echo "$as_me:$LINENO: checking for $ac_func" >&5
12513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12514 if eval "test \"\${$as_ac_var+set}\" = set"; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 cat >conftest.
$ac_ext <<_ACEOF
12520 cat confdefs.h
>>conftest.
$ac_ext
12521 cat >>conftest.
$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12525 #define $ac_func innocuous_$ac_func
12527 /* System header to define __stub macros and hopefully few prototypes,
12528 which can conflict with char $ac_func (); below.
12529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12530 <limits.h> exists even on freestanding compilers. */
12533 # include <limits.h>
12535 # include <assert.h>
12540 /* Override any gcc2 internal prototype to avoid an error. */
12545 /* We use char because int might match the return type of a gcc2
12546 builtin and then its argument prototype would still apply. */
12548 /* The GNU C library defines this for functions which it implements
12549 to always fail with ENOSYS. Some functions are actually named
12550 something starting with __ and the normal name is an alias. */
12551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12554 char (*f) () = $ac_func;
12563 return f != $ac_func;
12568 rm -f conftest.
$ac_objext conftest
$ac_exeext
12569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12570 (eval $ac_link) 2>conftest.er1
12572 grep -v '^ *+' conftest.er1
>conftest.err
12574 cat conftest.err
>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } &&
12577 { ac_try
='test -z "$ac_c_werror_flag"
12578 || test ! -s conftest.err'
12579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12580 (eval $ac_try) 2>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; } &&
12584 { ac_try
='test -s conftest$ac_exeext'
12585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12586 (eval $ac_try) 2>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; }; then
12590 eval "$as_ac_var=yes"
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.
$ac_ext >&5
12595 eval "$as_ac_var=no"
12597 rm -f conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12602 if test `eval echo '${'$as_ac_var'}'` = yes; then
12604 cat >>confdefs.h
<<_ACEOF
12605 #define CRAY_STACKSEG_END $ac_func
12614 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12615 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12616 if test "${ac_cv_c_stack_direction+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 if test "$cross_compiling" = yes; then
12620 ac_cv_c_stack_direction
=0
12622 cat >conftest.
$ac_ext <<_ACEOF
12625 cat confdefs.h
>>conftest.
$ac_ext
12626 cat >>conftest.
$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12629 find_stack_direction ()
12631 static char *addr = 0;
12636 return find_stack_direction ();
12639 return (&dummy > addr) ? 1 : -1;
12645 exit (find_stack_direction () < 0);
12648 rm -f conftest
$ac_exeext
12649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12650 (eval $ac_link) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12659 ac_cv_c_stack_direction
=1
12661 echo "$as_me: program exited with status $ac_status" >&5
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.
$ac_ext >&5
12665 ( exit $ac_status )
12666 ac_cv_c_stack_direction
=-1
12668 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12671 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12672 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12674 cat >>confdefs.h
<<_ACEOF
12675 #define STACK_DIRECTION $ac_cv_c_stack_direction
12682 # fmod, logb, and frexp are found in -lm on most systems.
12683 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
12685 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
12686 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
12687 if test "${ac_cv_lib_m_sqrt+set}" = set; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12690 ac_check_lib_save_LIBS
=$LIBS
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12699 /* Override any gcc2 internal prototype to avoid an error. */
12703 /* We use char because int might match the return type of a gcc2
12704 builtin and then its argument prototype would still apply. */
12714 rm -f conftest.
$ac_objext conftest
$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>conftest.er1
12718 grep -v '^ *+' conftest.er1
>conftest.err
12720 cat conftest.err
>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } &&
12723 { ac_try
='test -z "$ac_c_werror_flag"
12724 || test ! -s conftest.err'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try
='test -s conftest$ac_exeext'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; }; then
12736 ac_cv_lib_m_sqrt
=yes
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.
$ac_ext >&5
12741 ac_cv_lib_m_sqrt
=no
12743 rm -f conftest.err conftest.
$ac_objext \
12744 conftest
$ac_exeext conftest.
$ac_ext
12745 LIBS
=$ac_check_lib_save_LIBS
12747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
12748 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
12749 if test $ac_cv_lib_m_sqrt = yes; then
12750 cat >>confdefs.h
<<_ACEOF
12751 #define HAVE_LIBM 1
12759 # Check for mail-locking functions in a "mail" library. Probably this should
12760 # have the same check as for liblockfile below.
12762 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
12763 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
12764 if test "${ac_cv_lib_mail_maillock+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 ac_check_lib_save_LIBS
=$LIBS
12768 LIBS
="-lmail $LIBS"
12769 cat >conftest.
$ac_ext <<_ACEOF
12772 cat confdefs.h
>>conftest.
$ac_ext
12773 cat >>conftest.
$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12776 /* Override any gcc2 internal prototype to avoid an error. */
12780 /* We use char because int might match the return type of a gcc2
12781 builtin and then its argument prototype would still apply. */
12791 rm -f conftest.
$ac_objext conftest
$ac_exeext
12792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12793 (eval $ac_link) 2>conftest.er1
12795 grep -v '^ *+' conftest.er1
>conftest.err
12797 cat conftest.err
>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try
='test -z "$ac_c_werror_flag"
12801 || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try
='test -s conftest$ac_exeext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12813 ac_cv_lib_mail_maillock
=yes
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.
$ac_ext >&5
12818 ac_cv_lib_mail_maillock
=no
12820 rm -f conftest.err conftest.
$ac_objext \
12821 conftest
$ac_exeext conftest.
$ac_ext
12822 LIBS
=$ac_check_lib_save_LIBS
12824 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
12825 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
12826 if test $ac_cv_lib_mail_maillock = yes; then
12827 cat >>confdefs.h
<<_ACEOF
12828 #define HAVE_LIBMAIL 1
12831 LIBS
="-lmail $LIBS"
12836 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
12837 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
12838 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 ac_check_lib_save_LIBS
=$LIBS
12842 LIBS
="-llockfile $LIBS"
12843 cat >conftest.
$ac_ext <<_ACEOF
12846 cat confdefs.h
>>conftest.
$ac_ext
12847 cat >>conftest.
$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12850 /* Override any gcc2 internal prototype to avoid an error. */
12854 /* We use char because int might match the return type of a gcc2
12855 builtin and then its argument prototype would still apply. */
12865 rm -f conftest.
$ac_objext conftest
$ac_exeext
12866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12867 (eval $ac_link) 2>conftest.er1
12869 grep -v '^ *+' conftest.er1
>conftest.err
12871 cat conftest.err
>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); } &&
12874 { ac_try
='test -z "$ac_c_werror_flag"
12875 || test ! -s conftest.err'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; } &&
12881 { ac_try
='test -s conftest$ac_exeext'
12882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12883 (eval $ac_try) 2>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); }; }; then
12887 ac_cv_lib_lockfile_maillock
=yes
12889 echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.
$ac_ext >&5
12892 ac_cv_lib_lockfile_maillock
=no
12894 rm -f conftest.err conftest.
$ac_objext \
12895 conftest
$ac_exeext conftest.
$ac_ext
12896 LIBS
=$ac_check_lib_save_LIBS
12898 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
12899 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
12900 if test $ac_cv_lib_lockfile_maillock = yes; then
12901 cat >>confdefs.h
<<_ACEOF
12902 #define HAVE_LIBLOCKFILE 1
12905 LIBS
="-llockfile $LIBS"
12909 # If we have the shared liblockfile, assume we must use it for mail
12910 # locking (e.g. Debian). If we couldn't link against liblockfile
12911 # (no liblockfile.a installed), ensure that we don't need to.
12912 if test "$ac_cv_lib_lockfile_maillock" = no
; then
12913 # Extract the first word of "liblockfile.so", so it can be a program name with args.
12914 set dummy liblockfile.so
; ac_word
=$2
12915 echo "$as_me:$LINENO: checking for $ac_word" >&5
12916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12917 if test "${ac_cv_prog_liblockfile+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 if test -n "$liblockfile"; then
12921 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
12923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12924 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
12925 for as_dir
in $as_dummy
12928 test -z "$as_dir" && as_dir
=.
12929 for ac_exec_ext
in '' $ac_executable_extensions; do
12930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12931 ac_cv_prog_liblockfile
="yes"
12932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12938 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
12941 liblockfile
=$ac_cv_prog_liblockfile
12942 if test -n "$liblockfile"; then
12943 echo "$as_me:$LINENO: result: $liblockfile" >&5
12944 echo "${ECHO_T}$liblockfile" >&6
12946 echo "$as_me:$LINENO: result: no" >&5
12947 echo "${ECHO_T}no" >&6
12950 if test $ac_cv_prog_liblockfile = yes; then
12951 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
12952 This probably means that movemail could lose mail.
12953 There may be a \`development' package to install containing liblockfile." >&5
12954 echo "$as_me: error: Shared liblockfile found but can't link against it.
12955 This probably means that movemail could lose mail.
12956 There may be a \`development' package to install containing liblockfile." >&2;}
12957 { (exit 1); exit 1; }; }
12962 for ac_func
in touchlock
12964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12965 echo "$as_me:$LINENO: checking for $ac_func" >&5
12966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_var+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 cat >conftest.
$ac_ext <<_ACEOF
12973 cat confdefs.h
>>conftest.
$ac_ext
12974 cat >>conftest.
$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12978 #define $ac_func innocuous_$ac_func
12980 /* System header to define __stub macros and hopefully few prototypes,
12981 which can conflict with char $ac_func (); below.
12982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12983 <limits.h> exists even on freestanding compilers. */
12986 # include <limits.h>
12988 # include <assert.h>
12993 /* Override any gcc2 internal prototype to avoid an error. */
12998 /* We use char because int might match the return type of a gcc2
12999 builtin and then its argument prototype would still apply. */
13001 /* The GNU C library defines this for functions which it implements
13002 to always fail with ENOSYS. Some functions are actually named
13003 something starting with __ and the normal name is an alias. */
13004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13007 char (*f) () = $ac_func;
13016 return f != $ac_func;
13021 rm -f conftest.
$ac_objext conftest
$ac_exeext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13023 (eval $ac_link) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } &&
13030 { ac_try
='test -z "$ac_c_werror_flag"
13031 || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try
='test -s conftest$ac_exeext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 eval "$as_ac_var=yes"
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.
$ac_ext >&5
13048 eval "$as_ac_var=no"
13050 rm -f conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13055 if test `eval echo '${'$as_ac_var'}'` = yes; then
13056 cat >>confdefs.h
<<_ACEOF
13057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13064 for ac_header
in maillock.h
13066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13068 echo "$as_me:$LINENO: checking for $ac_header" >&5
13069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13076 # Is the header compilable?
13077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13079 cat >conftest.
$ac_ext <<_ACEOF
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085 $ac_includes_default
13086 #include <$ac_header>
13088 rm -f conftest.
$ac_objext
13089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13090 (eval $ac_compile) 2>conftest.er1
13092 grep -v '^ *+' conftest.er1
>conftest.err
13094 cat conftest.err
>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } &&
13097 { ac_try
='test -z "$ac_c_werror_flag"
13098 || test ! -s conftest.err'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; } &&
13104 { ac_try
='test -s conftest.$ac_objext'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; }; then
13110 ac_header_compiler
=yes
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.
$ac_ext >&5
13115 ac_header_compiler
=no
13117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13119 echo "${ECHO_T}$ac_header_compiler" >&6
13121 # Is the header present?
13122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #include <$ac_header>
13132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13135 grep -v '^ *+' conftest.er1
>conftest.err
13137 cat conftest.err
>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } >/dev
/null
; then
13140 if test -s conftest.err
; then
13141 ac_cpp_err
=$ac_c_preproc_warn_flag
13142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13149 if test -z "$ac_cpp_err"; then
13150 ac_header_preproc
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_preproc
=no
13157 rm -f conftest.err conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13159 echo "${ECHO_T}$ac_header_preproc" >&6
13161 # So? What about this header?
13162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13168 ac_header_preproc
=yes
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13185 ## ------------------------------------------ ##
13186 ## Report this to the AC_PACKAGE_NAME lists. ##
13187 ## ------------------------------------------ ##
13190 sed "s/^/$as_me: WARNING: /" >&2
13193 echo "$as_me:$LINENO: checking for $ac_header" >&5
13194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 eval "$as_ac_Header=\$ac_header_preproc"
13200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13205 cat >>confdefs.h
<<_ACEOF
13206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13281 for ac_func
in gethostname getdomainname dup2 \
13282 rename closedir mkdir
rmdir sysinfo \
13283 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13284 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13285 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13286 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13287 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13288 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13289 memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign
13291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13292 echo "$as_me:$LINENO: checking for $ac_func" >&5
13293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_var+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 cat >conftest.
$ac_ext <<_ACEOF
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13305 #define $ac_func innocuous_$ac_func
13307 /* System header to define __stub macros and hopefully few prototypes,
13308 which can conflict with char $ac_func (); below.
13309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13310 <limits.h> exists even on freestanding compilers. */
13313 # include <limits.h>
13315 # include <assert.h>
13320 /* Override any gcc2 internal prototype to avoid an error. */
13325 /* We use char because int might match the return type of a gcc2
13326 builtin and then its argument prototype would still apply. */
13328 /* The GNU C library defines this for functions which it implements
13329 to always fail with ENOSYS. Some functions are actually named
13330 something starting with __ and the normal name is an alias. */
13331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13334 char (*f) () = $ac_func;
13343 return f != $ac_func;
13348 rm -f conftest.
$ac_objext conftest
$ac_exeext
13349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13350 (eval $ac_link) 2>conftest.er1
13352 grep -v '^ *+' conftest.er1
>conftest.err
13354 cat conftest.err
>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try
='test -z "$ac_c_werror_flag"
13358 || test ! -s conftest.err'
13359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360 (eval $ac_try) 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try
='test -s conftest$ac_exeext'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; }; then
13370 eval "$as_ac_var=yes"
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.
$ac_ext >&5
13375 eval "$as_ac_var=no"
13377 rm -f conftest.err conftest.
$ac_objext \
13378 conftest
$ac_exeext conftest.
$ac_ext
13380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13382 if test `eval echo '${'$as_ac_var'}'` = yes; then
13383 cat >>confdefs.h
<<_ACEOF
13384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13392 for ac_header
in sys
/un.h
13394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13396 echo "$as_me:$LINENO: checking for $ac_header" >&5
13397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13399 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13404 # Is the header compilable?
13405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13407 cat >conftest.
$ac_ext <<_ACEOF
13410 cat confdefs.h
>>conftest.
$ac_ext
13411 cat >>conftest.
$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413 $ac_includes_default
13414 #include <$ac_header>
13416 rm -f conftest.
$ac_objext
13417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13418 (eval $ac_compile) 2>conftest.er1
13420 grep -v '^ *+' conftest.er1
>conftest.err
13422 cat conftest.err
>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try
='test -z "$ac_c_werror_flag"
13426 || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try
='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_header_compiler
=yes
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 ac_header_compiler
=no
13445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13447 echo "${ECHO_T}$ac_header_compiler" >&6
13449 # Is the header present?
13450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13452 cat >conftest.
$ac_ext <<_ACEOF
13455 cat confdefs.h
>>conftest.
$ac_ext
13456 cat >>conftest.
$ac_ext <<_ACEOF
13457 /* end confdefs.h. */
13458 #include <$ac_header>
13460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } >/dev
/null
; then
13468 if test -s conftest.err
; then
13469 ac_cpp_err
=$ac_c_preproc_warn_flag
13470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13477 if test -z "$ac_cpp_err"; then
13478 ac_header_preproc
=yes
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.
$ac_ext >&5
13483 ac_header_preproc
=no
13485 rm -f conftest.err conftest.
$ac_ext
13486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13487 echo "${ECHO_T}$ac_header_preproc" >&6
13489 # So? What about this header?
13490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13496 ac_header_preproc
=yes
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13513 ## ------------------------------------------ ##
13514 ## Report this to the AC_PACKAGE_NAME lists. ##
13515 ## ------------------------------------------ ##
13518 sed "s/^/$as_me: WARNING: /" >&2
13521 echo "$as_me:$LINENO: checking for $ac_header" >&5
13522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 eval "$as_ac_Header=\$ac_header_preproc"
13528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13533 cat >>confdefs.h
<<_ACEOF
13534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13545 for ac_header
in stdlib.h sys
/time.h unistd.h
13547 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo "$as_me:$LINENO: checking for $ac_header" >&5
13550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13557 # Is the header compilable?
13558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13560 cat >conftest.
$ac_ext <<_ACEOF
13563 cat confdefs.h
>>conftest.
$ac_ext
13564 cat >>conftest.
$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 $ac_includes_default
13567 #include <$ac_header>
13569 rm -f conftest.
$ac_objext
13570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13571 (eval $ac_compile) 2>conftest.er1
13573 grep -v '^ *+' conftest.er1
>conftest.err
13575 cat conftest.err
>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); } &&
13578 { ac_try
='test -z "$ac_c_werror_flag"
13579 || test ! -s conftest.err'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try
='test -s conftest.$ac_objext'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_header_compiler
=yes
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.
$ac_ext >&5
13596 ac_header_compiler
=no
13598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13600 echo "${ECHO_T}$ac_header_compiler" >&6
13602 # Is the header present?
13603 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13605 cat >conftest.
$ac_ext <<_ACEOF
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 #include <$ac_header>
13613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13614 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13616 grep -v '^ *+' conftest.er1
>conftest.err
13618 cat conftest.err
>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); } >/dev
/null
; then
13621 if test -s conftest.err
; then
13622 ac_cpp_err
=$ac_c_preproc_warn_flag
13623 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13630 if test -z "$ac_cpp_err"; then
13631 ac_header_preproc
=yes
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.
$ac_ext >&5
13636 ac_header_preproc
=no
13638 rm -f conftest.err conftest.
$ac_ext
13639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13640 echo "${ECHO_T}$ac_header_preproc" >&6
13642 # So? What about this header?
13643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13649 ac_header_preproc
=yes
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13666 ## ------------------------------------------ ##
13667 ## Report this to the AC_PACKAGE_NAME lists. ##
13668 ## ------------------------------------------ ##
13671 sed "s/^/$as_me: WARNING: /" >&2
13674 echo "$as_me:$LINENO: checking for $ac_header" >&5
13675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 eval "$as_ac_Header=\$ac_header_preproc"
13681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13686 cat >>confdefs.h
<<_ACEOF
13687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13695 for ac_func
in alarm
13697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13698 echo "$as_me:$LINENO: checking for $ac_func" >&5
13699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13700 if eval "test \"\${$as_ac_var+set}\" = set"; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 cat >conftest.
$ac_ext <<_ACEOF
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13711 #define $ac_func innocuous_$ac_func
13713 /* System header to define __stub macros and hopefully few prototypes,
13714 which can conflict with char $ac_func (); below.
13715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13716 <limits.h> exists even on freestanding compilers. */
13719 # include <limits.h>
13721 # include <assert.h>
13726 /* Override any gcc2 internal prototype to avoid an error. */
13731 /* We use char because int might match the return type of a gcc2
13732 builtin and then its argument prototype would still apply. */
13734 /* The GNU C library defines this for functions which it implements
13735 to always fail with ENOSYS. Some functions are actually named
13736 something starting with __ and the normal name is an alias. */
13737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13740 char (*f) () = $ac_func;
13749 return f != $ac_func;
13754 rm -f conftest.
$ac_objext conftest
$ac_exeext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13756 (eval $ac_link) 2>conftest.er1
13758 grep -v '^ *+' conftest.er1
>conftest.err
13760 cat conftest.err
>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try
='test -z "$ac_c_werror_flag"
13764 || test ! -s conftest.err'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; } &&
13770 { ac_try
='test -s conftest$ac_exeext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 eval "$as_ac_var=yes"
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.
$ac_ext >&5
13781 eval "$as_ac_var=no"
13783 rm -f conftest.err conftest.
$ac_objext \
13784 conftest
$ac_exeext conftest.
$ac_ext
13786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13788 if test `eval echo '${'$as_ac_var'}'` = yes; then
13789 cat >>confdefs.h
<<_ACEOF
13790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13796 echo "$as_me:$LINENO: checking for working mktime" >&5
13797 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
13798 if test "${ac_cv_func_working_mktime+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 if test "$cross_compiling" = yes; then
13802 ac_cv_func_working_mktime
=no
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13810 /* Test program from Paul Eggert and Tony Leneis. */
13811 #if TIME_WITH_SYS_TIME
13812 # include <sys/time.h>
13815 # if HAVE_SYS_TIME_H
13816 # include <sys/time.h>
13823 # include <stdlib.h>
13827 # include <unistd.h>
13831 # define alarm(X) /* empty */
13834 /* Work around redefinition to rpl_putenv by other config tests. */
13837 static time_t time_t_max;
13838 static time_t time_t_min;
13840 /* Values we'll use to set the TZ environment variable. */
13841 static char *tz_strings[] = {
13842 (char *) 0, "TZ=GMT0", "TZ=JST-9",
13843 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
13845 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
13847 /* Fail if mktime fails to convert a date in the spring-forward gap.
13848 Based on a problem report from Andreas Jaeger. */
13850 spring_forward_gap ()
13852 /* glibc (up to about 1998-10-07) failed this test. */
13855 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
13856 instead of "TZ=America/Vancouver" in order to detect the bug even
13857 on systems that don't support the Olson extension, or don't have the
13858 full zoneinfo tables installed. */
13859 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
13868 if (mktime (&tm) == (time_t)-1)
13877 if ((lt = localtime (&now)) && mktime (lt) != now)
13885 mktime_test1 (now);
13886 mktime_test1 ((time_t) (time_t_max - now));
13887 mktime_test1 ((time_t) (time_t_min + now));
13893 /* Based on code from Ariel Faigon. */
13903 if (tm.tm_mon != 2 || tm.tm_mday != 31)
13913 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
13914 now = mktime (&tm);
13915 if (now != (time_t) -1)
13917 struct tm *lt = localtime (&now);
13919 && lt->tm_year == tm.tm_year
13920 && lt->tm_mon == tm.tm_mon
13921 && lt->tm_mday == tm.tm_mday
13922 && lt->tm_hour == tm.tm_hour
13923 && lt->tm_min == tm.tm_min
13924 && lt->tm_sec == tm.tm_sec
13925 && lt->tm_yday == tm.tm_yday
13926 && lt->tm_wday == tm.tm_wday
13927 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
13928 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
13939 /* This test makes some buggy mktime implementations loop.
13940 Give up after 60 seconds; a mktime slower than that
13941 isn't worth using anyway. */
13944 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
13947 if ((time_t) -1 < 0)
13948 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
13950 delta = time_t_max / 997; /* a suitable prime number */
13951 for (i = 0; i < N_STRINGS; i++)
13954 putenv (tz_strings[i]);
13956 for (t = 0; t <= time_t_max - delta; t += delta)
13958 mktime_test ((time_t) 1);
13959 mktime_test ((time_t) (60 * 60));
13960 mktime_test ((time_t) (60 * 60 * 24));
13962 for (j = 1; 0 < j; j *= 2)
13964 bigtime_test (j - 1);
13967 spring_forward_gap ();
13971 rm -f conftest
$ac_exeext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13973 (eval $ac_link) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_cv_func_working_mktime
=yes
13984 echo "$as_me: program exited with status $ac_status" >&5
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.
$ac_ext >&5
13988 ( exit $ac_status )
13989 ac_cv_func_working_mktime
=no
13991 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13994 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
13995 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
13996 if test $ac_cv_func_working_mktime = no
; then
13998 "mktime.$ac_objext" | \
13999 *" mktime.$ac_objext" | \
14000 "mktime.$ac_objext "* | \
14001 *" mktime.$ac_objext "* ) ;;
14002 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14007 if test "$ac_cv_func_working_mktime" = no
; then
14009 cat >>confdefs.h
<<\_ACEOF
14010 #define BROKEN_MKTIME 1
14015 ac_have_func
=no
# yes means we've found a way to get the load average.
14017 # Make sure getloadavg.c is where it belongs, at configure-time.
14018 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14019 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14020 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14021 { (exit 1); exit 1; }; }
14025 # Check for getloadavg, but be sure not to touch the cache variable.
14026 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14027 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14028 if test "${ac_cv_func_getloadavg+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 cat >conftest.
$ac_ext <<_ACEOF
14034 cat confdefs.h
>>conftest.
$ac_ext
14035 cat >>conftest.
$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14039 #define getloadavg innocuous_getloadavg
14041 /* System header to define __stub macros and hopefully few prototypes,
14042 which can conflict with char getloadavg (); below.
14043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14044 <limits.h> exists even on freestanding compilers. */
14047 # include <limits.h>
14049 # include <assert.h>
14054 /* Override any gcc2 internal prototype to avoid an error. */
14059 /* We use char because int might match the return type of a gcc2
14060 builtin and then its argument prototype would still apply. */
14061 char getloadavg ();
14062 /* The GNU C library defines this for functions which it implements
14063 to always fail with ENOSYS. Some functions are actually named
14064 something starting with __ and the normal name is an alias. */
14065 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14068 char (*f) () = getloadavg;
14077 return f != getloadavg;
14082 rm -f conftest.
$ac_objext conftest
$ac_exeext
14083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14084 (eval $ac_link) 2>conftest.er1
14086 grep -v '^ *+' conftest.er1
>conftest.err
14088 cat conftest.err
>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } &&
14091 { ac_try
='test -z "$ac_c_werror_flag"
14092 || test ! -s conftest.err'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; } &&
14098 { ac_try
='test -s conftest$ac_exeext'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; }; then
14104 ac_cv_func_getloadavg
=yes
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.
$ac_ext >&5
14109 ac_cv_func_getloadavg
=no
14111 rm -f conftest.err conftest.
$ac_objext \
14112 conftest
$ac_exeext conftest.
$ac_ext
14114 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14115 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14116 if test $ac_cv_func_getloadavg = yes; then
14121 ) && ac_have_func
=yes
14123 # On HPUX9, an unprivileged user can get load averages through this function.
14125 for ac_func
in pstat_getdynamic
14127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14128 echo "$as_me:$LINENO: checking for $ac_func" >&5
14129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14130 if eval "test \"\${$as_ac_var+set}\" = set"; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 cat >conftest.
$ac_ext <<_ACEOF
14136 cat confdefs.h
>>conftest.
$ac_ext
14137 cat >>conftest.
$ac_ext <<_ACEOF
14138 /* end confdefs.h. */
14139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14141 #define $ac_func innocuous_$ac_func
14143 /* System header to define __stub macros and hopefully few prototypes,
14144 which can conflict with char $ac_func (); below.
14145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14146 <limits.h> exists even on freestanding compilers. */
14149 # include <limits.h>
14151 # include <assert.h>
14156 /* Override any gcc2 internal prototype to avoid an error. */
14161 /* We use char because int might match the return type of a gcc2
14162 builtin and then its argument prototype would still apply. */
14164 /* The GNU C library defines this for functions which it implements
14165 to always fail with ENOSYS. Some functions are actually named
14166 something starting with __ and the normal name is an alias. */
14167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14170 char (*f) () = $ac_func;
14179 return f != $ac_func;
14184 rm -f conftest.
$ac_objext conftest
$ac_exeext
14185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14186 (eval $ac_link) 2>conftest.er1
14188 grep -v '^ *+' conftest.er1
>conftest.err
14190 cat conftest.err
>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } &&
14193 { ac_try
='test -z "$ac_c_werror_flag"
14194 || test ! -s conftest.err'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; } &&
14200 { ac_try
='test -s conftest$ac_exeext'
14201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14202 (eval $ac_try) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); }; }; then
14206 eval "$as_ac_var=yes"
14208 echo "$as_me: failed program was:" >&5
14209 sed 's/^/| /' conftest.
$ac_ext >&5
14211 eval "$as_ac_var=no"
14213 rm -f conftest.err conftest.
$ac_objext \
14214 conftest
$ac_exeext conftest.
$ac_ext
14216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14218 if test `eval echo '${'$as_ac_var'}'` = yes; then
14219 cat >>confdefs.h
<<_ACEOF
14220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14227 # Solaris has libkstat which does not require root.
14229 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14230 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14231 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 ac_check_lib_save_LIBS
=$LIBS
14235 LIBS
="-lkstat $LIBS"
14236 cat >conftest.
$ac_ext <<_ACEOF
14239 cat confdefs.h
>>conftest.
$ac_ext
14240 cat >>conftest.
$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14243 /* Override any gcc2 internal prototype to avoid an error. */
14247 /* We use char because int might match the return type of a gcc2
14248 builtin and then its argument prototype would still apply. */
14249 char kstat_open ();
14258 rm -f conftest.
$ac_objext conftest
$ac_exeext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14260 (eval $ac_link) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_c_werror_flag"
14268 || test ! -s conftest.err'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; } &&
14274 { ac_try
='test -s conftest$ac_exeext'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; }; then
14280 ac_cv_lib_kstat_kstat_open
=yes
14282 echo "$as_me: failed program was:" >&5
14283 sed 's/^/| /' conftest.
$ac_ext >&5
14285 ac_cv_lib_kstat_kstat_open
=no
14287 rm -f conftest.err conftest.
$ac_objext \
14288 conftest
$ac_exeext conftest.
$ac_ext
14289 LIBS
=$ac_check_lib_save_LIBS
14291 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14292 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14293 if test $ac_cv_lib_kstat_kstat_open = yes; then
14294 cat >>confdefs.h
<<_ACEOF
14295 #define HAVE_LIBKSTAT 1
14298 LIBS
="-lkstat $LIBS"
14302 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14304 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14305 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14306 # to get the right answer into the cache.
14307 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14308 if test $ac_have_func = no
; then
14309 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
14310 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
14311 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 ac_check_lib_save_LIBS
=$LIBS
14316 cat >conftest.
$ac_ext <<_ACEOF
14319 cat confdefs.h
>>conftest.
$ac_ext
14320 cat >>conftest.
$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14323 /* Override any gcc2 internal prototype to avoid an error. */
14327 /* We use char because int might match the return type of a gcc2
14328 builtin and then its argument prototype would still apply. */
14338 rm -f conftest.
$ac_objext conftest
$ac_exeext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14340 (eval $ac_link) 2>conftest.er1
14342 grep -v '^ *+' conftest.er1
>conftest.err
14344 cat conftest.err
>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try
='test -z "$ac_c_werror_flag"
14348 || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try
='test -s conftest$ac_exeext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 ac_cv_lib_elf_elf_begin
=yes
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.
$ac_ext >&5
14365 ac_cv_lib_elf_elf_begin
=no
14367 rm -f conftest.err conftest.
$ac_objext \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 LIBS
=$ac_check_lib_save_LIBS
14371 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
14372 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
14373 if test $ac_cv_lib_elf_elf_begin = yes; then
14378 if test $ac_have_func = no
; then
14379 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
14380 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
14381 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14384 ac_check_lib_save_LIBS
=$LIBS
14386 cat >conftest.
$ac_ext <<_ACEOF
14389 cat confdefs.h
>>conftest.
$ac_ext
14390 cat >>conftest.
$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14393 /* Override any gcc2 internal prototype to avoid an error. */
14397 /* We use char because int might match the return type of a gcc2
14398 builtin and then its argument prototype would still apply. */
14408 rm -f conftest.
$ac_objext conftest
$ac_exeext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14410 (eval $ac_link) 2>conftest.er1
14412 grep -v '^ *+' conftest.er1
>conftest.err
14414 cat conftest.err
>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try
='test -z "$ac_c_werror_flag"
14418 || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try
='test -s conftest$ac_exeext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_cv_lib_kvm_kvm_open
=yes
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14435 ac_cv_lib_kvm_kvm_open
=no
14437 rm -f conftest.err conftest.
$ac_objext \
14438 conftest
$ac_exeext conftest.
$ac_ext
14439 LIBS
=$ac_check_lib_save_LIBS
14441 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
14442 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
14443 if test $ac_cv_lib_kvm_kvm_open = yes; then
14447 # Check for the 4.4BSD definition of getloadavg.
14448 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
14449 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
14450 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
14451 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 ac_check_lib_save_LIBS
=$LIBS
14454 LIBS
="-lutil $LIBS"
14455 cat >conftest.
$ac_ext <<_ACEOF
14458 cat confdefs.h
>>conftest.
$ac_ext
14459 cat >>conftest.
$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14462 /* Override any gcc2 internal prototype to avoid an error. */
14466 /* We use char because int might match the return type of a gcc2
14467 builtin and then its argument prototype would still apply. */
14468 char getloadavg ();
14477 rm -f conftest.
$ac_objext conftest
$ac_exeext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14479 (eval $ac_link) 2>conftest.er1
14481 grep -v '^ *+' conftest.er1
>conftest.err
14483 cat conftest.err
>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try
='test -z "$ac_c_werror_flag"
14487 || test ! -s conftest.err'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; } &&
14493 { ac_try
='test -s conftest$ac_exeext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 ac_cv_lib_util_getloadavg
=yes
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.
$ac_ext >&5
14504 ac_cv_lib_util_getloadavg
=no
14506 rm -f conftest.err conftest.
$ac_objext \
14507 conftest
$ac_exeext conftest.
$ac_ext
14508 LIBS
=$ac_check_lib_save_LIBS
14510 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
14511 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
14512 if test $ac_cv_lib_util_getloadavg = yes; then
14513 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
14518 if test $ac_have_func = no
; then
14519 # There is a commonly available library for RS/6000 AIX.
14520 # Since it is not a standard part of AIX, it might be installed locally.
14521 ac_getloadavg_LIBS
=$LIBS
14522 LIBS
="-L/usr/local/lib $LIBS"
14523 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
14524 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
14525 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 ac_check_lib_save_LIBS
=$LIBS
14529 LIBS
="-lgetloadavg $LIBS"
14530 cat >conftest.
$ac_ext <<_ACEOF
14533 cat confdefs.h
>>conftest.
$ac_ext
14534 cat >>conftest.
$ac_ext <<_ACEOF
14535 /* end confdefs.h. */
14537 /* Override any gcc2 internal prototype to avoid an error. */
14541 /* We use char because int might match the return type of a gcc2
14542 builtin and then its argument prototype would still apply. */
14543 char getloadavg ();
14552 rm -f conftest.
$ac_objext conftest
$ac_exeext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14554 (eval $ac_link) 2>conftest.er1
14556 grep -v '^ *+' conftest.er1
>conftest.err
14558 cat conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try
='test -z "$ac_c_werror_flag"
14562 || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest$ac_exeext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_cv_lib_getloadavg_getloadavg
=yes
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14579 ac_cv_lib_getloadavg_getloadavg
=no
14581 rm -f conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14583 LIBS
=$ac_check_lib_save_LIBS
14585 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
14586 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
14587 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
14588 LIBS
="-lgetloadavg $LIBS"
14590 LIBS
=$ac_getloadavg_LIBS
14595 # Make sure it is really in the library, if we think we found it,
14596 # otherwise set up the replacement function.
14598 for ac_func
in getloadavg
14600 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14601 echo "$as_me:$LINENO: checking for $ac_func" >&5
14602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14603 if eval "test \"\${$as_ac_var+set}\" = set"; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 cat >conftest.
$ac_ext <<_ACEOF
14609 cat confdefs.h
>>conftest.
$ac_ext
14610 cat >>conftest.
$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14614 #define $ac_func innocuous_$ac_func
14616 /* System header to define __stub macros and hopefully few prototypes,
14617 which can conflict with char $ac_func (); below.
14618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14619 <limits.h> exists even on freestanding compilers. */
14622 # include <limits.h>
14624 # include <assert.h>
14629 /* Override any gcc2 internal prototype to avoid an error. */
14634 /* We use char because int might match the return type of a gcc2
14635 builtin and then its argument prototype would still apply. */
14637 /* The GNU C library defines this for functions which it implements
14638 to always fail with ENOSYS. Some functions are actually named
14639 something starting with __ and the normal name is an alias. */
14640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14643 char (*f) () = $ac_func;
14652 return f != $ac_func;
14657 rm -f conftest.
$ac_objext conftest
$ac_exeext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14659 (eval $ac_link) 2>conftest.er1
14661 grep -v '^ *+' conftest.er1
>conftest.err
14663 cat conftest.err
>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try
='test -z "$ac_c_werror_flag"
14667 || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try
='test -s conftest$ac_exeext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 eval "$as_ac_var=yes"
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 eval "$as_ac_var=no"
14686 rm -f conftest.err conftest.
$ac_objext \
14687 conftest
$ac_exeext conftest.
$ac_ext
14689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14691 if test `eval echo '${'$as_ac_var'}'` = yes; then
14692 cat >>confdefs.h
<<_ACEOF
14693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14698 "getloadavg.$ac_objext" | \
14699 *" getloadavg.$ac_objext" | \
14700 "getloadavg.$ac_objext "* | \
14701 *" getloadavg.$ac_objext "* ) ;;
14702 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
14706 cat >>confdefs.h
<<\_ACEOF
14707 #define C_GETLOADAVG 1
14710 # Figure out what our getloadavg.c needs.
14712 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14713 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
14714 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
14715 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
14719 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
14721 # Is the header compilable?
14722 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
14723 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
14724 cat >conftest.
$ac_ext <<_ACEOF
14727 cat confdefs.h
>>conftest.
$ac_ext
14728 cat >>conftest.
$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14730 $ac_includes_default
14731 #include <sys/dg_sys_info.h>
14733 rm -f conftest.
$ac_objext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14735 (eval $ac_compile) 2>conftest.er1
14737 grep -v '^ *+' conftest.er1
>conftest.err
14739 cat conftest.err
>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } &&
14742 { ac_try
='test -z "$ac_c_werror_flag"
14743 || test ! -s conftest.err'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; } &&
14749 { ac_try
='test -s conftest.$ac_objext'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; }; then
14755 ac_header_compiler
=yes
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.
$ac_ext >&5
14760 ac_header_compiler
=no
14762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14764 echo "${ECHO_T}$ac_header_compiler" >&6
14766 # Is the header present?
14767 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
14768 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
14769 cat >conftest.
$ac_ext <<_ACEOF
14772 cat confdefs.h
>>conftest.
$ac_ext
14773 cat >>conftest.
$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14775 #include <sys/dg_sys_info.h>
14777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14780 grep -v '^ *+' conftest.er1
>conftest.err
14782 cat conftest.err
>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } >/dev
/null
; then
14785 if test -s conftest.err
; then
14786 ac_cpp_err
=$ac_c_preproc_warn_flag
14787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14794 if test -z "$ac_cpp_err"; then
14795 ac_header_preproc
=yes
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.
$ac_ext >&5
14800 ac_header_preproc
=no
14802 rm -f conftest.err conftest.
$ac_ext
14803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14804 echo "${ECHO_T}$ac_header_preproc" >&6
14806 # So? What about this header?
14807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14809 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
14810 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14811 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
14812 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
14813 ac_header_preproc
=yes
14816 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
14817 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
14819 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
14821 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
14822 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
14823 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
14825 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
14826 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
14827 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
14830 ## ------------------------------------------ ##
14831 ## Report this to the AC_PACKAGE_NAME lists. ##
14832 ## ------------------------------------------ ##
14835 sed "s/^/$as_me: WARNING: /" >&2
14838 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
14839 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
14840 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
14845 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
14846 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
14849 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
14852 cat >>confdefs.h
<<\_ACEOF
14857 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
14858 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
14859 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 ac_check_lib_save_LIBS
=$LIBS
14864 cat >conftest.
$ac_ext <<_ACEOF
14867 cat confdefs.h
>>conftest.
$ac_ext
14868 cat >>conftest.
$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14871 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877 char dg_sys_info ();
14886 rm -f conftest.
$ac_objext conftest
$ac_exeext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14888 (eval $ac_link) 2>conftest.er1
14890 grep -v '^ *+' conftest.er1
>conftest.err
14892 cat conftest.err
>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try
='test -z "$ac_c_werror_flag"
14896 || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try
='test -s conftest$ac_exeext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 ac_cv_lib_dgc_dg_sys_info
=yes
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ac_cv_lib_dgc_dg_sys_info
=no
14915 rm -f conftest.err conftest.
$ac_objext \
14916 conftest
$ac_exeext conftest.
$ac_ext
14917 LIBS
=$ac_check_lib_save_LIBS
14919 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
14920 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
14921 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
14922 cat >>confdefs.h
<<_ACEOF
14923 #define HAVE_LIBDGC 1
14934 if test "${ac_cv_header_locale_h+set}" = set; then
14935 echo "$as_me:$LINENO: checking for locale.h" >&5
14936 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
14937 if test "${ac_cv_header_locale_h+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
14941 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
14943 # Is the header compilable?
14944 echo "$as_me:$LINENO: checking locale.h usability" >&5
14945 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14953 #include <locale.h>
14955 rm -f conftest.
$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>conftest.er1
14959 grep -v '^ *+' conftest.er1
>conftest.err
14961 cat conftest.err
>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } &&
14964 { ac_try
='test -z "$ac_c_werror_flag"
14965 || test ! -s conftest.err'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try
='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_header_compiler
=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.
$ac_ext >&5
14982 ac_header_compiler
=no
14984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14986 echo "${ECHO_T}$ac_header_compiler" >&6
14988 # Is the header present?
14989 echo "$as_me:$LINENO: checking locale.h presence" >&5
14990 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
14991 cat >conftest.
$ac_ext <<_ACEOF
14994 cat confdefs.h
>>conftest.
$ac_ext
14995 cat >>conftest.
$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997 #include <locale.h>
14999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } >/dev
/null
; then
15007 if test -s conftest.err
; then
15008 ac_cpp_err
=$ac_c_preproc_warn_flag
15009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15016 if test -z "$ac_cpp_err"; then
15017 ac_header_preproc
=yes
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 ac_header_preproc
=no
15024 rm -f conftest.err conftest.
$ac_ext
15025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15026 echo "${ECHO_T}$ac_header_preproc" >&6
15028 # So? What about this header?
15029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15031 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15032 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15033 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15034 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15035 ac_header_preproc
=yes
15038 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15039 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15040 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15041 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15042 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15043 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15044 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15045 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15046 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15047 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15048 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15049 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15052 ## ------------------------------------------ ##
15053 ## Report this to the AC_PACKAGE_NAME lists. ##
15054 ## ------------------------------------------ ##
15057 sed "s/^/$as_me: WARNING: /" >&2
15060 echo "$as_me:$LINENO: checking for locale.h" >&5
15061 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15062 if test "${ac_cv_header_locale_h+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 ac_cv_header_locale_h
=$ac_header_preproc
15067 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15068 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15074 for ac_func
in setlocale
15076 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15077 echo "$as_me:$LINENO: checking for $ac_func" >&5
15078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15079 if eval "test \"\${$as_ac_var+set}\" = set"; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 cat >conftest.
$ac_ext <<_ACEOF
15085 cat confdefs.h
>>conftest.
$ac_ext
15086 cat >>conftest.
$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15090 #define $ac_func innocuous_$ac_func
15092 /* System header to define __stub macros and hopefully few prototypes,
15093 which can conflict with char $ac_func (); below.
15094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15095 <limits.h> exists even on freestanding compilers. */
15098 # include <limits.h>
15100 # include <assert.h>
15105 /* Override any gcc2 internal prototype to avoid an error. */
15110 /* We use char because int might match the return type of a gcc2
15111 builtin and then its argument prototype would still apply. */
15113 /* The GNU C library defines this for functions which it implements
15114 to always fail with ENOSYS. Some functions are actually named
15115 something starting with __ and the normal name is an alias. */
15116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15119 char (*f) () = $ac_func;
15128 return f != $ac_func;
15133 rm -f conftest.
$ac_objext conftest
$ac_exeext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15135 (eval $ac_link) 2>conftest.er1
15137 grep -v '^ *+' conftest.er1
>conftest.err
15139 cat conftest.err
>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try
='test -z "$ac_c_werror_flag"
15143 || test ! -s conftest.err'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; } &&
15149 { ac_try
='test -s conftest$ac_exeext'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; }; then
15155 eval "$as_ac_var=yes"
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.
$ac_ext >&5
15160 eval "$as_ac_var=no"
15162 rm -f conftest.err conftest.
$ac_objext \
15163 conftest
$ac_exeext conftest.
$ac_ext
15165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15167 if test `eval echo '${'$as_ac_var'}'` = yes; then
15168 cat >>confdefs.h
<<_ACEOF
15169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15177 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15178 # Irix 4.0.5F has the header but not the library.
15179 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15182 cat >>confdefs.h
<<\_ACEOF
15188 if test $ac_have_func = no
; then
15189 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15190 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15191 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15192 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15196 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15198 # Is the header compilable?
15199 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15200 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15201 cat >conftest.
$ac_ext <<_ACEOF
15204 cat confdefs.h
>>conftest.
$ac_ext
15205 cat >>conftest.
$ac_ext <<_ACEOF
15206 /* end confdefs.h. */
15207 $ac_includes_default
15208 #include <inq_stats/cpustats.h>
15210 rm -f conftest.
$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 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"
15220 || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try
='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_header_compiler
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_header_compiler
=no
15239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15241 echo "${ECHO_T}$ac_header_compiler" >&6
15243 # Is the header present?
15244 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15245 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15246 cat >conftest.
$ac_ext <<_ACEOF
15249 cat confdefs.h
>>conftest.
$ac_ext
15250 cat >>conftest.
$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15252 #include <inq_stats/cpustats.h>
15254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15257 grep -v '^ *+' conftest.er1
>conftest.err
15259 cat conftest.err
>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } >/dev
/null
; then
15262 if test -s conftest.err
; then
15263 ac_cpp_err
=$ac_c_preproc_warn_flag
15264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15271 if test -z "$ac_cpp_err"; then
15272 ac_header_preproc
=yes
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.
$ac_ext >&5
15277 ac_header_preproc
=no
15279 rm -f conftest.err conftest.
$ac_ext
15280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15281 echo "${ECHO_T}$ac_header_preproc" >&6
15283 # So? What about this header?
15284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15286 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15287 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15288 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15289 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15290 ac_header_preproc
=yes
15293 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15294 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15295 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15296 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15297 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15298 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15299 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15300 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15301 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15302 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15303 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15304 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15307 ## ------------------------------------------ ##
15308 ## Report this to the AC_PACKAGE_NAME lists. ##
15309 ## ------------------------------------------ ##
15312 sed "s/^/$as_me: WARNING: /" >&2
15315 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15316 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15317 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15318 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
15322 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15323 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15326 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
15329 cat >>confdefs.h
<<\_ACEOF
15334 cat >>confdefs.h
<<\_ACEOF
15343 if test $ac_have_func = no
; then
15344 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15345 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
15346 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
15347 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
15351 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
15353 # Is the header compilable?
15354 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
15355 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
15356 cat >conftest.
$ac_ext <<_ACEOF
15359 cat confdefs.h
>>conftest.
$ac_ext
15360 cat >>conftest.
$ac_ext <<_ACEOF
15361 /* end confdefs.h. */
15362 $ac_includes_default
15363 #include <sys/cpustats.h>
15365 rm -f conftest.
$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag"
15375 || test ! -s conftest.err'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; } &&
15381 { ac_try
='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 ac_header_compiler
=yes
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 ac_header_compiler
=no
15394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15396 echo "${ECHO_T}$ac_header_compiler" >&6
15398 # Is the header present?
15399 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
15400 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
15401 cat >conftest.
$ac_ext <<_ACEOF
15404 cat confdefs.h
>>conftest.
$ac_ext
15405 cat >>conftest.
$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 #include <sys/cpustats.h>
15409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15412 grep -v '^ *+' conftest.er1
>conftest.err
15414 cat conftest.err
>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); } >/dev
/null
; then
15417 if test -s conftest.err
; then
15418 ac_cpp_err
=$ac_c_preproc_warn_flag
15419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15426 if test -z "$ac_cpp_err"; then
15427 ac_header_preproc
=yes
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.
$ac_ext >&5
15432 ac_header_preproc
=no
15434 rm -f conftest.err conftest.
$ac_ext
15435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15436 echo "${ECHO_T}$ac_header_preproc" >&6
15438 # So? What about this header?
15439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15441 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15442 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15443 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
15444 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
15445 ac_header_preproc
=yes
15448 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
15449 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
15450 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
15451 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
15452 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
15453 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
15454 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15455 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15456 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
15457 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
15458 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
15459 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
15462 ## ------------------------------------------ ##
15463 ## Report this to the AC_PACKAGE_NAME lists. ##
15464 ## ------------------------------------------ ##
15467 sed "s/^/$as_me: WARNING: /" >&2
15470 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
15471 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
15472 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15475 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
15477 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
15478 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
15481 if test $ac_cv_header_sys_cpustats_h = yes; then
15482 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
15491 if test $ac_have_func = no
; then
15493 for ac_header
in mach
/mach.h
15495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15497 echo "$as_me:$LINENO: checking for $ac_header" >&5
15498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15505 # Is the header compilable?
15506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15515 #include <$ac_header>
15517 rm -f conftest.
$ac_objext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15519 (eval $ac_compile) 2>conftest.er1
15521 grep -v '^ *+' conftest.er1
>conftest.err
15523 cat conftest.err
>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try
='test -z "$ac_c_werror_flag"
15527 || test ! -s conftest.err'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; } &&
15533 { ac_try
='test -s conftest.$ac_objext'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; }; then
15539 ac_header_compiler
=yes
15541 echo "$as_me: failed program was:" >&5
15542 sed 's/^/| /' conftest.
$ac_ext >&5
15544 ac_header_compiler
=no
15546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15548 echo "${ECHO_T}$ac_header_compiler" >&6
15550 # Is the header present?
15551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 #include <$ac_header>
15561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15564 grep -v '^ *+' conftest.er1
>conftest.err
15566 cat conftest.err
>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } >/dev
/null
; then
15569 if test -s conftest.err
; then
15570 ac_cpp_err
=$ac_c_preproc_warn_flag
15571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15578 if test -z "$ac_cpp_err"; then
15579 ac_header_preproc
=yes
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.
$ac_ext >&5
15584 ac_header_preproc
=no
15586 rm -f conftest.err conftest.
$ac_ext
15587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15588 echo "${ECHO_T}$ac_header_preproc" >&6
15590 # So? What about this header?
15591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15597 ac_header_preproc
=yes
15600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15614 ## ------------------------------------------ ##
15615 ## Report this to the AC_PACKAGE_NAME lists. ##
15616 ## ------------------------------------------ ##
15619 sed "s/^/$as_me: WARNING: /" >&2
15622 echo "$as_me:$LINENO: checking for $ac_header" >&5
15623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 eval "$as_ac_Header=\$ac_header_preproc"
15629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15634 cat >>confdefs.h
<<_ACEOF
15635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15645 for ac_header
in nlist.h
15647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15649 echo "$as_me:$LINENO: checking for $ac_header" >&5
15650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15657 # Is the header compilable?
15658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15660 cat >conftest.
$ac_ext <<_ACEOF
15663 cat confdefs.h
>>conftest.
$ac_ext
15664 cat >>conftest.
$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 $ac_includes_default
15667 #include <$ac_header>
15669 rm -f conftest.
$ac_objext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>conftest.er1
15673 grep -v '^ *+' conftest.er1
>conftest.err
15675 cat conftest.err
>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try
='test -z "$ac_c_werror_flag"
15679 || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try
='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_header_compiler
=yes
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.
$ac_ext >&5
15696 ac_header_compiler
=no
15698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15700 echo "${ECHO_T}$ac_header_compiler" >&6
15702 # Is the header present?
15703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15705 cat >conftest.
$ac_ext <<_ACEOF
15708 cat confdefs.h
>>conftest.
$ac_ext
15709 cat >>conftest.
$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15711 #include <$ac_header>
15713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15714 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15716 grep -v '^ *+' conftest.er1
>conftest.err
15718 cat conftest.err
>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } >/dev
/null
; then
15721 if test -s conftest.err
; then
15722 ac_cpp_err
=$ac_c_preproc_warn_flag
15723 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15730 if test -z "$ac_cpp_err"; then
15731 ac_header_preproc
=yes
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.
$ac_ext >&5
15736 ac_header_preproc
=no
15738 rm -f conftest.err conftest.
$ac_ext
15739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15740 echo "${ECHO_T}$ac_header_preproc" >&6
15742 # So? What about this header?
15743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15749 ac_header_preproc
=yes
15752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15766 ## ------------------------------------------ ##
15767 ## Report this to the AC_PACKAGE_NAME lists. ##
15768 ## ------------------------------------------ ##
15771 sed "s/^/$as_me: WARNING: /" >&2
15774 echo "$as_me:$LINENO: checking for $ac_header" >&5
15775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 eval "$as_ac_Header=\$ac_header_preproc"
15781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15786 cat >>confdefs.h
<<_ACEOF
15787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15789 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
15790 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
15791 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15805 static struct nlist ac_aggr;
15806 if (ac_aggr.n_un.n_name)
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -z "$ac_c_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try
='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15834 ac_cv_member_struct_nlist_n_un_n_name
=yes
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 cat >conftest.
$ac_ext <<_ACEOF
15842 cat confdefs.h
>>conftest.
$ac_ext
15843 cat >>conftest.
$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15850 static struct nlist ac_aggr;
15851 if (sizeof ac_aggr.n_un.n_name)
15857 rm -f conftest.
$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1
>conftest.err
15863 cat conftest.err
>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try
='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_cv_member_struct_nlist_n_un_n_name
=yes
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 ac_cv_member_struct_nlist_n_un_n_name
=no
15886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15890 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
15891 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
15892 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
15899 cat >>confdefs.h
<<\_ACEOF
15900 #define NLIST_NAME_UNION 1
15914 # Some definitions of getloadavg require that the program be installed setgid.
15915 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
15916 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
15917 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 cat >conftest.
$ac_ext <<_ACEOF
15923 cat confdefs.h
>>conftest.
$ac_ext
15924 cat >>conftest.
$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
15927 #ifdef LDAV_PRIVILEGED
15928 Yowza Am I SETGID yet
15931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15932 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
15933 ac_cv_func_getloadavg_setgid
=yes
15935 ac_cv_func_getloadavg_setgid
=no
15940 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
15941 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
15942 if test $ac_cv_func_getloadavg_setgid = yes; then
15945 cat >>confdefs.h
<<\_ACEOF
15946 #define GETLOADAVG_PRIVILEGED 1
15953 if test $ac_cv_func_getloadavg_setgid = yes; then
15954 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
15955 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
15956 if test "${ac_cv_group_kmem+set}" = set; then
15957 echo $ECHO_N "(cached) $ECHO_C" >&6
15959 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
15960 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
15961 # If we got an error (system does not support symlinks), try without -L.
15962 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
15963 ac_cv_group_kmem
=`echo $ac_ls_output \
15964 | sed -ne 's/[ ][ ]*/ /g;
15965 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
15969 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
15970 echo "${ECHO_T}$ac_cv_group_kmem" >&6
15971 KMEM_GROUP
=$ac_cv_group_kmem
15973 if test "x$ac_save_LIBS" = x
; then
15974 GETLOADAVG_LIBS
=$LIBS
15976 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
15982 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
15983 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
15984 if test "${ac_cv_sys_largefile_source+set}" = set; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 ac_cv_sys_largefile_source
=no
15989 cat >conftest.
$ac_ext <<_ACEOF
15992 cat confdefs.h
>>conftest.
$ac_ext
15993 cat >>conftest.
$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
16004 rm -f conftest.
$ac_objext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>conftest.er1
16008 grep -v '^ *+' conftest.er1
>conftest.err
16010 cat conftest.err
>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try
='test -z "$ac_c_werror_flag"
16014 || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try
='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16033 cat >conftest.
$ac_ext <<_ACEOF
16036 cat confdefs.h
>>conftest.
$ac_ext
16037 cat >>conftest.
$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039 #define _LARGEFILE_SOURCE 1
16049 rm -f conftest.
$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>conftest.er1
16053 grep -v '^ *+' conftest.er1
>conftest.err
16055 cat conftest.err
>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } &&
16058 { ac_try
='test -z "$ac_c_werror_flag"
16059 || test ! -s conftest.err'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; } &&
16065 { ac_try
='test -s conftest.$ac_objext'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; }; then
16071 ac_cv_sys_largefile_source
=1; break
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.
$ac_ext >&5
16077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16081 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16082 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16083 if test "$ac_cv_sys_largefile_source" != no
; then
16085 cat >>confdefs.h
<<_ACEOF
16086 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16092 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16093 # in glibc 2.1.3, but that breaks too many other things.
16094 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16095 echo "$as_me:$LINENO: checking for fseeko" >&5
16096 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16097 if test "${ac_cv_func_fseeko+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16110 return fseeko && fseeko (stdin, 0, 0);
16115 rm -f conftest.
$ac_objext conftest
$ac_exeext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16117 (eval $ac_link) 2>conftest.er1
16119 grep -v '^ *+' conftest.er1
>conftest.err
16121 cat conftest.err
>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); } &&
16124 { ac_try
='test -z "$ac_c_werror_flag"
16125 || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try
='test -s conftest$ac_exeext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_func_fseeko
=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_cv_func_fseeko
=no
16144 rm -f conftest.err conftest.
$ac_objext \
16145 conftest
$ac_exeext conftest.
$ac_ext
16147 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16148 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16149 if test $ac_cv_func_fseeko = yes; then
16151 cat >>confdefs.h
<<\_ACEOF
16152 #define HAVE_FSEEKO 1
16158 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16159 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16160 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 # Use it with a single arg.
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 $ac_includes_default
16179 rm -f conftest.
$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>conftest.er1
16183 grep -v '^ *+' conftest.er1
>conftest.err
16185 cat conftest.err
>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try
='test -z "$ac_c_werror_flag"
16189 || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try
='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_cv_func_getpgrp_void
=no
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16206 ac_cv_func_getpgrp_void
=yes
16208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16212 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16213 if test $ac_cv_func_getpgrp_void = yes; then
16215 cat >>confdefs.h
<<\_ACEOF
16216 #define GETPGRP_VOID 1
16223 for ac_func
in strftime
16225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16226 echo "$as_me:$LINENO: checking for $ac_func" >&5
16227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16228 if eval "test \"\${$as_ac_var+set}\" = set"; then
16229 echo $ECHO_N "(cached) $ECHO_C" >&6
16231 cat >conftest.
$ac_ext <<_ACEOF
16234 cat confdefs.h
>>conftest.
$ac_ext
16235 cat >>conftest.
$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16239 #define $ac_func innocuous_$ac_func
16241 /* System header to define __stub macros and hopefully few prototypes,
16242 which can conflict with char $ac_func (); below.
16243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16244 <limits.h> exists even on freestanding compilers. */
16247 # include <limits.h>
16249 # include <assert.h>
16254 /* Override any gcc2 internal prototype to avoid an error. */
16259 /* We use char because int might match the return type of a gcc2
16260 builtin and then its argument prototype would still apply. */
16262 /* The GNU C library defines this for functions which it implements
16263 to always fail with ENOSYS. Some functions are actually named
16264 something starting with __ and the normal name is an alias. */
16265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16268 char (*f) () = $ac_func;
16277 return f != $ac_func;
16282 rm -f conftest.
$ac_objext conftest
$ac_exeext
16283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16284 (eval $ac_link) 2>conftest.er1
16286 grep -v '^ *+' conftest.er1
>conftest.err
16288 cat conftest.err
>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try
='test -z "$ac_c_werror_flag"
16292 || test ! -s conftest.err'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; } &&
16298 { ac_try
='test -s conftest$ac_exeext'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16304 eval "$as_ac_var=yes"
16306 echo "$as_me: failed program was:" >&5
16307 sed 's/^/| /' conftest.
$ac_ext >&5
16309 eval "$as_ac_var=no"
16311 rm -f conftest.err conftest.
$ac_objext \
16312 conftest
$ac_exeext conftest.
$ac_ext
16314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16316 if test `eval echo '${'$as_ac_var'}'` = yes; then
16317 cat >>confdefs.h
<<_ACEOF
16318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16322 # strftime is in -lintl on SCO UNIX.
16323 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
16324 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
16325 if test "${ac_cv_lib_intl_strftime+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 ac_check_lib_save_LIBS
=$LIBS
16329 LIBS
="-lintl $LIBS"
16330 cat >conftest.
$ac_ext <<_ACEOF
16333 cat confdefs.h
>>conftest.
$ac_ext
16334 cat >>conftest.
$ac_ext <<_ACEOF
16335 /* end confdefs.h. */
16337 /* Override any gcc2 internal prototype to avoid an error. */
16341 /* We use char because int might match the return type of a gcc2
16342 builtin and then its argument prototype would still apply. */
16352 rm -f conftest.
$ac_objext conftest
$ac_exeext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16354 (eval $ac_link) 2>conftest.er1
16356 grep -v '^ *+' conftest.er1
>conftest.err
16358 cat conftest.err
>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } &&
16361 { ac_try
='test -z "$ac_c_werror_flag"
16362 || test ! -s conftest.err'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; } &&
16368 { ac_try
='test -s conftest$ac_exeext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16374 ac_cv_lib_intl_strftime
=yes
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.
$ac_ext >&5
16379 ac_cv_lib_intl_strftime
=no
16381 rm -f conftest.err conftest.
$ac_objext \
16382 conftest
$ac_exeext conftest.
$ac_ext
16383 LIBS
=$ac_check_lib_save_LIBS
16385 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
16386 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
16387 if test $ac_cv_lib_intl_strftime = yes; then
16388 cat >>confdefs.h
<<\_ACEOF
16389 #define HAVE_STRFTIME 1
16392 LIBS
="-lintl $LIBS"
16401 for ac_func
in grantpt
16403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16404 echo "$as_me:$LINENO: checking for $ac_func" >&5
16405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16406 if eval "test \"\${$as_ac_var+set}\" = set"; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 cat >conftest.
$ac_ext <<_ACEOF
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16417 #define $ac_func innocuous_$ac_func
16419 /* System header to define __stub macros and hopefully few prototypes,
16420 which can conflict with char $ac_func (); below.
16421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16422 <limits.h> exists even on freestanding compilers. */
16425 # include <limits.h>
16427 # include <assert.h>
16432 /* Override any gcc2 internal prototype to avoid an error. */
16437 /* We use char because int might match the return type of a gcc2
16438 builtin and then its argument prototype would still apply. */
16440 /* The GNU C library defines this for functions which it implements
16441 to always fail with ENOSYS. Some functions are actually named
16442 something starting with __ and the normal name is an alias. */
16443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16446 char (*f) () = $ac_func;
16455 return f != $ac_func;
16460 rm -f conftest.
$ac_objext conftest
$ac_exeext
16461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16462 (eval $ac_link) 2>conftest.er1
16464 grep -v '^ *+' conftest.er1
>conftest.err
16466 cat conftest.err
>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } &&
16469 { ac_try
='test -z "$ac_c_werror_flag"
16470 || test ! -s conftest.err'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; } &&
16476 { ac_try
='test -s conftest$ac_exeext'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16482 eval "$as_ac_var=yes"
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.
$ac_ext >&5
16487 eval "$as_ac_var=no"
16489 rm -f conftest.err conftest.
$ac_objext \
16490 conftest
$ac_exeext conftest.
$ac_ext
16492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16494 if test `eval echo '${'$as_ac_var'}'` = yes; then
16495 cat >>confdefs.h
<<_ACEOF
16496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16503 # PTY-related GNU extensions.
16505 for ac_func
in getpt
16507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16508 echo "$as_me:$LINENO: checking for $ac_func" >&5
16509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16510 if eval "test \"\${$as_ac_var+set}\" = set"; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16521 #define $ac_func innocuous_$ac_func
16523 /* System header to define __stub macros and hopefully few prototypes,
16524 which can conflict with char $ac_func (); below.
16525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16526 <limits.h> exists even on freestanding compilers. */
16529 # include <limits.h>
16531 # include <assert.h>
16536 /* Override any gcc2 internal prototype to avoid an error. */
16541 /* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16544 /* The GNU C library defines this for functions which it implements
16545 to always fail with ENOSYS. Some functions are actually named
16546 something starting with __ and the normal name is an alias. */
16547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16550 char (*f) () = $ac_func;
16559 return f != $ac_func;
16564 rm -f conftest.
$ac_objext conftest
$ac_exeext
16565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16566 (eval $ac_link) 2>conftest.er1
16568 grep -v '^ *+' conftest.er1
>conftest.err
16570 cat conftest.err
>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } &&
16573 { ac_try
='test -z "$ac_c_werror_flag"
16574 || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest$ac_exeext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 eval "$as_ac_var=yes"
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 eval "$as_ac_var=no"
16593 rm -f conftest.err conftest.
$ac_objext \
16594 conftest
$ac_exeext conftest.
$ac_ext
16596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16598 if test `eval echo '${'$as_ac_var'}'` = yes; then
16599 cat >>confdefs.h
<<_ACEOF
16600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16607 # Check this now, so that we will NOT find the above functions in ncurses.
16608 # That is because we have not set up to link ncurses in lib-src.
16609 # It's better to believe a function is not available
16610 # than to expect to find it in ncurses.
16612 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
16613 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
16614 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 ac_check_lib_save_LIBS
=$LIBS
16618 LIBS
="-lncurses $LIBS"
16619 cat >conftest.
$ac_ext <<_ACEOF
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16626 /* Override any gcc2 internal prototype to avoid an error. */
16630 /* We use char because int might match the return type of a gcc2
16631 builtin and then its argument prototype would still apply. */
16641 rm -f conftest.
$ac_objext conftest
$ac_exeext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16643 (eval $ac_link) 2>conftest.er1
16645 grep -v '^ *+' conftest.er1
>conftest.err
16647 cat conftest.err
>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try
='test -z "$ac_c_werror_flag"
16651 || test ! -s conftest.err'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; } &&
16657 { ac_try
='test -s conftest$ac_exeext'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; }; then
16663 ac_cv_lib_ncurses_tparm
=yes
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.
$ac_ext >&5
16668 ac_cv_lib_ncurses_tparm
=no
16670 rm -f conftest.err conftest.
$ac_objext \
16671 conftest
$ac_exeext conftest.
$ac_ext
16672 LIBS
=$ac_check_lib_save_LIBS
16674 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
16675 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
16676 if test $ac_cv_lib_ncurses_tparm = yes; then
16677 cat >>confdefs.h
<<_ACEOF
16678 #define HAVE_LIBNCURSES 1
16681 LIBS
="-lncurses $LIBS"
16686 # Do we need the Hesiod library to provide the support routines?
16687 if test "$with_hesiod" = yes ; then
16688 # Don't set $LIBS here -- see comments above.
16690 echo "$as_me:$LINENO: checking for res_send" >&5
16691 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
16692 if test "${ac_cv_func_res_send+set}" = set; then
16693 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 cat >conftest.
$ac_ext <<_ACEOF
16698 cat confdefs.h
>>conftest.
$ac_ext
16699 cat >>conftest.
$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
16702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16703 #define res_send innocuous_res_send
16705 /* System header to define __stub macros and hopefully few prototypes,
16706 which can conflict with char res_send (); below.
16707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16708 <limits.h> exists even on freestanding compilers. */
16711 # include <limits.h>
16713 # include <assert.h>
16718 /* Override any gcc2 internal prototype to avoid an error. */
16723 /* We use char because int might match the return type of a gcc2
16724 builtin and then its argument prototype would still apply. */
16726 /* The GNU C library defines this for functions which it implements
16727 to always fail with ENOSYS. Some functions are actually named
16728 something starting with __ and the normal name is an alias. */
16729 #if defined (__stub_res_send) || defined (__stub___res_send)
16732 char (*f) () = res_send;
16741 return f != res_send;
16746 rm -f conftest.
$ac_objext conftest
$ac_exeext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16748 (eval $ac_link) 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag"
16756 || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try
='test -s conftest$ac_exeext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_cv_func_res_send
=yes
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.
$ac_ext >&5
16773 ac_cv_func_res_send
=no
16775 rm -f conftest.err conftest.
$ac_objext \
16776 conftest
$ac_exeext conftest.
$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
16779 echo "${ECHO_T}$ac_cv_func_res_send" >&6
16780 if test $ac_cv_func_res_send = yes; then
16783 echo "$as_me:$LINENO: checking for __res_send" >&5
16784 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
16785 if test "${ac_cv_func___res_send+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
16795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16796 #define __res_send innocuous___res_send
16798 /* System header to define __stub macros and hopefully few prototypes,
16799 which can conflict with char __res_send (); below.
16800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16801 <limits.h> exists even on freestanding compilers. */
16804 # include <limits.h>
16806 # include <assert.h>
16811 /* Override any gcc2 internal prototype to avoid an error. */
16816 /* We use char because int might match the return type of a gcc2
16817 builtin and then its argument prototype would still apply. */
16818 char __res_send ();
16819 /* The GNU C library defines this for functions which it implements
16820 to always fail with ENOSYS. Some functions are actually named
16821 something starting with __ and the normal name is an alias. */
16822 #if defined (__stub___res_send) || defined (__stub_____res_send)
16825 char (*f) () = __res_send;
16834 return f != __res_send;
16839 rm -f conftest.
$ac_objext conftest
$ac_exeext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16841 (eval $ac_link) 2>conftest.er1
16843 grep -v '^ *+' conftest.er1
>conftest.err
16845 cat conftest.err
>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } &&
16848 { ac_try
='test -z "$ac_c_werror_flag"
16849 || test ! -s conftest.err'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; } &&
16855 { ac_try
='test -s conftest$ac_exeext'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_cv_func___res_send
=yes
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.
$ac_ext >&5
16866 ac_cv_func___res_send
=no
16868 rm -f conftest.err conftest.
$ac_objext \
16869 conftest
$ac_exeext conftest.
$ac_ext
16871 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
16872 echo "${ECHO_T}$ac_cv_func___res_send" >&6
16873 if test $ac_cv_func___res_send = yes; then
16876 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
16877 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
16878 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 ac_check_lib_save_LIBS
=$LIBS
16882 LIBS
="-lresolv $LIBS"
16883 cat >conftest.
$ac_ext <<_ACEOF
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16890 /* Override any gcc2 internal prototype to avoid an error. */
16894 /* We use char because int might match the return type of a gcc2
16895 builtin and then its argument prototype would still apply. */
16905 rm -f conftest.
$ac_objext conftest
$ac_exeext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16907 (eval $ac_link) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag"
16915 || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try
='test -s conftest$ac_exeext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 ac_cv_lib_resolv_res_send
=yes
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.
$ac_ext >&5
16932 ac_cv_lib_resolv_res_send
=no
16934 rm -f conftest.err conftest.
$ac_objext \
16935 conftest
$ac_exeext conftest.
$ac_ext
16936 LIBS
=$ac_check_lib_save_LIBS
16938 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
16939 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
16940 if test $ac_cv_lib_resolv_res_send = yes; then
16943 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
16944 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
16945 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 ac_check_lib_save_LIBS
=$LIBS
16949 LIBS
="-lresolv $LIBS"
16950 cat >conftest.
$ac_ext <<_ACEOF
16953 cat confdefs.h
>>conftest.
$ac_ext
16954 cat >>conftest.
$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16957 /* Override any gcc2 internal prototype to avoid an error. */
16961 /* We use char because int might match the return type of a gcc2
16962 builtin and then its argument prototype would still apply. */
16963 char __res_send ();
16972 rm -f conftest.
$ac_objext conftest
$ac_exeext
16973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16974 (eval $ac_link) 2>conftest.er1
16976 grep -v '^ *+' conftest.er1
>conftest.err
16978 cat conftest.err
>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } &&
16981 { ac_try
='test -z "$ac_c_werror_flag"
16982 || test ! -s conftest.err'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; } &&
16988 { ac_try
='test -s conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_lib_resolv___res_send
=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_cv_lib_resolv___res_send
=no
17001 rm -f conftest.err conftest.
$ac_objext \
17002 conftest
$ac_exeext conftest.
$ac_ext
17003 LIBS
=$ac_check_lib_save_LIBS
17005 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17006 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17007 if test $ac_cv_lib_resolv___res_send = yes; then
17017 if test "$resolv" = yes ; then
17020 cat >>confdefs.h
<<\_ACEOF
17021 #define HAVE_LIBRESOLV 1
17027 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17028 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17029 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17040 #define hes_getmailhost innocuous_hes_getmailhost
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char hes_getmailhost (); below.
17044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17045 <limits.h> exists even on freestanding compilers. */
17048 # include <limits.h>
17050 # include <assert.h>
17053 #undef hes_getmailhost
17055 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17062 char hes_getmailhost ();
17063 /* The GNU C library defines this for functions which it implements
17064 to always fail with ENOSYS. Some functions are actually named
17065 something starting with __ and the normal name is an alias. */
17066 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17069 char (*f) () = hes_getmailhost;
17078 return f != hes_getmailhost;
17083 rm -f conftest.
$ac_objext conftest
$ac_exeext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17085 (eval $ac_link) 2>conftest.er1
17087 grep -v '^ *+' conftest.er1
>conftest.err
17089 cat conftest.err
>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } &&
17092 { ac_try
='test -z "$ac_c_werror_flag"
17093 || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try
='test -s conftest$ac_exeext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_func_hes_getmailhost
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 ac_cv_func_hes_getmailhost
=no
17112 rm -f conftest.err conftest.
$ac_objext \
17113 conftest
$ac_exeext conftest.
$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17116 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17117 if test $ac_cv_func_hes_getmailhost = yes; then
17120 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17121 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17122 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 ac_check_lib_save_LIBS
=$LIBS
17126 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17127 cat >conftest.
$ac_ext <<_ACEOF
17130 cat confdefs.h
>>conftest.
$ac_ext
17131 cat >>conftest.
$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17134 /* Override any gcc2 internal prototype to avoid an error. */
17138 /* We use char because int might match the return type of a gcc2
17139 builtin and then its argument prototype would still apply. */
17140 char hes_getmailhost ();
17144 hes_getmailhost ();
17149 rm -f conftest.
$ac_objext conftest
$ac_exeext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17151 (eval $ac_link) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag"
17159 || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try
='test -s conftest$ac_exeext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_lib_hesiod_hes_getmailhost
=yes
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ac_cv_lib_hesiod_hes_getmailhost
=no
17178 rm -f conftest.err conftest.
$ac_objext \
17179 conftest
$ac_exeext conftest.
$ac_ext
17180 LIBS
=$ac_check_lib_save_LIBS
17182 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17183 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17184 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17186 cat >>confdefs.h
<<\_ACEOF
17187 #define HAVE_LIBHESIOD 1
17198 # These tell us which Kerberos-related libraries to use.
17199 if test "${with_kerberos+set}" = set; then
17201 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17202 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17203 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 ac_check_lib_save_LIBS
=$LIBS
17207 LIBS
="-lcom_err $LIBS"
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17215 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17230 rm -f conftest.
$ac_objext conftest
$ac_exeext
17231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17232 (eval $ac_link) 2>conftest.er1
17234 grep -v '^ *+' conftest.er1
>conftest.err
17236 cat conftest.err
>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try
='test -z "$ac_c_werror_flag"
17240 || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try
='test -s conftest$ac_exeext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_cv_lib_com_err_com_err
=yes
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.
$ac_ext >&5
17257 ac_cv_lib_com_err_com_err
=no
17259 rm -f conftest.err conftest.
$ac_objext \
17260 conftest
$ac_exeext conftest.
$ac_ext
17261 LIBS
=$ac_check_lib_save_LIBS
17263 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17264 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17265 if test $ac_cv_lib_com_err_com_err = yes; then
17266 cat >>confdefs.h
<<_ACEOF
17267 #define HAVE_LIBCOM_ERR 1
17270 LIBS
="-lcom_err $LIBS"
17275 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17276 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17277 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 ac_check_lib_save_LIBS
=$LIBS
17281 LIBS
="-lk5crypto $LIBS"
17282 cat >conftest.
$ac_ext <<_ACEOF
17285 cat confdefs.h
>>conftest.
$ac_ext
17286 cat >>conftest.
$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17289 /* Override any gcc2 internal prototype to avoid an error. */
17293 /* We use char because int might match the return type of a gcc2
17294 builtin and then its argument prototype would still apply. */
17295 char mit_des_cbc_encrypt ();
17299 mit_des_cbc_encrypt ();
17304 rm -f conftest.
$ac_objext conftest
$ac_exeext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17306 (eval $ac_link) 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try
='test -z "$ac_c_werror_flag"
17314 || test ! -s conftest.err'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; } &&
17320 { ac_try
='test -s conftest$ac_exeext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.
$ac_ext >&5
17331 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
17333 rm -f conftest.err conftest.
$ac_objext \
17334 conftest
$ac_exeext conftest.
$ac_ext
17335 LIBS
=$ac_check_lib_save_LIBS
17337 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
17338 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
17339 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
17340 cat >>confdefs.h
<<_ACEOF
17341 #define HAVE_LIBK5CRYPTO 1
17344 LIBS
="-lk5crypto $LIBS"
17349 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
17350 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
17351 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 ac_check_lib_save_LIBS
=$LIBS
17355 LIBS
="-lcrypto $LIBS"
17356 cat >conftest.
$ac_ext <<_ACEOF
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17363 /* Override any gcc2 internal prototype to avoid an error. */
17367 /* We use char because int might match the return type of a gcc2
17368 builtin and then its argument prototype would still apply. */
17369 char mit_des_cbc_encrypt ();
17373 mit_des_cbc_encrypt ();
17378 rm -f conftest.
$ac_objext conftest
$ac_exeext
17379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17380 (eval $ac_link) 2>conftest.er1
17382 grep -v '^ *+' conftest.er1
>conftest.err
17384 cat conftest.err
>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
17387 { ac_try
='test -z "$ac_c_werror_flag"
17388 || test ! -s conftest.err'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; } &&
17394 { ac_try
='test -s conftest$ac_exeext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.
$ac_ext >&5
17405 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
17407 rm -f conftest.err conftest.
$ac_objext \
17408 conftest
$ac_exeext conftest.
$ac_ext
17409 LIBS
=$ac_check_lib_save_LIBS
17411 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
17412 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
17413 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
17414 cat >>confdefs.h
<<_ACEOF
17415 #define HAVE_LIBCRYPTO 1
17418 LIBS
="-lcrypto $LIBS"
17423 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
17424 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
17425 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_check_lib_save_LIBS
=$LIBS
17429 LIBS
="-lkrb5 $LIBS"
17430 cat >conftest.
$ac_ext <<_ACEOF
17433 cat confdefs.h
>>conftest.
$ac_ext
17434 cat >>conftest.
$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17437 /* Override any gcc2 internal prototype to avoid an error. */
17441 /* We use char because int might match the return type of a gcc2
17442 builtin and then its argument prototype would still apply. */
17443 char krb5_init_context ();
17447 krb5_init_context ();
17452 rm -f conftest.
$ac_objext conftest
$ac_exeext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17454 (eval $ac_link) 2>conftest.er1
17456 grep -v '^ *+' conftest.er1
>conftest.err
17458 cat conftest.err
>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try
='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest$ac_exeext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_cv_lib_krb5_krb5_init_context
=yes
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_cv_lib_krb5_krb5_init_context
=no
17481 rm -f conftest.err conftest.
$ac_objext \
17482 conftest
$ac_exeext conftest.
$ac_ext
17483 LIBS
=$ac_check_lib_save_LIBS
17485 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17486 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
17487 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
17488 cat >>confdefs.h
<<_ACEOF
17489 #define HAVE_LIBKRB5 1
17492 LIBS
="-lkrb5 $LIBS"
17496 if test "${with_kerberos5+set}" != set; then
17498 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
17499 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
17500 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 ac_check_lib_save_LIBS
=$LIBS
17504 LIBS
="-ldes425 $LIBS"
17505 cat >conftest.
$ac_ext <<_ACEOF
17508 cat confdefs.h
>>conftest.
$ac_ext
17509 cat >>conftest.
$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17512 /* Override any gcc2 internal prototype to avoid an error. */
17516 /* We use char because int might match the return type of a gcc2
17517 builtin and then its argument prototype would still apply. */
17518 char des_cbc_encrypt ();
17522 des_cbc_encrypt ();
17527 rm -f conftest.
$ac_objext conftest
$ac_exeext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17529 (eval $ac_link) 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -z "$ac_c_werror_flag"
17537 || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try
='test -s conftest$ac_exeext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17549 ac_cv_lib_des425_des_cbc_encrypt
=yes
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.
$ac_ext >&5
17554 ac_cv_lib_des425_des_cbc_encrypt
=no
17556 rm -f conftest.err conftest.
$ac_objext \
17557 conftest
$ac_exeext conftest.
$ac_ext
17558 LIBS
=$ac_check_lib_save_LIBS
17560 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
17561 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
17562 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
17563 cat >>confdefs.h
<<_ACEOF
17564 #define HAVE_LIBDES425 1
17567 LIBS
="-ldes425 $LIBS"
17571 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
17572 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
17573 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 ac_check_lib_save_LIBS
=$LIBS
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17585 /* 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 des_cbc_encrypt ();
17595 des_cbc_encrypt ();
17600 rm -f conftest.
$ac_objext conftest
$ac_exeext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17602 (eval $ac_link) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag"
17610 || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest$ac_exeext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_cv_lib_des_des_cbc_encrypt
=yes
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 ac_cv_lib_des_des_cbc_encrypt
=no
17629 rm -f conftest.err conftest.
$ac_objext \
17630 conftest
$ac_exeext conftest.
$ac_ext
17631 LIBS
=$ac_check_lib_save_LIBS
17633 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
17634 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
17635 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
17636 cat >>confdefs.h
<<_ACEOF
17637 #define HAVE_LIBDES 1
17647 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
17648 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
17649 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 ac_check_lib_save_LIBS
=$LIBS
17653 LIBS
="-lkrb4 $LIBS"
17654 cat >conftest.
$ac_ext <<_ACEOF
17657 cat confdefs.h
>>conftest.
$ac_ext
17658 cat >>conftest.
$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17661 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17667 char krb_get_cred ();
17676 rm -f conftest.
$ac_objext conftest
$ac_exeext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17678 (eval $ac_link) 2>conftest.er1
17680 grep -v '^ *+' conftest.er1
>conftest.err
17682 cat conftest.err
>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try
='test -z "$ac_c_werror_flag"
17686 || 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_krb4_krb_get_cred
=yes
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17703 ac_cv_lib_krb4_krb_get_cred
=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_krb4_krb_get_cred" >&5
17710 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
17711 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
17712 cat >>confdefs.h
<<_ACEOF
17713 #define HAVE_LIBKRB4 1
17716 LIBS
="-lkrb4 $LIBS"
17720 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
17721 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
17722 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 ac_check_lib_save_LIBS
=$LIBS
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17734 /* Override any gcc2 internal prototype to avoid an error. */
17738 /* We use char because int might match the return type of a gcc2
17739 builtin and then its argument prototype would still apply. */
17740 char krb_get_cred ();
17749 rm -f conftest.
$ac_objext conftest
$ac_exeext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17751 (eval $ac_link) 2>conftest.er1
17753 grep -v '^ *+' conftest.er1
>conftest.err
17755 cat conftest.err
>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try
='test -z "$ac_c_werror_flag"
17759 || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try
='test -s conftest$ac_exeext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_cv_lib_krb_krb_get_cred
=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 ac_cv_lib_krb_krb_get_cred
=no
17778 rm -f conftest.err conftest.
$ac_objext \
17779 conftest
$ac_exeext conftest.
$ac_ext
17780 LIBS
=$ac_check_lib_save_LIBS
17782 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
17783 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
17784 if test $ac_cv_lib_krb_krb_get_cred = yes; then
17785 cat >>confdefs.h
<<_ACEOF
17786 #define HAVE_LIBKRB 1
17797 if test "${with_kerberos5+set}" = set; then
17799 for ac_header
in krb5.h
17801 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17803 echo "$as_me:$LINENO: checking for $ac_header" >&5
17804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17811 # Is the header compilable?
17812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17814 cat >conftest.
$ac_ext <<_ACEOF
17817 cat confdefs.h
>>conftest.
$ac_ext
17818 cat >>conftest.
$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 $ac_includes_default
17821 #include <$ac_header>
17823 rm -f conftest.
$ac_objext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>conftest.er1
17827 grep -v '^ *+' conftest.er1
>conftest.err
17829 cat conftest.err
>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); } &&
17832 { ac_try
='test -z "$ac_c_werror_flag"
17833 || test ! -s conftest.err'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; } &&
17839 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17845 ac_header_compiler
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 ac_header_compiler
=no
17852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17854 echo "${ECHO_T}$ac_header_compiler" >&6
17856 # Is the header present?
17857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17859 cat >conftest.
$ac_ext <<_ACEOF
17862 cat confdefs.h
>>conftest.
$ac_ext
17863 cat >>conftest.
$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17865 #include <$ac_header>
17867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17870 grep -v '^ *+' conftest.er1
>conftest.err
17872 cat conftest.err
>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } >/dev
/null
; then
17875 if test -s conftest.err
; then
17876 ac_cpp_err
=$ac_c_preproc_warn_flag
17877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17884 if test -z "$ac_cpp_err"; then
17885 ac_header_preproc
=yes
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.
$ac_ext >&5
17890 ac_header_preproc
=no
17892 rm -f conftest.err conftest.
$ac_ext
17893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17894 echo "${ECHO_T}$ac_header_preproc" >&6
17896 # So? What about this header?
17897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17903 ac_header_preproc
=yes
17906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17920 ## ------------------------------------------ ##
17921 ## Report this to the AC_PACKAGE_NAME lists. ##
17922 ## ------------------------------------------ ##
17925 sed "s/^/$as_me: WARNING: /" >&2
17928 echo "$as_me:$LINENO: checking for $ac_header" >&5
17929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 eval "$as_ac_Header=\$ac_header_preproc"
17935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17940 cat >>confdefs.h
<<_ACEOF
17941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17950 for ac_header
in des.h
17952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17954 echo "$as_me:$LINENO: checking for $ac_header" >&5
17955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17962 # Is the header compilable?
17963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17965 cat >conftest.
$ac_ext <<_ACEOF
17968 cat confdefs.h
>>conftest.
$ac_ext
17969 cat >>conftest.
$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971 $ac_includes_default
17972 #include <$ac_header>
17974 rm -f conftest.
$ac_objext
17975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17976 (eval $ac_compile) 2>conftest.er1
17978 grep -v '^ *+' conftest.er1
>conftest.err
17980 cat conftest.err
>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } &&
17983 { ac_try
='test -z "$ac_c_werror_flag"
17984 || test ! -s conftest.err'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; } &&
17990 { ac_try
='test -s conftest.$ac_objext'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; }; then
17996 ac_header_compiler
=yes
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.
$ac_ext >&5
18001 ac_header_compiler
=no
18003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18005 echo "${ECHO_T}$ac_header_compiler" >&6
18007 # Is the header present?
18008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18010 cat >conftest.
$ac_ext <<_ACEOF
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #include <$ac_header>
18018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1
>conftest.err
18023 cat conftest.err
>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } >/dev
/null
; then
18026 if test -s conftest.err
; then
18027 ac_cpp_err
=$ac_c_preproc_warn_flag
18028 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18035 if test -z "$ac_cpp_err"; then
18036 ac_header_preproc
=yes
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.
$ac_ext >&5
18041 ac_header_preproc
=no
18043 rm -f conftest.err conftest.
$ac_ext
18044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18045 echo "${ECHO_T}$ac_header_preproc" >&6
18047 # So? What about this header?
18048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18054 ac_header_preproc
=yes
18057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18071 ## ------------------------------------------ ##
18072 ## Report this to the AC_PACKAGE_NAME lists. ##
18073 ## ------------------------------------------ ##
18076 sed "s/^/$as_me: WARNING: /" >&2
18079 echo "$as_me:$LINENO: checking for $ac_header" >&5
18080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 eval "$as_ac_Header=\$ac_header_preproc"
18086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18091 cat >>confdefs.h
<<_ACEOF
18092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18097 for ac_header
in kerberosIV
/des.h
18099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18101 echo "$as_me:$LINENO: checking for $ac_header" >&5
18102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18109 # Is the header compilable?
18110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18112 cat >conftest.
$ac_ext <<_ACEOF
18115 cat confdefs.h
>>conftest.
$ac_ext
18116 cat >>conftest.
$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18118 $ac_includes_default
18119 #include <$ac_header>
18121 rm -f conftest.
$ac_objext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18123 (eval $ac_compile) 2>conftest.er1
18125 grep -v '^ *+' conftest.er1
>conftest.err
18127 cat conftest.err
>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try
='test -z "$ac_c_werror_flag"
18131 || 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_objext'
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_header_compiler
=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 ac_header_compiler
=no
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18152 echo "${ECHO_T}$ac_header_compiler" >&6
18154 # Is the header present?
18155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #include <$ac_header>
18165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18168 grep -v '^ *+' conftest.er1
>conftest.err
18170 cat conftest.err
>&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } >/dev
/null
; then
18173 if test -s conftest.err
; then
18174 ac_cpp_err
=$ac_c_preproc_warn_flag
18175 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18182 if test -z "$ac_cpp_err"; then
18183 ac_header_preproc
=yes
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.
$ac_ext >&5
18188 ac_header_preproc
=no
18190 rm -f conftest.err conftest.
$ac_ext
18191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18192 echo "${ECHO_T}$ac_header_preproc" >&6
18194 # So? What about this header?
18195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18201 ac_header_preproc
=yes
18204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18218 ## ------------------------------------------ ##
18219 ## Report this to the AC_PACKAGE_NAME lists. ##
18220 ## ------------------------------------------ ##
18223 sed "s/^/$as_me: WARNING: /" >&2
18226 echo "$as_me:$LINENO: checking for $ac_header" >&5
18227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 eval "$as_ac_Header=\$ac_header_preproc"
18233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18238 cat >>confdefs.h
<<_ACEOF
18239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18244 for ac_header
in kerberos
/des.h
18246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18248 echo "$as_me:$LINENO: checking for $ac_header" >&5
18249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18256 # Is the header compilable?
18257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18259 cat >conftest.
$ac_ext <<_ACEOF
18262 cat confdefs.h
>>conftest.
$ac_ext
18263 cat >>conftest.
$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18265 $ac_includes_default
18266 #include <$ac_header>
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag"
18278 || 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_objext'
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_header_compiler
=yes
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.
$ac_ext >&5
18295 ac_header_compiler
=no
18297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18299 echo "${ECHO_T}$ac_header_compiler" >&6
18301 # Is the header present?
18302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18304 cat >conftest.
$ac_ext <<_ACEOF
18307 cat confdefs.h
>>conftest.
$ac_ext
18308 cat >>conftest.
$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310 #include <$ac_header>
18312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18315 grep -v '^ *+' conftest.er1
>conftest.err
18317 cat conftest.err
>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } >/dev
/null
; then
18320 if test -s conftest.err
; then
18321 ac_cpp_err
=$ac_c_preproc_warn_flag
18322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18329 if test -z "$ac_cpp_err"; then
18330 ac_header_preproc
=yes
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.
$ac_ext >&5
18335 ac_header_preproc
=no
18337 rm -f conftest.err conftest.
$ac_ext
18338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18339 echo "${ECHO_T}$ac_header_preproc" >&6
18341 # So? What about this header?
18342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18348 ac_header_preproc
=yes
18351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18365 ## ------------------------------------------ ##
18366 ## Report this to the AC_PACKAGE_NAME lists. ##
18367 ## ------------------------------------------ ##
18370 sed "s/^/$as_me: WARNING: /" >&2
18373 echo "$as_me:$LINENO: checking for $ac_header" >&5
18374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18378 eval "$as_ac_Header=\$ac_header_preproc"
18380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18385 cat >>confdefs.h
<<_ACEOF
18386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18402 for ac_header
in krb.h
18404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18406 echo "$as_me:$LINENO: checking for $ac_header" >&5
18407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18414 # Is the header compilable?
18415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18417 cat >conftest.
$ac_ext <<_ACEOF
18420 cat confdefs.h
>>conftest.
$ac_ext
18421 cat >>conftest.
$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 $ac_includes_default
18424 #include <$ac_header>
18426 rm -f conftest.
$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18430 grep -v '^ *+' conftest.er1
>conftest.err
18432 cat conftest.err
>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try
='test -z "$ac_c_werror_flag"
18436 || test ! -s conftest.err'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; } &&
18442 { ac_try
='test -s conftest.$ac_objext'
18443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444 (eval $ac_try) 2>&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); }; }; then
18448 ac_header_compiler
=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.
$ac_ext >&5
18453 ac_header_compiler
=no
18455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18457 echo "${ECHO_T}$ac_header_compiler" >&6
18459 # Is the header present?
18460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #include <$ac_header>
18470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18473 grep -v '^ *+' conftest.er1
>conftest.err
18475 cat conftest.err
>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); } >/dev
/null
; then
18478 if test -s conftest.err
; then
18479 ac_cpp_err
=$ac_c_preproc_warn_flag
18480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18487 if test -z "$ac_cpp_err"; then
18488 ac_header_preproc
=yes
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.
$ac_ext >&5
18493 ac_header_preproc
=no
18495 rm -f conftest.err conftest.
$ac_ext
18496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18497 echo "${ECHO_T}$ac_header_preproc" >&6
18499 # So? What about this header?
18500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18506 ac_header_preproc
=yes
18509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18523 ## ------------------------------------------ ##
18524 ## Report this to the AC_PACKAGE_NAME lists. ##
18525 ## ------------------------------------------ ##
18528 sed "s/^/$as_me: WARNING: /" >&2
18531 echo "$as_me:$LINENO: checking for $ac_header" >&5
18532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 eval "$as_ac_Header=\$ac_header_preproc"
18538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18543 cat >>confdefs.h
<<_ACEOF
18544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18549 for ac_header
in kerberosIV
/krb.h
18551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18553 echo "$as_me:$LINENO: checking for $ac_header" >&5
18554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18556 echo $ECHO_N "(cached) $ECHO_C" >&6
18558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18561 # Is the header compilable?
18562 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18563 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18571 #include <$ac_header>
18573 rm -f conftest.
$ac_objext
18574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18575 (eval $ac_compile) 2>conftest.er1
18577 grep -v '^ *+' conftest.er1
>conftest.err
18579 cat conftest.err
>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try
='test -z "$ac_c_werror_flag"
18583 || test ! -s conftest.err'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; } &&
18589 { ac_try
='test -s conftest.$ac_objext'
18590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18591 (eval $ac_try) 2>&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); }; }; then
18595 ac_header_compiler
=yes
18597 echo "$as_me: failed program was:" >&5
18598 sed 's/^/| /' conftest.
$ac_ext >&5
18600 ac_header_compiler
=no
18602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18604 echo "${ECHO_T}$ac_header_compiler" >&6
18606 # Is the header present?
18607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <$ac_header>
18617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18620 grep -v '^ *+' conftest.er1
>conftest.err
18622 cat conftest.err
>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } >/dev
/null
; then
18625 if test -s conftest.err
; then
18626 ac_cpp_err
=$ac_c_preproc_warn_flag
18627 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18634 if test -z "$ac_cpp_err"; then
18635 ac_header_preproc
=yes
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.
$ac_ext >&5
18640 ac_header_preproc
=no
18642 rm -f conftest.err conftest.
$ac_ext
18643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18644 echo "${ECHO_T}$ac_header_preproc" >&6
18646 # So? What about this header?
18647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18653 ac_header_preproc
=yes
18656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18660 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18661 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18662 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18663 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18666 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18667 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18670 ## ------------------------------------------ ##
18671 ## Report this to the AC_PACKAGE_NAME lists. ##
18672 ## ------------------------------------------ ##
18675 sed "s/^/$as_me: WARNING: /" >&2
18678 echo "$as_me:$LINENO: checking for $ac_header" >&5
18679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 eval "$as_ac_Header=\$ac_header_preproc"
18685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18690 cat >>confdefs.h
<<_ACEOF
18691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18696 for ac_header
in kerberos
/krb.h
18698 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18700 echo "$as_me:$LINENO: checking for $ac_header" >&5
18701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18708 # Is the header compilable?
18709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18711 cat >conftest.
$ac_ext <<_ACEOF
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 #include <$ac_header>
18720 rm -f conftest.
$ac_objext
18721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18722 (eval $ac_compile) 2>conftest.er1
18724 grep -v '^ *+' conftest.er1
>conftest.err
18726 cat conftest.err
>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try
='test -z "$ac_c_werror_flag"
18730 || test ! -s conftest.err'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; } &&
18736 { ac_try
='test -s conftest.$ac_objext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_header_compiler
=yes
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.
$ac_ext >&5
18747 ac_header_compiler
=no
18749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18751 echo "${ECHO_T}$ac_header_compiler" >&6
18753 # Is the header present?
18754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18756 cat >conftest.
$ac_ext <<_ACEOF
18759 cat confdefs.h
>>conftest.
$ac_ext
18760 cat >>conftest.
$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 #include <$ac_header>
18764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } >/dev
/null
; then
18772 if test -s conftest.err
; then
18773 ac_cpp_err
=$ac_c_preproc_warn_flag
18774 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18781 if test -z "$ac_cpp_err"; then
18782 ac_header_preproc
=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18787 ac_header_preproc
=no
18789 rm -f conftest.err conftest.
$ac_ext
18790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18791 echo "${ECHO_T}$ac_header_preproc" >&6
18793 # So? What about this header?
18794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18796 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18797 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18800 ac_header_preproc
=yes
18803 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18806 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18808 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18809 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18810 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18813 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18814 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18817 ## ------------------------------------------ ##
18818 ## Report this to the AC_PACKAGE_NAME lists. ##
18819 ## ------------------------------------------ ##
18822 sed "s/^/$as_me: WARNING: /" >&2
18825 echo "$as_me:$LINENO: checking for $ac_header" >&5
18826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 eval "$as_ac_Header=\$ac_header_preproc"
18832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18837 cat >>confdefs.h
<<_ACEOF
18838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18855 for ac_header
in com_err.h
18857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18859 echo "$as_me:$LINENO: checking for $ac_header" >&5
18860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18862 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18867 # Is the header compilable?
18868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18870 cat >conftest.
$ac_ext <<_ACEOF
18873 cat confdefs.h
>>conftest.
$ac_ext
18874 cat >>conftest.
$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 $ac_includes_default
18877 #include <$ac_header>
18879 rm -f conftest.
$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try
='test -z "$ac_c_werror_flag"
18889 || test ! -s conftest.err'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try
='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_header_compiler
=yes
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.
$ac_ext >&5
18906 ac_header_compiler
=no
18908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18910 echo "${ECHO_T}$ac_header_compiler" >&6
18912 # Is the header present?
18913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18915 cat >conftest.
$ac_ext <<_ACEOF
18918 cat confdefs.h
>>conftest.
$ac_ext
18919 cat >>conftest.
$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 #include <$ac_header>
18923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18926 grep -v '^ *+' conftest.er1
>conftest.err
18928 cat conftest.err
>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } >/dev
/null
; then
18931 if test -s conftest.err
; then
18932 ac_cpp_err
=$ac_c_preproc_warn_flag
18933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18940 if test -z "$ac_cpp_err"; then
18941 ac_header_preproc
=yes
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.
$ac_ext >&5
18946 ac_header_preproc
=no
18948 rm -f conftest.err conftest.
$ac_ext
18949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18950 echo "${ECHO_T}$ac_header_preproc" >&6
18952 # So? What about this header?
18953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18959 ac_header_preproc
=yes
18962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18976 ## ------------------------------------------ ##
18977 ## Report this to the AC_PACKAGE_NAME lists. ##
18978 ## ------------------------------------------ ##
18981 sed "s/^/$as_me: WARNING: /" >&2
18984 echo "$as_me:$LINENO: checking for $ac_header" >&5
18985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18989 eval "$as_ac_Header=\$ac_header_preproc"
18991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18996 cat >>confdefs.h
<<_ACEOF
18997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19006 # Solaris requires -lintl if you want strerror (which calls dgettext)
19007 # to return localized messages.
19009 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19010 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19011 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 ac_check_lib_save_LIBS
=$LIBS
19015 LIBS
="-lintl $LIBS"
19016 cat >conftest.
$ac_ext <<_ACEOF
19019 cat confdefs.h
>>conftest.
$ac_ext
19020 cat >>conftest.
$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19023 /* Override any gcc2 internal prototype to avoid an error. */
19027 /* We use char because int might match the return type of a gcc2
19028 builtin and then its argument prototype would still apply. */
19038 rm -f conftest.
$ac_objext conftest
$ac_exeext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19040 (eval $ac_link) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1
>conftest.err
19044 cat conftest.err
>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try
='test -z "$ac_c_werror_flag"
19048 || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest$ac_exeext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 ac_cv_lib_intl_dgettext
=yes
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 ac_cv_lib_intl_dgettext
=no
19067 rm -f conftest.err conftest.
$ac_objext \
19068 conftest
$ac_exeext conftest.
$ac_ext
19069 LIBS
=$ac_check_lib_save_LIBS
19071 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19072 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19073 if test $ac_cv_lib_intl_dgettext = yes; then
19074 cat >>confdefs.h
<<_ACEOF
19075 #define HAVE_LIBINTL 1
19078 LIBS
="-lintl $LIBS"
19083 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19084 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19085 if test "${emacs_cv_localtime_cache+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 if test x
$ac_cv_func_tzset = xyes
; then
19089 if test "$cross_compiling" = yes; then
19090 # If we have tzset, assume the worst when cross-compiling.
19091 emacs_cv_localtime_cache
=yes
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19100 extern char **environ;
19104 for (to = from = environ; (*to = *from); from++)
19105 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19108 char TZ_GMT0[] = "TZ=GMT0";
19109 char TZ_PST8[] = "TZ=PST8";
19112 time_t now = time ((time_t *) 0);
19113 int hour_GMT0, hour_unset;
19114 if (putenv (TZ_GMT0) != 0)
19116 hour_GMT0 = localtime (&now)->tm_hour;
19118 hour_unset = localtime (&now)->tm_hour;
19119 if (putenv (TZ_PST8) != 0)
19121 if (localtime (&now)->tm_hour == hour_GMT0)
19124 if (localtime (&now)->tm_hour != hour_unset)
19129 rm -f conftest
$ac_exeext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19131 (eval $ac_link) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 emacs_cv_localtime_cache
=no
19142 echo "$as_me: program exited with status $ac_status" >&5
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.
$ac_ext >&5
19146 ( exit $ac_status )
19147 emacs_cv_localtime_cache
=yes
19149 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19152 # If we lack tzset, report that localtime does not cache TZ,
19153 # since we can't invalidate the cache if we don't have tzset.
19154 emacs_cv_localtime_cache
=no
19157 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19158 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19159 if test $emacs_cv_localtime_cache = yes; then
19161 cat >>confdefs.h
<<\_ACEOF
19162 #define LOCALTIME_CACHE 1
19167 if test "x$HAVE_TIMEVAL" = xyes
; then
19169 for ac_func
in gettimeofday
19171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19172 echo "$as_me:$LINENO: checking for $ac_func" >&5
19173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19174 if eval "test \"\${$as_ac_var+set}\" = set"; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 cat >conftest.
$ac_ext <<_ACEOF
19180 cat confdefs.h
>>conftest.
$ac_ext
19181 cat >>conftest.
$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19185 #define $ac_func innocuous_$ac_func
19187 /* System header to define __stub macros and hopefully few prototypes,
19188 which can conflict with char $ac_func (); below.
19189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19190 <limits.h> exists even on freestanding compilers. */
19193 # include <limits.h>
19195 # include <assert.h>
19200 /* Override any gcc2 internal prototype to avoid an error. */
19205 /* We use char because int might match the return type of a gcc2
19206 builtin and then its argument prototype would still apply. */
19208 /* The GNU C library defines this for functions which it implements
19209 to always fail with ENOSYS. Some functions are actually named
19210 something starting with __ and the normal name is an alias. */
19211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19214 char (*f) () = $ac_func;
19223 return f != $ac_func;
19228 rm -f conftest.
$ac_objext conftest
$ac_exeext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19230 (eval $ac_link) 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -z "$ac_c_werror_flag"
19238 || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try
='test -s conftest$ac_exeext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 eval "$as_ac_var=yes"
19252 echo "$as_me: failed program was:" >&5
19253 sed 's/^/| /' conftest.
$ac_ext >&5
19255 eval "$as_ac_var=no"
19257 rm -f conftest.err conftest.
$ac_objext \
19258 conftest
$ac_exeext conftest.
$ac_ext
19260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19262 if test `eval echo '${'$as_ac_var'}'` = yes; then
19263 cat >>confdefs.h
<<_ACEOF
19264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19270 if test $ac_cv_func_gettimeofday = yes; then
19271 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19272 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19273 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19274 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 cat >conftest.
$ac_ext <<_ACEOF
19279 cat confdefs.h
>>conftest.
$ac_ext
19280 cat >>conftest.
$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19283 #ifdef TIME_WITH_SYS_TIME
19284 #include <sys/time.h>
19287 #ifdef HAVE_SYS_TIME_H
19288 #include <sys/time.h>
19296 struct timeval time;
19297 gettimeofday (&time, 0);
19302 rm -f conftest.
$ac_objext
19303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19304 (eval $ac_compile) 2>conftest.er1
19306 grep -v '^ *+' conftest.er1
>conftest.err
19308 cat conftest.err
>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try
='test -z "$ac_c_werror_flag"
19312 || test ! -s conftest.err'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; } &&
19318 { ac_try
='test -s conftest.$ac_objext'
19319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19320 (eval $ac_try) 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; }; then
19324 emacs_cv_gettimeofday_two_arguments
=yes
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.
$ac_ext >&5
19329 emacs_cv_gettimeofday_two_arguments
=no
19331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19333 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19334 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19335 if test $emacs_cv_gettimeofday_two_arguments = no
; then
19337 cat >>confdefs.h
<<\_ACEOF
19338 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19345 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
19346 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
19347 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
19348 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 cat >conftest.
$ac_ext <<_ACEOF
19354 cat confdefs.h
>>conftest.
$ac_ext
19355 cat >>conftest.
$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <sys/types.h>
19358 #include <$ac_cv_struct_tm>
19364 static struct tm ac_aggr;
19365 if (ac_aggr.tm_zone)
19371 rm -f conftest.
$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19375 grep -v '^ *+' conftest.er1
>conftest.err
19377 cat conftest.err
>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try
='test -z "$ac_c_werror_flag"
19381 || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try
='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 ac_cv_member_struct_tm_tm_zone
=yes
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.
$ac_ext >&5
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <sys/types.h>
19405 #include <$ac_cv_struct_tm>
19411 static struct tm ac_aggr;
19412 if (sizeof ac_aggr.tm_zone)
19418 rm -f conftest.
$ac_objext
19419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19420 (eval $ac_compile) 2>conftest.er1
19422 grep -v '^ *+' conftest.er1
>conftest.err
19424 cat conftest.err
>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } &&
19427 { ac_try
='test -z "$ac_c_werror_flag"
19428 || test ! -s conftest.err'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; } &&
19434 { ac_try
='test -s conftest.$ac_objext'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; }; then
19440 ac_cv_member_struct_tm_tm_zone
=yes
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.
$ac_ext >&5
19445 ac_cv_member_struct_tm_tm_zone
=no
19447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19451 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
19452 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
19453 if test $ac_cv_member_struct_tm_tm_zone = yes; then
19455 cat >>confdefs.h
<<_ACEOF
19456 #define HAVE_STRUCT_TM_TM_ZONE 1
19462 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
19464 cat >>confdefs.h
<<\_ACEOF
19465 #define HAVE_TM_ZONE 1
19469 echo "$as_me:$LINENO: checking for tzname" >&5
19470 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
19471 if test "${ac_cv_var_tzname+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 cat >conftest.
$ac_ext <<_ACEOF
19477 cat confdefs.h
>>conftest.
$ac_ext
19478 cat >>conftest.
$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19481 #ifndef tzname /* For SGI. */
19482 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
19493 rm -f conftest.
$ac_objext conftest
$ac_exeext
19494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19495 (eval $ac_link) 2>conftest.er1
19497 grep -v '^ *+' conftest.er1
>conftest.err
19499 cat conftest.err
>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); } &&
19502 { ac_try
='test -z "$ac_c_werror_flag"
19503 || test ! -s conftest.err'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; } &&
19509 { ac_try
='test -s conftest$ac_exeext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_cv_var_tzname
=yes
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.
$ac_ext >&5
19520 ac_cv_var_tzname
=no
19522 rm -f conftest.err conftest.
$ac_objext \
19523 conftest
$ac_exeext conftest.
$ac_ext
19525 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
19526 echo "${ECHO_T}$ac_cv_var_tzname" >&6
19527 if test $ac_cv_var_tzname = yes; then
19529 cat >>confdefs.h
<<\_ACEOF
19530 #define HAVE_TZNAME 1
19537 if test "$ac_cv_func_gettimeofday" = yes; then
19538 echo "$as_me:$LINENO: checking for struct timezone" >&5
19539 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
19540 if test "${emacs_cv_struct_timezone+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19543 cat >conftest.
$ac_ext <<_ACEOF
19546 cat confdefs.h
>>conftest.
$ac_ext
19547 cat >>conftest.
$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <sys/time.h>
19553 struct timezone tz;
19558 rm -f conftest.
$ac_objext
19559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19560 (eval $ac_compile) 2>conftest.er1
19562 grep -v '^ *+' conftest.er1
>conftest.err
19564 cat conftest.err
>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } &&
19567 { ac_try
='test -z "$ac_c_werror_flag"
19568 || test ! -s conftest.err'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; } &&
19574 { ac_try
='test -s conftest.$ac_objext'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; }; then
19580 if test "$cross_compiling" = yes; then
19581 emacs_cv_struct_timezone
=yes
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19590 #ifdef TIME_WITH_SYS_TIME
19591 #include <sys/time.h>
19594 #ifdef HAVE_SYS_TIME_H
19595 #include <sys/time.h>
19601 struct timeval time;
19602 struct timezone dummy;
19603 exit (gettimeofday (&time, &dummy));
19606 rm -f conftest
$ac_exeext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19608 (eval $ac_link) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 emacs_cv_struct_timezone
=yes
19619 echo "$as_me: program exited with status $ac_status" >&5
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.
$ac_ext >&5
19623 ( exit $ac_status )
19624 emacs_cv_struct_timezone
=no
19626 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 emacs_cv_struct_timezone
=no
19634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19636 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
19637 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
19641 echo "$as_me:$LINENO: checking for socket" >&5
19642 echo $ECHO_N "checking for socket... $ECHO_C" >&6
19643 if test "${ac_cv_func_socket+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
19653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19654 #define socket innocuous_socket
19656 /* System header to define __stub macros and hopefully few prototypes,
19657 which can conflict with char socket (); below.
19658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19659 <limits.h> exists even on freestanding compilers. */
19662 # include <limits.h>
19664 # include <assert.h>
19669 /* Override any gcc2 internal prototype to avoid an error. */
19674 /* We use char because int might match the return type of a gcc2
19675 builtin and then its argument prototype would still apply. */
19677 /* The GNU C library defines this for functions which it implements
19678 to always fail with ENOSYS. Some functions are actually named
19679 something starting with __ and the normal name is an alias. */
19680 #if defined (__stub_socket) || defined (__stub___socket)
19683 char (*f) () = socket;
19692 return f != socket;
19697 rm -f conftest.
$ac_objext conftest
$ac_exeext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19699 (eval $ac_link) 2>conftest.er1
19701 grep -v '^ *+' conftest.er1
>conftest.err
19703 cat conftest.err
>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try
='test -z "$ac_c_werror_flag"
19707 || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try
='test -s conftest$ac_exeext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_func_socket
=yes
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.
$ac_ext >&5
19724 ac_cv_func_socket
=no
19726 rm -f conftest.err conftest.
$ac_objext \
19727 conftest
$ac_exeext conftest.
$ac_ext
19729 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
19730 echo "${ECHO_T}$ac_cv_func_socket" >&6
19731 if test $ac_cv_func_socket = yes; then
19737 if test $ok_so_far = yes; then
19738 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19739 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
19740 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
19741 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19742 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
19745 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
19747 # Is the header compilable?
19748 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
19749 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 #include <netinet/in.h>
19759 rm -f conftest.
$ac_objext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19761 (eval $ac_compile) 2>conftest.er1
19763 grep -v '^ *+' conftest.er1
>conftest.err
19765 cat conftest.err
>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try
='test -z "$ac_c_werror_flag"
19769 || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest.$ac_objext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_header_compiler
=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.
$ac_ext >&5
19786 ac_header_compiler
=no
19788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19790 echo "${ECHO_T}$ac_header_compiler" >&6
19792 # Is the header present?
19793 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
19794 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
19795 cat >conftest.
$ac_ext <<_ACEOF
19798 cat confdefs.h
>>conftest.
$ac_ext
19799 cat >>conftest.
$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <netinet/in.h>
19803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1
>conftest.err
19808 cat conftest.err
>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } >/dev
/null
; then
19811 if test -s conftest.err
; then
19812 ac_cpp_err
=$ac_c_preproc_warn_flag
19813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19820 if test -z "$ac_cpp_err"; then
19821 ac_header_preproc
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_header_preproc
=no
19828 rm -f conftest.err conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19830 echo "${ECHO_T}$ac_header_preproc" >&6
19832 # So? What about this header?
19833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19835 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
19836 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
19838 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
19839 ac_header_preproc
=yes
19842 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
19843 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
19845 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
19846 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
19847 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
19848 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
19849 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
19850 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
19851 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
19852 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
19853 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
19856 ## ------------------------------------------ ##
19857 ## Report this to the AC_PACKAGE_NAME lists. ##
19858 ## ------------------------------------------ ##
19861 sed "s/^/$as_me: WARNING: /" >&2
19864 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
19865 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
19866 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19867 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 ac_cv_header_netinet_in_h
=$ac_header_preproc
19871 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
19872 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
19875 if test $ac_cv_header_netinet_in_h = yes; then
19883 if test $ok_so_far = yes; then
19884 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
19885 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
19886 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
19887 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
19891 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
19893 # Is the header compilable?
19894 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
19895 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
19896 cat >conftest.
$ac_ext <<_ACEOF
19899 cat confdefs.h
>>conftest.
$ac_ext
19900 cat >>conftest.
$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 #include <arpa/inet.h>
19905 rm -f conftest.
$ac_objext
19906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19907 (eval $ac_compile) 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -z "$ac_c_werror_flag"
19915 || test ! -s conftest.err'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; } &&
19921 { ac_try
='test -s conftest.$ac_objext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_header_compiler
=yes
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19932 ac_header_compiler
=no
19934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19936 echo "${ECHO_T}$ac_header_compiler" >&6
19938 # Is the header present?
19939 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
19940 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #include <arpa/inet.h>
19949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19952 grep -v '^ *+' conftest.er1
>conftest.err
19954 cat conftest.err
>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } >/dev
/null
; then
19957 if test -s conftest.err
; then
19958 ac_cpp_err
=$ac_c_preproc_warn_flag
19959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19966 if test -z "$ac_cpp_err"; then
19967 ac_header_preproc
=yes
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.
$ac_ext >&5
19972 ac_header_preproc
=no
19974 rm -f conftest.err conftest.
$ac_ext
19975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19976 echo "${ECHO_T}$ac_header_preproc" >&6
19978 # So? What about this header?
19979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19981 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
19982 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19983 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
19984 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
19985 ac_header_preproc
=yes
19988 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
19989 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
19991 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
19993 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
19995 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
19997 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
19998 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
19999 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20002 ## ------------------------------------------ ##
20003 ## Report this to the AC_PACKAGE_NAME lists. ##
20004 ## ------------------------------------------ ##
20007 sed "s/^/$as_me: WARNING: /" >&2
20010 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20011 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20012 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20017 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20018 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20021 if test $ac_cv_header_arpa_inet_h = yes; then
20029 if test $ok_so_far = yes; then
20031 cat >>confdefs.h
<<\_ACEOF
20032 #define HAVE_INET_SOCKETS 1
20038 for ac_header
in sys
/ioctl.h
20040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20042 echo "$as_me:$LINENO: checking for $ac_header" >&5
20043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20050 # Is the header compilable?
20051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20053 cat >conftest.
$ac_ext <<_ACEOF
20056 cat confdefs.h
>>conftest.
$ac_ext
20057 cat >>conftest.
$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059 $ac_includes_default
20060 #include <$ac_header>
20062 rm -f conftest.
$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20066 grep -v '^ *+' conftest.er1
>conftest.err
20068 cat conftest.err
>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try
='test -z "$ac_c_werror_flag"
20072 || 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 ac_header_compiler
=yes
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.
$ac_ext >&5
20089 ac_header_compiler
=no
20091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20093 echo "${ECHO_T}$ac_header_compiler" >&6
20095 # Is the header present?
20096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20098 cat >conftest.
$ac_ext <<_ACEOF
20101 cat confdefs.h
>>conftest.
$ac_ext
20102 cat >>conftest.
$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 #include <$ac_header>
20106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20109 grep -v '^ *+' conftest.er1
>conftest.err
20111 cat conftest.err
>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } >/dev
/null
; then
20114 if test -s conftest.err
; then
20115 ac_cpp_err
=$ac_c_preproc_warn_flag
20116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20123 if test -z "$ac_cpp_err"; then
20124 ac_header_preproc
=yes
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.
$ac_ext >&5
20129 ac_header_preproc
=no
20131 rm -f conftest.err conftest.
$ac_ext
20132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20133 echo "${ECHO_T}$ac_header_preproc" >&6
20135 # So? What about this header?
20136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20142 ac_header_preproc
=yes
20145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20159 ## ------------------------------------------ ##
20160 ## Report this to the AC_PACKAGE_NAME lists. ##
20161 ## ------------------------------------------ ##
20164 sed "s/^/$as_me: WARNING: /" >&2
20167 echo "$as_me:$LINENO: checking for $ac_header" >&5
20168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 eval "$as_ac_Header=\$ac_header_preproc"
20174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20179 cat >>confdefs.h
<<_ACEOF
20180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20188 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20190 cat >>confdefs.h
<<\_ACEOF
20191 #define HAVE_AIX_SMT_EXP 1
20196 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20197 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20198 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20199 echo "$as_me:$LINENO: result: yes" >&5
20200 echo "${ECHO_T}yes" >&6
20202 cat >>confdefs.h
<<\_ACEOF
20203 #define HAVE_DEV_PTMX 1
20207 echo "$as_me:$LINENO: result: no" >&5
20208 echo "${ECHO_T}no" >&6
20211 echo "$as_me:$LINENO: checking for pid_t" >&5
20212 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20213 if test "${ac_cv_type_pid_t+set}" = set; then
20214 echo $ECHO_N "(cached) $ECHO_C" >&6
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20228 if (sizeof (pid_t))
20234 rm -f conftest.
$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20238 grep -v '^ *+' conftest.er1
>conftest.err
20240 cat conftest.err
>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try
='test -z "$ac_c_werror_flag"
20244 || test ! -s conftest.err'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try
='test -s conftest.$ac_objext'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; }; then
20256 ac_cv_type_pid_t
=yes
20258 echo "$as_me: failed program was:" >&5
20259 sed 's/^/| /' conftest.
$ac_ext >&5
20261 ac_cv_type_pid_t
=no
20263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20265 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20266 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20267 if test $ac_cv_type_pid_t = yes; then
20271 cat >>confdefs.h
<<_ACEOF
20279 for ac_header
in unistd.h vfork.h
20281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20283 echo "$as_me:$LINENO: checking for $ac_header" >&5
20284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20291 # Is the header compilable?
20292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20294 cat >conftest.
$ac_ext <<_ACEOF
20297 cat confdefs.h
>>conftest.
$ac_ext
20298 cat >>conftest.
$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 #include <$ac_header>
20303 rm -f conftest.
$ac_objext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20305 (eval $ac_compile) 2>conftest.er1
20307 grep -v '^ *+' conftest.er1
>conftest.err
20309 cat conftest.err
>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } &&
20312 { ac_try
='test -z "$ac_c_werror_flag"
20313 || test ! -s conftest.err'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try
='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325 ac_header_compiler
=yes
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.
$ac_ext >&5
20330 ac_header_compiler
=no
20332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20334 echo "${ECHO_T}$ac_header_compiler" >&6
20336 # Is the header present?
20337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20339 cat >conftest.
$ac_ext <<_ACEOF
20342 cat confdefs.h
>>conftest.
$ac_ext
20343 cat >>conftest.
$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <$ac_header>
20347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } >/dev
/null
; then
20355 if test -s conftest.err
; then
20356 ac_cpp_err
=$ac_c_preproc_warn_flag
20357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20364 if test -z "$ac_cpp_err"; then
20365 ac_header_preproc
=yes
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.
$ac_ext >&5
20370 ac_header_preproc
=no
20372 rm -f conftest.err conftest.
$ac_ext
20373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20374 echo "${ECHO_T}$ac_header_preproc" >&6
20376 # So? What about this header?
20377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20383 ac_header_preproc
=yes
20386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20400 ## ------------------------------------------ ##
20401 ## Report this to the AC_PACKAGE_NAME lists. ##
20402 ## ------------------------------------------ ##
20405 sed "s/^/$as_me: WARNING: /" >&2
20408 echo "$as_me:$LINENO: checking for $ac_header" >&5
20409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 eval "$as_ac_Header=\$ac_header_preproc"
20415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20420 cat >>confdefs.h
<<_ACEOF
20421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20430 for ac_func
in fork vfork
20432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20433 echo "$as_me:$LINENO: checking for $ac_func" >&5
20434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20435 if eval "test \"\${$as_ac_var+set}\" = set"; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 cat >conftest.
$ac_ext <<_ACEOF
20441 cat confdefs.h
>>conftest.
$ac_ext
20442 cat >>conftest.
$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20446 #define $ac_func innocuous_$ac_func
20448 /* System header to define __stub macros and hopefully few prototypes,
20449 which can conflict with char $ac_func (); below.
20450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20451 <limits.h> exists even on freestanding compilers. */
20454 # include <limits.h>
20456 # include <assert.h>
20461 /* Override any gcc2 internal prototype to avoid an error. */
20466 /* We use char because int might match the return type of a gcc2
20467 builtin and then its argument prototype would still apply. */
20469 /* The GNU C library defines this for functions which it implements
20470 to always fail with ENOSYS. Some functions are actually named
20471 something starting with __ and the normal name is an alias. */
20472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20475 char (*f) () = $ac_func;
20484 return f != $ac_func;
20489 rm -f conftest.
$ac_objext conftest
$ac_exeext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20491 (eval $ac_link) 2>conftest.er1
20493 grep -v '^ *+' conftest.er1
>conftest.err
20495 cat conftest.err
>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try
='test -z "$ac_c_werror_flag"
20499 || test ! -s conftest.err'
20500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 (eval $ac_try) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); }; } &&
20505 { ac_try
='test -s conftest$ac_exeext'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20511 eval "$as_ac_var=yes"
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.
$ac_ext >&5
20516 eval "$as_ac_var=no"
20518 rm -f conftest.err conftest.
$ac_objext \
20519 conftest
$ac_exeext conftest.
$ac_ext
20521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20523 if test `eval echo '${'$as_ac_var'}'` = yes; then
20524 cat >>confdefs.h
<<_ACEOF
20525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20531 if test "x$ac_cv_func_fork" = xyes
; then
20532 echo "$as_me:$LINENO: checking for working fork" >&5
20533 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
20534 if test "${ac_cv_func_fork_works+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 if test "$cross_compiling" = yes; then
20538 ac_cv_func_fork_works
=cross
20540 cat >conftest.
$ac_ext <<_ACEOF
20541 /* By Ruediger Kuhlmann. */
20542 #include <sys/types.h>
20544 # include <unistd.h>
20546 /* Some systems only have a dummy stub for fork() */
20554 rm -f conftest
$ac_exeext
20555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20556 (eval $ac_link) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; }; then
20565 ac_cv_func_fork_works
=yes
20567 echo "$as_me: program exited with status $ac_status" >&5
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.
$ac_ext >&5
20571 ( exit $ac_status )
20572 ac_cv_func_fork_works
=no
20574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20577 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
20578 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
20581 ac_cv_func_fork_works
=$ac_cv_func_fork
20583 if test "x$ac_cv_func_fork_works" = xcross
; then
20585 *-*-amigaos* |
*-*-msdosdjgpp*)
20586 # Override, as these systems have only a dummy fork() stub
20587 ac_cv_func_fork_works
=no
20590 ac_cv_func_fork_works
=yes
20593 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
20594 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
20596 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20597 if test "x$ac_cv_func_vfork" = xyes
; then
20598 echo "$as_me:$LINENO: checking for working vfork" >&5
20599 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
20600 if test "${ac_cv_func_vfork_works+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 if test "$cross_compiling" = yes; then
20604 ac_cv_func_vfork_works
=cross
20606 cat >conftest.
$ac_ext <<_ACEOF
20609 cat confdefs.h
>>conftest.
$ac_ext
20610 cat >>conftest.
$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 /* Thanks to Paul Eggert for this test. */
20614 #include <stdlib.h>
20615 #include <sys/types.h>
20616 #include <sys/stat.h>
20617 #include <sys/wait.h>
20619 # include <unistd.h>
20622 # include <vfork.h>
20624 /* On some sparc systems, changes by the child to local and incoming
20625 argument registers are propagated back to the parent. The compiler
20626 is told about this with #include <vfork.h>, but some compilers
20627 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
20628 static variable whose address is put into a register that is
20629 clobbered by the vfork. */
20632 sparc_address_test (int arg)
20634 sparc_address_test (arg) int arg;
20637 static pid_t child;
20655 pid_t parent = getpid ();
20658 sparc_address_test (0);
20663 /* Here is another test for sparc vfork register problems. This
20664 test uses lots of local variables, at least as many local
20665 variables as main has allocated so far including compiler
20666 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
20667 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
20668 reuse the register of parent for one of the local variables,
20669 since it will think that parent can't possibly be used any more
20670 in this routine. Assigning to the local variable will thus
20671 munge parent in the parent process. */
20673 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
20674 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
20675 /* Convince the compiler that p..p7 are live; otherwise, it might
20676 use the same hardware register for all 8 local variables. */
20677 if (p != p1 || p != p2 || p != p3 || p != p4
20678 || p != p5 || p != p6 || p != p7)
20681 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
20682 from child file descriptors. If the child closes a descriptor
20683 before it execs or exits, this munges the parent's descriptor
20684 as well. Test for this by closing stdout in the child. */
20685 _exit(close(fileno(stdout)) != 0);
20690 while (wait(&status) != child)
20693 /* Was there some problem with vforking? */
20696 /* Did the child fail? (This shouldn't happen.) */
20699 /* Did the vfork/compiler bug occur? */
20700 || parent != getpid()
20702 /* Did the file descriptor bug occur? */
20703 || fstat(fileno(stdout), &st) != 0
20708 rm -f conftest
$ac_exeext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20710 (eval $ac_link) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_cv_func_vfork_works
=yes
20721 echo "$as_me: program exited with status $ac_status" >&5
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.
$ac_ext >&5
20725 ( exit $ac_status )
20726 ac_cv_func_vfork_works
=no
20728 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20731 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
20732 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
20735 if test "x$ac_cv_func_fork_works" = xcross
; then
20736 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20737 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
20738 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
20741 if test "x$ac_cv_func_vfork_works" = xyes
; then
20743 cat >>confdefs.h
<<\_ACEOF
20744 #define HAVE_WORKING_VFORK 1
20749 cat >>confdefs.h
<<\_ACEOF
20754 if test "x$ac_cv_func_fork_works" = xyes
; then
20756 cat >>confdefs.h
<<\_ACEOF
20757 #define HAVE_WORKING_FORK 1
20763 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
20764 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
20765 if test "${emacs_cv_langinfo_codeset+set}" = set; then
20766 echo $ECHO_N "(cached) $ECHO_C" >&6
20768 cat >conftest.
$ac_ext <<_ACEOF
20771 cat confdefs.h
>>conftest.
$ac_ext
20772 cat >>conftest.
$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774 #include <langinfo.h>
20778 char* cs = nl_langinfo(CODESET);
20783 rm -f conftest.
$ac_objext conftest
$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785 (eval $ac_link) 2>conftest.er1
20787 grep -v '^ *+' conftest.er1
>conftest.err
20789 cat conftest.err
>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try
='test -z "$ac_c_werror_flag"
20793 || test ! -s conftest.err'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; } &&
20799 { ac_try
='test -s conftest$ac_exeext'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; }; then
20805 emacs_cv_langinfo_codeset
=yes
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.
$ac_ext >&5
20810 emacs_cv_langinfo_codeset
=no
20812 rm -f conftest.err conftest.
$ac_objext \
20813 conftest
$ac_exeext conftest.
$ac_ext
20816 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
20817 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
20818 if test $emacs_cv_langinfo_codeset = yes; then
20820 cat >>confdefs.h
<<\_ACEOF
20821 #define HAVE_LANGINFO_CODESET 1
20826 echo "$as_me:$LINENO: checking for size_t" >&5
20827 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20828 if test "${ac_cv_type_size_t+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 cat >conftest.
$ac_ext <<_ACEOF
20834 cat confdefs.h
>>conftest.
$ac_ext
20835 cat >>conftest.
$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 $ac_includes_default
20843 if (sizeof (size_t))
20849 rm -f conftest.
$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851 (eval $ac_compile) 2>conftest.er1
20853 grep -v '^ *+' conftest.er1
>conftest.err
20855 cat conftest.err
>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try
='test -z "$ac_c_werror_flag"
20859 || test ! -s conftest.err'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try
='test -s conftest.$ac_objext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 ac_cv_type_size_t
=yes
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.
$ac_ext >&5
20876 ac_cv_type_size_t
=no
20878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20880 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20881 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20882 if test $ac_cv_type_size_t = yes; then
20884 cat >>confdefs.h
<<_ACEOF
20885 #define HAVE_SIZE_T 1
20892 echo "$as_me:$LINENO: checking for mbstate_t" >&5
20893 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
20894 if test "${ac_cv_type_mbstate_t+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 cat >conftest.
$ac_ext <<_ACEOF
20900 cat confdefs.h
>>conftest.
$ac_ext
20901 cat >>conftest.
$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 $ac_includes_default
20904 # include <wchar.h>
20908 mbstate_t x; return sizeof x;
20913 rm -f conftest.
$ac_objext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20915 (eval $ac_compile) 2>conftest.er1
20917 grep -v '^ *+' conftest.er1
>conftest.err
20919 cat conftest.err
>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try
='test -z "$ac_c_werror_flag"
20923 || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try
='test -s conftest.$ac_objext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 ac_cv_type_mbstate_t
=yes
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.
$ac_ext >&5
20940 ac_cv_type_mbstate_t
=no
20942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20944 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
20945 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
20946 if test $ac_cv_type_mbstate_t = yes; then
20948 cat >>confdefs.h
<<\_ACEOF
20949 #define HAVE_MBSTATE_T 1
20954 cat >>confdefs.h
<<\_ACEOF
20955 #define mbstate_t int
20960 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
20961 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
20962 if test "${emacs_cv_c_restrict+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 cat >conftest.
$ac_ext <<_ACEOF
20968 cat confdefs.h
>>conftest.
$ac_ext
20969 cat >>conftest.
$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 void fred (int *restrict x);
20980 rm -f conftest.
$ac_objext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20982 (eval $ac_compile) 2>conftest.er1
20984 grep -v '^ *+' conftest.er1
>conftest.err
20986 cat conftest.err
>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try
='test -z "$ac_c_werror_flag"
20990 || test ! -s conftest.err'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; } &&
20996 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21002 emacs_cv_c_restrict
=yes
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.
$ac_ext >&5
21007 cat >conftest.
$ac_ext <<_ACEOF
21010 cat confdefs.h
>>conftest.
$ac_ext
21011 cat >>conftest.
$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 void fred (int *__restrict x);
21022 rm -f conftest.
$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1
>conftest.err
21028 cat conftest.err
>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try
='test -z "$ac_c_werror_flag"
21032 || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try
='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 emacs_cv_c_restrict
=__restrict
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.
$ac_ext >&5
21049 emacs_cv_c_restrict
=no
21051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21055 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21056 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21057 case "$emacs_cv_c_restrict" in
21058 yes) emacs_restrict
=restrict
;;
21059 no
) emacs_restrict
="";;
21060 *) emacs_restrict
="$emacs_cv_c_restrict";;
21062 if test "$emacs_restrict" != __restrict
; then
21064 cat >>confdefs.h
<<_ACEOF
21065 #define __restrict $emacs_restrict
21070 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21071 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21072 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 cat >conftest.
$ac_ext <<_ACEOF
21078 cat confdefs.h
>>conftest.
$ac_ext
21079 cat >>conftest.
$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 void fred (int x[__restrict]);
21090 rm -f conftest.
$ac_objext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21092 (eval $ac_compile) 2>conftest.er1
21094 grep -v '^ *+' conftest.er1
>conftest.err
21096 cat conftest.err
>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try
='test -z "$ac_c_werror_flag"
21100 || test ! -s conftest.err'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; } &&
21106 { ac_try
='test -s conftest.$ac_objext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 emacs_cv_c_restrict_arr
=yes
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.
$ac_ext >&5
21117 emacs_cv_c_restrict_arr
=no
21119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21122 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21123 if test "$emacs_cv_c_restrict_arr" = yes; then
21125 cat >>confdefs.h
<<\_ACEOF
21126 #define __restrict_arr __restrict
21133 # Set up the CFLAGS for real compilation, so we can substitute it.
21134 CFLAGS
="$REAL_CFLAGS"
21135 CPPFLAGS
="$REAL_CPPFLAGS"
21137 #### Find out which version of Emacs this is.
21138 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21139 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21140 if test x
"${version}" = x
; then
21141 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21142 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21143 { (exit 1); exit 1; }; }
21146 ### Specify what sort of things we'll be editing into Makefile and config.h.
21147 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21183 cat >>confdefs.h
<<_ACEOF
21184 #define EMACS_CONFIGURATION "${canonical}"
21188 cat >>confdefs.h
<<_ACEOF
21189 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21193 cat >>confdefs.h
<<_ACEOF
21194 #define config_machfile "${machfile}"
21198 cat >>confdefs.h
<<_ACEOF
21199 #define config_opsysfile "${opsysfile}"
21203 cat >>confdefs.h
<<_ACEOF
21204 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21208 cat >>confdefs.h
<<_ACEOF
21209 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21213 cat >>confdefs.h
<<_ACEOF
21214 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21218 cat >>confdefs.h
<<_ACEOF
21219 #define UNEXEC_SRC ${UNEXEC_SRC}
21223 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21225 cat >>confdefs.h
<<\_ACEOF
21226 #define HAVE_X_WINDOWS 1
21230 if test "${USE_X_TOOLKIT}" != "none" ; then
21232 cat >>confdefs.h
<<\_ACEOF
21233 #define USE_X_TOOLKIT 1
21237 if test "${HAVE_X11}" = "yes" ; then
21239 cat >>confdefs.h
<<\_ACEOF
21244 if test "${HAVE_XFREE386}" = "yes" ; then
21246 cat >>confdefs.h
<<\_ACEOF
21247 #define HAVE_XFREE386 1
21251 if test "${HAVE_MENUS}" = "yes" ; then
21253 cat >>confdefs.h
<<\_ACEOF
21254 #define HAVE_MENUS 1
21258 if test "${GNU_MALLOC}" = "yes" ; then
21260 cat >>confdefs.h
<<\_ACEOF
21261 #define GNU_MALLOC 1
21265 if test "${REL_ALLOC}" = "yes" ; then
21267 cat >>confdefs.h
<<\_ACEOF
21268 #define REL_ALLOC 1
21277 #### Report on what we decided to do.
21278 #### Report GTK as a toolkit, even if it doesn't use Xt.
21279 #### It makes printing result more understandable as using GTK sets
21280 #### toolkit_scroll_bars to yes by default.
21281 if test "${HAVE_GTK}" = "yes"; then
21286 Configured for \`${canonical}'.
21288 Where should the build process find the source code? ${srcdir}
21289 What operating system and machine description files should Emacs use?
21290 \`${opsysfile}' and \`${machfile}'
21291 What compiler should emacs be built with? ${CC} ${CFLAGS}
21292 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21293 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21294 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21295 What window system should Emacs use? ${window_system}
21296 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21298 if test -n "${x_includes}"; then
21299 echo " Where do we find X Windows header files? ${x_includes}"
21301 echo " Where do we find X Windows header files? Standard dirs"
21303 if test -n "${x_libraries}"; then
21304 echo " Where do we find X Windows libraries? ${x_libraries}"
21306 echo " Where do we find X Windows libraries? Standard dirs"
21309 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21310 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21311 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21312 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21313 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21314 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21315 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21318 # Remove any trailing slashes in these variables.
21319 test "${prefix}" != NONE
&&
21320 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
21321 test "${exec_prefix}" != NONE
&&
21322 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
21324 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
21325 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
21326 ## from Makefile.c can correctly provide the arg `-traditional' to the
21329 cat >conftest.
$ac_ext <<_ACEOF
21332 cat confdefs.h
>>conftest.
$ac_ext
21333 cat >>conftest.
$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21338 $EGREP "yes..yes" >/dev
/null
2>&1; then
21339 CPP_NEED_TRADITIONAL
=no
21341 CPP_NEED_TRADITIONAL
=yes
21346 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"
21347 ac_config_commands
="$ac_config_commands default"
21348 cat >confcache
<<\_ACEOF
21349 # This file is a shell script that caches the results of configure
21350 # tests run on this system so they can be shared between configure
21351 # scripts and configure runs, see configure's option --config-cache.
21352 # It is not useful on other systems. If it contains results you don't
21353 # want to keep, you may remove or edit it.
21355 # config.status only pays attention to the cache file if you give it
21356 # the --recheck option to rerun configure.
21358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21360 # following values.
21364 # The following way of writing the cache mishandles newlines in values,
21365 # but we know of no workaround that is simple, portable, and efficient.
21366 # So, don't put newlines in cache variables' values.
21367 # Ultrix sh set writes to stderr and can't be redirected directly,
21368 # and sets the high bit in the cache file unless we assign to the vars.
21371 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21373 # `set' does not quote correctly, so add quotes (double-quote
21374 # substitution turns \\\\ into \\, and sed turns \\ into \).
21377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21380 # `set' quotes correctly as required by POSIX, so do not add quotes.
21382 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21391 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21393 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21394 if test -w $cache_file; then
21395 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21396 cat confcache
>$cache_file
21398 echo "not updating unwritable cache $cache_file"
21403 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21404 # Let make expand exec_prefix.
21405 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21407 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21408 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21409 # trailing colons and then remove the whole line if VPATH becomes empty
21410 # (actually we leave an empty line to preserve line numbers).
21411 if test "x$srcdir" = x.
; then
21412 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21413 s/:*\$(srcdir):*/:/;
21414 s/:*\${srcdir}:*/:/;
21416 s/^\([^=]*=[ ]*\):*/\1/;
21422 DEFS
=-DHAVE_CONFIG_H
21426 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21427 # 1. Remove the extension, and $U if already installed.
21428 ac_i
=`echo "$ac_i" |
21429 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21431 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21432 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21434 LIBOBJS
=$ac_libobjs
21436 LTLIBOBJS
=$ac_ltlibobjs
21440 : ${CONFIG_STATUS=./config.status}
21441 ac_clean_files_save
=$ac_clean_files
21442 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21443 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21444 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21445 cat >$CONFIG_STATUS <<_ACEOF
21447 # Generated by $as_me.
21448 # Run this file to recreate the current configuration.
21449 # Compiler output produced by configure, useful for debugging
21450 # configure, is in config.log if it exists.
21453 ac_cs_recheck=false
21455 SHELL=\${CONFIG_SHELL-$SHELL}
21458 cat >>$CONFIG_STATUS <<\_ACEOF
21459 ## --------------------- ##
21460 ## M4sh Initialization. ##
21461 ## --------------------- ##
21463 # Be Bourne compatible
21464 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21468 # is contrary to our usage. Disable this feature.
21469 alias -g '${1+"$@"}'='"$@"'
21470 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21473 DUALCASE
=1; export DUALCASE
# for MKS sh
21475 # Support unset when possible.
21476 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21483 # Work around bugs in pre-3.0 UWIN ksh.
21484 $as_unset ENV MAIL MAILPATH
21491 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21492 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21493 LC_TELEPHONE LC_TIME
21495 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21496 eval $as_var=C
; export $as_var
21502 # Required to use basename.
21503 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21509 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21510 as_basename
=basename
21516 # Name of the executable.
21517 as_me
=`$as_basename "$0" ||
21518 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21519 X"$0" : 'X\(//\)$' \| \
21520 X"$0" : 'X\(/\)$' \| \
21521 . : '\(.\)' 2>/dev/null ||
21523 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21524 /^X\/\(\/\/\)$/{ s//\1/; q; }
21525 /^X\/\(\/\).*/{ s//\1/; q; }
21529 # PATH needs CR, and LINENO needs CR and PATH.
21530 # Avoid depending upon Character Ranges.
21531 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21532 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21533 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21534 as_cr_digits
='0123456789'
21535 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21537 # The user is always right.
21538 if test "${PATH_SEPARATOR+set}" != set; then
21539 echo "#! /bin/sh" >conf$$.sh
21540 echo "exit 0" >>conf$$.sh
21542 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21551 as_lineno_1
=$LINENO
21552 as_lineno_2
=$LINENO
21553 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21554 test "x$as_lineno_1" != "x$as_lineno_2" &&
21555 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21556 # Find who we are. Look in the path if we contain no path at all
21559 *[\\/]* ) as_myself
=$0 ;;
21560 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21561 for as_dir
in $PATH
21564 test -z "$as_dir" && as_dir
=.
21565 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21570 # We did not find ourselves, most probably we were run as `sh COMMAND'
21571 # in which case we are not to be found in the path.
21572 if test "x$as_myself" = x
; then
21575 if test ! -f "$as_myself"; then
21576 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21577 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21578 { (exit 1); exit 1; }; }
21580 case $CONFIG_SHELL in
21582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21583 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21586 test -z "$as_dir" && as_dir
=.
21587 for as_base
in sh bash ksh sh5
; do
21590 if ("$as_dir/$as_base" -c '
21591 as_lineno_1=$LINENO
21592 as_lineno_2=$LINENO
21593 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21594 test "x$as_lineno_1" != "x$as_lineno_2" &&
21595 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21596 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21597 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21598 CONFIG_SHELL
=$as_dir/$as_base
21599 export CONFIG_SHELL
21600 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21608 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21609 # uniformly replaced by the line number. The first 'sed' inserts a
21610 # line-number line before each line; the second 'sed' does the real
21611 # work. The second script uses 'N' to pair each line-number line
21612 # with the numbered line, and appends trailing '-' during
21613 # substitution so that $LINENO is not a special case at line end.
21614 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21615 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21616 sed '=' <$as_myself |
21621 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21624 s,^['$as_cr_digits']*\n,,
21625 ' >$as_me.lineno
&&
21626 chmod +x
$as_me.lineno ||
21627 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21628 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21629 { (exit 1); exit 1; }; }
21631 # Don't try to exec as it changes $[0], causing all sort of problems
21632 # (the dirname of $[0] is not the place where we might find the
21633 # original and so on. Autoconf is especially sensible to this).
21635 # Exit status is that of the last command.
21640 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21641 *c
*,-n*) ECHO_N
= ECHO_C
='
21643 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21644 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21647 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21653 rm -f conf$$ conf$$.exe conf$$.
file
21655 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21656 # We could just check for DJGPP; but this test a) works b) is more generic
21657 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21658 if test -f conf$$.exe
; then
21659 # Don't use ln at all; we don't have any links
21664 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21669 rm -f conf$$ conf$$.exe conf$$.
file
21671 if mkdir
-p .
2>/dev
/null
; then
21674 test -d .
/-p && rmdir .
/-p
21678 as_executable_p
="test -f"
21680 # Sed expression to map a string onto a valid CPP name.
21681 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21683 # Sed expression to map a string onto a valid variable name.
21684 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21688 # We need space, tab and new line, in precisely that order.
21698 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21699 # report actual input values of CONFIG_FILES etc. instead of their
21700 # values after options handling. Logging --version etc. is OK.
21704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21705 ## Running $as_me. ##
21710 This file was extended by $as_me, which was
21711 generated by GNU Autoconf 2.59. Invocation command line was
21713 CONFIG_FILES = $CONFIG_FILES
21714 CONFIG_HEADERS = $CONFIG_HEADERS
21715 CONFIG_LINKS = $CONFIG_LINKS
21716 CONFIG_COMMANDS = $CONFIG_COMMANDS
21720 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21724 # Files that config.status was made for.
21725 if test -n "$ac_config_files"; then
21726 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21729 if test -n "$ac_config_headers"; then
21730 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21733 if test -n "$ac_config_links"; then
21734 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21737 if test -n "$ac_config_commands"; then
21738 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21741 cat >>$CONFIG_STATUS <<\_ACEOF
21744 \`$as_me' instantiates files from templates according to the
21745 current configuration.
21747 Usage: $0 [OPTIONS] [FILE]...
21749 -h, --help print this help, then exit
21750 -V, --version print version number, then exit
21751 -q, --quiet do not print progress messages
21752 -d, --debug don't remove temporary files
21753 --recheck update $as_me by reconfiguring in the same conditions
21754 --file=FILE[:TEMPLATE]
21755 instantiate the configuration file FILE
21756 --header=FILE[:TEMPLATE]
21757 instantiate the configuration header FILE
21759 Configuration files:
21762 Configuration headers:
21765 Configuration commands:
21768 Report bugs to <bug-autoconf@gnu.org>."
21771 cat >>$CONFIG_STATUS <<_ACEOF
21774 configured by $0, generated by GNU Autoconf 2.59,
21775 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21777 Copyright (C) 2003 Free Software Foundation, Inc.
21778 This config.status script is free software; the Free Software Foundation
21779 gives unlimited permission to copy, distribute and modify it."
21784 cat >>$CONFIG_STATUS <<\_ACEOF
21785 # If no file are specified by the user, then we need to provide default
21786 # value. By we need to know if files were specified by the user.
21792 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21793 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21801 *) # This is not an option, so the user has probably given explicit
21804 ac_need_defaults
=false
;;
21808 # Handling of the options.
21810 cat >>$CONFIG_STATUS <<\_ACEOF
21811 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21813 --version |
--vers* |
-V )
21814 echo "$ac_cs_version"; exit 0 ;;
21816 # Conflict between --help and --header
21817 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21818 Try \`$0 --help' for more information." >&5
21819 echo "$as_me: error: ambiguous option: $1
21820 Try \`$0 --help' for more information." >&2;}
21821 { (exit 1); exit 1; }; };;
21822 --help |
--hel |
-h )
21823 echo "$ac_cs_usage"; exit 0 ;;
21824 --debug |
--d* |
-d )
21826 --file |
--fil |
--fi |
--f )
21828 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21829 ac_need_defaults
=false
;;
21830 --header |
--heade |
--head |
--hea )
21832 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21833 ac_need_defaults
=false
;;
21834 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21835 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21838 # This is an error.
21839 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21840 Try \`$0 --help' for more information." >&5
21841 echo "$as_me: error: unrecognized option: $1
21842 Try \`$0 --help' for more information." >&2;}
21843 { (exit 1); exit 1; }; } ;;
21845 *) ac_config_targets
="$ac_config_targets $1" ;;
21851 ac_configure_extra_args
=
21853 if $ac_cs_silent; then
21855 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21859 cat >>$CONFIG_STATUS <<_ACEOF
21860 if \$ac_cs_recheck; then
21861 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21862 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21867 cat >>$CONFIG_STATUS <<_ACEOF
21869 # INIT-COMMANDS section.
21872 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
21878 cat >>$CONFIG_STATUS <<\_ACEOF
21879 for ac_config_target
in $ac_config_targets
21881 case "$ac_config_target" in
21882 # Handling of arguments.
21883 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21884 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
21885 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
21886 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
21887 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
21888 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
21889 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
21890 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
21891 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
21892 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
21893 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
21894 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
21895 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21896 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21897 { (exit 1); exit 1; }; };;
21901 # If the user did not use the arguments to specify the items to instantiate,
21902 # then the envvar interface is used. Set only those that are not.
21903 # We use the long form for the default assignment because of an extremely
21904 # bizarre bug on SunOS 4.1.3.
21905 if $ac_need_defaults; then
21906 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21907 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21908 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21911 # Have a temporary directory for convenience. Make it in the build tree
21912 # simply because there is no reason to put it here, and in addition,
21913 # creating and moving files from /tmp can sometimes cause problems.
21914 # Create a temporary directory, and hook for its removal unless debugging.
21917 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21918 trap '{ (exit 1); exit 1; }' 1 2 13 15
21921 # Create a (secure) tmp directory for tmp files.
21924 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21925 test -n "$tmp" && test -d "$tmp"
21928 tmp
=.
/confstat$$
-$RANDOM
21929 (umask 077 && mkdir
$tmp)
21932 echo "$me: cannot create a temporary directory in ." >&2
21933 { (exit 1); exit 1; }
21938 cat >>$CONFIG_STATUS <<_ACEOF
21941 # CONFIG_FILES section.
21944 # No need to generate the scripts if there are no CONFIG_FILES.
21945 # This happens for instance when ./config.status config.h
21946 if test -n "\$CONFIG_FILES"; then
21947 # Protect against being on the right side of a sed subst in config.status.
21948 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21949 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21950 s,@SHELL@,$SHELL,;t t
21951 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21952 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21953 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21954 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21955 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21956 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21957 s,@exec_prefix@,$exec_prefix,;t t
21958 s,@prefix@,$prefix,;t t
21959 s,@program_transform_name@,$program_transform_name,;t t
21960 s,@bindir@,$bindir,;t t
21961 s,@sbindir@,$sbindir,;t t
21962 s,@libexecdir@,$libexecdir,;t t
21963 s,@datadir@,$datadir,;t t
21964 s,@sysconfdir@,$sysconfdir,;t t
21965 s,@sharedstatedir@,$sharedstatedir,;t t
21966 s,@localstatedir@,$localstatedir,;t t
21967 s,@libdir@,$libdir,;t t
21968 s,@includedir@,$includedir,;t t
21969 s,@oldincludedir@,$oldincludedir,;t t
21970 s,@infodir@,$infodir,;t t
21971 s,@mandir@,$mandir,;t t
21972 s,@build_alias@,$build_alias,;t t
21973 s,@host_alias@,$host_alias,;t t
21974 s,@target_alias@,$target_alias,;t t
21975 s,@DEFS@,$DEFS,;t t
21976 s,@ECHO_C@,$ECHO_C,;t t
21977 s,@ECHO_N@,$ECHO_N,;t t
21978 s,@ECHO_T@,$ECHO_T,;t t
21979 s,@LIBS@,$LIBS,;t t
21980 s,@MAINT@,$MAINT,;t t
21981 s,@build@,$build,;t t
21982 s,@build_cpu@,$build_cpu,;t t
21983 s,@build_vendor@,$build_vendor,;t t
21984 s,@build_os@,$build_os,;t t
21985 s,@host@,$host,;t t
21986 s,@host_cpu@,$host_cpu,;t t
21987 s,@host_vendor@,$host_vendor,;t t
21988 s,@host_os@,$host_os,;t t
21990 s,@CFLAGS@,$CFLAGS,;t t
21991 s,@LDFLAGS@,$LDFLAGS,;t t
21992 s,@CPPFLAGS@,$CPPFLAGS,;t t
21993 s,@ac_ct_CC@,$ac_ct_CC,;t t
21994 s,@EXEEXT@,$EXEEXT,;t t
21995 s,@OBJEXT@,$OBJEXT,;t t
21996 s,@LN_S@,$LN_S,;t t
21998 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21999 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22000 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22001 s,@RANLIB@,$RANLIB,;t t
22002 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22003 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22004 s,@EGREP@,$EGREP,;t t
22005 s,@LIBSOUND@,$LIBSOUND,;t t
22006 s,@SET_MAKE@,$SET_MAKE,;t t
22007 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22008 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22009 s,@GTK_LIBS@,$GTK_LIBS,;t t
22010 s,@ALLOCA@,$ALLOCA,;t t
22011 s,@liblockfile@,$liblockfile,;t t
22012 s,@LIBOBJS@,$LIBOBJS,;t t
22013 s,@NEED_SETGID@,$NEED_SETGID,;t t
22014 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22015 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22016 s,@version@,$version,;t t
22017 s,@configuration@,$configuration,;t t
22018 s,@canonical@,$canonical,;t t
22019 s,@srcdir@,$srcdir,;t t
22020 s,@lispdir@,$lispdir,;t t
22021 s,@locallisppath@,$locallisppath,;t t
22022 s,@lisppath@,$lisppath,;t t
22023 s,@x_default_search_path@,$x_default_search_path,;t t
22024 s,@etcdir@,$etcdir,;t t
22025 s,@archlibdir@,$archlibdir,;t t
22026 s,@docdir@,$docdir,;t t
22027 s,@bitmapdir@,$bitmapdir,;t t
22028 s,@gamedir@,$gamedir,;t t
22029 s,@gameuser@,$gameuser,;t t
22030 s,@c_switch_system@,$c_switch_system,;t t
22031 s,@c_switch_machine@,$c_switch_machine,;t t
22032 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22033 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22034 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22035 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22036 s,@machfile@,$machfile,;t t
22037 s,@opsysfile@,$opsysfile,;t t
22038 s,@carbon_appdir@,$carbon_appdir,;t t
22039 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22044 cat >>$CONFIG_STATUS <<\_ACEOF
22045 # Split the substitutions into bite-sized pieces for seds with
22046 # small command number limits, like on Digital OSF/1 and HP-UX.
22047 ac_max_sed_lines
=48
22048 ac_sed_frag
=1 # Number of current file.
22049 ac_beg
=1 # First line for current file.
22050 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22053 while $ac_more_lines; do
22054 if test $ac_beg -gt 1; then
22055 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22057 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22059 if test ! -s $tmp/subs.frag
; then
22060 ac_more_lines
=false
22062 # The purpose of the label and of the branching condition is to
22063 # speed up the sed processing (if there are no `@' at all, there
22064 # is no need to browse any of the substitutions).
22065 # These are the two extra sed commands mentioned above.
22067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22068 if test -z "$ac_sed_cmds"; then
22069 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22071 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22073 ac_sed_frag
=`expr $ac_sed_frag + 1`
22075 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22078 if test -z "$ac_sed_cmds"; then
22081 fi # test -n "$CONFIG_FILES"
22084 cat >>$CONFIG_STATUS <<\_ACEOF
22085 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22088 - |
*:- |
*:-:* ) # input from stdin
22090 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22091 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22092 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22094 * ) ac_file_in
=$ac_file.
in ;;
22097 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22098 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22100 X"$ac_file" : 'X\(//\)[^/]' \| \
22101 X"$ac_file" : 'X\(//\)$' \| \
22102 X"$ac_file" : 'X\(/\)' \| \
22103 . : '\(.\)' 2>/dev/null ||
22105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22107 /^X\(\/\/\)$/{ s//\1/; q; }
22108 /^X\(\/\).*/{ s//\1/; q; }
22110 { if $as_mkdir_p; then
22115 while test ! -d "$as_dir"; do
22116 as_dirs
="$as_dir $as_dirs"
22117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22119 X"$as_dir" : 'X\(//\)[^/]' \| \
22120 X"$as_dir" : 'X\(//\)$' \| \
22121 X"$as_dir" : 'X\(/\)' \| \
22122 . : '\(.\)' 2>/dev/null ||
22124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22126 /^X\(\/\/\)$/{ s//\1/; q; }
22127 /^X\(\/\).*/{ s//\1/; q; }
22130 test ! -n "$as_dirs" || mkdir
$as_dirs
22131 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22133 { (exit 1); exit 1; }; }; }
22137 if test "$ac_dir" != .
; then
22138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22139 # A "../" for each directory in $ac_dir_suffix.
22140 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22142 ac_dir_suffix
= ac_top_builddir
=
22146 .
) # No --srcdir option. We are building in place.
22148 if test -z "$ac_top_builddir"; then
22151 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22153 [\\/]* | ?
:[\\/]* ) # Absolute path.
22154 ac_srcdir
=$srcdir$ac_dir_suffix;
22155 ac_top_srcdir
=$srcdir ;;
22156 *) # Relative path.
22157 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22158 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22161 # Do not use `cd foo && pwd` to compute absolute paths, because
22162 # the directories may not exist.
22164 .
) ac_abs_builddir
="$ac_dir";;
22167 .
) ac_abs_builddir
=`pwd`;;
22168 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22169 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22172 case $ac_abs_builddir in
22173 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22175 case ${ac_top_builddir}.
in
22176 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22177 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22178 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22181 case $ac_abs_builddir in
22182 .
) ac_abs_srcdir
=$ac_srcdir;;
22185 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22186 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22187 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22190 case $ac_abs_builddir in
22191 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22193 case $ac_top_srcdir in
22194 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22195 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22196 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22202 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22203 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22206 if test x
"$ac_file" != x-
; then
22207 { echo "$as_me:$LINENO: creating $ac_file" >&5
22208 echo "$as_me: creating $ac_file" >&6;}
22211 # Let's still pretend it is `configure' which instantiates (i.e., don't
22212 # use $as_me), people would be surprised to read:
22213 # /* config.h. Generated by config.status. */
22214 if test x
"$ac_file" = x-
; then
22217 configure_input
="$ac_file. "
22219 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22220 sed 's,.*/,,'` by configure."
22222 # First look for the input files in the build tree, otherwise in the
22224 ac_file_inputs
=`IFS=:
22225 for f in $ac_file_in; do
22227 -) echo $tmp/stdin ;;
22229 # Absolute (can't be DOS-style, as IFS=:)
22230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22231 echo "$as_me: error: cannot find input file: $f" >&2;}
22232 { (exit 1); exit 1; }; }
22235 if test -f "$f"; then
22238 elif test -f "$srcdir/$f"; then
22243 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22244 echo "$as_me: error: cannot find input file: $f" >&2;}
22245 { (exit 1); exit 1; }; }
22248 done` ||
{ (exit 1); exit 1; }
22250 cat >>$CONFIG_STATUS <<_ACEOF
22254 cat >>$CONFIG_STATUS <<\_ACEOF
22256 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22257 s
,@configure_input@
,$configure_input,;t t
22258 s
,@srcdir@
,$ac_srcdir,;t t
22259 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22260 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22261 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22262 s
,@builddir@
,$ac_builddir,;t t
22263 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22264 s
,@top_builddir@
,$ac_top_builddir,;t t
22265 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22266 s
,@INSTALL@
,$ac_INSTALL,;t t
22267 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22269 if test x"$ac_file" != x-; then
22270 mv $tmp/out $ac_file
22278 cat >>$CONFIG_STATUS <<\_ACEOF
22281 # CONFIG_HEADER section.
22284 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22285 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22287 # ac_d sets the value in "#define NAME VALUE" lines.
22288 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22289 ac_dB
='[ ].*$,\1#\2'
22292 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22293 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22294 ac_uB
='$,\1#\2define\3'
22298 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22299 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22301 - |
*:- |
*:-:* ) # input from stdin
22303 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22304 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22305 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22307 * ) ac_file_in
=$ac_file.
in ;;
22310 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22311 echo "$as_me: creating $ac_file" >&6;}
22313 # First look for the input files in the build tree, otherwise in the
22315 ac_file_inputs
=`IFS=:
22316 for f in $ac_file_in; do
22318 -) echo $tmp/stdin ;;
22320 # Absolute (can't be DOS-style, as IFS=:)
22321 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22322 echo "$as_me: error: cannot find input file: $f" >&2;}
22323 { (exit 1); exit 1; }; }
22324 # Do quote $f, to prevent DOS paths from being IFS'd.
22327 if test -f "$f"; then
22330 elif test -f "$srcdir/$f"; then
22335 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22336 echo "$as_me: error: cannot find input file: $f" >&2;}
22337 { (exit 1); exit 1; }; }
22340 done` ||
{ (exit 1); exit 1; }
22341 # Remove the trailing spaces.
22342 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22346 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22347 # `conftest.undefs', that substitutes the proper values into
22348 # config.h.in to produce config.h. The first handles `#define'
22349 # templates, and the second `#undef' templates.
22350 # And first: Protect against being on the right side of a sed subst in
22351 # config.status. Protect against being in an unquoted here document
22352 # in config.status.
22353 rm -f conftest.defines conftest.undefs
22354 # Using a here document instead of a string reduces the quoting nightmare.
22355 # Putting comments in sed scripts is not portable.
22357 # `end' is used to avoid that the second main sed command (meant for
22358 # 0-ary CPP macros) applies to n-ary macro definitions.
22359 # See the Autoconf documentation for `clear'.
22360 cat >confdef2sed.
sed <<\_ACEOF
22365 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22367 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22370 # If some macros were called several times there might be several times
22371 # the same #defines, which is useless. Nevertheless, we may not want to
22372 # sort them, since we want the *last* AC-DEFINE to be honored.
22373 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22374 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22375 rm -f confdef2sed.sed
22377 # This sed command replaces #undef with comments. This is necessary, for
22378 # example, in the case of _POSIX_SOURCE, which is predefined and required
22379 # on some systems where configure will not decide to define it.
22380 cat >>conftest.undefs <<\_ACEOF
22381 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22384 # Break up conftest.defines because some shells have a limit on the size
22385 # of here documents, and old seds have small limits too (100 cmds).
22386 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22387 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22388 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22389 echo ' :' >>$CONFIG_STATUS
22390 rm -f conftest.tail
22391 while grep . conftest.defines >/dev/null
22393 # Write a limited-size here document to $tmp/defines.sed.
22394 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22395 # Speed up: don't consider the non `#define' lines.
22396 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22397 # Work around the forget-to-reset-the-flag bug.
22398 echo 't clr' >>$CONFIG_STATUS
22399 echo ': clr' >>$CONFIG_STATUS
22400 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22402 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22404 mv $tmp/out $tmp/in
22406 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22407 rm -f conftest.defines
22408 mv conftest.
tail conftest.defines
22410 rm -f conftest.defines
22411 echo ' fi # grep' >>$CONFIG_STATUS
22412 echo >>$CONFIG_STATUS
22414 # Break up conftest.undefs because some shells have a limit on the size
22415 # of here documents, and old seds have small limits too (100 cmds).
22416 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22417 rm -f conftest.
tail
22418 while grep . conftest.undefs
>/dev
/null
22420 # Write a limited-size here document to $tmp/undefs.sed.
22421 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22422 # Speed up: don't consider the non
`#undef'
22423 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22424 # Work around the forget-to-reset-the-flag bug.
22425 echo 't clr' >>$CONFIG_STATUS
22426 echo ': clr' >>$CONFIG_STATUS
22427 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22429 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22431 mv $tmp/out $tmp/in
22433 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22434 rm -f conftest.undefs
22435 mv conftest.tail conftest.undefs
22437 rm -f conftest.undefs
22439 cat >>$CONFIG_STATUS <<\_ACEOF
22440 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22441 # use $as_me), people would be surprised to read:
22442 # /* config.h. Generated by config.status. */
22443 if test x
"$ac_file" = x-
; then
22444 echo "/* Generated by configure. */" >$tmp/config.h
22446 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22448 cat $tmp/in >>$tmp/config.h
22450 if test x
"$ac_file" != x-
; then
22451 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22452 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22453 echo "$as_me: $ac_file is unchanged" >&6;}
22455 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22457 X"$ac_file" : 'X\(//\)[^/]' \| \
22458 X"$ac_file" : 'X\(//\)$' \| \
22459 X"$ac_file" : 'X\(/\)' \| \
22460 . : '\(.\)' 2>/dev/null ||
22462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22463 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22464 /^X\(\/\/\)$/{ s//\1/; q; }
22465 /^X\(\/\).*/{ s//\1/; q; }
22467 { if $as_mkdir_p; then
22472 while test ! -d "$as_dir"; do
22473 as_dirs
="$as_dir $as_dirs"
22474 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22476 X"$as_dir" : 'X\(//\)[^/]' \| \
22477 X"$as_dir" : 'X\(//\)$' \| \
22478 X"$as_dir" : 'X\(/\)' \| \
22479 . : '\(.\)' 2>/dev/null ||
22481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22483 /^X\(\/\/\)$/{ s//\1/; q; }
22484 /^X\(\/\).*/{ s//\1/; q; }
22487 test ! -n "$as_dirs" || mkdir
$as_dirs
22488 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22489 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22490 { (exit 1); exit 1; }; }; }
22493 mv $tmp/config.h
$ac_file
22497 rm -f $tmp/config.h
22501 cat >>$CONFIG_STATUS <<\_ACEOF
22504 # CONFIG_COMMANDS section.
22506 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22507 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22508 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22509 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22510 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22511 X"$ac_dest" : 'X\(//\)[^/]' \| \
22512 X"$ac_dest" : 'X\(//\)$' \| \
22513 X"$ac_dest" : 'X\(/\)' \| \
22514 . : '\(.\)' 2>/dev/null ||
22516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22517 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22518 /^X\(\/\/\)$/{ s//\1/; q; }
22519 /^X\(\/\).*/{ s//\1/; q; }
22521 { if $as_mkdir_p; then
22526 while test ! -d "$as_dir"; do
22527 as_dirs
="$as_dir $as_dirs"
22528 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22530 X"$as_dir" : 'X\(//\)[^/]' \| \
22531 X"$as_dir" : 'X\(//\)$' \| \
22532 X"$as_dir" : 'X\(/\)' \| \
22533 . : '\(.\)' 2>/dev/null ||
22535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22536 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22537 /^X\(\/\/\)$/{ s//\1/; q; }
22538 /^X\(\/\).*/{ s//\1/; q; }
22541 test ! -n "$as_dirs" || mkdir
$as_dirs
22542 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22543 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22544 { (exit 1); exit 1; }; }; }
22548 if test "$ac_dir" != .
; then
22549 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22550 # A "../" for each directory in $ac_dir_suffix.
22551 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22553 ac_dir_suffix
= ac_top_builddir
=
22557 .
) # No --srcdir option. We are building in place.
22559 if test -z "$ac_top_builddir"; then
22562 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22564 [\\/]* | ?
:[\\/]* ) # Absolute path.
22565 ac_srcdir
=$srcdir$ac_dir_suffix;
22566 ac_top_srcdir
=$srcdir ;;
22567 *) # Relative path.
22568 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22569 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22572 # Do not use `cd foo && pwd` to compute absolute paths, because
22573 # the directories may not exist.
22575 .
) ac_abs_builddir
="$ac_dir";;
22578 .
) ac_abs_builddir
=`pwd`;;
22579 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22580 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22583 case $ac_abs_builddir in
22584 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22586 case ${ac_top_builddir}.
in
22587 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22588 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22589 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22592 case $ac_abs_builddir in
22593 .
) ac_abs_srcdir
=$ac_srcdir;;
22596 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22597 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22598 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22601 case $ac_abs_builddir in
22602 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22604 case $ac_top_srcdir in
22605 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22606 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22607 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22612 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22613 echo "$as_me: executing $ac_dest commands" >&6;}
22617 ### Make the necessary directories, if they don't exist.
22618 for dir
in etc lisp
; do
22619 test -d ${dir} || mkdir
${dir}
22622 # Build src/Makefile from ${srcdir}/src/Makefile.c
22623 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
22624 # This must be done after src/config.h is built, since we rely on that file.
22626 # Now get this: Some word that is part of the ${srcdir} directory name
22627 # or the ${configuration} value might, just might, happen to be an
22628 # identifier like `sun4' or `i386' or something, and be predefined by
22629 # the C preprocessor to some helpful value like 1, or maybe the empty
22630 # string. Needless to say consequent macro substitutions are less
22631 # than conducive to the makefile finding the correct directory.
22632 undefs
="`echo $top_srcdir $configuration $canonical |
22633 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
22634 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
22637 echo creating src
/epaths.h
22638 ${MAKE-make} epaths-force
22640 # As of 2000-11-19, newest development versions of GNU cpp preprocess
22641 # `..' to `. .' unless invoked with -traditional
22643 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
22644 CPPFLAGS
="$CPPFLAGS -traditional"
22647 echo creating lib-src
/Makefile
22649 rm -f junk.c junk1.c junk2.c
22650 sed -e '/start of cpp stuff/q' \
22651 < Makefile.c
> junk1.c
22652 sed -e '1,/start of cpp stuff/d'\
22653 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
22654 < Makefile.c
> junk.c
22655 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
22656 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
22657 cat junk1.c junk2.c
> Makefile.new
22658 rm -f junk.c junk1.c junk2.c
22659 chmod 444 Makefile.new
22660 mv -f Makefile.new Makefile
22663 echo creating src
/Makefile
22665 rm -f junk.c junk1.c junk2.c
22666 sed -e '/start of cpp stuff/q' \
22667 < Makefile.c
> junk1.c
22668 sed -e '1,/start of cpp stuff/d'\
22669 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
22670 < Makefile.c
> junk.c
22671 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
22672 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
22673 cat junk1.c junk2.c
> Makefile.new
22674 rm -f junk.c junk1.c junk2.c
22675 chmod 444 Makefile.new
22676 mv -f Makefile.new Makefile
22679 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
22680 echo creating src
/.gdbinit
22681 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
22684 # This is how we know whether to re-run configure in certain cases.
22685 touch src
/config.stamp
22692 cat >>$CONFIG_STATUS <<\_ACEOF
22694 { (exit 0); exit 0; }
22696 chmod +x
$CONFIG_STATUS
22697 ac_clean_files
=$ac_clean_files_save
22700 # configure is writing to config.log, and then calls config.status.
22701 # config.status does its own redirection, appending to config.log.
22702 # Unfortunately, on DOS this fails, as config.log is still kept open
22703 # by configure, so config.status won't be able to write to it; its
22704 # output is simply discarded. So we exec the FD to /dev/null,
22705 # effectively closing config.log, so it can be properly (re)opened and
22706 # appended to by config.status. When coming back to configure, we
22707 # need to make the FD available again.
22708 if test "$no_create" != yes; then
22710 ac_config_status_args
=
22711 test "$silent" = yes &&
22712 ac_config_status_args
="$ac_config_status_args --quiet"
22714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22717 # would make configure fail if this is the last instruction.
22718 $ac_cs_success ||
{ (exit 1); exit 1; }