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;}
1577 extrasub
='/^VPATH[ ]*=/c\
1578 vpath %.c $(srcdir)\
1579 vpath %.h $(srcdir)\
1580 vpath %.y $(srcdir)\
1581 vpath %.l $(srcdir)\
1582 vpath %.s $(srcdir)\
1583 vpath %.in $(srcdir)\
1584 vpath %.texi $(srcdir)'
1587 #### Given the configuration name, set machfile and opsysfile to the
1588 #### names of the m/*.h and s/*.h files we should use.
1590 ### Canonicalize the configuration name.
1593 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1594 if test -f $ac_dir/install-sh
; then
1596 ac_install_sh
="$ac_aux_dir/install-sh -c"
1598 elif test -f $ac_dir/install.sh
; then
1600 ac_install_sh
="$ac_aux_dir/install.sh -c"
1602 elif test -f $ac_dir/shtool
; then
1604 ac_install_sh
="$ac_aux_dir/shtool install -c"
1608 if test -z "$ac_aux_dir"; then
1609 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1610 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1611 { (exit 1); exit 1; }; }
1613 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1614 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1615 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1617 # Make sure we can run config.sub.
1618 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1619 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1620 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1621 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: checking build system type" >&5
1624 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1625 if test "${ac_cv_build+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_build_alias
=$build_alias
1629 test -z "$ac_cv_build_alias" &&
1630 ac_cv_build_alias
=`$ac_config_guess`
1631 test -z "$ac_cv_build_alias" &&
1632 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1633 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1634 { (exit 1); exit 1; }; }
1635 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1642 echo "${ECHO_T}$ac_cv_build" >&6
1644 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1649 echo "$as_me:$LINENO: checking host system type" >&5
1650 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1651 if test "${ac_cv_host+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 ac_cv_host_alias
=$host_alias
1655 test -z "$ac_cv_host_alias" &&
1656 ac_cv_host_alias
=$ac_cv_build_alias
1657 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1658 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1659 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1660 { (exit 1); exit 1; }; }
1663 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1664 echo "${ECHO_T}$ac_cv_host" >&6
1666 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1667 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1668 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1672 configuration
=${host_alias-$host}
1676 ### If you add support for a new configuration, add code to this
1677 ### switch statement to recognize your configuration name and select
1678 ### the appropriate operating system and machine description files.
1680 ### You would hope that you could choose an m/*.h file pretty much
1681 ### based on the machine portion of the configuration name, and an s-
1682 ### file based on the operating system portion. However, it turns out
1683 ### that each m/*.h file is pretty manufacturer-specific - for
1684 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1685 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1686 ### machines. So we basically have to have a special case for each
1687 ### configuration name.
1689 ### As far as handling version numbers on operating systems is
1690 ### concerned, make sure things will fail in a fixable way. If
1691 ### /etc/MACHINES doesn't say anything about version numbers, be
1692 ### prepared to handle anything reasonably. If version numbers
1693 ### matter, be sure /etc/MACHINES says something about it.
1695 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1696 ### "System V Release 4"; he writes, "The old convention encouraged
1697 ### confusion between `system' and `release' levels'."
1699 machine
='' opsys
='' unported
=no
1700 case "${canonical}" in
1705 case "${canonical}" in
1706 alpha
*-*-freebsd*) machine
=alpha
;;
1707 i
[3456]86-*-freebsd*) machine
=intel386
;;
1714 if test -f /usr
/lib
/crti.o
; then
1716 cat >>confdefs.h
<<\_ACEOF
1722 case "${canonical}" in
1723 alpha
*-*-netbsd*) machine
=alpha
;;
1724 i
[3456]86-*-netbsd*) machine
=intel386
;;
1726 # This is somewhat bogus.
1727 machine
=hp9000s300
;;
1728 powerpc-apple-netbsd
*) machine
=macppc
;;
1729 mips-
*-netbsd*) machine
=pmax
;;
1730 mipsel-
*-netbsd*) machine
=pmax
;;
1731 mipseb-
*-netbsd*) machine
=pmax
;;
1732 ns32k-
*-netbsd*) machine
=ns32000
;;
1733 powerpc-
*-netbsd*) machine
=macppc
;;
1734 sparc
*-*-netbsd*) machine
=sparc
;;
1735 vax-
*-netbsd*) machine
=vax
;;
1736 arm-
*-netbsd*) machine
=arm
;;
1743 case "${canonical}" in
1744 alpha
*-*-openbsd*) machine
=alpha
;;
1745 i386-
*-openbsd*) machine
=intel386
;;
1746 m68k-
*-openbsd*) machine
=hp9000s300
;;
1747 mipsel-
*-openbsd*) machine
=pmax
;;
1748 ns32k-
*-openbsd*) machine
=ns32000
;;
1749 sparc-
*-openbsd*) machine
=sparc
;;
1750 vax-
*-openbsd*) machine
=vax
;;
1755 arm-acorn-riscix1.1
* )
1756 machine
=acorn opsys
=riscix1-1
1758 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1759 ## This name is riscix12 instead of riscix1.2
1760 ## to avoid a file name conflict on MSDOS.
1761 machine
=acorn opsys
=riscix12
1767 case "${canonical}" in
1768 i
[345]86-*-bsdi*) machine
=intel386
;;
1769 sparc-
*-bsdi*) machine
=sparc
;;
1770 powerpc-
*-bsdi*) machine
=macppc
;;
1772 case "${canonical}" in
1773 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1774 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1775 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1776 *-*-bsdi3* ) opsys
=bsdos3
;;
1777 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1782 ## Strictly speaking, we need the version of the alliant operating
1783 ## system to choose the right machine file, but currently the
1784 ## configuration name doesn't tell us enough to choose the right
1785 ## one; we need to give alliants their own operating system name to
1786 ## do this right. When someone cares, they can help us.
1788 machine
=alliant4 opsys
=bsd4-2
1791 machine
=alliant-2800 opsys
=bsd4-3
1794 ## Alpha (DEC) machines.
1796 machine
=alpha opsys
=osf1
1797 # This is needed to find X11R6.1 libraries for certain tests.
1798 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1799 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1800 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1801 # due to non-traditional preprocessing with the current compiler
1802 # defaults. OSF 4 can also have that compiler version, and there
1803 # seems always to have been a usable /usr/bin/cpp.
1804 NON_GNU_CPP
=/usr
/bin
/cpp
1805 case "${canonical}" in
1806 alpha
*-dec-osf[5-9]*)
1811 alpha
*-*-linux-gnu* )
1812 machine
=alpha opsys
=gnu-linux
1816 machine
=arm opsys
=gnu-linux
1821 machine
=macppc opsys
=gnu-linux
1826 machine
=altos opsys
=usg5-2
1831 machine
=amdahl opsys
=usg5-2-2
1834 ## Apollo, Domain/OS
1836 machine
=apollo opsys
=bsd4-3
1839 ## AT&T 3b2, 3b5, 3b15, 3b20
1841 machine
=att3b opsys
=usg5-2-2
1844 ## AT&T 3b1 - The Mighty Unix PC!
1846 machine
=7300 opsys
=usg5-2-2
1851 machine
=ibmrs6000 opsys
=aix3-2
1856 machine
=dpx2 opsys
=usg5-3
1861 machine
=sps7 opsys
=usg5-2
1864 ## CCI 5/32, 6/32 -- see "Tahoe".
1867 ## I don't know what configuration name to use for this; config.sub
1868 ## doesn't seem to know anything about it. Hey, Celerity users, get
1869 ## in touch with us!
1870 celerity-celerity-bsd
* )
1871 machine
=celerity opsys
=bsd4-2
1875 ## What operating systems does this chip run that Emacs has been
1879 ## We'll use the catch-all code at the bottom to guess the
1880 ## operating system.
1884 mips-compaq-nonstopux
* )
1885 machine
=nonstopux opsys
=nonstopux
1889 *-convex-bsd* |
*-convex-convexos* )
1890 machine
=convex opsys
=bsd4-3
1891 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1892 NON_GNU_CPP
="cc -E -P"
1896 i
[3456]86-cubix-sysv* )
1897 machine
=intel386 opsys
=usg5-3
1901 cydra
*-cydrome-sysv* )
1902 machine
=cydra5 opsys
=usg5-3
1905 ## Data General AViiON Machines
1906 ## DG changed naming conventions with the release of 5.4.4.10, they
1907 ## dropped the initial 5.4 but left the intervening R. Because of the
1908 ## R this shouldn't conflict with older versions of the OS (which I
1909 ## think were named like dgux4.*). In addition, DG new AViiONs series
1910 ## uses either Motorola M88k or Intel Pentium CPUs.
1911 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1912 machine
=aviion opsys
=dgux4
1914 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1915 ## This name is dgux5-4-3 instead of dgux5-4r3
1916 ## to avoid a file name conflict on MSDOS.
1917 machine
=aviion opsys
=dgux5-4-3
1919 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1920 machine
=aviion opsys
=dgux5-4r2
1923 machine
=aviion opsys
=dgux
1926 ## Data General AViiON Intel (x86) Machines
1927 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1928 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1929 i
[345]86-dg-dguxR4* )
1930 machine
=aviion-intel opsys
=dgux4
1934 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1935 machine
=pmax opsys
=bsd4-2
1937 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1938 machine
=pmax opsys
=bsd4-3
1941 machine
=pmax opsys
=ultrix4-3
1944 machine
=pmax opsys
=osf1
1946 mips-dec-mach_bsd4.3
* )
1947 machine
=pmax opsys
=mach-bsd4-3
1950 ## Motorola Delta machines
1951 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1952 machine
=delta opsys
=usg5-3
1953 if test -z "`type gnucc | grep 'not found'`"
1955 if test -s /etc
/167config
1956 then CC
="gnucc -m68040"
1957 else CC
="gnucc -m68881"
1960 if test -z "`type gcc | grep 'not found'`"
1966 m88k-motorola-sysv4
* )
1967 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1968 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1969 # I hope there are not other 4.0 versions for this machine
1970 # which really need usg5-4 instead.
1971 machine
=delta88k opsys
=usg5-4-2
1973 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1974 machine
=delta88k opsys
=usg5-3
1979 machine
=dual opsys
=usg5-2
1981 m68
*-dual-uniplus* )
1982 machine
=dual opsys
=unipl5-2
1987 machine
=elxsi opsys
=usg5-2
1992 machine
=ns16000 opsys
=umax
1995 ## The GEC 63 - apparently, this port isn't really finished yet.
1996 # I'm sure we finished off the last of the machines, though. -- fx
1998 ## Gould Power Node and NP1
2000 machine
=gould opsys
=bsd4-2
2003 machine
=gould opsys
=bsd4-3
2006 machine
=gould-np1 opsys
=bsd4-3
2009 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2010 ## as far as Emacs is concerned).
2012 # Build needs to be different on 7.0 and later releases
2013 case "`uname -r`" in
2014 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2015 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2017 NON_GNU_CPP
="/lib/cpp"
2019 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2021 machine
=nh3000 opsys
=cxux
2023 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2024 powerpc-harris-powerunix
)
2025 machine
=nh6000 opsys
=powerunix
2026 NON_GNU_CPP
="cc -Xo -E -P"
2028 ## SR2001/SR2201 running HI-UX/MPP
2029 hppa1.1
-hitachi-hiuxmpp* )
2030 machine
=sr2k opsys
=hiuxmpp
2032 hppa1.1
-hitachi-hiuxwe2* )
2033 machine
=sr2k opsys
=hiuxwe2
2036 xps
*-honeywell-sysv* )
2037 machine
=xps100 opsys
=usg5-2
2040 ## HP 9000 series 200 or 300
2042 machine
=hp9000s300 opsys
=bsd4-3
2044 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2046 case "`uname -r`" in
2047 ## Someone's system reports A.B8.05 for this.
2048 ## I wonder what other possibilities there are.
2049 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2050 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2051 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2052 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2053 *) machine
=hp9000s300 opsys
=hpux
;;
2057 ## HP 9000 series 700 and 800, running HP/UX
2059 machine
=hp800 opsys
=hpux
2062 machine
=hp800 opsys
=hpux8
2064 hppa
*-hp-hpux9shr* )
2065 machine
=hp800 opsys
=hpux9shr
2068 machine
=hp800 opsys
=hpux9
2070 hppa
*-hp-hpux10.2
* )
2071 machine
=hp800 opsys
=hpux10-20
2074 machine
=hp800 opsys
=hpux10
2076 hppa
*-hp-hpux1[1-9]* )
2077 machine
=hp800 opsys
=hpux11
2080 hppa
*-*-linux-gnu* )
2081 machine
=hp800 opsys
=gnu-linux
2084 ## HP 9000 series 700 and 800, running HP/UX
2086 ## Cross-compilation? Nah!
2087 case "`uname -r`" in
2088 ## Someone's system reports A.B8.05 for this.
2089 ## I wonder what other possibilities there are.
2090 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2091 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2092 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2093 *) machine
=hp800 opsys
=hpux10
;;
2097 machine
=hp800 opsys
=nextstep
2102 machine
=orion opsys
=bsd4-2
2104 clipper-orion-bsd
* )
2105 machine
=orion105 opsys
=bsd4-2
2109 i
[3456]86-ibm-aix1.1
* )
2110 machine
=ibmps2-aix opsys
=usg5-2-2
2112 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2113 machine
=ibmps2-aix opsys
=usg5-3
2116 machine
=ibm370aix opsys
=usg5-3
2119 machine
=ibms390 opsys
=gnu-linux
2121 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2122 machine
=ibmrs6000 opsys
=aix3-1
2124 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2125 machine
=ibmrs6000 opsys
=aix3-2-5
2127 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2128 machine
=ibmrs6000 opsys
=aix4-1
2130 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2131 machine
=ibmrs6000 opsys
=aix4-2
2133 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2134 machine
=ibmrs6000 opsys
=aix4-2
2136 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2137 machine
=ibmrs6000 opsys
=aix4
2139 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2140 machine
=ibmrs6000 opsys
=aix4-1
2142 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2143 machine
=ibmrs6000 opsys
=aix3-2
2146 machine
=ibmrt opsys
=bsd4-3
2149 machine
=ibmrt opsys
=bsd4-2
2152 machine
=ibmrt opsys
=bsd4-3
2155 machine
=ibmrt opsys
=bsd4-2
2158 machine
=ibmrt opsys
=bsd4-3
2161 machine
=ibmrt opsys
=bsd4-3
2164 machine
=ibmrt-aix opsys
=usg5-2-2
2167 ## Integrated Solutions `Optimum V'
2169 machine
=isi-ov opsys
=bsd4-2
2172 machine
=isi-ov opsys
=bsd4-3
2175 ## Intel 386 machines where we do care about the manufacturer
2176 i
[3456]86-intsys-sysv* )
2177 machine
=is386 opsys
=usg5-2-2
2181 i
[3456]86-prime-sysv* )
2182 machine
=i386 opsys
=usg5-3
2185 ## Sequent Symmetry running Dynix
2186 i
[3456]86-sequent-bsd* )
2187 machine
=symmetry opsys
=bsd4-3
2190 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2191 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2192 machine
=sequent-ptx opsys
=ptx4
2193 NON_GNU_CPP
=/lib
/cpp
2196 ## Sequent Symmetry running DYNIX/ptx
2197 ## Use the old cpp rather than the newer ANSI one.
2198 i
[3456]86-sequent-ptx* )
2199 machine
=sequent-ptx opsys
=ptx
2200 NON_GNU_CPP
="/lib/cpp"
2203 ## ncr machine running svr4.3.
2204 i
[3456]86-ncr-sysv4.3
)
2205 machine
=ncr386 opsys
=usg5-4-3
2208 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2209 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2210 i
[3456]86-ncr-sysv* )
2211 machine
=ncr386 opsys
=usg5-4-2
2214 ## Intel Paragon OSF/1
2216 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2221 machine
=i860 opsys
=usg5-4
2222 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2223 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2226 ## Macintosh PowerPC
2227 powerpc
*-*-linux-gnu* )
2228 machine
=macppc opsys
=gnu-linux
2231 ## Masscomp machines
2232 m68
*-masscomp-rtu* )
2233 machine
=masscomp opsys
=rtu
2236 ## Megatest machines
2237 m68
*-megatest-bsd* )
2238 machine
=mega68 opsys
=bsd4-2
2241 ## Workstations sold by MIPS
2242 ## This is not necessarily all workstations using the MIPS processor -
2243 ## Irises are produced by SGI, and DECstations by DEC.
2245 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2246 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2247 ## it gives for choosing between the alternatives seems to be "Use
2248 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2249 ## the BSD world." I'll assume that these are instructions for
2250 ## handling two odd situations, and that every other situation
2251 ## should use mips.h and usg5-2-2, they being listed first.
2254 ## Fall through to the general code at the bottom to decide on the OS.
2256 mips-mips-riscos4
* )
2257 machine
=mips4 opsys
=bsd4-3
2258 NON_GNU_CC
="cc -systype bsd43"
2259 NON_GNU_CPP
="cc -systype bsd43 -E"
2261 mips-mips-riscos5
* )
2262 machine
=mips4 opsys
=riscos5
2263 NON_GNU_CC
="cc -systype bsd43"
2264 NON_GNU_CPP
="cc -systype bsd43 -E"
2267 machine
=mips opsys
=bsd4-3
2270 machine
=mips opsys
=usg5-2-2
2274 m68
*-next-* | m68k-
*-nextstep* )
2275 machine
=m68k opsys
=nextstep
2278 ## The complete machine from National Semiconductor
2280 machine
=ns32000 opsys
=usg5-2
2284 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2285 machine
=tower32 opsys
=usg5-2-2
2287 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2288 machine
=tower32v3 opsys
=usg5-3
2293 machine
=ews4800 opsys
=ux4800
2296 ## Nixdorf Targon 31
2297 m68
*-nixdorf-sysv* )
2298 machine
=targon31 opsys
=usg5-2-2
2303 machine
=nu opsys
=usg5-2
2308 machine
=plexus opsys
=usg5-2
2312 ## I don't really have any idea what sort of processor the Pyramid has,
2313 ## so I'm assuming it is its own architecture.
2314 pyramid-pyramid-bsd
* )
2315 machine
=pyramid opsys
=bsd4-2
2319 ns32k-sequent-bsd4.2
* )
2320 machine
=sequent opsys
=bsd4-2
2322 ns32k-sequent-bsd4.3
* )
2323 machine
=sequent opsys
=bsd4-3
2327 mips-siemens-sysv
* | mips-sni-sysv
*)
2328 machine
=mips-siemens opsys
=usg5-4
2329 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2330 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2333 ## Silicon Graphics machines
2334 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2336 machine
=irist opsys
=iris3-5
2338 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2339 machine
=irist opsys
=iris3-6
2343 machine
=iris4d opsys
=irix3-3
2346 machine
=iris4d opsys
=irix4-0
2349 machine
=iris4d opsys
=irix6-5
2350 # Without defining _LANGUAGE_C, things get masked out in the headers
2351 # so that, for instance, grepping for `free' in stdlib.h fails and
2352 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2353 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2354 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2357 machine
=iris4d opsys
=irix6-0
2358 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2359 # but presumably it does no harm.
2360 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2361 # -32 probably isn't necessary in later v.6s -- anyone know which?
2362 NON_GCC_TEST_OPTIONS
=-32
2364 mips-sgi-irix5.
[01]* )
2365 machine
=iris4d opsys
=irix5-0
2367 mips-sgi-irix5
* | mips-sgi-irix
* )
2368 machine
=iris4d opsys
=irix5-2
2373 machine
=news opsys
=bsd4-2
2376 machine
=news opsys
=bsd4-3
2378 m68
*-sony-newsos3* | m68
*-sony-news3*)
2379 machine
=news opsys
=bsd4-3
2381 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2382 machine
=news-risc opsys
=bsd4-3
2384 mips-sony-newsos6
* )
2385 machine
=news-r6 opsys
=newsos6
2388 machine
=news-risc opsys
=newsos5
2393 machine
=stride opsys
=usg5-2
2397 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2398 machine
=sparc opsys
=gnu-linux
2401 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2402 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2403 | rs6000-
*-solaris2*)
2404 case "${canonical}" in
2405 m68
*-sunos1* ) machine
=sun1
;;
2406 m68
*-sunos2* ) machine
=sun2
;;
2407 m68
* ) machine
=sun3
;;
2408 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2409 i
[3456]86-*-* ) machine
=intel386
;;
2410 powerpcle
* ) machine
=powerpcle
;;
2411 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2412 sparc
* ) machine
=sparc
;;
2415 case "${canonical}" in
2416 ## The Sun386 didn't get past 4.0.
2417 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2418 *-sunos4.0
* ) opsys
=sunos4-0
;;
2419 *-sunos4.1.
[3-9]*noshare
)
2420 ## This name is sunos413 instead of sunos4-1-3
2421 ## to avoid a file name conflict on MSDOS.
2423 NON_GNU_CPP
=/usr
/lib
/cpp
2424 NON_GCC_TEST_OPTIONS
=-Bstatic
2425 GCC_TEST_OPTIONS
=-static
2427 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2429 NON_GNU_CPP
=/usr
/lib
/cpp
2431 *-sunos4* |
*-sunos )
2433 NON_GCC_TEST_OPTIONS
=-Bstatic
2434 GCC_TEST_OPTIONS
=-static
2436 *-sunos5.3
* |
*-solaris2.3
* )
2438 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2440 *-sunos5.4
* |
*-solaris2.4
* )
2442 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2445 *-sunos5.5
* |
*-solaris2.5
* )
2447 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2450 *-sunos5.6
* |
*-solaris2.6
* )
2452 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2455 *-sunos5* |
*-solaris* )
2457 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2461 ## Watch out for a compiler that we know will not work.
2462 case "${canonical}" in
2463 *-solaris* |
*-sunos5* )
2464 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2465 ## /usr/ucb/cc doesn't work;
2466 ## we should find some other compiler that does work.
2474 machine
=sparc opsys
=nextstep
2478 m68
*-tadpole-sysv* )
2479 machine
=tad68k opsys
=usg5-3
2483 tahoe-tahoe-bsd4.2
* )
2484 machine
=tahoe opsys
=bsd4-2
2486 tahoe-tahoe-bsd4.3
* )
2487 machine
=tahoe opsys
=bsd4-3
2490 ## Tandem Integrity S2
2492 machine
=tandem-s2 opsys
=usg5-3
2496 m88k-tektronix-sysv3
* )
2497 machine
=tekxd88 opsys
=usg5-3
2500 ## Tektronix 16000 box (6130?)
2501 ns16k-tektronix-bsd
* )
2502 machine
=ns16000 opsys
=bsd4-2
2505 ## src/m/tek4300.h hints that this is a m68k machine.
2506 m68
*-tektronix-bsd* )
2507 machine
=tek4300 opsys
=bsd4-3
2511 ## We seem to have lost the machine-description file titan.h!
2513 machine
=titan opsys
=usg5-3
2516 ## Ustation E30 (SS5E)
2517 m68
*-unisys-uniplus* )
2518 machine
=ustation opsystem
=unipl5-2
2524 case "${canonical}" in
2525 *-bsd4.1
* ) opsys
=bsd4-1
;;
2526 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2527 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2528 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2529 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2530 *-vms* ) opsys
=vms
;;
2536 ns16k-whitechapel-
* )
2538 ## We don't know what sort of OS runs on these; we'll let the
2539 ## operating system guessing code below try.
2544 machine
=wicat opsys
=usg5-2
2549 machine
=ia64 opsys
=gnu-linux
2552 ## Intel 386 machines where we don't care about the manufacturer
2555 case "${canonical}" in
2556 *-cygwin ) opsys
=cygwin
;;
2557 *-lynxos* ) opsys
=lynxos
;;
2558 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2559 *-isc2.2
* ) opsys
=isc2-2
;;
2560 *-isc4.0
* ) opsys
=isc4-0
;;
2561 *-isc4.
* ) opsys
=isc4-1
2562 GCC_TEST_OPTIONS
=-posix
2563 NON_GCC_TEST_OPTIONS
=-Xp
2565 *-isc* ) opsys
=isc3-0
;;
2566 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2567 *-esix* ) opsys
=esix
;;
2568 *-xenix* ) opsys
=xenix
;;
2569 *-linux-gnu* ) opsys
=gnu-linux
;;
2570 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2571 *-sco3.2v5
* ) opsys
=sco5
2572 NON_GNU_CPP
=/lib
/cpp
2573 # Prevent -belf from being passed to $CPP.
2574 # /lib/cpp does not accept it.
2575 OVERRIDE_CPPFLAGS
=" "
2577 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2578 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2579 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2580 *-386bsd* ) opsys
=386bsd
;;
2581 *-nextstep* ) opsys
=nextstep
;;
2582 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2586 ## m68k Linux-based GNU system
2588 machine
=m68k opsys
=gnu-linux
2591 ## Mips Linux-based GNU system
2592 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2593 machine
=mips opsys
=gnu-linux
2597 sparc-fujitsu-sysv4
* )
2598 machine
=sparc opsys
=uxpds
2599 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2604 f301-fujitsu-uxpv4.1
)
2605 machine
=f301 opsys
=uxpv
2608 ## Darwin / Mac OS X
2609 powerpc-apple-darwin
* )
2610 machine
=powermac opsys
=darwin
2611 # Define CPP as follows to make autoconf work correctly.
2612 CPP
="${CC-cc} -E -no-cpp-precomp"
2613 # Use fink packages if available.
2614 if test -d /sw
/include
&& test -d /sw
/lib
; then
2615 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2616 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2617 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2621 ## AMD x86-64 Linux-based GNU system
2622 x86_64-
*-linux-gnu* )
2623 machine
=amdx86-64 opsys
=gnu-linux
2631 ### If the code above didn't choose an operating system, just choose
2632 ### an operating system based on the configuration name. You really
2633 ### only want to use this when you have no idea what the right
2634 ### operating system is; if you know what operating systems a machine
2635 ### runs, it's cleaner to make it explicit in the case statement
2637 if test x
"${opsys}" = x
; then
2638 case "${canonical}" in
2639 *-gnu* ) opsys
=gnu
;;
2640 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2641 *-bsd4.2
) opsys
=bsd4-2
;;
2642 *-bsd4.3
) opsys
=bsd4-3
;;
2643 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2644 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2645 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2646 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2647 *-sysv4.2uw
* ) opsys
=unixware
;;
2648 *-sysv5uw* ) opsys
=unixware
;;
2649 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2650 *-sysv4.1
* |
*-sysvr4.1
* )
2651 NON_GNU_CPP
=/usr
/lib
/cpp
2653 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2654 if [ x
$NON_GNU_CPP = x
]; then
2655 if [ -f /usr
/ccs
/lib
/cpp
]; then
2656 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2658 NON_GNU_CPP
=/lib
/cpp
2662 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2671 if test $unported = yes; then
2672 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2673 Check \`etc/MACHINES' for recognized configuration names." >&5
2674 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2675 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2676 { (exit 1); exit 1; }; }
2679 machfile
="m/${machine}.h"
2680 opsysfile
="s/${opsys}.h"
2683 #### Choose a compiler.
2684 test -n "$CC" && cc_specified
=yes
2686 # Save the value of CFLAGS that the user specified.
2687 SPECIFIED_CFLAGS
="$CFLAGS"
2690 "yes" ) CC
="gcc" GCC
=yes ;;
2691 "no" ) : ${CC=cc} ;;
2695 ac_cpp
='$CPP $CPPFLAGS'
2696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2701 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2702 echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2704 if test "${ac_cv_prog_CC+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC
="$CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 echo "$as_me:$LINENO: result: $CC" >&5
2729 echo "${ECHO_T}$CC" >&6
2731 echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2736 if test -z "$ac_cv_prog_CC"; then
2738 # Extract the first word of "gcc", so it can be a program name with args.
2739 set dummy gcc
; ac_word
=$2
2740 echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -n "$ac_ct_CC"; then
2746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_ac_ct_CC
="gcc"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2765 if test -n "$ac_ct_CC"; then
2766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2767 echo "${ECHO_T}$ac_ct_CC" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_CC+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 echo "$as_me:$LINENO: result: $CC" >&5
2809 echo "${ECHO_T}$CC" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2816 if test -z "$ac_cv_prog_CC"; then
2818 # Extract the first word of "cc", so it can be a program name with args.
2819 set dummy cc
; ac_word
=$2
2820 echo "$as_me:$LINENO: checking for $ac_word" >&5
2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 if test -n "$ac_ct_CC"; then
2826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_ac_ct_CC
="cc"
2836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2845 if test -n "$ac_ct_CC"; then
2846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2847 echo "${ECHO_T}$ac_ct_CC" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2859 if test -z "$CC"; then
2860 # Extract the first word of "cc", so it can be a program name with args.
2861 set dummy cc
; ac_word
=$2
2862 echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2864 if test "${ac_cv_prog_CC+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$CC"; then
2868 ac_cv_prog_CC
="$CC" # Let the user override the test.
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2879 ac_prog_rejected
=yes
2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test $ac_prog_rejected = yes; then
2890 # We found a bogon in the path, so make sure we never use it.
2891 set dummy
$ac_cv_prog_CC
2893 if test $# != 0; then
2894 # We chose a different compiler from the bogus one.
2895 # However, it has the same basename, so the bogon will be chosen
2896 # first if we set CC to just the basename; use the full file name.
2898 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2904 if test -n "$CC"; then
2905 echo "$as_me:$LINENO: result: $CC" >&5
2906 echo "${ECHO_T}$CC" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2913 if test -z "$CC"; then
2914 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2918 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2919 echo "$as_me:$LINENO: checking for $ac_word" >&5
2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2921 if test "${ac_cv_prog_CC+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$CC"; then
2945 echo "$as_me:$LINENO: result: $CC" >&5
2946 echo "${ECHO_T}$CC" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2952 test -n "$CC" && break
2955 if test -z "$CC"; then
2959 # Extract the first word of "$ac_prog", so it can be a program name with args.
2960 set dummy
$ac_prog; ac_word
=$2
2961 echo "$as_me:$LINENO: checking for $ac_word" >&5
2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2963 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 if test -n "$ac_ct_CC"; then
2967 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976 ac_cv_prog_ac_ct_CC
="$ac_prog"
2977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2988 echo "${ECHO_T}$ac_ct_CC" >&6
2990 echo "$as_me:$LINENO: result: no" >&5
2991 echo "${ECHO_T}no" >&6
2994 test -n "$ac_ct_CC" && break
3003 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3004 See \`config.log' for more details." >&5
3005 echo "$as_me: error: no acceptable C compiler found in \$PATH
3006 See \`config.log' for more details." >&2;}
3007 { (exit 1); exit 1; }; }
3009 # Provide some information about the compiler.
3010 echo "$as_me:$LINENO:" \
3011 "checking for C compiler version" >&5
3012 ac_compiler
=`set X $ac_compile; echo $2`
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3014 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }
3018 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3019 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }
3023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3024 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }
3029 cat >conftest.
$ac_ext <<_ACEOF
3032 cat confdefs.h
>>conftest.
$ac_ext
3033 cat >>conftest.
$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3044 ac_clean_files_save
=$ac_clean_files
3045 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3046 # Try to create an executable without -o first, disregard a.out.
3047 # It will help us diagnose broken compilers, and finding out an intuition
3049 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3050 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3051 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3052 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3053 (eval $ac_link_default) 2>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; then
3057 # Find the output, starting from the most likely. This scheme is
3058 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3061 # Be careful to initialize this variable, since it used to be cached.
3062 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3064 # b.out is created by i960 compilers.
3065 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3067 test -f "$ac_file" ||
continue
3069 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3072 # This is the source file.
3075 # We found the default executable, but exeext='' is most
3079 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 # FIXME: I believe we export ac_cv_exeext for Libtool,
3081 # but it would be cool to find out if it's true. Does anybody
3082 # maintain Libtool? --akim.
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3094 See \`config.log' for more details." >&5
3095 echo "$as_me: error: C compiler cannot create executables
3096 See \`config.log' for more details." >&2;}
3097 { (exit 77); exit 77; }; }
3100 ac_exeext
=$ac_cv_exeext
3101 echo "$as_me:$LINENO: result: $ac_file" >&5
3102 echo "${ECHO_T}$ac_file" >&6
3104 # Check the compiler produces executables we can run. If not, either
3105 # the compiler is broken, or we cross compile.
3106 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3107 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3108 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3109 # If not cross compiling, check that we can run a simple program.
3110 if test "$cross_compiling" != yes; then
3111 if { ac_try
='./$ac_file'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3119 if test "$cross_compiling" = maybe
; then
3122 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3123 If you meant to cross compile, use \`--host'.
3124 See \`config.log' for more details." >&5
3125 echo "$as_me: error: cannot run C compiled programs.
3126 If you meant to cross compile, use \`--host'.
3127 See \`config.log' for more details." >&2;}
3128 { (exit 1); exit 1; }; }
3132 echo "$as_me:$LINENO: result: yes" >&5
3133 echo "${ECHO_T}yes" >&6
3135 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3136 ac_clean_files
=$ac_clean_files_save
3137 # Check the compiler produces executables we can run. If not, either
3138 # the compiler is broken, or we cross compile.
3139 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3140 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3141 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3142 echo "${ECHO_T}$cross_compiling" >&6
3144 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3145 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3147 (eval $ac_link) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; then
3151 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3152 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3153 # work properly (i.e., refer to `conftest.exe'), while it won't with
3155 for ac_file
in conftest.exe conftest conftest.
*; do
3156 test -f "$ac_file" ||
continue
3158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3159 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3166 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3167 See \`config.log' for more details." >&5
3168 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3169 See \`config.log' for more details." >&2;}
3170 { (exit 1); exit 1; }; }
3173 rm -f conftest
$ac_cv_exeext
3174 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3175 echo "${ECHO_T}$ac_cv_exeext" >&6
3177 rm -f conftest.
$ac_ext
3178 EXEEXT
=$ac_cv_exeext
3180 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3181 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3182 if test "${ac_cv_objext+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3200 rm -f conftest.o conftest.obj
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; then
3206 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3208 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3209 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.
$ac_ext >&5
3217 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3218 See \`config.log' for more details." >&5
3219 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3220 See \`config.log' for more details." >&2;}
3221 { (exit 1); exit 1; }; }
3224 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3227 echo "${ECHO_T}$ac_cv_objext" >&6
3228 OBJEXT
=$ac_cv_objext
3230 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3231 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 cat >conftest.
$ac_ext <<_ACEOF
3238 cat confdefs.h
>>conftest.
$ac_ext
3239 cat >>conftest.
$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3283 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3286 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3287 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3288 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3289 ac_test_CFLAGS
=${CFLAGS+set}
3290 ac_save_CFLAGS
=$CFLAGS
3292 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3293 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3294 if test "${ac_cv_prog_cc_g+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 cat >conftest.
$ac_ext <<_ACEOF
3300 cat confdefs.h
>>conftest.
$ac_ext
3301 cat >>conftest.
$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3312 rm -f conftest.
$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try
='test -z "$ac_c_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try
='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.
$ac_ext >&5
3341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3343 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3344 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3345 if test "$ac_test_CFLAGS" = set; then
3346 CFLAGS
=$ac_save_CFLAGS
3347 elif test $ac_cv_prog_cc_g = yes; then
3348 if test "$GCC" = yes; then
3354 if test "$GCC" = yes; then
3360 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3361 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3362 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 ac_cv_prog_cc_stdc
=no
3367 cat >conftest.
$ac_ext <<_ACEOF
3370 cat confdefs.h
>>conftest.
$ac_ext
3371 cat >>conftest.
$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3375 #include <sys/types.h>
3376 #include <sys/stat.h>
3377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3378 struct buf { int x; };
3379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3380 static char *e (p, i)
3386 static char *f (char * (*g) (char **, int), char **p, ...)
3391 s = g (p, va_arg (v,int));
3396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3397 function prototypes and stuff, but not '\xHH' hex character constants.
3398 These don't provoke an error unfortunately, instead are silently treated
3399 as 'x'. The following induces an error, until -std1 is added to get
3400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3401 array size at least. It's necessary to write '\x00'==0 to get something
3402 that's true only with -std1. */
3403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3405 int test (int i, double x);
3406 struct s1 {int (*f) (int a);};
3407 struct s2 {int (*f) (double a);};
3408 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3414 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3419 # Don't try gcc -ansi; that turns off useful extensions and
3420 # breaks some systems' header files.
3421 # AIX -qlanglvl=ansi
3422 # Ultrix and OSF/1 -std1
3423 # HP-UX 10.20 and later -Ae
3424 # HP-UX older versions -Aa -D_HPUX_SOURCE
3425 # SVR4 -Xc -D__EXTENSIONS__
3426 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3428 CC
="$ac_save_CC $ac_arg"
3429 rm -f conftest.
$ac_objext
3430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3431 (eval $ac_compile) 2>conftest.er1
3433 grep -v '^ *+' conftest.er1
>conftest.err
3435 cat conftest.err
>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } &&
3438 { ac_try
='test -z "$ac_c_werror_flag"
3439 || test ! -s conftest.err'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; } &&
3445 { ac_try
='test -s conftest.$ac_objext'
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3451 ac_cv_prog_cc_stdc
=$ac_arg
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.
$ac_ext >&5
3458 rm -f conftest.err conftest.
$ac_objext
3460 rm -f conftest.
$ac_ext conftest.
$ac_objext
3465 case "x$ac_cv_prog_cc_stdc" in
3467 echo "$as_me:$LINENO: result: none needed" >&5
3468 echo "${ECHO_T}none needed" >&6 ;;
3470 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3471 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3472 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3475 # Some people use a C++ compiler to compile C. Since we use `exit',
3476 # in C++ we need to declare it. In case someone uses the same compiler
3477 # for both compiling C and C++ we need to have the C++ compiler decide
3478 # the declaration of exit, since it's the most demanding environment.
3479 cat >conftest.
$ac_ext <<_ACEOF
3484 rm -f conftest.
$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag"
3494 || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try
='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3506 for ac_declaration
in \
3508 'extern "C" void std::exit (int) throw (); using std::exit;' \
3509 'extern "C" void std::exit (int); using std::exit;' \
3510 'extern "C" void exit (int) throw ();' \
3511 'extern "C" void exit (int);' \
3514 cat >conftest.
$ac_ext <<_ACEOF
3517 cat confdefs.h
>>conftest.
$ac_ext
3518 cat >>conftest.
$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3530 rm -f conftest.
$ac_objext
3531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3532 (eval $ac_compile) 2>conftest.er1
3534 grep -v '^ *+' conftest.er1
>conftest.err
3536 cat conftest.err
>&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 { ac_try
='test -z "$ac_c_werror_flag"
3540 || test ! -s conftest.err'
3541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; } &&
3546 { ac_try
='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3554 echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.
$ac_ext >&5
3559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag"
3585 || test ! -s conftest.err'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try
='test -s conftest.$ac_objext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3606 if test -n "$ac_declaration"; then
3607 echo '#ifdef __cplusplus' >>confdefs.h
3608 echo $ac_declaration >>confdefs.h
3609 echo '#endif' >>confdefs.h
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.
$ac_ext >&5
3617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 ac_cpp
='$CPP $CPPFLAGS'
3620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3625 # On Suns, sometimes $CPP names a directory.
3626 if test -n "$CPP" && test -d "$CPP"; then
3630 #### Some systems specify a CPP to use unless we are using GCC.
3631 #### Now that we know whether we are using GCC, we can decide whether
3632 #### to use that one.
3633 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3638 #### Some systems specify a CC to use unless we are using GCC.
3639 #### Now that we know whether we are using GCC, we can decide whether
3640 #### to use that one.
3641 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3642 test x
$cc_specified != xyes
3647 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3649 CC
="$CC $GCC_TEST_OPTIONS"
3652 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3654 CC
="$CC $NON_GCC_TEST_OPTIONS"
3657 #### Some other nice autoconf tests.
3659 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3660 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3662 if test "$LN_S" = "ln -s"; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3666 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3667 echo "${ECHO_T}no, using $LN_S" >&6
3671 ac_cpp
='$CPP $CPPFLAGS'
3672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3675 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3676 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3677 # On Suns, sometimes $CPP names a directory.
3678 if test -n "$CPP" && test -d "$CPP"; then
3681 if test -z "$CPP"; then
3682 if test "${ac_cv_prog_CPP+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 # Double quotes because CPP needs to be expanded
3686 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3689 for ac_c_preproc_warn_flag
in '' yes
3691 # Use a header file that comes with gcc, so configuring glibc
3692 # with a fresh cross-compiler works.
3693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3694 # <limits.h> exists even on freestanding compilers.
3695 # On the NeXT, cc -E runs the code through the compiler's parser,
3696 # not just through cpp. "Syntax error" is here to catch this case.
3697 cat >conftest.
$ac_ext <<_ACEOF
3700 cat confdefs.h
>>conftest.
$ac_ext
3701 cat >>conftest.
$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3704 # include <limits.h>
3706 # include <assert.h>
3710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1
>conftest.err
3715 cat conftest.err
>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } >/dev
/null
; then
3718 if test -s conftest.err
; then
3719 ac_cpp_err
=$ac_c_preproc_warn_flag
3720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3727 if test -z "$ac_cpp_err"; then
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.
$ac_ext >&5
3733 # Broken: fails on valid input.
3736 rm -f conftest.err conftest.
$ac_ext
3738 # OK, works on sane cases. Now check whether non-existent headers
3739 # can be detected and how.
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 #include <ac_nonexistent.h>
3748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3751 grep -v '^ *+' conftest.er1
>conftest.err
3753 cat conftest.err
>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev
/null
; then
3756 if test -s conftest.err
; then
3757 ac_cpp_err
=$ac_c_preproc_warn_flag
3758 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3765 if test -z "$ac_cpp_err"; then
3766 # Broken: success on invalid input.
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 # Passes both tests.
3776 rm -f conftest.err conftest.
$ac_ext
3779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3780 rm -f conftest.err conftest.
$ac_ext
3781 if $ac_preproc_ok; then
3793 echo "$as_me:$LINENO: result: $CPP" >&5
3794 echo "${ECHO_T}$CPP" >&6
3796 for ac_c_preproc_warn_flag
in '' yes
3798 # Use a header file that comes with gcc, so configuring glibc
3799 # with a fresh cross-compiler works.
3800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3801 # <limits.h> exists even on freestanding compilers.
3802 # On the NeXT, cc -E runs the code through the compiler's parser,
3803 # not just through cpp. "Syntax error" is here to catch this case.
3804 cat >conftest.
$ac_ext <<_ACEOF
3807 cat confdefs.h
>>conftest.
$ac_ext
3808 cat >>conftest.
$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3811 # include <limits.h>
3813 # include <assert.h>
3817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3820 grep -v '^ *+' conftest.er1
>conftest.err
3822 cat conftest.err
>&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } >/dev
/null
; then
3825 if test -s conftest.err
; then
3826 ac_cpp_err
=$ac_c_preproc_warn_flag
3827 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3834 if test -z "$ac_cpp_err"; then
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3840 # Broken: fails on valid input.
3843 rm -f conftest.err conftest.
$ac_ext
3845 # OK, works on sane cases. Now check whether non-existent headers
3846 # can be detected and how.
3847 cat >conftest.
$ac_ext <<_ACEOF
3850 cat confdefs.h
>>conftest.
$ac_ext
3851 cat >>conftest.
$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3858 grep -v '^ *+' conftest.er1
>conftest.err
3860 cat conftest.err
>&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } >/dev
/null
; then
3863 if test -s conftest.err
; then
3864 ac_cpp_err
=$ac_c_preproc_warn_flag
3865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3872 if test -z "$ac_cpp_err"; then
3873 # Broken: success on invalid input.
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3879 # Passes both tests.
3883 rm -f conftest.err conftest.
$ac_ext
3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3887 rm -f conftest.err conftest.
$ac_ext
3888 if $ac_preproc_ok; then
3891 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3892 See \`config.log' for more details." >&5
3893 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3894 See \`config.log' for more details." >&2;}
3895 { (exit 1); exit 1; }; }
3899 ac_cpp
='$CPP $CPPFLAGS'
3900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3904 # Find a good install program. We prefer a C program (faster),
3905 # so one script is as good as another. But avoid the broken or
3906 # incompatible versions:
3907 # SysV /etc/install, /usr/sbin/install
3908 # SunOS /usr/etc/install
3909 # IRIX /sbin/install
3911 # AmigaOS /C/install, which installs bootblocks on floppy discs
3912 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3913 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3914 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3915 # OS/2's system install, which has a completely different semantic
3916 # ./install, which can be erroneously created by make from ./install.sh.
3917 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3918 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3919 if test -z "$INSTALL"; then
3920 if test "${ac_cv_path_install+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 # Account for people who put trailing slashes in PATH elements.
3930 .
/ | .
// |
/cC
/* | \
3931 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3932 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3935 # OSF1 and SCO ODT 3.0 have their own names for install.
3936 # Don't use installbsd from OSF since it installs stuff as root
3938 for ac_prog
in ginstall scoinst
install; do
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3941 if test $ac_prog = install &&
3942 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3943 # AIX install. It has an incompatible calling convention.
3945 elif test $ac_prog = install &&
3946 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3947 # program-specific install script used by HP pwplus--don't use.
3950 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3962 if test "${ac_cv_path_install+set}" = set; then
3963 INSTALL
=$ac_cv_path_install
3965 # As a last resort, use the slow shell script. We don't cache a
3966 # path for INSTALL within a source directory, because that will
3967 # break other packages using the cache if that directory is
3968 # removed, or if the path is relative.
3969 INSTALL
=$ac_install_sh
3972 echo "$as_me:$LINENO: result: $INSTALL" >&5
3973 echo "${ECHO_T}$INSTALL" >&6
3975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3976 # It thinks the first close brace ends the variable substitution.
3977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3981 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3983 if test "x$RANLIB" = x
; then
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3986 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3987 echo "$as_me:$LINENO: checking for $ac_word" >&5
3988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3989 if test "${ac_cv_prog_RANLIB+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 if test -n "$RANLIB"; then
3993 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 RANLIB
=$ac_cv_prog_RANLIB
4012 if test -n "$RANLIB"; then
4013 echo "$as_me:$LINENO: result: $RANLIB" >&5
4014 echo "${ECHO_T}$RANLIB" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4021 if test -z "$ac_cv_prog_RANLIB"; then
4022 ac_ct_RANLIB
=$RANLIB
4023 # Extract the first word of "ranlib", so it can be a program name with args.
4024 set dummy ranlib
; ac_word
=$2
4025 echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4027 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 if test -n "$ac_ct_RANLIB"; then
4031 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4050 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4051 if test -n "$ac_ct_RANLIB"; then
4052 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4053 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4059 RANLIB
=$ac_ct_RANLIB
4061 RANLIB
="$ac_cv_prog_RANLIB"
4065 # Extract the first word of "install-info", so it can be a program name with args.
4066 set dummy install-info
; ac_word
=$2
4067 echo "$as_me:$LINENO: checking for $ac_word" >&5
4068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4069 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 case $INSTALL_INFO in
4074 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4096 if test -n "$INSTALL_INFO"; then
4097 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4098 echo "${ECHO_T}$INSTALL_INFO" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4104 # Extract the first word of "install-info", so it can be a program name with args.
4105 set dummy install-info
; ac_word
=$2
4106 echo "$as_me:$LINENO: checking for $ac_word" >&5
4107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4108 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 case $INSTALL_INFO in
4113 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 for as_dir
in /usr
/sbin
4120 test -z "$as_dir" && as_dir
=.
4121 for ac_exec_ext
in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4135 if test -n "$INSTALL_INFO"; then
4136 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4137 echo "${ECHO_T}$INSTALL_INFO" >&6
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4143 # Extract the first word of "install-info", so it can be a program name with args.
4144 set dummy install-info
; ac_word
=$2
4145 echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4147 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 case $INSTALL_INFO in
4152 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4173 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4175 if test -n "$INSTALL_INFO"; then
4176 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4177 echo "${ECHO_T}$INSTALL_INFO" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4187 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4190 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4192 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4196 late_LDFLAGS
=$LDFLAGS
4197 if test $GCC = yes; then
4198 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4200 LDFLAGS
="$LDFLAGS -znocombreloc"
4203 echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4204 echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 rm -f conftest.
$ac_objext conftest
$ac_exeext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4211 (eval $ac_link) 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try
='test -z "$ac_c_werror_flag"
4219 || test ! -s conftest.err'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try
='test -s conftest$ac_exeext'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.
$ac_ext >&5
4237 LDFLAGS
=$late_LDFLAGS
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4241 rm -f conftest.err conftest.
$ac_objext \
4242 conftest
$ac_exeext conftest.
$ac_ext
4245 echo "$as_me:$LINENO: checking for egrep" >&5
4246 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4247 if test "${ac_cv_prog_egrep+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4251 then ac_cv_prog_egrep
='grep -E'
4252 else ac_cv_prog_egrep
='egrep'
4255 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4256 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4257 EGREP
=$ac_cv_prog_egrep
4261 echo "$as_me:$LINENO: checking for AIX" >&5
4262 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4263 cat >conftest.
$ac_ext <<_ACEOF
4266 cat confdefs.h
>>conftest.
$ac_ext
4267 cat >>conftest.
$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4275 $EGREP "yes" >/dev
/null
2>&1; then
4276 echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6
4278 cat >>confdefs.h
<<\_ACEOF
4279 #define _ALL_SOURCE 1
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4290 #### Extract some information from the operating system and machine files.
4292 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4293 - which libraries the lib-src programs will want, and
4294 - whether the GNU malloc routines are usable..." >&5
4295 echo "$as_me: checking the machine- and system-dependent files to find out
4296 - which libraries the lib-src programs will want, and
4297 - whether the GNU malloc routines are usable..." >&6;}
4299 ### First figure out CFLAGS (which we use for running the compiler here)
4300 ### and REAL_CFLAGS (which we use for real compilation).
4301 ### The two are the same except on a few systems, where they are made
4302 ### different to work around various lossages. For example,
4303 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4304 ### as implying static linking.
4306 ### If the CFLAGS env var is specified, we use that value
4307 ### instead of the default.
4309 ### It's not important that this name contain the PID; you can't run
4310 ### two configures in the same directory and have anything work
4312 tempcname
="conftest.c"
4315 #include "'${srcdir}'/src/'${opsysfile}'"
4316 #include "'${srcdir}'/src/'${machfile}'"
4317 #ifndef LIBS_MACHINE
4318 #define LIBS_MACHINE
4323 #ifndef C_SWITCH_SYSTEM
4324 #define C_SWITCH_SYSTEM
4326 #ifndef C_SWITCH_MACHINE
4327 #define C_SWITCH_MACHINE
4329 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4330 configure___ c_switch_system=C_SWITCH_SYSTEM
4331 configure___ c_switch_machine=C_SWITCH_MACHINE
4334 #define LIB_X11_LIB -lX11
4337 #ifndef LIBX11_MACHINE
4338 #define LIBX11_MACHINE
4341 #ifndef LIBX11_SYSTEM
4342 #define LIBX11_SYSTEM
4344 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4347 configure___ unexec=UNEXEC
4349 configure___ unexec=unexec.o
4352 #ifdef SYSTEM_MALLOC
4353 configure___ system_malloc=yes
4355 configure___ system_malloc=no
4358 #ifdef USE_MMAP_FOR_BUFFERS
4359 configure___ use_mmap_for_buffers=yes
4361 configure___ use_mmap_for_buffers=no
4364 #ifndef C_DEBUG_SWITCH
4365 #define C_DEBUG_SWITCH -g
4368 #ifndef C_OPTIMIZE_SWITCH
4370 #define C_OPTIMIZE_SWITCH -O2
4372 #define C_OPTIMIZE_SWITCH -O
4376 #ifndef LD_SWITCH_MACHINE
4377 #define LD_SWITCH_MACHINE
4380 #ifndef LD_SWITCH_SYSTEM
4381 #define LD_SWITCH_SYSTEM
4384 #ifndef LD_SWITCH_X_SITE_AUX
4385 #define LD_SWITCH_X_SITE_AUX
4388 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4389 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4391 #ifdef THIS_IS_CONFIGURE
4393 /* Get the CFLAGS for tests in configure. */
4395 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4397 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4400 #else /* not THIS_IS_CONFIGURE */
4402 /* Get the CFLAGS for real compilation. */
4404 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4406 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4409 #endif /* not THIS_IS_CONFIGURE */
4412 # The value of CPP is a quoted variable reference, so we need to do this
4413 # to get its actual value...
4414 CPP
=`eval "echo $CPP"`
4415 eval `${CPP} -Isrc ${tempcname} \
4416 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4417 if test "x$SPECIFIED_CFLAGS" = x
; then
4418 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4419 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4421 REAL_CFLAGS
="$CFLAGS"
4425 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4427 ### Make sure subsequent tests use flags consistent with the build flags.
4429 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4430 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4432 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4438 cat >>confdefs.h
<<\_ACEOF
4439 #define _GNU_SOURCE 1
4444 # Check whether --enable-largefile or --disable-largefile was given.
4445 if test "${enable_largefile+set}" = set; then
4446 enableval
="$enable_largefile"
4449 if test "$enable_largefile" != no
; then
4451 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4452 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4453 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 ac_cv_sys_largefile_CC
=no
4457 if test "$GCC" != yes; then
4460 # IRIX 6.2 and later do not support large files by default,
4461 # so use the C compiler's -n32 option if that helps.
4462 cat >conftest.
$ac_ext <<_ACEOF
4465 cat confdefs.h
>>conftest.
$ac_ext
4466 cat >>conftest.
$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4468 #include <sys/types.h>
4469 /* Check that off_t can represent 2**63 - 1 correctly.
4470 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4471 since some C++ compilers masquerading as C compilers
4472 incorrectly reject 9223372036854775807. */
4473 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4474 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4475 && LARGE_OFF_T % 2147483647 == 1)
4485 rm -f conftest.
$ac_objext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try
='test -z "$ac_c_werror_flag"
4495 || test ! -s conftest.err'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; } &&
4501 { ac_try
='test -s conftest.$ac_objext'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; }; then
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.
$ac_ext >&5
4513 rm -f conftest.err conftest.
$ac_objext
4515 rm -f conftest.
$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1
>conftest.err
4521 cat conftest.err
>&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try
='test -z "$ac_c_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try
='test -s conftest.$ac_objext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 ac_cv_sys_largefile_CC
=' -n32'; break
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.
$ac_ext >&5
4543 rm -f conftest.err conftest.
$ac_objext
4547 rm -f conftest.
$ac_ext
4550 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4551 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4552 if test "$ac_cv_sys_largefile_CC" != no
; then
4553 CC
=$CC$ac_cv_sys_largefile_CC
4556 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4557 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4558 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 ac_cv_sys_file_offset_bits
=no
4563 cat >conftest.
$ac_ext <<_ACEOF
4566 cat confdefs.h
>>conftest.
$ac_ext
4567 cat >>conftest.
$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4569 #include <sys/types.h>
4570 /* Check that off_t can represent 2**63 - 1 correctly.
4571 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4572 since some C++ compilers masquerading as C compilers
4573 incorrectly reject 9223372036854775807. */
4574 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4575 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4576 && LARGE_OFF_T % 2147483647 == 1)
4586 rm -f conftest.
$ac_objext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4588 (eval $ac_compile) 2>conftest.er1
4590 grep -v '^ *+' conftest.er1
>conftest.err
4592 cat conftest.err
>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try
='test -z "$ac_c_werror_flag"
4596 || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try
='test -s conftest.$ac_objext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4610 echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.
$ac_ext >&5
4614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 #define _FILE_OFFSET_BITS 64
4622 #include <sys/types.h>
4623 /* Check that off_t can represent 2**63 - 1 correctly.
4624 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4625 since some C++ compilers masquerading as C compilers
4626 incorrectly reject 9223372036854775807. */
4627 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4628 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4629 && LARGE_OFF_T % 2147483647 == 1)
4639 rm -f conftest.
$ac_objext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4641 (eval $ac_compile) 2>conftest.er1
4643 grep -v '^ *+' conftest.er1
>conftest.err
4645 cat conftest.err
>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try
='test -z "$ac_c_werror_flag"
4649 || test ! -s conftest.err'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; } &&
4655 { ac_try
='test -s conftest.$ac_objext'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 ac_cv_sys_file_offset_bits
=64; break
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4672 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4673 if test "$ac_cv_sys_file_offset_bits" != no
; then
4675 cat >>confdefs.h
<<_ACEOF
4676 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4681 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4682 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4683 if test "${ac_cv_sys_large_files+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 ac_cv_sys_large_files
=no
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 /* Check that off_t can represent 2**63 - 1 correctly.
4696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4697 since some C++ compilers masquerading as C compilers
4698 incorrectly reject 9223372036854775807. */
4699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4701 && LARGE_OFF_T % 2147483647 == 1)
4711 rm -f conftest.
$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>conftest.er1
4715 grep -v '^ *+' conftest.er1
>conftest.err
4717 cat conftest.err
>&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try
='test -z "$ac_c_werror_flag"
4721 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try
='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.
$ac_ext >&5
4739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4740 cat >conftest.
$ac_ext <<_ACEOF
4743 cat confdefs.h
>>conftest.
$ac_ext
4744 cat >>conftest.
$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 #define _LARGE_FILES 1
4747 #include <sys/types.h>
4748 /* Check that off_t can represent 2**63 - 1 correctly.
4749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4750 since some C++ compilers masquerading as C compilers
4751 incorrectly reject 9223372036854775807. */
4752 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4754 && LARGE_OFF_T % 2147483647 == 1)
4764 rm -f conftest.
$ac_objext
4765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4766 (eval $ac_compile) 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } &&
4773 { ac_try
='test -z "$ac_c_werror_flag"
4774 || test ! -s conftest.err'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; } &&
4780 { ac_try
='test -s conftest.$ac_objext'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; }; then
4786 ac_cv_sys_large_files
=1; break
4788 echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.
$ac_ext >&5
4792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4796 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4797 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4798 if test "$ac_cv_sys_large_files" != no
; then
4800 cat >>confdefs.h
<<_ACEOF
4801 #define _LARGE_FILES $ac_cv_sys_large_files
4809 if test "${with_sound}" != "no"; then
4810 # Sound support for GNU/Linux and the free BSDs.
4811 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4813 if test "${ac_cv_header_stdc+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 cat >conftest.
$ac_ext <<_ACEOF
4819 cat confdefs.h
>>conftest.
$ac_ext
4820 cat >>conftest.
$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4835 rm -f conftest.
$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try
='test -z "$ac_c_werror_flag"
4845 || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; } &&
4851 { ac_try
='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; }; then
4857 ac_cv_header_stdc
=yes
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.
$ac_ext >&5
4862 ac_cv_header_stdc
=no
4864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 if test $ac_cv_header_stdc = yes; then
4867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4868 cat >conftest.
$ac_ext <<_ACEOF
4871 cat confdefs.h
>>conftest.
$ac_ext
4872 cat >>conftest.
$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4878 $EGREP "memchr" >/dev
/null
2>&1; then
4881 ac_cv_header_stdc
=no
4887 if test $ac_cv_header_stdc = yes; then
4888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4889 cat >conftest.
$ac_ext <<_ACEOF
4892 cat confdefs.h
>>conftest.
$ac_ext
4893 cat >>conftest.
$ac_ext <<_ACEOF
4894 /* end confdefs.h. */
4898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4899 $EGREP "free" >/dev
/null
2>&1; then
4902 ac_cv_header_stdc
=no
4908 if test $ac_cv_header_stdc = yes; then
4909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4910 if test "$cross_compiling" = yes; then
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4920 #if ((' ' & 0x0FF) == 0x020)
4921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4924 # define ISLOWER(c) \
4925 (('a' <= (c) && (c) <= 'i') \
4926 || ('j' <= (c) && (c) <= 'r') \
4927 || ('s' <= (c) && (c) <= 'z'))
4928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4936 for (i = 0; i < 256; i++)
4937 if (XOR (islower (i), ISLOWER (i))
4938 || toupper (i) != TOUPPER (i))
4943 rm -f conftest
$ac_exeext
4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4945 (eval $ac_link) 2>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; }; then
4956 echo "$as_me: program exited with status $ac_status" >&5
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4961 ac_cv_header_stdc
=no
4963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4967 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4968 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4969 if test $ac_cv_header_stdc = yes; then
4971 cat >>confdefs.h
<<\_ACEOF
4972 #define STDC_HEADERS 1
4977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4987 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4988 inttypes.h stdint.h unistd.h
4990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4991 echo "$as_me:$LINENO: checking for $ac_header" >&5
4992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 $ac_includes_default
5004 #include <$ac_header>
5006 rm -f conftest.
$ac_objext
5007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5008 (eval $ac_compile) 2>conftest.er1
5010 grep -v '^ *+' conftest.er1
>conftest.err
5012 cat conftest.err
>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } &&
5015 { ac_try
='test -z "$ac_c_werror_flag"
5016 || test ! -s conftest.err'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; } &&
5022 { ac_try
='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5028 eval "$as_ac_Header=yes"
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.
$ac_ext >&5
5033 eval "$as_ac_Header=no"
5035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5040 cat >>confdefs.h
<<_ACEOF
5041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5052 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5056 echo "$as_me:$LINENO: checking for $ac_header" >&5
5057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5064 # Is the header compilable?
5065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5067 cat >conftest.
$ac_ext <<_ACEOF
5070 cat confdefs.h
>>conftest.
$ac_ext
5071 cat >>conftest.
$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073 $ac_includes_default
5074 #include <$ac_header>
5076 rm -f conftest.
$ac_objext
5077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5078 (eval $ac_compile) 2>conftest.er1
5080 grep -v '^ *+' conftest.er1
>conftest.err
5082 cat conftest.err
>&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } &&
5085 { ac_try
='test -z "$ac_c_werror_flag"
5086 || test ! -s conftest.err'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try
='test -s conftest.$ac_objext'
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }; }; then
5098 ac_header_compiler
=yes
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5103 ac_header_compiler
=no
5105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5107 echo "${ECHO_T}$ac_header_compiler" >&6
5109 # Is the header present?
5110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5112 cat >conftest.
$ac_ext <<_ACEOF
5115 cat confdefs.h
>>conftest.
$ac_ext
5116 cat >>conftest.
$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5118 #include <$ac_header>
5120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } >/dev
/null
; then
5128 if test -s conftest.err
; then
5129 ac_cpp_err
=$ac_c_preproc_warn_flag
5130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5137 if test -z "$ac_cpp_err"; then
5138 ac_header_preproc
=yes
5140 echo "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.
$ac_ext >&5
5143 ac_header_preproc
=no
5145 rm -f conftest.err conftest.
$ac_ext
5146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5147 echo "${ECHO_T}$ac_header_preproc" >&6
5149 # So? What about this header?
5150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5156 ac_header_preproc
=yes
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5173 ## ------------------------------------------ ##
5174 ## Report this to the AC_PACKAGE_NAME lists. ##
5175 ## ------------------------------------------ ##
5178 sed "s/^/$as_me: WARNING: /" >&2
5181 echo "$as_me:$LINENO: checking for $ac_header" >&5
5182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 eval "$as_ac_Header=\$ac_header_preproc"
5188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5193 cat >>confdefs.h
<<_ACEOF
5194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5201 # Emulation library used on NetBSD.
5202 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5203 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5204 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 ac_check_lib_save_LIBS
=$LIBS
5208 LIBS
="-lossaudio $LIBS"
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5216 /* Override any gcc2 internal prototype to avoid an error. */
5220 /* We use char because int might match the return type of a gcc2
5221 builtin and then its argument prototype would still apply. */
5231 rm -f conftest.
$ac_objext conftest
$ac_exeext
5232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5233 (eval $ac_link) 2>conftest.er1
5235 grep -v '^ *+' conftest.er1
>conftest.err
5237 cat conftest.err
>&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } &&
5240 { ac_try
='test -z "$ac_c_werror_flag"
5241 || test ! -s conftest.err'
5242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }; } &&
5247 { ac_try
='test -s conftest$ac_exeext'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; }; then
5253 ac_cv_lib_ossaudio__oss_ioctl
=yes
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.
$ac_ext >&5
5258 ac_cv_lib_ossaudio__oss_ioctl
=no
5260 rm -f conftest.err conftest.
$ac_objext \
5261 conftest
$ac_exeext conftest.
$ac_ext
5262 LIBS
=$ac_check_lib_save_LIBS
5264 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5265 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5266 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5298 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5299 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5300 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5301 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h
5303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5305 echo "$as_me:$LINENO: checking for $ac_header" >&5
5306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5313 # Is the header compilable?
5314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5316 cat >conftest.
$ac_ext <<_ACEOF
5319 cat confdefs.h
>>conftest.
$ac_ext
5320 cat >>conftest.
$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5322 $ac_includes_default
5323 #include <$ac_header>
5325 rm -f conftest.
$ac_objext
5326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5327 (eval $ac_compile) 2>conftest.er1
5329 grep -v '^ *+' conftest.er1
>conftest.err
5331 cat conftest.err
>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } &&
5334 { ac_try
='test -z "$ac_c_werror_flag"
5335 || test ! -s conftest.err'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; } &&
5341 { ac_try
='test -s conftest.$ac_objext'
5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5347 ac_header_compiler
=yes
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5352 ac_header_compiler
=no
5354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5356 echo "${ECHO_T}$ac_header_compiler" >&6
5358 # Is the header present?
5359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5361 cat >conftest.
$ac_ext <<_ACEOF
5364 cat confdefs.h
>>conftest.
$ac_ext
5365 cat >>conftest.
$ac_ext <<_ACEOF
5366 /* end confdefs.h. */
5367 #include <$ac_header>
5369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5372 grep -v '^ *+' conftest.er1
>conftest.err
5374 cat conftest.err
>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } >/dev
/null
; then
5377 if test -s conftest.err
; then
5378 ac_cpp_err
=$ac_c_preproc_warn_flag
5379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5386 if test -z "$ac_cpp_err"; then
5387 ac_header_preproc
=yes
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.
$ac_ext >&5
5392 ac_header_preproc
=no
5394 rm -f conftest.err conftest.
$ac_ext
5395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5396 echo "${ECHO_T}$ac_header_preproc" >&6
5398 # So? What about this header?
5399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5405 ac_header_preproc
=yes
5408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5422 ## ------------------------------------------ ##
5423 ## Report this to the AC_PACKAGE_NAME lists. ##
5424 ## ------------------------------------------ ##
5427 sed "s/^/$as_me: WARNING: /" >&2
5430 echo "$as_me:$LINENO: checking for $ac_header" >&5
5431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 eval "$as_ac_Header=\$ac_header_preproc"
5437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5442 cat >>confdefs.h
<<_ACEOF
5443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5451 for ac_header
in term.h
5453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5454 echo "$as_me:$LINENO: checking for $ac_header" >&5
5455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 cat >conftest.
$ac_ext <<_ACEOF
5462 cat confdefs.h
>>conftest.
$ac_ext
5463 cat >>conftest.
$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5465 #include <$ac_header>
5467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5470 grep -v '^ *+' conftest.er1
>conftest.err
5472 cat conftest.err
>&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } >/dev
/null
; then
5475 if test -s conftest.err
; then
5476 ac_cpp_err
=$ac_c_preproc_warn_flag
5477 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5484 if test -z "$ac_cpp_err"; then
5485 eval "$as_ac_Header=yes"
5487 echo "$as_me: failed program was:" >&5
5488 sed 's/^/| /' conftest.
$ac_ext >&5
5490 eval "$as_ac_Header=no"
5492 rm -f conftest.err conftest.
$ac_ext
5494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5497 cat >>confdefs.h
<<_ACEOF
5498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5505 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5506 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5507 if test "${ac_cv_header_stdc+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5529 rm -f conftest.
$ac_objext
5530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5531 (eval $ac_compile) 2>conftest.er1
5533 grep -v '^ *+' conftest.er1
>conftest.err
5535 cat conftest.err
>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 { ac_try
='test -z "$ac_c_werror_flag"
5539 || test ! -s conftest.err'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; } &&
5545 { ac_try
='test -s conftest.$ac_objext'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5551 ac_cv_header_stdc
=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.
$ac_ext >&5
5556 ac_cv_header_stdc
=no
5558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5560 if test $ac_cv_header_stdc = yes; then
5561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5562 cat >conftest.
$ac_ext <<_ACEOF
5565 cat confdefs.h
>>conftest.
$ac_ext
5566 cat >>conftest.
$ac_ext <<_ACEOF
5567 /* end confdefs.h. */
5571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5572 $EGREP "memchr" >/dev
/null
2>&1; then
5575 ac_cv_header_stdc
=no
5581 if test $ac_cv_header_stdc = yes; then
5582 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5583 cat >conftest.
$ac_ext <<_ACEOF
5586 cat confdefs.h
>>conftest.
$ac_ext
5587 cat >>conftest.
$ac_ext <<_ACEOF
5588 /* end confdefs.h. */
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "free" >/dev
/null
2>&1; then
5596 ac_cv_header_stdc
=no
5602 if test $ac_cv_header_stdc = yes; then
5603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5604 if test "$cross_compiling" = yes; then
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5614 #if ((' ' & 0x0FF) == 0x020)
5615 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5616 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5618 # define ISLOWER(c) \
5619 (('a' <= (c) && (c) <= 'i') \
5620 || ('j' <= (c) && (c) <= 'r') \
5621 || ('s' <= (c) && (c) <= 'z'))
5622 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5625 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5630 for (i = 0; i < 256; i++)
5631 if (XOR (islower (i), ISLOWER (i))
5632 || toupper (i) != TOUPPER (i))
5637 rm -f conftest
$ac_exeext
5638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5639 (eval $ac_link) 2>&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5650 echo "$as_me: program exited with status $ac_status" >&5
5651 echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.
$ac_ext >&5
5655 ac_cv_header_stdc
=no
5657 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5661 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5662 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5663 if test $ac_cv_header_stdc = yes; then
5665 cat >>confdefs.h
<<\_ACEOF
5666 #define STDC_HEADERS 1
5671 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5672 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5673 if test "${ac_cv_header_time+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 cat >conftest.
$ac_ext <<_ACEOF
5679 cat confdefs.h
>>conftest.
$ac_ext
5680 cat >>conftest.
$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 #include <sys/types.h>
5683 #include <sys/time.h>
5689 if ((struct tm *) 0)
5695 rm -f conftest.
$ac_objext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5697 (eval $ac_compile) 2>conftest.er1
5699 grep -v '^ *+' conftest.er1
>conftest.err
5701 cat conftest.err
>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try
='test -z "$ac_c_werror_flag"
5705 || test ! -s conftest.err'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; } &&
5711 { ac_try
='test -s conftest.$ac_objext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_header_time
=yes
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5722 ac_cv_header_time
=no
5724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5726 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5727 echo "${ECHO_T}$ac_cv_header_time" >&6
5728 if test $ac_cv_header_time = yes; then
5730 cat >>confdefs.h
<<\_ACEOF
5731 #define TIME_WITH_SYS_TIME 1
5736 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5737 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5738 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 cat >conftest.
$ac_ext <<_ACEOF
5744 cat confdefs.h
>>conftest.
$ac_ext
5745 cat >>conftest.
$ac_ext <<_ACEOF
5746 /* end confdefs.h. */
5747 $ac_includes_default
5752 char *p = (char *) sys_siglist;
5759 rm -f conftest.
$ac_objext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5761 (eval $ac_compile) 2>conftest.er1
5763 grep -v '^ *+' conftest.er1
>conftest.err
5765 cat conftest.err
>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try
='test -z "$ac_c_werror_flag"
5769 || test ! -s conftest.err'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; } &&
5775 { ac_try
='test -s conftest.$ac_objext'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; }; then
5781 ac_cv_have_decl_sys_siglist
=yes
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.
$ac_ext >&5
5786 ac_cv_have_decl_sys_siglist
=no
5788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5790 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5791 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5792 if test $ac_cv_have_decl_sys_siglist = yes; then
5794 cat >>confdefs.h
<<_ACEOF
5795 #define HAVE_DECL_SYS_SIGLIST 1
5800 cat >>confdefs.h
<<_ACEOF
5801 #define HAVE_DECL_SYS_SIGLIST 0
5808 if test $ac_cv_have_decl_sys_siglist != yes; then
5809 # For Tru64, at least:
5810 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5811 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5812 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 cat >conftest.
$ac_ext <<_ACEOF
5818 cat confdefs.h
>>conftest.
$ac_ext
5819 cat >>conftest.
$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 $ac_includes_default
5825 #ifndef __sys_siglist
5826 char *p = (char *) __sys_siglist;
5833 rm -f conftest.
$ac_objext
5834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5835 (eval $ac_compile) 2>conftest.er1
5837 grep -v '^ *+' conftest.er1
>conftest.err
5839 cat conftest.err
>&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try
='test -z "$ac_c_werror_flag"
5843 || test ! -s conftest.err'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; } &&
5849 { ac_try
='test -s conftest.$ac_objext'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5855 ac_cv_have_decl___sys_siglist
=yes
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.
$ac_ext >&5
5860 ac_cv_have_decl___sys_siglist
=no
5862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5865 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5866 if test $ac_cv_have_decl___sys_siglist = yes; then
5868 cat >>confdefs.h
<<_ACEOF
5869 #define HAVE_DECL___SYS_SIGLIST 1
5874 cat >>confdefs.h
<<_ACEOF
5875 #define HAVE_DECL___SYS_SIGLIST 0
5882 if test $ac_cv_have_decl___sys_siglist = yes; then
5884 cat >>confdefs.h
<<\_ACEOF
5885 #define sys_siglist __sys_siglist
5890 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5891 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5892 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 cat >conftest.
$ac_ext <<_ACEOF
5898 cat confdefs.h
>>conftest.
$ac_ext
5899 cat >>conftest.
$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 #include <sys/types.h>
5902 #include <sys/wait.h>
5904 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5907 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5915 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5920 rm -f conftest.
$ac_objext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5922 (eval $ac_compile) 2>conftest.er1
5924 grep -v '^ *+' conftest.er1
>conftest.err
5926 cat conftest.err
>&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try
='test -z "$ac_c_werror_flag"
5930 || test ! -s conftest.err'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; } &&
5936 { ac_try
='test -s conftest.$ac_objext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5942 ac_cv_header_sys_wait_h
=yes
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.
$ac_ext >&5
5947 ac_cv_header_sys_wait_h
=no
5949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5951 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5952 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5953 if test $ac_cv_header_sys_wait_h = yes; then
5955 cat >>confdefs.h
<<\_ACEOF
5956 #define HAVE_SYS_WAIT_H 1
5962 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
5963 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
5964 if test "${emacs_cv_struct_utimbuf+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 cat >conftest.
$ac_ext <<_ACEOF
5970 cat confdefs.h
>>conftest.
$ac_ext
5971 cat >>conftest.
$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #ifdef TIME_WITH_SYS_TIME
5974 #include <sys/time.h>
5977 #ifdef HAVE_SYS_TIME_H
5978 #include <sys/time.h>
5989 static struct utimbuf x; x.actime = x.modtime;
5994 rm -f conftest.
$ac_objext
5995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5996 (eval $ac_compile) 2>conftest.er1
5998 grep -v '^ *+' conftest.er1
>conftest.err
6000 cat conftest.err
>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } &&
6003 { ac_try
='test -z "$ac_c_werror_flag"
6004 || test ! -s conftest.err'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; } &&
6010 { ac_try
='test -s conftest.$ac_objext'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 emacs_cv_struct_utimbuf
=yes
6018 echo "$as_me: failed program was:" >&5
6019 sed 's/^/| /' conftest.
$ac_ext >&5
6021 emacs_cv_struct_utimbuf
=no
6023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6025 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6026 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6027 if test $emacs_cv_struct_utimbuf = yes; then
6029 cat >>confdefs.h
<<\_ACEOF
6030 #define HAVE_STRUCT_UTIMBUF 1
6035 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6036 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6037 if test "${ac_cv_type_signal+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 cat >conftest.
$ac_ext <<_ACEOF
6043 cat confdefs.h
>>conftest.
$ac_ext
6044 cat >>conftest.
$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6046 #include <sys/types.h>
6052 extern "C" void (*signal (int, void (*)(int)))(int);
6054 void (*signal ()) ();
6065 rm -f conftest.
$ac_objext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6067 (eval $ac_compile) 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try
='test -z "$ac_c_werror_flag"
6075 || test ! -s conftest.err'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; } &&
6081 { ac_try
='test -s conftest.$ac_objext'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; }; then
6087 ac_cv_type_signal
=void
6089 echo "$as_me: failed program was:" >&5
6090 sed 's/^/| /' conftest.
$ac_ext >&5
6092 ac_cv_type_signal
=int
6094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6097 echo "${ECHO_T}$ac_cv_type_signal" >&6
6099 cat >>confdefs.h
<<_ACEOF
6100 #define RETSIGTYPE $ac_cv_type_signal
6105 echo "$as_me:$LINENO: checking for speed_t" >&5
6106 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6107 if test "${emacs_cv_speed_t+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6116 #include <termios.h>
6125 rm -f conftest.
$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127 (eval $ac_compile) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try
='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try
='test -s conftest.$ac_objext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 emacs_cv_speed_t
=yes
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6156 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6157 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6158 if test $emacs_cv_speed_t = yes; then
6160 cat >>confdefs.h
<<\_ACEOF
6161 #define HAVE_SPEED_T 1
6166 echo "$as_me:$LINENO: checking for struct timeval" >&5
6167 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6168 if test "${emacs_cv_struct_timeval+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 cat >conftest.
$ac_ext <<_ACEOF
6174 cat confdefs.h
>>conftest.
$ac_ext
6175 cat >>conftest.
$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6177 #ifdef TIME_WITH_SYS_TIME
6178 #include <sys/time.h>
6181 #ifdef HAVE_SYS_TIME_H
6182 #include <sys/time.h>
6190 static struct timeval x; x.tv_sec = x.tv_usec;
6195 rm -f conftest.
$ac_objext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6197 (eval $ac_compile) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1
>conftest.err
6201 cat conftest.err
>&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try
='test -z "$ac_c_werror_flag"
6205 || test ! -s conftest.err'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; } &&
6211 { ac_try
='test -s conftest.$ac_objext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 emacs_cv_struct_timeval
=yes
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.
$ac_ext >&5
6222 emacs_cv_struct_timeval
=no
6224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6226 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6227 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6228 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6229 if test $emacs_cv_struct_timeval = yes; then
6231 cat >>confdefs.h
<<\_ACEOF
6232 #define HAVE_TIMEVAL 1
6237 echo "$as_me:$LINENO: checking for struct exception" >&5
6238 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6239 if test "${emacs_cv_struct_exception+set}" = set; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6252 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6257 rm -f conftest.
$ac_objext
6258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6259 (eval $ac_compile) 2>conftest.er1
6261 grep -v '^ *+' conftest.er1
>conftest.err
6263 cat conftest.err
>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try
='test -z "$ac_c_werror_flag"
6267 || test ! -s conftest.err'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; } &&
6273 { ac_try
='test -s conftest.$ac_objext'
6274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); }; }; then
6279 emacs_cv_struct_exception
=yes
6281 echo "$as_me: failed program was:" >&5
6282 sed 's/^/| /' conftest.
$ac_ext >&5
6284 emacs_cv_struct_exception
=no
6286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6289 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6290 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6291 if test $emacs_cv_struct_exception != yes; then
6293 cat >>confdefs.h
<<\_ACEOF
6294 #define NO_MATHERR 1
6300 for ac_header
in sys
/socket.h
6302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6304 echo "$as_me:$LINENO: checking for $ac_header" >&5
6305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6312 # Is the header compilable?
6313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6315 cat >conftest.
$ac_ext <<_ACEOF
6318 cat confdefs.h
>>conftest.
$ac_ext
6319 cat >>conftest.
$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 $ac_includes_default
6322 #include <$ac_header>
6324 rm -f conftest.
$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6328 grep -v '^ *+' conftest.er1
>conftest.err
6330 cat conftest.err
>&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try
='test -z "$ac_c_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try
='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_header_compiler
=yes
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.
$ac_ext >&5
6351 ac_header_compiler
=no
6353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6355 echo "${ECHO_T}$ac_header_compiler" >&6
6357 # Is the header present?
6358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6360 cat >conftest.
$ac_ext <<_ACEOF
6363 cat confdefs.h
>>conftest.
$ac_ext
6364 cat >>conftest.
$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <$ac_header>
6368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev
/null
; then
6376 if test -s conftest.err
; then
6377 ac_cpp_err
=$ac_c_preproc_warn_flag
6378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6385 if test -z "$ac_cpp_err"; then
6386 ac_header_preproc
=yes
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.
$ac_ext >&5
6391 ac_header_preproc
=no
6393 rm -f conftest.err conftest.
$ac_ext
6394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6395 echo "${ECHO_T}$ac_header_preproc" >&6
6397 # So? What about this header?
6398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6404 ac_header_preproc
=yes
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6421 ## ------------------------------------------ ##
6422 ## Report this to the AC_PACKAGE_NAME lists. ##
6423 ## ------------------------------------------ ##
6426 sed "s/^/$as_me: WARNING: /" >&2
6429 echo "$as_me:$LINENO: checking for $ac_header" >&5
6430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 eval "$as_ac_Header=\$ac_header_preproc"
6436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6441 cat >>confdefs.h
<<_ACEOF
6442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6450 for ac_header
in net
/if.h
6452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6453 echo "$as_me:$LINENO: checking for $ac_header" >&5
6454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 cat >conftest.
$ac_ext <<_ACEOF
6461 cat confdefs.h
>>conftest.
$ac_ext
6462 cat >>conftest.
$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6464 $ac_includes_default
6465 #if HAVE_SYS_SOCKET_H
6466 #include <sys/socket.h>
6469 #include <$ac_header>
6471 rm -f conftest.
$ac_objext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473 (eval $ac_compile) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1
>conftest.err
6477 cat conftest.err
>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try
='test -z "$ac_c_werror_flag"
6481 || test ! -s conftest.err'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; } &&
6487 { ac_try
='test -s conftest.$ac_objext'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; }; then
6493 eval "$as_ac_Header=yes"
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.
$ac_ext >&5
6498 eval "$as_ac_Header=no"
6500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6505 cat >>confdefs.h
<<_ACEOF
6506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6514 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6515 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6516 if test "${ac_cv_struct_tm+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 #include <sys/types.h>
6531 struct tm *tp; tp->tm_sec;
6536 rm -f conftest.
$ac_objext
6537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6538 (eval $ac_compile) 2>conftest.er1
6540 grep -v '^ *+' conftest.er1
>conftest.err
6542 cat conftest.err
>&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); } &&
6545 { ac_try
='test -z "$ac_c_werror_flag"
6546 || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try
='test -s conftest.$ac_objext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_struct_tm
=time.h
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.
$ac_ext >&5
6563 ac_cv_struct_tm
=sys
/time.h
6565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6567 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6568 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6569 if test $ac_cv_struct_tm = sys
/time.h
; then
6571 cat >>confdefs.h
<<\_ACEOF
6572 #define TM_IN_SYS_TIME 1
6577 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6578 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6579 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.
$ac_ext <<_ACEOF
6585 cat confdefs.h
>>conftest.
$ac_ext
6586 cat >>conftest.
$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 #include <sys/types.h>
6589 #include <$ac_cv_struct_tm>
6595 static struct tm ac_aggr;
6596 if (ac_aggr.tm_zone)
6602 rm -f conftest.
$ac_objext
6603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6604 (eval $ac_compile) 2>conftest.er1
6606 grep -v '^ *+' conftest.er1
>conftest.err
6608 cat conftest.err
>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } &&
6611 { ac_try
='test -z "$ac_c_werror_flag"
6612 || test ! -s conftest.err'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; } &&
6618 { ac_try
='test -s conftest.$ac_objext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6624 ac_cv_member_struct_tm_tm_zone
=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.
$ac_ext >&5
6629 cat >conftest.
$ac_ext <<_ACEOF
6632 cat confdefs.h
>>conftest.
$ac_ext
6633 cat >>conftest.
$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6635 #include <sys/types.h>
6636 #include <$ac_cv_struct_tm>
6642 static struct tm ac_aggr;
6643 if (sizeof ac_aggr.tm_zone)
6649 rm -f conftest.
$ac_objext
6650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6651 (eval $ac_compile) 2>conftest.er1
6653 grep -v '^ *+' conftest.er1
>conftest.err
6655 cat conftest.err
>&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } &&
6658 { ac_try
='test -z "$ac_c_werror_flag"
6659 || test ! -s conftest.err'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; } &&
6665 { ac_try
='test -s conftest.$ac_objext'
6666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); }; }; then
6671 ac_cv_member_struct_tm_tm_zone
=yes
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.
$ac_ext >&5
6676 ac_cv_member_struct_tm_tm_zone
=no
6678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6683 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6684 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6686 cat >>confdefs.h
<<_ACEOF
6687 #define HAVE_STRUCT_TM_TM_ZONE 1
6693 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6695 cat >>confdefs.h
<<\_ACEOF
6696 #define HAVE_TM_ZONE 1
6700 echo "$as_me:$LINENO: checking for tzname" >&5
6701 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6702 if test "${ac_cv_var_tzname+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 cat >conftest.
$ac_ext <<_ACEOF
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6712 #ifndef tzname /* For SGI. */
6713 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6724 rm -f conftest.
$ac_objext conftest
$ac_exeext
6725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6726 (eval $ac_link) 2>conftest.er1
6728 grep -v '^ *+' conftest.er1
>conftest.err
6730 cat conftest.err
>&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); } &&
6733 { ac_try
='test -z "$ac_c_werror_flag"
6734 || test ! -s conftest.err'
6735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); }; } &&
6740 { ac_try
='test -s conftest$ac_exeext'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; }; then
6746 ac_cv_var_tzname
=yes
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.
$ac_ext >&5
6753 rm -f conftest.err conftest.
$ac_objext \
6754 conftest
$ac_exeext conftest.
$ac_ext
6756 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6757 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6758 if test $ac_cv_var_tzname = yes; then
6760 cat >>confdefs.h
<<\_ACEOF
6761 #define HAVE_TZNAME 1
6767 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6768 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6769 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 cat >conftest.
$ac_ext <<_ACEOF
6775 cat confdefs.h
>>conftest.
$ac_ext
6776 cat >>conftest.
$ac_ext <<_ACEOF
6777 /* end confdefs.h. */
6783 static struct tm ac_aggr;
6784 if (ac_aggr.tm_gmtoff)
6790 rm -f conftest.
$ac_objext
6791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6792 (eval $ac_compile) 2>conftest.er1
6794 grep -v '^ *+' conftest.er1
>conftest.err
6796 cat conftest.err
>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } &&
6799 { ac_try
='test -z "$ac_c_werror_flag"
6800 || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; } &&
6806 { ac_try
='test -s conftest.$ac_objext'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; }; then
6812 ac_cv_member_struct_tm_tm_gmtoff
=yes
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.
$ac_ext >&5
6817 cat >conftest.
$ac_ext <<_ACEOF
6820 cat confdefs.h
>>conftest.
$ac_ext
6821 cat >>conftest.
$ac_ext <<_ACEOF
6822 /* end confdefs.h. */
6828 static struct tm ac_aggr;
6829 if (sizeof ac_aggr.tm_gmtoff)
6835 rm -f conftest.
$ac_objext
6836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6837 (eval $ac_compile) 2>conftest.er1
6839 grep -v '^ *+' conftest.er1
>conftest.err
6841 cat conftest.err
>&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } &&
6844 { ac_try
='test -z "$ac_c_werror_flag"
6845 || test ! -s conftest.err'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; } &&
6851 { ac_try
='test -s conftest.$ac_objext'
6852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); }; }; then
6857 ac_cv_member_struct_tm_tm_gmtoff
=yes
6859 echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.
$ac_ext >&5
6862 ac_cv_member_struct_tm_tm_gmtoff
=no
6864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6868 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6869 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6870 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6872 cat >>confdefs.h
<<\_ACEOF
6873 #define HAVE_TM_GMTOFF 1
6878 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6879 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6880 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 cat >conftest.
$ac_ext <<_ACEOF
6886 cat confdefs.h
>>conftest.
$ac_ext
6887 cat >>conftest.
$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6889 $ac_includes_default
6890 #if HAVE_SYS_SOCKET_H
6891 #include <sys/socket.h>
6900 static struct ifreq ac_aggr;
6901 if (ac_aggr.ifr_flags)
6907 rm -f conftest.
$ac_objext
6908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6909 (eval $ac_compile) 2>conftest.er1
6911 grep -v '^ *+' conftest.er1
>conftest.err
6913 cat conftest.err
>&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } &&
6916 { ac_try
='test -z "$ac_c_werror_flag"
6917 || test ! -s conftest.err'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; } &&
6923 { ac_try
='test -s conftest.$ac_objext'
6924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; }; then
6929 ac_cv_member_struct_ifreq_ifr_flags
=yes
6931 echo "$as_me: failed program was:" >&5
6932 sed 's/^/| /' conftest.
$ac_ext >&5
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6941 #if HAVE_SYS_SOCKET_H
6942 #include <sys/socket.h>
6951 static struct ifreq ac_aggr;
6952 if (sizeof ac_aggr.ifr_flags)
6958 rm -f conftest.
$ac_objext
6959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6960 (eval $ac_compile) 2>conftest.er1
6962 grep -v '^ *+' conftest.er1
>conftest.err
6964 cat conftest.err
>&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); } &&
6967 { ac_try
='test -z "$ac_c_werror_flag"
6968 || test ! -s conftest.err'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; } &&
6974 { ac_try
='test -s conftest.$ac_objext'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6980 ac_cv_member_struct_ifreq_ifr_flags
=yes
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.
$ac_ext >&5
6985 ac_cv_member_struct_ifreq_ifr_flags
=no
6987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6991 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
6992 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
6993 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
6995 cat >>confdefs.h
<<_ACEOF
6996 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7001 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7002 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7003 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7006 cat >conftest.
$ac_ext <<_ACEOF
7009 cat confdefs.h
>>conftest.
$ac_ext
7010 cat >>conftest.
$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 $ac_includes_default
7013 #if HAVE_SYS_SOCKET_H
7014 #include <sys/socket.h>
7023 static struct ifreq ac_aggr;
7024 if (ac_aggr.ifr_hwaddr)
7030 rm -f conftest.
$ac_objext
7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7032 (eval $ac_compile) 2>conftest.er1
7034 grep -v '^ *+' conftest.er1
>conftest.err
7036 cat conftest.err
>&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } &&
7039 { ac_try
='test -z "$ac_c_werror_flag"
7040 || test ! -s conftest.err'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; } &&
7046 { ac_try
='test -s conftest.$ac_objext'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; }; then
7052 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.
$ac_ext >&5
7057 cat >conftest.
$ac_ext <<_ACEOF
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 $ac_includes_default
7064 #if HAVE_SYS_SOCKET_H
7065 #include <sys/socket.h>
7074 static struct ifreq ac_aggr;
7075 if (sizeof ac_aggr.ifr_hwaddr)
7081 rm -f conftest.
$ac_objext
7082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7083 (eval $ac_compile) 2>conftest.er1
7085 grep -v '^ *+' conftest.er1
>conftest.err
7087 cat conftest.err
>&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } &&
7090 { ac_try
='test -z "$ac_c_werror_flag"
7091 || test ! -s conftest.err'
7092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); }; } &&
7097 { ac_try
='test -s conftest.$ac_objext'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7103 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7105 echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.
$ac_ext >&5
7108 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7114 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7115 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7116 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7118 cat >>confdefs.h
<<_ACEOF
7119 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7124 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7125 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7126 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 $ac_includes_default
7136 #if HAVE_SYS_SOCKET_H
7137 #include <sys/socket.h>
7146 static struct ifreq ac_aggr;
7147 if (ac_aggr.ifr_netmask)
7153 rm -f conftest.
$ac_objext
7154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7155 (eval $ac_compile) 2>conftest.er1
7157 grep -v '^ *+' conftest.er1
>conftest.err
7159 cat conftest.err
>&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); } &&
7162 { ac_try
='test -z "$ac_c_werror_flag"
7163 || test ! -s conftest.err'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; } &&
7169 { ac_try
='test -s conftest.$ac_objext'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; }; then
7175 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.
$ac_ext >&5
7180 cat >conftest.
$ac_ext <<_ACEOF
7183 cat confdefs.h
>>conftest.
$ac_ext
7184 cat >>conftest.
$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 $ac_includes_default
7187 #if HAVE_SYS_SOCKET_H
7188 #include <sys/socket.h>
7197 static struct ifreq ac_aggr;
7198 if (sizeof ac_aggr.ifr_netmask)
7204 rm -f conftest.
$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206 (eval $ac_compile) 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } &&
7213 { ac_try
='test -z "$ac_c_werror_flag"
7214 || test ! -s conftest.err'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; } &&
7220 { ac_try
='test -s conftest.$ac_objext'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; }; then
7226 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_cv_member_struct_ifreq_ifr_netmask
=no
7233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7237 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7238 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7239 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7241 cat >>confdefs.h
<<_ACEOF
7242 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7247 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7248 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7249 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 cat >conftest.
$ac_ext <<_ACEOF
7255 cat confdefs.h
>>conftest.
$ac_ext
7256 cat >>conftest.
$ac_ext <<_ACEOF
7257 /* end confdefs.h. */
7258 $ac_includes_default
7259 #if HAVE_SYS_SOCKET_H
7260 #include <sys/socket.h>
7269 static struct ifreq ac_aggr;
7270 if (ac_aggr.ifr_broadaddr)
7276 rm -f conftest.
$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>conftest.er1
7280 grep -v '^ *+' conftest.er1
>conftest.err
7282 cat conftest.err
>&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } &&
7285 { ac_try
='test -z "$ac_c_werror_flag"
7286 || test ! -s conftest.err'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; } &&
7292 { ac_try
='test -s conftest.$ac_objext'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then
7298 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.
$ac_ext >&5
7303 cat >conftest.
$ac_ext <<_ACEOF
7306 cat confdefs.h
>>conftest.
$ac_ext
7307 cat >>conftest.
$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7309 $ac_includes_default
7310 #if HAVE_SYS_SOCKET_H
7311 #include <sys/socket.h>
7320 static struct ifreq ac_aggr;
7321 if (sizeof ac_aggr.ifr_broadaddr)
7327 rm -f conftest.
$ac_objext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329 (eval $ac_compile) 2>conftest.er1
7331 grep -v '^ *+' conftest.er1
>conftest.err
7333 cat conftest.err
>&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } &&
7336 { ac_try
='test -z "$ac_c_werror_flag"
7337 || test ! -s conftest.err'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; } &&
7343 { ac_try
='test -s conftest.$ac_objext'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7351 echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.
$ac_ext >&5
7354 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7360 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7361 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7362 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7364 cat >>confdefs.h
<<_ACEOF
7365 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7370 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7371 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7372 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7373 echo $ECHO_N "(cached) $ECHO_C" >&6
7375 cat >conftest.
$ac_ext <<_ACEOF
7378 cat confdefs.h
>>conftest.
$ac_ext
7379 cat >>conftest.
$ac_ext <<_ACEOF
7380 /* end confdefs.h. */
7381 $ac_includes_default
7382 #if HAVE_SYS_SOCKET_H
7383 #include <sys/socket.h>
7392 static struct ifreq ac_aggr;
7393 if (ac_aggr.ifr_addr)
7399 rm -f conftest.
$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401 (eval $ac_compile) 2>conftest.er1
7403 grep -v '^ *+' conftest.er1
>conftest.err
7405 cat conftest.err
>&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try
='test -z "$ac_c_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try
='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7421 ac_cv_member_struct_ifreq_ifr_addr
=yes
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.
$ac_ext >&5
7426 cat >conftest.
$ac_ext <<_ACEOF
7429 cat confdefs.h
>>conftest.
$ac_ext
7430 cat >>conftest.
$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7432 $ac_includes_default
7433 #if HAVE_SYS_SOCKET_H
7434 #include <sys/socket.h>
7443 static struct ifreq ac_aggr;
7444 if (sizeof ac_aggr.ifr_addr)
7450 rm -f conftest.
$ac_objext
7451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7452 (eval $ac_compile) 2>conftest.er1
7454 grep -v '^ *+' conftest.er1
>conftest.err
7456 cat conftest.err
>&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } &&
7459 { ac_try
='test -z "$ac_c_werror_flag"
7460 || test ! -s conftest.err'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; } &&
7466 { ac_try
='test -s conftest.$ac_objext'
7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); }; }; then
7472 ac_cv_member_struct_ifreq_ifr_addr
=yes
7474 echo "$as_me: failed program was:" >&5
7475 sed 's/^/| /' conftest.
$ac_ext >&5
7477 ac_cv_member_struct_ifreq_ifr_addr
=no
7479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7484 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7485 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7487 cat >>confdefs.h
<<_ACEOF
7488 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7496 echo "$as_me:$LINENO: checking for function prototypes" >&5
7497 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7498 if test "$ac_cv_prog_cc_stdc" != no
; then
7499 echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6
7502 cat >>confdefs.h
<<\_ACEOF
7503 #define PROTOTYPES 1
7507 cat >>confdefs.h
<<\_ACEOF
7508 #define __PROTOTYPES 1
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for working volatile" >&5
7517 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7518 if test "${ac_cv_c_volatile+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7538 rm -f conftest.
$ac_objext
7539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7540 (eval $ac_compile) 2>conftest.er1
7542 grep -v '^ *+' conftest.er1
>conftest.err
7544 cat conftest.err
>&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); } &&
7547 { ac_try
='test -z "$ac_c_werror_flag"
7548 || test ! -s conftest.err'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; } &&
7554 { ac_try
='test -s conftest.$ac_objext'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; }; then
7560 ac_cv_c_volatile
=yes
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.
$ac_ext >&5
7567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7569 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7570 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7571 if test $ac_cv_c_volatile = no
; then
7573 cat >>confdefs.h
<<\_ACEOF
7579 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7580 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7581 if test "${ac_cv_c_const+set}" = set; then
7582 echo $ECHO_N "(cached) $ECHO_C" >&6
7584 cat >conftest.
$ac_ext <<_ACEOF
7587 cat confdefs.h
>>conftest.
$ac_ext
7588 cat >>conftest.
$ac_ext <<_ACEOF
7589 /* end confdefs.h. */
7594 /* FIXME: Include the comments suggested by Paul. */
7596 /* Ultrix mips cc rejects this. */
7597 typedef int charset[2];
7599 /* SunOS 4.1.1 cc rejects this. */
7600 char const *const *ccp;
7602 /* NEC SVR4.0.2 mips cc rejects this. */
7603 struct point {int x, y;};
7604 static struct point const zero = {0,0};
7605 /* AIX XL C 1.02.0.0 rejects this.
7606 It does not let you subtract one const X* pointer from another in
7607 an arm of an if-expression whose if-part is not a constant
7609 const char *g = "string";
7610 ccp = &g + (g ? g-g : 0);
7611 /* HPUX 7.0 cc rejects these. */
7614 ccp = (char const *const *) p;
7615 { /* SCO 3.2v4 cc rejects this. */
7617 char const *s = 0 ? (char *) 0 : (char const *) 0;
7621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7623 const int *foo = &x[0];
7626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7627 typedef const int *iptr;
7631 { /* AIX XL C 1.02.0.0 rejects this saying
7632 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7633 struct s { int j; const int *ap[3]; };
7634 struct s *b; b->j = 5;
7636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7645 rm -f conftest.
$ac_objext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7647 (eval $ac_compile) 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try
='test -z "$ac_c_werror_flag"
7655 || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try
='test -s conftest.$ac_objext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.
$ac_ext >&5
7674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7676 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7677 echo "${ECHO_T}$ac_cv_c_const" >&6
7678 if test $ac_cv_c_const = no
; then
7680 cat >>confdefs.h
<<\_ACEOF
7686 echo "$as_me:$LINENO: checking for void * support" >&5
7687 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7688 if test "${emacs_cv_void_star+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 cat >conftest.
$ac_ext <<_ACEOF
7694 cat confdefs.h
>>conftest.
$ac_ext
7695 cat >>conftest.
$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7706 rm -f conftest.
$ac_objext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7708 (eval $ac_compile) 2>conftest.er1
7710 grep -v '^ *+' conftest.er1
>conftest.err
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try
='test -z "$ac_c_werror_flag"
7716 || test ! -s conftest.err'
7717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); }; } &&
7722 { ac_try
='test -s conftest.$ac_objext'
7723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 (exit $ac_status); }; }; then
7728 emacs_cv_void_star
=yes
7730 echo "$as_me: failed program was:" >&5
7731 sed 's/^/| /' conftest.
$ac_ext >&5
7733 emacs_cv_void_star
=no
7735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7737 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7738 echo "${ECHO_T}$emacs_cv_void_star" >&6
7739 if test $emacs_cv_void_star = yes; then
7740 cat >>confdefs.h
<<\_ACEOF
7741 #define POINTER_TYPE void
7745 cat >>confdefs.h
<<\_ACEOF
7746 #define POINTER_TYPE char
7753 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7754 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7755 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7756 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 cat >conftest.
make <<\_ACEOF
7761 @
echo 'ac_maketemp="$(MAKE)"'
7763 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7764 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7765 if test -n "$ac_maketemp"; then
7766 eval ac_cv_prog_make_
${ac_make}_set
=yes
7768 eval ac_cv_prog_make_
${ac_make}_set
=no
7772 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7779 SET_MAKE
="MAKE=${MAKE-make}"
7783 echo "$as_me:$LINENO: checking for long file names" >&5
7784 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7785 if test "${ac_cv_sys_long_file_names+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 ac_cv_sys_long_file_names
=yes
7789 # Test for long file names in all the places we know might matter:
7790 # . the current directory, where building will happen
7791 # $prefix/lib where we will be installing things
7792 # $exec_prefix/lib likewise
7793 # eval it to expand exec_prefix.
7794 # $TMPDIR if set, where it might want to write temporary files
7795 # if $TMPDIR is not set:
7796 # /tmp where it might want to write temporary files
7799 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7802 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7804 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7805 test -d $ac_dir ||
continue
7806 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7807 ac_xdir
=$ac_dir/cf$$
7808 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7809 ac_tf1
=$ac_xdir/conftest9012345
7810 ac_tf2
=$ac_xdir/conftest9012346
7811 (echo 1 >$ac_tf1) 2>/dev
/null
7812 (echo 2 >$ac_tf2) 2>/dev
/null
7813 ac_val
=`cat $ac_tf1 2>/dev/null`
7814 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7815 ac_cv_sys_long_file_names
=no
7816 rm -rf $ac_xdir 2>/dev
/null
7819 rm -rf $ac_xdir 2>/dev
/null
7822 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7823 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7824 if test $ac_cv_sys_long_file_names = yes; then
7826 cat >>confdefs.h
<<\_ACEOF
7827 #define HAVE_LONG_FILE_NAMES 1
7833 #### Choose a window system.
7835 echo "$as_me:$LINENO: checking for X" >&5
7836 echo $ECHO_N "checking for X... $ECHO_C" >&6
7839 # Check whether --with-x or --without-x was given.
7840 if test "${with_x+set}" = set; then
7844 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7845 if test "x$with_x" = xno
; then
7846 # The user explicitly disabled X.
7849 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7850 # Both variables are already set.
7853 if test "${ac_cv_have_x+set}" = set; then
7854 echo $ECHO_N "(cached) $ECHO_C" >&6
7856 # One or both of the vars are not set, and there is no cached value.
7857 ac_x_includes
=no ac_x_libraries
=no
7859 if mkdir conftest.dir
; then
7861 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7862 cat >Imakefile
<<'_ACEOF'
7864 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7866 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7867 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7868 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7869 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7870 for ac_extension
in a so sl
; do
7871 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7872 test -f $ac_im_libdir/libX11.
$ac_extension; then
7873 ac_im_usrlibdir
=$ac_im_libdir; break
7876 # Screen out bogus values from the imake configuration. They are
7877 # bogus both because they are the default anyway, and because
7878 # using them would break gcc on systems where it needs fixed includes.
7879 case $ac_im_incroot in
7881 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7883 case $ac_im_usrlibdir in
7885 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7892 # Standard set of common directories for X headers.
7893 # Check X11 before X11Rn because it is often a symlink to the current release.
7905 /usr/local/X11/include
7906 /usr/local/X11R6/include
7907 /usr/local/X11R5/include
7908 /usr/local/X11R4/include
7910 /usr/local/include/X11
7911 /usr/local/include/X11R6
7912 /usr/local/include/X11R5
7913 /usr/local/include/X11R4
7917 /usr/XFree86/include/X11
7921 /usr/unsupported/include
7923 /usr/local/x11r5/include
7924 /usr/lpp/Xamples/include
7926 /usr/openwin/include
7927 /usr/openwin/share/include'
7929 if test "$ac_x_includes" = no
; then
7930 # Guess where to find include files, by looking for Intrinsic.h.
7931 # First, try using that file with no special directory specified.
7932 cat >conftest.
$ac_ext <<_ACEOF
7935 cat confdefs.h
>>conftest.
$ac_ext
7936 cat >>conftest.
$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7938 #include <X11/Intrinsic.h>
7940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7943 grep -v '^ *+' conftest.er1
>conftest.err
7945 cat conftest.err
>&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } >/dev
/null
; then
7948 if test -s conftest.err
; then
7949 ac_cpp_err
=$ac_c_preproc_warn_flag
7950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7957 if test -z "$ac_cpp_err"; then
7958 # We can compile using X headers with no special include directory.
7961 echo "$as_me: failed program was:" >&5
7962 sed 's/^/| /' conftest.
$ac_ext >&5
7964 for ac_dir
in $ac_x_header_dirs; do
7965 if test -r "$ac_dir/X11/Intrinsic.h"; then
7966 ac_x_includes
=$ac_dir
7971 rm -f conftest.err conftest.
$ac_ext
7972 fi # $ac_x_includes = no
7974 if test "$ac_x_libraries" = no
; then
7975 # Check for the libraries.
7976 # See if we find them without any special options.
7977 # Don't add to $LIBS permanently.
7980 cat >conftest.
$ac_ext <<_ACEOF
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7986 #include <X11/Intrinsic.h>
7995 rm -f conftest.
$ac_objext conftest
$ac_exeext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7997 (eval $ac_link) 2>conftest.er1
7999 grep -v '^ *+' conftest.er1
>conftest.err
8001 cat conftest.err
>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } &&
8004 { ac_try
='test -z "$ac_c_werror_flag"
8005 || test ! -s conftest.err'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try
='test -s conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8018 # We can link X programs with no special library path.
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.
$ac_ext >&5
8025 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8027 # Don't even attempt the hair of trying to link an X program!
8028 for ac_extension
in a so sl
; do
8029 if test -r $ac_dir/libXt.
$ac_extension; then
8030 ac_x_libraries
=$ac_dir
8036 rm -f conftest.err conftest.
$ac_objext \
8037 conftest
$ac_exeext conftest.
$ac_ext
8038 fi # $ac_x_libraries = no
8040 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8041 # Didn't find X anywhere. Cache the known absence of X.
8042 ac_cv_have_x
="have_x=no"
8044 # Record where we found X for the cache.
8045 ac_cv_have_x
="have_x=yes \
8046 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8051 eval "$ac_cv_have_x"
8054 if test "$have_x" != yes; then
8055 echo "$as_me:$LINENO: result: $have_x" >&5
8056 echo "${ECHO_T}$have_x" >&6
8059 # If each of the values was on the command line, it overrides each guess.
8060 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8061 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8062 # Update the cache value to reflect the command line values.
8063 ac_cv_have_x
="have_x=yes \
8064 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8065 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8066 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8069 if test "$no_x" = yes; then
8075 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8076 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8077 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8078 x_default_search_path
=""
8079 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8081 ${x_library}/X11/%L/%T/%N%C%S:\
8082 ${x_library}/X11/%l/%T/%N%C%S:\
8083 ${x_library}/X11/%T/%N%C%S:\
8084 ${x_library}/X11/%L/%T/%N%S:\
8085 ${x_library}/X11/%l/%T/%N%S:\
8086 ${x_library}/X11/%T/%N%S"
8087 if test x
"${x_default_search_path}" = x
; then
8088 x_default_search_path
=${x_search_path}
8090 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8094 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8095 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8098 if test x
"${x_includes}" = x
; then
8099 bitmapdir
=/usr
/include
/X11
/bitmaps
8101 # accumulate include directories that have X11 bitmap subdirectories
8103 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8104 if test -d "${bmd}/X11/bitmaps"; then
8105 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8107 if test -d "${bmd}/bitmaps"; then
8108 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8111 if test ${bmd_acc} != "dummyval"; then
8112 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8116 case "${window_system}" in
8120 case "${with_x_toolkit}" in
8121 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8122 motif
) USE_X_TOOLKIT
=MOTIF
;;
8124 USE_X_TOOLKIT
=none
;;
8125 no
) USE_X_TOOLKIT
=none
;;
8126 * ) USE_X_TOOLKIT
=maybe
;;
8136 ### If we're using X11, we should use the X menu package.
8139 yes ) HAVE_MENUS
=yes ;;
8142 if test "${opsys}" = "hpux9"; then
8143 case "${x_libraries}" in
8145 opsysfile
="s/hpux9-x11r4.h"
8150 if test "${opsys}" = "hpux9shr"; then
8151 case "${x_libraries}" in
8153 opsysfile
="s/hpux9shxr4.h"
8158 ### Compute the unexec source name from the object name.
8159 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8161 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8162 # Assume not, until told otherwise.
8165 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8166 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8167 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 cat >conftest.
$ac_ext <<_ACEOF
8173 cat confdefs.h
>>conftest.
$ac_ext
8174 cat >>conftest.
$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8178 #define malloc_get_state innocuous_malloc_get_state
8180 /* System header to define __stub macros and hopefully few prototypes,
8181 which can conflict with char malloc_get_state (); below.
8182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8183 <limits.h> exists even on freestanding compilers. */
8186 # include <limits.h>
8188 # include <assert.h>
8191 #undef malloc_get_state
8193 /* Override any gcc2 internal prototype to avoid an error. */
8198 /* We use char because int might match the return type of a gcc2
8199 builtin and then its argument prototype would still apply. */
8200 char malloc_get_state ();
8201 /* The GNU C library defines this for functions which it implements
8202 to always fail with ENOSYS. Some functions are actually named
8203 something starting with __ and the normal name is an alias. */
8204 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8207 char (*f) () = malloc_get_state;
8216 return f != malloc_get_state;
8221 rm -f conftest.
$ac_objext conftest
$ac_exeext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8223 (eval $ac_link) 2>conftest.er1
8225 grep -v '^ *+' conftest.er1
>conftest.err
8227 cat conftest.err
>&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } &&
8230 { ac_try
='test -z "$ac_c_werror_flag"
8231 || test ! -s conftest.err'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; } &&
8237 { ac_try
='test -s conftest$ac_exeext'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; }; then
8243 ac_cv_func_malloc_get_state
=yes
8245 echo "$as_me: failed program was:" >&5
8246 sed 's/^/| /' conftest.
$ac_ext >&5
8248 ac_cv_func_malloc_get_state
=no
8250 rm -f conftest.err conftest.
$ac_objext \
8251 conftest
$ac_exeext conftest.
$ac_ext
8253 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8254 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8255 if test $ac_cv_func_malloc_get_state = yes; then
8261 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8262 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8263 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 cat >conftest.
$ac_ext <<_ACEOF
8269 cat confdefs.h
>>conftest.
$ac_ext
8270 cat >>conftest.
$ac_ext <<_ACEOF
8271 /* end confdefs.h. */
8272 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8274 #define malloc_set_state innocuous_malloc_set_state
8276 /* System header to define __stub macros and hopefully few prototypes,
8277 which can conflict with char malloc_set_state (); below.
8278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8279 <limits.h> exists even on freestanding compilers. */
8282 # include <limits.h>
8284 # include <assert.h>
8287 #undef malloc_set_state
8289 /* Override any gcc2 internal prototype to avoid an error. */
8294 /* We use char because int might match the return type of a gcc2
8295 builtin and then its argument prototype would still apply. */
8296 char malloc_set_state ();
8297 /* The GNU C library defines this for functions which it implements
8298 to always fail with ENOSYS. Some functions are actually named
8299 something starting with __ and the normal name is an alias. */
8300 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8303 char (*f) () = malloc_set_state;
8312 return f != malloc_set_state;
8317 rm -f conftest.
$ac_objext conftest
$ac_exeext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8319 (eval $ac_link) 2>conftest.er1
8321 grep -v '^ *+' conftest.er1
>conftest.err
8323 cat conftest.err
>&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } &&
8326 { ac_try
='test -z "$ac_c_werror_flag"
8327 || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } &&
8333 { ac_try
='test -s conftest$ac_exeext'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 ac_cv_func_malloc_set_state
=yes
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.
$ac_ext >&5
8344 ac_cv_func_malloc_set_state
=no
8346 rm -f conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8349 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8350 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8351 if test $ac_cv_func_malloc_set_state = yes; then
8357 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8358 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8359 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 cat >conftest.
$ac_ext <<_ACEOF
8365 cat confdefs.h
>>conftest.
$ac_ext
8366 cat >>conftest.
$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8368 extern void (* __after_morecore_hook)();
8372 __after_morecore_hook = 0
8377 rm -f conftest.
$ac_objext conftest
$ac_exeext
8378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8379 (eval $ac_link) 2>conftest.er1
8381 grep -v '^ *+' conftest.er1
>conftest.err
8383 cat conftest.err
>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); } &&
8386 { ac_try
='test -z "$ac_c_werror_flag"
8387 || test ! -s conftest.err'
8388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; } &&
8393 { ac_try
='test -s conftest$ac_exeext'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 emacs_cv_var___after_morecore_hook
=yes
8401 echo "$as_me: failed program was:" >&5
8402 sed 's/^/| /' conftest.
$ac_ext >&5
8404 emacs_cv_var___after_morecore_hook
=no
8406 rm -f conftest.err conftest.
$ac_objext \
8407 conftest
$ac_exeext conftest.
$ac_ext
8409 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8410 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8411 if test $emacs_cv_var___after_morecore_hook = no
; then
8414 if test "${system_malloc}" = "yes"; then
8417 (The GNU allocators don't work with this system configuration.)"
8419 if test "$doug_lea_malloc" = "yes" ; then
8420 if test "$GNU_MALLOC" = yes ; then
8422 (Using Doug Lea's new malloc from the GNU C Library.)"
8425 cat >>confdefs.h
<<\_ACEOF
8426 #define DOUG_LEA_MALLOC 1
8431 if test x
"${REL_ALLOC}" = x
; then
8432 REL_ALLOC
=${GNU_MALLOC}
8438 for ac_header
in stdlib.h unistd.h
8440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8442 echo "$as_me:$LINENO: checking for $ac_header" >&5
8443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8445 echo $ECHO_N "(cached) $ECHO_C" >&6
8447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8450 # Is the header compilable?
8451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8453 cat >conftest.
$ac_ext <<_ACEOF
8456 cat confdefs.h
>>conftest.
$ac_ext
8457 cat >>conftest.
$ac_ext <<_ACEOF
8458 /* end confdefs.h. */
8459 $ac_includes_default
8460 #include <$ac_header>
8462 rm -f conftest.
$ac_objext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8464 (eval $ac_compile) 2>conftest.er1
8466 grep -v '^ *+' conftest.er1
>conftest.err
8468 cat conftest.err
>&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try
='test -z "$ac_c_werror_flag"
8472 || test ! -s conftest.err'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; } &&
8478 { ac_try
='test -s conftest.$ac_objext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8484 ac_header_compiler
=yes
8486 echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.
$ac_ext >&5
8489 ac_header_compiler
=no
8491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8493 echo "${ECHO_T}$ac_header_compiler" >&6
8495 # Is the header present?
8496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8498 cat >conftest.
$ac_ext <<_ACEOF
8501 cat confdefs.h
>>conftest.
$ac_ext
8502 cat >>conftest.
$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 #include <$ac_header>
8506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8509 grep -v '^ *+' conftest.er1
>conftest.err
8511 cat conftest.err
>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } >/dev
/null
; then
8514 if test -s conftest.err
; then
8515 ac_cpp_err
=$ac_c_preproc_warn_flag
8516 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8523 if test -z "$ac_cpp_err"; then
8524 ac_header_preproc
=yes
8526 echo "$as_me: failed program was:" >&5
8527 sed 's/^/| /' conftest.
$ac_ext >&5
8529 ac_header_preproc
=no
8531 rm -f conftest.err conftest.
$ac_ext
8532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8533 echo "${ECHO_T}$ac_header_preproc" >&6
8535 # So? What about this header?
8536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8542 ac_header_preproc
=yes
8545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8559 ## ------------------------------------------ ##
8560 ## Report this to the AC_PACKAGE_NAME lists. ##
8561 ## ------------------------------------------ ##
8564 sed "s/^/$as_me: WARNING: /" >&2
8567 echo "$as_me:$LINENO: checking for $ac_header" >&5
8568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 eval "$as_ac_Header=\$ac_header_preproc"
8574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8579 cat >>confdefs.h
<<_ACEOF
8580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8588 for ac_func
in getpagesize
8590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8591 echo "$as_me:$LINENO: checking for $ac_func" >&5
8592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8593 if eval "test \"\${$as_ac_var+set}\" = set"; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6
8596 cat >conftest.
$ac_ext <<_ACEOF
8599 cat confdefs.h
>>conftest.
$ac_ext
8600 cat >>conftest.
$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8604 #define $ac_func innocuous_$ac_func
8606 /* System header to define __stub macros and hopefully few prototypes,
8607 which can conflict with char $ac_func (); below.
8608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8609 <limits.h> exists even on freestanding compilers. */
8612 # include <limits.h>
8614 # include <assert.h>
8619 /* Override any gcc2 internal prototype to avoid an error. */
8624 /* We use char because int might match the return type of a gcc2
8625 builtin and then its argument prototype would still apply. */
8627 /* The GNU C library defines this for functions which it implements
8628 to always fail with ENOSYS. Some functions are actually named
8629 something starting with __ and the normal name is an alias. */
8630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8633 char (*f) () = $ac_func;
8642 return f != $ac_func;
8647 rm -f conftest.
$ac_objext conftest
$ac_exeext
8648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8649 (eval $ac_link) 2>conftest.er1
8651 grep -v '^ *+' conftest.er1
>conftest.err
8653 cat conftest.err
>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try
='test -z "$ac_c_werror_flag"
8657 || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try
='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 eval "$as_ac_var=yes"
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.
$ac_ext >&5
8674 eval "$as_ac_var=no"
8676 rm -f conftest.err conftest.
$ac_objext \
8677 conftest
$ac_exeext conftest.
$ac_ext
8679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8681 if test `eval echo '${'$as_ac_var'}'` = yes; then
8682 cat >>confdefs.h
<<_ACEOF
8683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8689 echo "$as_me:$LINENO: checking for working mmap" >&5
8690 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8691 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 if test "$cross_compiling" = yes; then
8695 ac_cv_func_mmap_fixed_mapped
=no
8697 cat >conftest.
$ac_ext <<_ACEOF
8700 cat confdefs.h
>>conftest.
$ac_ext
8701 cat >>conftest.
$ac_ext <<_ACEOF
8702 /* end confdefs.h. */
8703 $ac_includes_default
8704 /* malloc might have been renamed as rpl_malloc. */
8707 /* Thanks to Mike Haertel and Jim Avera for this test.
8708 Here is a matrix of mmap possibilities:
8709 mmap private not fixed
8710 mmap private fixed at somewhere currently unmapped
8711 mmap private fixed at somewhere already mapped
8712 mmap shared not fixed
8713 mmap shared fixed at somewhere currently unmapped
8714 mmap shared fixed at somewhere already mapped
8715 For private mappings, we should verify that changes cannot be read()
8716 back from the file, nor mmap's back from the file at a different
8717 address. (There have been systems where private was not correctly
8718 implemented like the infamous i386 svr4.0, and systems where the
8719 VM page cache was not coherent with the file system buffer cache
8720 like early versions of FreeBSD and possibly contemporary NetBSD.)
8721 For shared mappings, we should conversely verify that changes get
8722 propagated back to all the places they're supposed to be.
8724 Grep wants private fixed already mapped.
8725 The main things grep needs to know about mmap are:
8726 * does it exist and is it safe to write into the mmap'd area
8727 * how to use it (BSD variants) */
8730 #include <sys/mman.h>
8732 #if !STDC_HEADERS && !HAVE_STDLIB_H
8736 /* This mess was copied from the GNU getpagesize.h. */
8737 #if !HAVE_GETPAGESIZE
8738 /* Assume that all systems that can run configure have sys/param.h. */
8739 # if !HAVE_SYS_PARAM_H
8740 # define HAVE_SYS_PARAM_H 1
8743 # ifdef _SC_PAGESIZE
8744 # define getpagesize() sysconf(_SC_PAGESIZE)
8745 # else /* no _SC_PAGESIZE */
8746 # if HAVE_SYS_PARAM_H
8747 # include <sys/param.h>
8748 # ifdef EXEC_PAGESIZE
8749 # define getpagesize() EXEC_PAGESIZE
8750 # else /* no EXEC_PAGESIZE */
8752 # define getpagesize() NBPG * CLSIZE
8755 # endif /* no CLSIZE */
8756 # else /* no NBPG */
8758 # define getpagesize() NBPC
8759 # else /* no NBPC */
8761 # define getpagesize() PAGESIZE
8762 # endif /* PAGESIZE */
8763 # endif /* no NBPC */
8764 # endif /* no NBPG */
8765 # endif /* no EXEC_PAGESIZE */
8766 # else /* no HAVE_SYS_PARAM_H */
8767 # define getpagesize() 8192 /* punt totally */
8768 # endif /* no HAVE_SYS_PARAM_H */
8769 # endif /* no _SC_PAGESIZE */
8771 #endif /* no HAVE_GETPAGESIZE */
8776 char *data, *data2, *data3;
8780 pagesize = getpagesize ();
8782 /* First, make a file with some known garbage in it. */
8783 data = (char *) malloc (pagesize);
8786 for (i = 0; i < pagesize; ++i)
8787 *(data + i) = rand ();
8789 fd = creat ("conftest.mmap", 0600);
8792 if (write (fd, data, pagesize) != pagesize)
8796 /* Next, try to mmap the file at a fixed address which already has
8797 something else allocated at it. If we can, also make sure that
8798 we see the same garbage. */
8799 fd = open ("conftest.mmap", O_RDWR);
8802 data2 = (char *) malloc (2 * pagesize);
8805 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8806 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8807 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8809 for (i = 0; i < pagesize; ++i)
8810 if (*(data + i) != *(data2 + i))
8813 /* Finally, make sure that changes to the mapped area do not
8814 percolate back to the file as seen by read(). (This is a bug on
8815 some variants of i386 svr4.0.) */
8816 for (i = 0; i < pagesize; ++i)
8817 *(data2 + i) = *(data2 + i) + 1;
8818 data3 = (char *) malloc (pagesize);
8821 if (read (fd, data3, pagesize) != pagesize)
8823 for (i = 0; i < pagesize; ++i)
8824 if (*(data + i) != *(data3 + i))
8830 rm -f conftest
$ac_exeext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8832 (eval $ac_link) 2>&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; }; then
8841 ac_cv_func_mmap_fixed_mapped
=yes
8843 echo "$as_me: program exited with status $ac_status" >&5
8844 echo "$as_me: failed program was:" >&5
8845 sed 's/^/| /' conftest.
$ac_ext >&5
8848 ac_cv_func_mmap_fixed_mapped
=no
8850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8853 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8854 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8855 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8857 cat >>confdefs.h
<<\_ACEOF
8864 if test $use_mmap_for_buffers = yes; then
8868 LIBS
="$libsrc_libs $LIBS"
8871 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8872 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8873 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 ac_check_lib_save_LIBS
=$LIBS
8878 cat >conftest.
$ac_ext <<_ACEOF
8881 cat confdefs.h
>>conftest.
$ac_ext
8882 cat >>conftest.
$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8885 /* Override any gcc2 internal prototype to avoid an error. */
8889 /* We use char because int might match the return type of a gcc2
8890 builtin and then its argument prototype would still apply. */
8900 rm -f conftest.
$ac_objext conftest
$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902 (eval $ac_link) 2>conftest.er1
8904 grep -v '^ *+' conftest.er1
>conftest.err
8906 cat conftest.err
>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try
='test -z "$ac_c_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try
='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8922 ac_cv_lib_dnet_dnet_ntoa
=yes
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.
$ac_ext >&5
8927 ac_cv_lib_dnet_dnet_ntoa
=no
8929 rm -f conftest.err conftest.
$ac_objext \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 LIBS
=$ac_check_lib_save_LIBS
8933 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8934 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8935 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8936 cat >>confdefs.h
<<_ACEOF
8937 #define HAVE_LIBDNET 1
8945 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
8946 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
8947 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 ac_check_lib_save_LIBS
=$LIBS
8952 cat >conftest.
$ac_ext <<_ACEOF
8955 cat confdefs.h
>>conftest.
$ac_ext
8956 cat >>conftest.
$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8968 rm -f conftest.
$ac_objext conftest
$ac_exeext
8969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8970 (eval $ac_link) 2>conftest.er1
8972 grep -v '^ *+' conftest.er1
>conftest.err
8974 cat conftest.err
>&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try
='test -z "$ac_c_werror_flag"
8978 || test ! -s conftest.err'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try
='test -s conftest$ac_exeext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 ac_cv_lib_Xbsd_main
=yes
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.
$ac_ext >&5
8995 ac_cv_lib_Xbsd_main
=no
8997 rm -f conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 LIBS
=$ac_check_lib_save_LIBS
9001 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9002 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9003 if test $ac_cv_lib_Xbsd_main = yes; then
9004 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9009 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9010 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9011 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 ac_check_lib_save_LIBS
=$LIBS
9015 LIBS
="-lpthreads $LIBS"
9016 cat >conftest.
$ac_ext <<_ACEOF
9019 cat confdefs.h
>>conftest.
$ac_ext
9020 cat >>conftest.
$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9023 /* Override any gcc2 internal prototype to avoid an error. */
9027 /* We use char because int might match the return type of a gcc2
9028 builtin and then its argument prototype would still apply. */
9038 rm -f conftest.
$ac_objext conftest
$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag"
9048 || test ! -s conftest.err'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; } &&
9054 { ac_try
='test -s conftest$ac_exeext'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then
9060 ac_cv_lib_pthreads_cma_open
=yes
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.
$ac_ext >&5
9065 ac_cv_lib_pthreads_cma_open
=no
9067 rm -f conftest.err conftest.
$ac_objext \
9068 conftest
$ac_exeext conftest.
$ac_ext
9069 LIBS
=$ac_check_lib_save_LIBS
9071 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9072 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9073 if test $ac_cv_lib_pthreads_cma_open = yes; then
9074 cat >>confdefs.h
<<_ACEOF
9075 #define HAVE_LIBPTHREADS 1
9078 LIBS
="-lpthreads $LIBS"
9083 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9084 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9085 if test -d /usr
/X386
/include
; then
9087 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9091 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9092 echo "${ECHO_T}$HAVE_XFREE386" >&6
9097 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9098 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9099 if test "${gdb_cv_bigtoc+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9104 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9105 *) gdb_cv_bigtoc
=-bbigtoc ;;
9108 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9109 cat >conftest.
$ac_ext <<_ACEOF
9112 cat confdefs.h
>>conftest.
$ac_ext
9113 cat >>conftest.
$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9124 rm -f conftest.
$ac_objext conftest
$ac_exeext
9125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9126 (eval $ac_link) 2>conftest.er1
9128 grep -v '^ *+' conftest.er1
>conftest.err
9130 cat conftest.err
>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); } &&
9133 { ac_try
='test -z "$ac_c_werror_flag"
9134 || test ! -s conftest.err'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; } &&
9140 { ac_try
='test -s conftest$ac_exeext'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; }; then
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9153 rm -f conftest.err conftest.
$ac_objext \
9154 conftest
$ac_exeext conftest.
$ac_ext
9157 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9158 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9162 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9163 # used for the tests that follow. We set them back to REAL_CFLAGS and
9164 # REAL_CPPFLAGS later on.
9166 REAL_CPPFLAGS
="$CPPFLAGS"
9168 if test "${HAVE_X11}" = "yes"; then
9169 DEFS
="$C_SWITCH_X_SITE $DEFS"
9170 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9172 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9173 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9175 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9176 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9177 # but it's more convenient here to set LD_RUN_PATH
9178 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9179 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9180 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9184 if test "${opsys}" = "gnu-linux"; then
9185 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9186 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9187 cat >conftest.
$ac_ext <<_ACEOF
9190 cat confdefs.h
>>conftest.
$ac_ext
9191 cat >>conftest.
$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9197 XOpenDisplay ("foo");
9202 rm -f conftest.
$ac_objext conftest
$ac_exeext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9204 (eval $ac_link) 2>conftest.er1
9206 grep -v '^ *+' conftest.er1
>conftest.err
9208 cat conftest.err
>&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try
='test -z "$ac_c_werror_flag"
9212 || test ! -s conftest.err'
9213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try
='test -s conftest$ac_exeext'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; }; then
9224 xlinux_first_failure
=no
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.
$ac_ext >&5
9229 xlinux_first_failure
=yes
9231 rm -f conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 if test "${xlinux_first_failure}" = "yes"; then
9234 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9235 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9236 OLD_CPPFLAGS
="$CPPFLAGS"
9238 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9239 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9240 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9241 LIBS
="$LIBS -b i486-linuxaout"
9242 cat >conftest.
$ac_ext <<_ACEOF
9245 cat confdefs.h
>>conftest.
$ac_ext
9246 cat >>conftest.
$ac_ext <<_ACEOF
9247 /* end confdefs.h. */
9252 XOpenDisplay ("foo");
9257 rm -f conftest.
$ac_objext conftest
$ac_exeext
9258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9259 (eval $ac_link) 2>conftest.er1
9261 grep -v '^ *+' conftest.er1
>conftest.err
9263 cat conftest.err
>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } &&
9266 { ac_try
='test -z "$ac_c_werror_flag"
9267 || test ! -s conftest.err'
9268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }; } &&
9273 { ac_try
='test -s conftest$ac_exeext'
9274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); }; }; then
9279 xlinux_second_failure
=no
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.
$ac_ext >&5
9284 xlinux_second_failure
=yes
9286 rm -f conftest.err conftest.
$ac_objext \
9287 conftest
$ac_exeext conftest.
$ac_ext
9288 if test "${xlinux_second_failure}" = "yes"; then
9289 # If we get the same failure with -b, there is no use adding -b.
9290 # So take it out. This plays safe.
9291 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9292 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9293 CPPFLAGS
="$OLD_CPPFLAGS"
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9307 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9308 # header files included from there.
9309 echo "$as_me:$LINENO: checking for Xkb" >&5
9310 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9311 cat >conftest.
$ac_ext <<_ACEOF
9314 cat confdefs.h
>>conftest.
$ac_ext
9315 cat >>conftest.
$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9317 #include <X11/Xlib.h>
9318 #include <X11/XKBlib.h>
9322 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9327 rm -f conftest.
$ac_objext conftest
$ac_exeext
9328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9329 (eval $ac_link) 2>conftest.er1
9331 grep -v '^ *+' conftest.er1
>conftest.err
9333 cat conftest.err
>&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); } &&
9336 { ac_try
='test -z "$ac_c_werror_flag"
9337 || test ! -s conftest.err'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; } &&
9343 { ac_try
='test -s conftest$ac_exeext'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.
$ac_ext >&5
9356 rm -f conftest.err conftest.
$ac_objext \
9357 conftest
$ac_exeext conftest.
$ac_ext
9358 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9359 echo "${ECHO_T}$emacs_xkb" >&6
9360 if test $emacs_xkb = yes; then
9362 cat >>confdefs.h
<<\_ACEOF
9363 #define HAVE_XKBGETKEYBOARD 1
9372 for ac_func
in XrmSetDatabase XScreenResourceString \
9373 XScreenNumberOfScreen XSetWMProtocols
9375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9376 echo "$as_me:$LINENO: checking for $ac_func" >&5
9377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9378 if eval "test \"\${$as_ac_var+set}\" = set"; then
9379 echo $ECHO_N "(cached) $ECHO_C" >&6
9381 cat >conftest.
$ac_ext <<_ACEOF
9384 cat confdefs.h
>>conftest.
$ac_ext
9385 cat >>conftest.
$ac_ext <<_ACEOF
9386 /* end confdefs.h. */
9387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9389 #define $ac_func innocuous_$ac_func
9391 /* System header to define __stub macros and hopefully few prototypes,
9392 which can conflict with char $ac_func (); below.
9393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9394 <limits.h> exists even on freestanding compilers. */
9397 # include <limits.h>
9399 # include <assert.h>
9404 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9412 /* The GNU C library defines this for functions which it implements
9413 to always fail with ENOSYS. Some functions are actually named
9414 something starting with __ and the normal name is an alias. */
9415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9418 char (*f) () = $ac_func;
9427 return f != $ac_func;
9432 rm -f conftest.
$ac_objext conftest
$ac_exeext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9434 (eval $ac_link) 2>conftest.er1
9436 grep -v '^ *+' conftest.er1
>conftest.err
9438 cat conftest.err
>&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try
='test -z "$ac_c_werror_flag"
9442 || test ! -s conftest.err'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; } &&
9448 { ac_try
='test -s conftest$ac_exeext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9454 eval "$as_ac_var=yes"
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.
$ac_ext >&5
9459 eval "$as_ac_var=no"
9461 rm -f conftest.err conftest.
$ac_objext \
9462 conftest
$ac_exeext conftest.
$ac_ext
9464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9466 if test `eval echo '${'$as_ac_var'}'` = yes; then
9467 cat >>confdefs.h
<<_ACEOF
9468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9476 if test "${window_system}" = "x11"; then
9477 echo "$as_me:$LINENO: checking X11 version 6" >&5
9478 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9479 if test "${emacs_cv_x11_version_6+set}" = set; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 #include <X11/Xlib.h>
9492 #if XlibSpecificationRelease < 6
9500 rm -f conftest.
$ac_objext conftest
$ac_exeext
9501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9502 (eval $ac_link) 2>conftest.er1
9504 grep -v '^ *+' conftest.er1
>conftest.err
9506 cat conftest.err
>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } &&
9509 { ac_try
='test -z "$ac_c_werror_flag"
9510 || test ! -s conftest.err'
9511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); }; } &&
9516 { ac_try
='test -s conftest$ac_exeext'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 emacs_cv_x11_version_6
=yes
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 emacs_cv_x11_version_6
=no
9529 rm -f conftest.err conftest.
$ac_objext \
9530 conftest
$ac_exeext conftest.
$ac_ext
9533 if test $emacs_cv_x11_version_6 = yes; then
9534 echo "$as_me:$LINENO: result: 6 or newer" >&5
9535 echo "${ECHO_T}6 or newer" >&6
9537 cat >>confdefs.h
<<\_ACEOF
9538 #define HAVE_X11R6 1
9542 echo "$as_me:$LINENO: result: before 6" >&5
9543 echo "${ECHO_T}before 6" >&6
9547 if test "${window_system}" = "x11"; then
9548 echo "$as_me:$LINENO: checking X11 version 5" >&5
9549 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9550 if test "${emacs_cv_x11_version_5+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 cat >conftest.
$ac_ext <<_ACEOF
9556 cat confdefs.h
>>conftest.
$ac_ext
9557 cat >>conftest.
$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 #include <X11/Xlib.h>
9563 #if XlibSpecificationRelease < 5
9571 rm -f conftest.
$ac_objext conftest
$ac_exeext
9572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573 (eval $ac_link) 2>conftest.er1
9575 grep -v '^ *+' conftest.er1
>conftest.err
9577 cat conftest.err
>&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try
='test -z "$ac_c_werror_flag"
9581 || test ! -s conftest.err'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; } &&
9587 { ac_try
='test -s conftest$ac_exeext'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; }; then
9593 emacs_cv_x11_version_5
=yes
9595 echo "$as_me: failed program was:" >&5
9596 sed 's/^/| /' conftest.
$ac_ext >&5
9598 emacs_cv_x11_version_5
=no
9600 rm -f conftest.err conftest.
$ac_objext \
9601 conftest
$ac_exeext conftest.
$ac_ext
9604 if test $emacs_cv_x11_version_5 = yes; then
9605 echo "$as_me:$LINENO: result: 5 or newer" >&5
9606 echo "${ECHO_T}5 or newer" >&6
9609 cat >>confdefs.h
<<\_ACEOF
9610 #define HAVE_X11R5 1
9615 echo "$as_me:$LINENO: result: before 5" >&5
9616 echo "${ECHO_T}before 5" >&6
9623 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9624 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9625 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9626 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9627 { (exit 1); exit 1; }; };
9631 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9633 if test "X${with_pkg_config_prog}" != X
; then
9634 PKG_CONFIG
="${with_pkg_config_prog}"
9639 if test -z "$PKG_CONFIG"; then
9640 # Extract the first word of "pkg-config", so it can be a program name with args.
9641 set dummy pkg-config
; ac_word
=$2
9642 echo "$as_me:$LINENO: checking for $ac_word" >&5
9643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9656 test -z "$as_dir" && as_dir
=.
9657 for ac_exec_ext
in '' $ac_executable_extensions; do
9658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9659 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9670 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9672 if test -n "$PKG_CONFIG"; then
9673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9674 echo "${ECHO_T}$PKG_CONFIG" >&6
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9682 if test "$PKG_CONFIG" = "no" ; then
9683 echo "*** The pkg-config script could not be found. Make sure it is"
9684 echo "*** in your path, or give the full path to pkg-config with"
9685 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9686 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9688 PKG_CONFIG_MIN_VERSION
=0.9.0
9689 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9690 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9691 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9693 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9694 echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6
9698 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9699 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9700 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9701 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9702 echo "${ECHO_T}$GTK_CFLAGS" >&6
9704 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9705 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9706 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9707 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9708 echo "${ECHO_T}$GTK_LIBS" >&6
9712 ## If we have a custom action on failure, don't print errors, but
9713 ## do set a variable so people can do so.
9714 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9715 echo $GTK_PKG_ERRORS
9721 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9722 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9726 if test $succeeded = yes; then
9729 { { 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
9730 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;}
9731 { (exit 1); exit 1; }; }
9736 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9737 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9738 LIBS
="$GTK_LIBS $LIBS"
9741 cat >>confdefs.h
<<\_ACEOF
9747 with_toolkit_scroll_bars
=yes
9749 HAVE_GTK_MULTIDISPLAY
=no
9751 for ac_func
in gdk_display_open
9753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9754 echo "$as_me:$LINENO: checking for $ac_func" >&5
9755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9756 if eval "test \"\${$as_ac_var+set}\" = set"; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 cat >conftest.
$ac_ext <<_ACEOF
9762 cat confdefs.h
>>conftest.
$ac_ext
9763 cat >>conftest.
$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9767 #define $ac_func innocuous_$ac_func
9769 /* System header to define __stub macros and hopefully few prototypes,
9770 which can conflict with char $ac_func (); below.
9771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9772 <limits.h> exists even on freestanding compilers. */
9775 # include <limits.h>
9777 # include <assert.h>
9782 /* Override any gcc2 internal prototype to avoid an error. */
9787 /* We use char because int might match the return type of a gcc2
9788 builtin and then its argument prototype would still apply. */
9790 /* The GNU C library defines this for functions which it implements
9791 to always fail with ENOSYS. Some functions are actually named
9792 something starting with __ and the normal name is an alias. */
9793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9796 char (*f) () = $ac_func;
9805 return f != $ac_func;
9810 rm -f conftest.
$ac_objext conftest
$ac_exeext
9811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9812 (eval $ac_link) 2>conftest.er1
9814 grep -v '^ *+' conftest.er1
>conftest.err
9816 cat conftest.err
>&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); } &&
9819 { ac_try
='test -z "$ac_c_werror_flag"
9820 || test ! -s conftest.err'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; } &&
9826 { ac_try
='test -s conftest$ac_exeext'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; }; then
9832 eval "$as_ac_var=yes"
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.
$ac_ext >&5
9837 eval "$as_ac_var=no"
9839 rm -f conftest.err conftest.
$ac_objext \
9840 conftest
$ac_exeext conftest.
$ac_ext
9842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9844 if test `eval echo '${'$as_ac_var'}'` = yes; then
9845 cat >>confdefs.h
<<_ACEOF
9846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9848 HAVE_GTK_MULTIDISPLAY
=yes
9852 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
9854 cat >>confdefs.h
<<\_ACEOF
9855 #define HAVE_GTK_MULTIDISPLAY 1
9861 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
9862 if test x
"${HAVE_X11R5}" = xyes
; then
9863 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
9864 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
9865 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 cat >conftest.
$ac_ext <<_ACEOF
9871 cat confdefs.h
>>conftest.
$ac_ext
9872 cat >>conftest.
$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9875 #include <X11/Intrinsic.h>
9876 #include <X11/Xaw/Simple.h>
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try
='test -z "$ac_c_werror_flag"
9895 || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try
='test -s conftest$ac_exeext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9907 emacs_cv_x11_version_5_with_xaw
=yes
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.
$ac_ext >&5
9912 emacs_cv_x11_version_5_with_xaw
=no
9914 rm -f conftest.err conftest.
$ac_objext \
9915 conftest
$ac_exeext conftest.
$ac_ext
9918 if test $emacs_cv_x11_version_5_with_xaw = yes; then
9919 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
9920 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
9923 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
9924 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
9932 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
9934 if test "${USE_X_TOOLKIT}" != "none"; then
9935 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
9936 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
9937 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9940 cat >conftest.
$ac_ext <<_ACEOF
9943 cat confdefs.h
>>conftest.
$ac_ext
9944 cat >>conftest.
$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9946 #include <X11/Intrinsic.h>
9950 #if XtSpecificationRelease < 6
9958 rm -f conftest.
$ac_objext conftest
$ac_exeext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9960 (eval $ac_link) 2>conftest.er1
9962 grep -v '^ *+' conftest.er1
>conftest.err
9964 cat conftest.err
>&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } &&
9967 { ac_try
='test -z "$ac_c_werror_flag"
9968 || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try
='test -s conftest$ac_exeext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 emacs_cv_x11_toolkit_version_6
=yes
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.
$ac_ext >&5
9985 emacs_cv_x11_toolkit_version_6
=no
9987 rm -f conftest.err conftest.
$ac_objext \
9988 conftest
$ac_exeext conftest.
$ac_ext
9991 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
9992 if test $emacs_cv_x11_toolkit_version_6 = yes; then
9993 echo "$as_me:$LINENO: result: 6 or newer" >&5
9994 echo "${ECHO_T}6 or newer" >&6
9996 cat >>confdefs.h
<<\_ACEOF
9997 #define HAVE_X11XTR6 1
10001 echo "$as_me:$LINENO: result: before 6" >&5
10002 echo "${ECHO_T}before 6" >&6
10006 if test x
$HAVE_X11XTR6 = xyes
; then
10007 LIBS
="-lXt -lSM -lICE $LIBS"
10012 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10013 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10014 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_lib_save_LIBS
=$LIBS
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any gcc2 internal prototype to avoid an error. */
10030 /* We use char because int might match the return type of a gcc2
10031 builtin and then its argument prototype would still apply. */
10032 char XmuConvertStandardSelection ();
10036 XmuConvertStandardSelection ();
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext
10042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10043 (eval $ac_link) 2>conftest.er1
10045 grep -v '^ *+' conftest.er1
>conftest.err
10047 cat conftest.err
>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } &&
10050 { ac_try
='test -z "$ac_c_werror_flag"
10051 || test ! -s conftest.err'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; } &&
10057 { ac_try
='test -s conftest$ac_exeext'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.
$ac_ext >&5
10068 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10070 rm -f conftest.err conftest.
$ac_objext \
10071 conftest
$ac_exeext conftest.
$ac_ext
10072 LIBS
=$ac_check_lib_save_LIBS
10074 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10075 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10076 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10077 cat >>confdefs.h
<<_ACEOF
10078 #define HAVE_LIBXMU 1
10085 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10088 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10089 if test "${HAVE_X11}" = "yes"; then
10090 if test "${USE_X_TOOLKIT}" != "none"; then
10092 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10093 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10094 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10095 echo $ECHO_N "(cached) $ECHO_C" >&6
10097 ac_check_lib_save_LIBS
=$LIBS
10098 LIBS
="-lXext $LIBS"
10099 cat >conftest.
$ac_ext <<_ACEOF
10102 cat confdefs.h
>>conftest.
$ac_ext
10103 cat >>conftest.
$ac_ext <<_ACEOF
10104 /* end confdefs.h. */
10106 /* Override any gcc2 internal prototype to avoid an error. */
10110 /* We use char because int might match the return type of a gcc2
10111 builtin and then its argument prototype would still apply. */
10112 char XShapeQueryExtension ();
10116 XShapeQueryExtension ();
10121 rm -f conftest.
$ac_objext conftest
$ac_exeext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10123 (eval $ac_link) 2>conftest.er1
10125 grep -v '^ *+' conftest.er1
>conftest.err
10127 cat conftest.err
>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try
='test -z "$ac_c_werror_flag"
10131 || test ! -s conftest.err'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try
='test -s conftest$ac_exeext'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; }; then
10143 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.
$ac_ext >&5
10148 ac_cv_lib_Xext_XShapeQueryExtension
=no
10150 rm -f conftest.err conftest.
$ac_objext \
10151 conftest
$ac_exeext conftest.
$ac_ext
10152 LIBS
=$ac_check_lib_save_LIBS
10154 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10155 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10156 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10157 cat >>confdefs.h
<<_ACEOF
10158 #define HAVE_LIBXEXT 1
10161 LIBS
="-lXext $LIBS"
10168 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10169 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10170 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10171 if test "${emacs_cv_lesstif+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10174 # We put this in CFLAGS temporarily to precede other -I options
10175 # that might be in CFLAGS temporarily.
10176 # We put this in CPPFLAGS where it precedes the other -I options.
10177 OLD_CPPFLAGS
=$CPPFLAGS
10179 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10180 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10181 cat >conftest.
$ac_ext <<_ACEOF
10184 cat confdefs.h
>>conftest.
$ac_ext
10185 cat >>conftest.
$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10187 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10196 rm -f conftest.
$ac_objext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10198 (eval $ac_compile) 2>conftest.er1
10200 grep -v '^ *+' conftest.er1
>conftest.err
10202 cat conftest.err
>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } &&
10205 { ac_try
='test -z "$ac_c_werror_flag"
10206 || test ! -s conftest.err'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; } &&
10212 { ac_try
='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 emacs_cv_lesstif
=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.
$ac_ext >&5
10223 emacs_cv_lesstif
=no
10225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10227 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10228 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10229 if test $emacs_cv_lesstif = yes; then
10230 # Make sure this -I option remains in CPPFLAGS after it is set
10231 # back to REAL_CPPFLAGS.
10232 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10233 # have those other -I options anyway. Ultimately, having this
10234 # directory ultimately in CPPFLAGS will be enough.
10235 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10236 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10239 CPPFLAGS
=$OLD_CPPFLAGS
10241 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10242 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10243 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 cat >conftest.
$ac_ext <<_ACEOF
10249 cat confdefs.h
>>conftest.
$ac_ext
10250 cat >>conftest.
$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10256 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10259 Motif version prior to 2.1.
10265 rm -f conftest.
$ac_objext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10267 (eval $ac_compile) 2>conftest.er1
10269 grep -v '^ *+' conftest.er1
>conftest.err
10271 cat conftest.err
>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try
='test -z "$ac_c_werror_flag"
10275 || test ! -s conftest.err'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; } &&
10281 { ac_try
='test -s conftest.$ac_objext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 emacs_cv_motif_version_2_1
=yes
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.
$ac_ext >&5
10292 emacs_cv_motif_version_2_1
=no
10294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10296 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10297 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10298 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10299 if test $emacs_cv_motif_version_2_1 = yes; then
10302 cat >>confdefs.h
<<\_ACEOF
10303 #define HAVE_MOTIF_2_1 1
10306 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10307 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10308 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 ac_check_lib_save_LIBS
=$LIBS
10313 cat >conftest.
$ac_ext <<_ACEOF
10316 cat confdefs.h
>>conftest.
$ac_ext
10317 cat >>conftest.
$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any gcc2 internal prototype to avoid an error. */
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char XpCreateContext ();
10330 XpCreateContext ();
10335 rm -f conftest.
$ac_objext conftest
$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10339 grep -v '^ *+' conftest.er1
>conftest.err
10341 cat conftest.err
>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try
='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try
='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_Xp_XpCreateContext
=yes
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.
$ac_ext >&5
10362 ac_cv_lib_Xp_XpCreateContext
=no
10364 rm -f conftest.err conftest.
$ac_objext \
10365 conftest
$ac_exeext conftest.
$ac_ext
10366 LIBS
=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10369 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10370 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10374 if test ${HAVE_LIBXP} = yes; then
10376 cat >>confdefs.h
<<\_ACEOF
10377 #define HAVE_LIBXP 1
10384 ### Is -lXaw3d available?
10386 if test "${HAVE_X11}" = "yes"; then
10387 if test "${USE_X_TOOLKIT}" != "none"; then
10388 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10389 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10390 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10391 echo $ECHO_N "(cached) $ECHO_C" >&6
10393 cat >conftest.
$ac_ext <<_ACEOF
10396 cat confdefs.h
>>conftest.
$ac_ext
10397 cat >>conftest.
$ac_ext <<_ACEOF
10398 /* end confdefs.h. */
10399 #include <X11/Xaw3d/Scrollbar.h>
10401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10404 grep -v '^ *+' conftest.er1
>conftest.err
10406 cat conftest.err
>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); } >/dev
/null
; then
10409 if test -s conftest.err
; then
10410 ac_cpp_err
=$ac_c_preproc_warn_flag
10411 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10418 if test -z "$ac_cpp_err"; then
10419 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.
$ac_ext >&5
10424 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
10426 rm -f conftest.err conftest.
$ac_ext
10428 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
10429 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
10430 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
10431 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10432 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
10433 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 ac_check_lib_save_LIBS
=$LIBS
10437 LIBS
="-lXaw3d $LIBS"
10438 cat >conftest.
$ac_ext <<_ACEOF
10441 cat confdefs.h
>>conftest.
$ac_ext
10442 cat >>conftest.
$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10445 /* Override any gcc2 internal prototype to avoid an error. */
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10451 char XawScrollbarSetThumb ();
10455 XawScrollbarSetThumb ();
10460 rm -f conftest.
$ac_objext conftest
$ac_exeext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10462 (eval $ac_link) 2>conftest.er1
10464 grep -v '^ *+' conftest.er1
>conftest.err
10466 cat conftest.err
>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try
='test -z "$ac_c_werror_flag"
10470 || test ! -s conftest.err'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; } &&
10476 { ac_try
='test -s conftest$ac_exeext'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; }; then
10482 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.
$ac_ext >&5
10487 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
10489 rm -f conftest.err conftest.
$ac_objext \
10490 conftest
$ac_exeext conftest.
$ac_ext
10491 LIBS
=$ac_check_lib_save_LIBS
10493 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
10494 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
10495 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
10502 if test "${HAVE_XAW3D}" = "yes"; then
10504 cat >>confdefs.h
<<\_ACEOF
10505 #define HAVE_XAW3D 1
10514 USE_TOOLKIT_SCROLL_BARS
=no
10515 if test "${with_toolkit_scroll_bars}" != "no"; then
10516 if test "${USE_X_TOOLKIT}" != "none"; then
10517 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10518 cat >>confdefs.h
<<\_ACEOF
10519 #define USE_TOOLKIT_SCROLL_BARS 1
10523 USE_TOOLKIT_SCROLL_BARS
=yes
10524 elif test "${HAVE_XAW3D}" = "yes"; then
10525 cat >>confdefs.h
<<\_ACEOF
10526 #define USE_TOOLKIT_SCROLL_BARS 1
10529 USE_TOOLKIT_SCROLL_BARS
=yes
10531 elif test "${HAVE_GTK}" = "yes"; then
10532 cat >>confdefs.h
<<\_ACEOF
10533 #define USE_TOOLKIT_SCROLL_BARS 1
10536 USE_TOOLKIT_SCROLL_BARS
=yes
10540 cat >conftest.
$ac_ext <<_ACEOF
10543 cat confdefs.h
>>conftest.
$ac_ext
10544 cat >>conftest.
$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10547 #include <X11/Xlib.h>
10548 #include <X11/Xresource.h>
10557 rm -f conftest.
$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>conftest.er1
10561 grep -v '^ *+' conftest.er1
>conftest.err
10563 cat conftest.err
>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try
='test -z "$ac_c_werror_flag"
10567 || test ! -s conftest.err'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; } &&
10573 { ac_try
='test -s conftest.$ac_objext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10581 cat >>confdefs.h
<<\_ACEOF
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.
$ac_ext >&5
10591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10594 if test "${with_xim}" != "no"; then
10596 cat >>confdefs.h
<<\_ACEOF
10603 if test "${HAVE_XIM}" != "no"; then
10604 late_CFLAGS
=$CFLAGS
10605 if test "$GCC" = yes; then
10606 CFLAGS
="$CFLAGS --pedantic-errors"
10608 cat >conftest.
$ac_ext <<_ACEOF
10611 cat confdefs.h
>>conftest.
$ac_ext
10612 cat >>conftest.
$ac_ext <<_ACEOF
10613 /* end confdefs.h. */
10615 #include <X11/Xlib.h>
10616 #include <X11/Xresource.h>
10625 XPointer *client_data;
10627 /* If we're not using GCC, it's probably not XFree86, and this is
10628 probably right, but we can't use something like --pedantic-errors. */
10629 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
10630 char*, XIMProc, XPointer*);
10632 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
10638 rm -f conftest.
$ac_objext
10639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10640 (eval $ac_compile) 2>conftest.er1
10642 grep -v '^ *+' conftest.er1
>conftest.err
10644 cat conftest.err
>&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } &&
10647 { ac_try
='test -z "$ac_c_werror_flag"
10648 || test ! -s conftest.err'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; } &&
10654 { ac_try
='test -s conftest.$ac_objext'
10655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656 (eval $ac_try) 2>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; }; then
10660 emacs_cv_arg6_star
=yes
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.
$ac_ext >&5
10666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10668 if test "$emacs_cv_arg6_star" = yes; then
10669 cat >>confdefs.h
<<\_ACEOF
10670 #define XRegisterIMInstantiateCallback_arg6 XPointer*
10674 cat >>confdefs.h
<<\_ACEOF
10675 #define XRegisterIMInstantiateCallback_arg6 XPointer
10679 CFLAGS
=$late_CFLAGS
10682 ### Use -lXpm if available, unless `--with-xpm=no'.
10684 if test "${HAVE_X11}" = "yes"; then
10685 if test "${with_xpm}" != "no"; then
10686 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10687 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
10688 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
10689 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10690 echo $ECHO_N "(cached) $ECHO_C" >&6
10692 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
10693 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
10695 # Is the header compilable?
10696 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
10697 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704 $ac_includes_default
10705 #include <X11/xpm.h>
10707 rm -f conftest.
$ac_objext
10708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10709 (eval $ac_compile) 2>conftest.er1
10711 grep -v '^ *+' conftest.er1
>conftest.err
10713 cat conftest.err
>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } &&
10716 { ac_try
='test -z "$ac_c_werror_flag"
10717 || test ! -s conftest.err'
10718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10719 (eval $ac_try) 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; } &&
10723 { ac_try
='test -s conftest.$ac_objext'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10729 ac_header_compiler
=yes
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.
$ac_ext >&5
10734 ac_header_compiler
=no
10736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10738 echo "${ECHO_T}$ac_header_compiler" >&6
10740 # Is the header present?
10741 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
10742 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
10743 cat >conftest.
$ac_ext <<_ACEOF
10746 cat confdefs.h
>>conftest.
$ac_ext
10747 cat >>conftest.
$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10749 #include <X11/xpm.h>
10751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10752 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10754 grep -v '^ *+' conftest.er1
>conftest.err
10756 cat conftest.err
>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } >/dev
/null
; then
10759 if test -s conftest.err
; then
10760 ac_cpp_err
=$ac_c_preproc_warn_flag
10761 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10768 if test -z "$ac_cpp_err"; then
10769 ac_header_preproc
=yes
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.
$ac_ext >&5
10774 ac_header_preproc
=no
10776 rm -f conftest.err conftest.
$ac_ext
10777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10778 echo "${ECHO_T}$ac_header_preproc" >&6
10780 # So? What about this header?
10781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10783 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
10784 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
10786 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
10787 ac_header_preproc
=yes
10790 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
10791 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
10792 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
10793 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
10794 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
10795 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
10796 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
10797 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
10798 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
10799 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
10800 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
10801 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
10804 ## ------------------------------------------ ##
10805 ## Report this to the AC_PACKAGE_NAME lists. ##
10806 ## ------------------------------------------ ##
10809 sed "s/^/$as_me: WARNING: /" >&2
10812 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
10813 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
10814 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 ac_cv_header_X11_xpm_h
=$ac_header_preproc
10819 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
10820 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
10823 if test $ac_cv_header_X11_xpm_h = yes; then
10824 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
10825 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
10826 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lXpm -lX11 $LIBS"
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10838 /* Override any gcc2 internal prototype to avoid an error. */
10842 /* We use char because int might match the return type of a gcc2
10843 builtin and then its argument prototype would still apply. */
10844 char XpmReadFileToPixmap ();
10848 XpmReadFileToPixmap ();
10853 rm -f conftest.
$ac_objext conftest
$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10857 grep -v '^ *+' conftest.er1
>conftest.err
10859 cat conftest.err
>&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try
='test -z "$ac_c_werror_flag"
10863 || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try
='test -s conftest$ac_exeext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.
$ac_ext >&5
10880 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
10882 rm -f conftest.err conftest.
$ac_objext \
10883 conftest
$ac_exeext conftest.
$ac_ext
10884 LIBS
=$ac_check_lib_save_LIBS
10886 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10887 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
10888 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
10895 if test "${HAVE_XPM}" = "yes"; then
10896 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
10897 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
10898 cat >conftest.
$ac_ext <<_ACEOF
10901 cat confdefs.h
>>conftest.
$ac_ext
10902 cat >>conftest.
$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10904 #include "X11/xpm.h"
10905 #ifndef XpmReturnAllocPixels
10906 no_return_alloc_pixels
10910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10911 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
10919 if test "${HAVE_XPM}" = "yes"; then
10920 echo "$as_me:$LINENO: result: yes" >&5
10921 echo "${ECHO_T}yes" >&6
10923 echo "$as_me:$LINENO: result: no" >&5
10924 echo "${ECHO_T}no" >&6
10929 if test "${HAVE_XPM}" = "yes"; then
10931 cat >>confdefs.h
<<\_ACEOF
10938 ### Use -ljpeg if available, unless `--with-jpeg=no'.
10940 if test "${HAVE_X11}" = "yes"; then
10941 if test "${with_jpeg}" != "no"; then
10942 if test "${ac_cv_header_jerror_h+set}" = set; then
10943 echo "$as_me:$LINENO: checking for jerror.h" >&5
10944 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
10945 if test "${ac_cv_header_jerror_h+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
10949 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
10951 # Is the header compilable?
10952 echo "$as_me:$LINENO: checking jerror.h usability" >&5
10953 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
10954 cat >conftest.
$ac_ext <<_ACEOF
10957 cat confdefs.h
>>conftest.
$ac_ext
10958 cat >>conftest.
$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10960 $ac_includes_default
10961 #include <jerror.h>
10963 rm -f conftest.
$ac_objext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } &&
10972 { ac_try
='test -z "$ac_c_werror_flag"
10973 || test ! -s conftest.err'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; } &&
10979 { ac_try
='test -s conftest.$ac_objext'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10985 ac_header_compiler
=yes
10987 echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.
$ac_ext >&5
10990 ac_header_compiler
=no
10992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10994 echo "${ECHO_T}$ac_header_compiler" >&6
10996 # Is the header present?
10997 echo "$as_me:$LINENO: checking jerror.h presence" >&5
10998 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
10999 cat >conftest.
$ac_ext <<_ACEOF
11002 cat confdefs.h
>>conftest.
$ac_ext
11003 cat >>conftest.
$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11005 #include <jerror.h>
11007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11010 grep -v '^ *+' conftest.er1
>conftest.err
11012 cat conftest.err
>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } >/dev
/null
; then
11015 if test -s conftest.err
; then
11016 ac_cpp_err
=$ac_c_preproc_warn_flag
11017 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11024 if test -z "$ac_cpp_err"; then
11025 ac_header_preproc
=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.
$ac_ext >&5
11030 ac_header_preproc
=no
11032 rm -f conftest.err conftest.
$ac_ext
11033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11034 echo "${ECHO_T}$ac_header_preproc" >&6
11036 # So? What about this header?
11037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11039 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11040 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11041 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11042 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11043 ac_header_preproc
=yes
11046 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11047 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11048 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11049 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11050 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11051 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11052 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11053 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11054 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11055 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11057 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11060 ## ------------------------------------------ ##
11061 ## Report this to the AC_PACKAGE_NAME lists. ##
11062 ## ------------------------------------------ ##
11065 sed "s/^/$as_me: WARNING: /" >&2
11068 echo "$as_me:$LINENO: checking for jerror.h" >&5
11069 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11070 if test "${ac_cv_header_jerror_h+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11073 ac_cv_header_jerror_h
=$ac_header_preproc
11075 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11076 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11079 if test $ac_cv_header_jerror_h = yes; then
11080 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11081 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11082 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 ac_check_lib_save_LIBS
=$LIBS
11086 LIBS
="-ljpeg $LIBS"
11087 cat >conftest.
$ac_ext <<_ACEOF
11090 cat confdefs.h
>>conftest.
$ac_ext
11091 cat >>conftest.
$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11094 /* Override any gcc2 internal prototype to avoid an error. */
11098 /* We use char because int might match the return type of a gcc2
11099 builtin and then its argument prototype would still apply. */
11100 char jpeg_destroy_compress ();
11104 jpeg_destroy_compress ();
11109 rm -f conftest.
$ac_objext conftest
$ac_exeext
11110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11111 (eval $ac_link) 2>conftest.er1
11113 grep -v '^ *+' conftest.er1
>conftest.err
11115 cat conftest.err
>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } &&
11118 { ac_try
='test -z "$ac_c_werror_flag"
11119 || test ! -s conftest.err'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try
='test -s conftest$ac_exeext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11136 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11138 rm -f conftest.err conftest.
$ac_objext \
11139 conftest
$ac_exeext conftest.
$ac_ext
11140 LIBS
=$ac_check_lib_save_LIBS
11142 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11143 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11144 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11154 if test "${HAVE_JPEG}" = "yes"; then
11155 cat >>confdefs.h
<<\_ACEOF
11156 #define HAVE_JPEG 1
11159 cat >conftest.
$ac_ext <<_ACEOF
11162 cat confdefs.h
>>conftest.
$ac_ext
11163 cat >>conftest.
$ac_ext <<_ACEOF
11164 /* end confdefs.h. */
11165 #include <jpeglib.h>
11166 version=JPEG_LIB_VERSION
11169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11170 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11171 cat >>confdefs.h
<<\_ACEOF
11172 #define HAVE_JPEG 1
11176 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11177 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11185 ### Use -lpng if available, unless `--with-png=no'.
11187 if test "${HAVE_X11}" = "yes"; then
11188 if test "${with_png}" != "no"; then
11189 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11190 # in /usr/include/libpng.
11193 for ac_header
in png.h libpng
/png.h
11195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11197 echo "$as_me:$LINENO: checking for $ac_header" >&5
11198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11205 # Is the header compilable?
11206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11208 cat >conftest.
$ac_ext <<_ACEOF
11211 cat confdefs.h
>>conftest.
$ac_ext
11212 cat >>conftest.
$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11214 $ac_includes_default
11215 #include <$ac_header>
11217 rm -f conftest.
$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1
>conftest.err
11223 cat conftest.err
>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try
='test -z "$ac_c_werror_flag"
11227 || test ! -s conftest.err'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; } &&
11233 { ac_try
='test -s conftest.$ac_objext'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; }; then
11239 ac_header_compiler
=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.
$ac_ext >&5
11244 ac_header_compiler
=no
11246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11248 echo "${ECHO_T}$ac_header_compiler" >&6
11250 # Is the header present?
11251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #include <$ac_header>
11261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } >/dev
/null
; then
11269 if test -s conftest.err
; then
11270 ac_cpp_err
=$ac_c_preproc_warn_flag
11271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11278 if test -z "$ac_cpp_err"; then
11279 ac_header_preproc
=yes
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.
$ac_ext >&5
11284 ac_header_preproc
=no
11286 rm -f conftest.err conftest.
$ac_ext
11287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11288 echo "${ECHO_T}$ac_header_preproc" >&6
11290 # So? What about this header?
11291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11297 ac_header_preproc
=yes
11300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11314 ## ------------------------------------------ ##
11315 ## Report this to the AC_PACKAGE_NAME lists. ##
11316 ## ------------------------------------------ ##
11319 sed "s/^/$as_me: WARNING: /" >&2
11322 echo "$as_me:$LINENO: checking for $ac_header" >&5
11323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 eval "$as_ac_Header=\$ac_header_preproc"
11329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11334 cat >>confdefs.h
<<_ACEOF
11335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11342 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11343 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11344 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11345 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 ac_check_lib_save_LIBS
=$LIBS
11349 LIBS
="-lpng -lz -lm $LIBS"
11350 cat >conftest.
$ac_ext <<_ACEOF
11353 cat confdefs.h
>>conftest.
$ac_ext
11354 cat >>conftest.
$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11357 /* Override any gcc2 internal prototype to avoid an error. */
11361 /* We use char because int might match the return type of a gcc2
11362 builtin and then its argument prototype would still apply. */
11363 char png_get_channels ();
11367 png_get_channels ();
11372 rm -f conftest.
$ac_objext conftest
$ac_exeext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11374 (eval $ac_link) 2>conftest.er1
11376 grep -v '^ *+' conftest.er1
>conftest.err
11378 cat conftest.err
>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try
='test -z "$ac_c_werror_flag"
11382 || test ! -s conftest.err'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; } &&
11388 { ac_try
='test -s conftest$ac_exeext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 ac_cv_lib_png_png_get_channels
=yes
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.
$ac_ext >&5
11399 ac_cv_lib_png_png_get_channels
=no
11401 rm -f conftest.err conftest.
$ac_objext \
11402 conftest
$ac_exeext conftest.
$ac_ext
11403 LIBS
=$ac_check_lib_save_LIBS
11405 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
11406 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
11407 if test $ac_cv_lib_png_png_get_channels = yes; then
11414 if test "${HAVE_PNG}" = "yes"; then
11416 cat >>confdefs.h
<<\_ACEOF
11423 ### Use -ltiff if available, unless `--with-tiff=no'.
11425 if test "${HAVE_X11}" = "yes"; then
11426 if test "${with_tiff}" != "no"; then
11427 if test "${ac_cv_header_tiffio_h+set}" = set; then
11428 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11429 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11430 if test "${ac_cv_header_tiffio_h+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11434 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11436 # Is the header compilable?
11437 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
11438 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
11439 cat >conftest.
$ac_ext <<_ACEOF
11442 cat confdefs.h
>>conftest.
$ac_ext
11443 cat >>conftest.
$ac_ext <<_ACEOF
11444 /* end confdefs.h. */
11445 $ac_includes_default
11446 #include <tiffio.h>
11448 rm -f conftest.
$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>conftest.er1
11452 grep -v '^ *+' conftest.er1
>conftest.err
11454 cat conftest.err
>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } &&
11457 { ac_try
='test -z "$ac_c_werror_flag"
11458 || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try
='test -s conftest.$ac_objext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 ac_header_compiler
=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.
$ac_ext >&5
11475 ac_header_compiler
=no
11477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11479 echo "${ECHO_T}$ac_header_compiler" >&6
11481 # Is the header present?
11482 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
11483 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
11484 cat >conftest.
$ac_ext <<_ACEOF
11487 cat confdefs.h
>>conftest.
$ac_ext
11488 cat >>conftest.
$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 #include <tiffio.h>
11492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11495 grep -v '^ *+' conftest.er1
>conftest.err
11497 cat conftest.err
>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } >/dev
/null
; then
11500 if test -s conftest.err
; then
11501 ac_cpp_err
=$ac_c_preproc_warn_flag
11502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11509 if test -z "$ac_cpp_err"; then
11510 ac_header_preproc
=yes
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.
$ac_ext >&5
11515 ac_header_preproc
=no
11517 rm -f conftest.err conftest.
$ac_ext
11518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11519 echo "${ECHO_T}$ac_header_preproc" >&6
11521 # So? What about this header?
11522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11524 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
11525 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
11527 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
11528 ac_header_preproc
=yes
11531 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
11532 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
11533 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
11534 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
11535 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
11536 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
11538 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
11540 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
11542 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
11545 ## ------------------------------------------ ##
11546 ## Report this to the AC_PACKAGE_NAME lists. ##
11547 ## ------------------------------------------ ##
11550 sed "s/^/$as_me: WARNING: /" >&2
11553 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11554 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11555 if test "${ac_cv_header_tiffio_h+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 ac_cv_header_tiffio_h
=$ac_header_preproc
11560 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11561 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11564 if test $ac_cv_header_tiffio_h = yes; then
11566 # At least one tiff package requires the jpeg library.
11567 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
11568 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
11569 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
11570 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 ac_check_lib_save_LIBS
=$LIBS
11574 LIBS
="-ltiff $tifflibs $LIBS"
11575 cat >conftest.
$ac_ext <<_ACEOF
11578 cat confdefs.h
>>conftest.
$ac_ext
11579 cat >>conftest.
$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11588 char TIFFGetVersion ();
11597 rm -f conftest.
$ac_objext conftest
$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11601 grep -v '^ *+' conftest.er1
>conftest.err
11603 cat conftest.err
>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try
='test -z "$ac_c_werror_flag"
11607 || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try
='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 ac_cv_lib_tiff_TIFFGetVersion
=yes
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.
$ac_ext >&5
11624 ac_cv_lib_tiff_TIFFGetVersion
=no
11626 rm -f conftest.err conftest.
$ac_objext \
11627 conftest
$ac_exeext conftest.
$ac_ext
11628 LIBS
=$ac_check_lib_save_LIBS
11630 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
11631 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
11632 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
11641 if test "${HAVE_TIFF}" = "yes"; then
11643 cat >>confdefs.h
<<\_ACEOF
11644 #define HAVE_TIFF 1
11650 ### Use -lgif if available, unless `--with-gif=no'.
11652 if test "${HAVE_X11}" = "yes"; then
11653 if test "${with_gif}" != "no"; then
11654 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11655 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
11656 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
11657 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
11661 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
11663 # Is the header compilable?
11664 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
11665 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
11666 cat >conftest.
$ac_ext <<_ACEOF
11669 cat confdefs.h
>>conftest.
$ac_ext
11670 cat >>conftest.
$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 $ac_includes_default
11673 #include <gif_lib.h>
11675 rm -f conftest.
$ac_objext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11677 (eval $ac_compile) 2>conftest.er1
11679 grep -v '^ *+' conftest.er1
>conftest.err
11681 cat conftest.err
>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try
='test -z "$ac_c_werror_flag"
11685 || test ! -s conftest.err'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; } &&
11691 { ac_try
='test -s conftest.$ac_objext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 ac_header_compiler
=yes
11699 echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.
$ac_ext >&5
11702 ac_header_compiler
=no
11704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11706 echo "${ECHO_T}$ac_header_compiler" >&6
11708 # Is the header present?
11709 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
11710 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
11711 cat >conftest.
$ac_ext <<_ACEOF
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 #include <gif_lib.h>
11719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } >/dev
/null
; then
11727 if test -s conftest.err
; then
11728 ac_cpp_err
=$ac_c_preproc_warn_flag
11729 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11736 if test -z "$ac_cpp_err"; then
11737 ac_header_preproc
=yes
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.
$ac_ext >&5
11742 ac_header_preproc
=no
11744 rm -f conftest.err conftest.
$ac_ext
11745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11746 echo "${ECHO_T}$ac_header_preproc" >&6
11748 # So? What about this header?
11749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11751 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
11752 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11753 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
11754 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
11755 ac_header_preproc
=yes
11758 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
11759 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
11760 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
11761 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
11762 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
11763 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
11764 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
11765 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
11766 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
11767 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
11768 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
11769 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
11772 ## ------------------------------------------ ##
11773 ## Report this to the AC_PACKAGE_NAME lists. ##
11774 ## ------------------------------------------ ##
11777 sed "s/^/$as_me: WARNING: /" >&2
11780 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
11781 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
11782 if test "${ac_cv_header_gif_lib_h+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 ac_cv_header_gif_lib_h
=$ac_header_preproc
11787 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
11788 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
11791 if test $ac_cv_header_gif_lib_h = yes; then
11792 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
11793 # Earlier versions can crash Emacs.
11794 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
11795 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
11796 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 ac_check_lib_save_LIBS
=$LIBS
11800 LIBS
="-lungif $LIBS"
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any gcc2 internal prototype to avoid an error. */
11812 /* We use char because int might match the return type of a gcc2
11813 builtin and then its argument prototype would still apply. */
11814 char EGifPutExtensionLast ();
11818 EGifPutExtensionLast ();
11823 rm -f conftest.
$ac_objext conftest
$ac_exeext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11825 (eval $ac_link) 2>conftest.er1
11827 grep -v '^ *+' conftest.er1
>conftest.err
11829 cat conftest.err
>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try
='test -z "$ac_c_werror_flag"
11833 || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest$ac_exeext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 ac_cv_lib_ungif_EGifPutExtensionLast
=no
11852 rm -f conftest.err conftest.
$ac_objext \
11853 conftest
$ac_exeext conftest.
$ac_ext
11854 LIBS
=$ac_check_lib_save_LIBS
11856 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
11857 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
11858 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
11867 if test "${HAVE_GIF}" = "yes"; then
11869 cat >>confdefs.h
<<\_ACEOF
11876 ### Use Mac OS X Carbon API to implement GUI.
11878 if test "${with_carbon}" != "no"; then
11879 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
11880 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
11881 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
11882 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
11886 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
11888 # Is the header compilable?
11889 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
11890 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 $ac_includes_default
11898 #include <Carbon/Carbon.h>
11900 rm -f conftest.
$ac_objext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1
>conftest.err
11906 cat conftest.err
>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try
='test -z "$ac_c_werror_flag"
11910 || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try
='test -s conftest.$ac_objext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 ac_header_compiler
=yes
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.
$ac_ext >&5
11927 ac_header_compiler
=no
11929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11931 echo "${ECHO_T}$ac_header_compiler" >&6
11933 # Is the header present?
11934 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
11935 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
11936 cat >conftest.
$ac_ext <<_ACEOF
11939 cat confdefs.h
>>conftest.
$ac_ext
11940 cat >>conftest.
$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 #include <Carbon/Carbon.h>
11944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11947 grep -v '^ *+' conftest.er1
>conftest.err
11949 cat conftest.err
>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } >/dev
/null
; then
11952 if test -s conftest.err
; then
11953 ac_cpp_err
=$ac_c_preproc_warn_flag
11954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11961 if test -z "$ac_cpp_err"; then
11962 ac_header_preproc
=yes
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11967 ac_header_preproc
=no
11969 rm -f conftest.err conftest.
$ac_ext
11970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11971 echo "${ECHO_T}$ac_header_preproc" >&6
11973 # So? What about this header?
11974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11976 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
11977 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11978 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
11979 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
11980 ac_header_preproc
=yes
11983 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
11984 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
11985 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
11986 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
11987 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
11988 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
11989 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
11990 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
11991 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
11992 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
11993 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
11994 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
11997 ## ------------------------------------------ ##
11998 ## Report this to the AC_PACKAGE_NAME lists. ##
11999 ## ------------------------------------------ ##
12002 sed "s/^/$as_me: WARNING: /" >&2
12005 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12006 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12007 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
12012 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12013 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12016 if test $ac_cv_header_Carbon_Carbon_h = yes; then
12023 if test "${HAVE_CARBON}" = "yes"; then
12025 cat >>confdefs.h
<<\_ACEOF
12026 #define HAVE_CARBON 1
12030 ## Specify the install directory
12032 if test "${carbon_appdir_x}" != ""; then
12033 case ${carbon_appdir_x} in
12034 y | ye |
yes) carbon_appdir
=/Applications
;;
12035 * ) carbon_appdir
=${carbon_appdir_x} ;;
12038 # We also have mouse menus.
12042 ### Use session management (-lSM -lICE) if available
12044 if test "${HAVE_X11}" = "yes"; then
12045 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12046 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12047 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12048 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12052 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12054 # Is the header compilable?
12055 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12056 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12057 cat >conftest.
$ac_ext <<_ACEOF
12060 cat confdefs.h
>>conftest.
$ac_ext
12061 cat >>conftest.
$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 $ac_includes_default
12064 #include <X11/SM/SMlib.h>
12066 rm -f conftest.
$ac_objext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068 (eval $ac_compile) 2>conftest.er1
12070 grep -v '^ *+' conftest.er1
>conftest.err
12072 cat conftest.err
>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try
='test -z "$ac_c_werror_flag"
12076 || test ! -s conftest.err'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; } &&
12082 { ac_try
='test -s conftest.$ac_objext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_header_compiler
=yes
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.
$ac_ext >&5
12093 ac_header_compiler
=no
12095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12097 echo "${ECHO_T}$ac_header_compiler" >&6
12099 # Is the header present?
12100 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12101 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12102 cat >conftest.
$ac_ext <<_ACEOF
12105 cat confdefs.h
>>conftest.
$ac_ext
12106 cat >>conftest.
$ac_ext <<_ACEOF
12107 /* end confdefs.h. */
12108 #include <X11/SM/SMlib.h>
12110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } >/dev
/null
; then
12118 if test -s conftest.err
; then
12119 ac_cpp_err
=$ac_c_preproc_warn_flag
12120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12127 if test -z "$ac_cpp_err"; then
12128 ac_header_preproc
=yes
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.
$ac_ext >&5
12133 ac_header_preproc
=no
12135 rm -f conftest.err conftest.
$ac_ext
12136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12137 echo "${ECHO_T}$ac_header_preproc" >&6
12139 # So? What about this header?
12140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12142 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12143 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12144 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12145 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12146 ac_header_preproc
=yes
12149 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12150 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12152 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12153 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12154 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12155 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12156 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12157 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12158 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12159 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12160 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12163 ## ------------------------------------------ ##
12164 ## Report this to the AC_PACKAGE_NAME lists. ##
12165 ## ------------------------------------------ ##
12168 sed "s/^/$as_me: WARNING: /" >&2
12171 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12172 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12173 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12174 echo $ECHO_N "(cached) $ECHO_C" >&6
12176 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12178 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12179 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12182 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12183 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12184 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12185 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12188 ac_check_lib_save_LIBS
=$LIBS
12189 LIBS
="-lSM -lICE $LIBS"
12190 cat >conftest.
$ac_ext <<_ACEOF
12193 cat confdefs.h
>>conftest.
$ac_ext
12194 cat >>conftest.
$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12197 /* Override any gcc2 internal prototype to avoid an error. */
12201 /* We use char because int might match the return type of a gcc2
12202 builtin and then its argument prototype would still apply. */
12203 char SmcOpenConnection ();
12207 SmcOpenConnection ();
12212 rm -f conftest.
$ac_objext conftest
$ac_exeext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12214 (eval $ac_link) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1
>conftest.err
12218 cat conftest.err
>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try
='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try
='test -s conftest$ac_exeext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 ac_cv_lib_SM_SmcOpenConnection
=yes
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.
$ac_ext >&5
12239 ac_cv_lib_SM_SmcOpenConnection
=no
12241 rm -f conftest.err conftest.
$ac_objext \
12242 conftest
$ac_exeext conftest.
$ac_ext
12243 LIBS
=$ac_check_lib_save_LIBS
12245 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12246 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12247 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12255 if test "${HAVE_X_SM}" = "yes"; then
12257 cat >>confdefs.h
<<\_ACEOF
12258 #define HAVE_X_SM 1
12263 *) LIBS
="-lSM -lICE $LIBS" ;;
12268 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12269 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12270 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12271 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 cat >conftest.
$ac_ext <<_ACEOF
12277 cat confdefs.h
>>conftest.
$ac_ext
12278 cat >>conftest.
$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12289 rm -f conftest.
$ac_objext conftest
$ac_exeext
12290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12291 (eval $ac_link) 2>conftest.er1
12293 grep -v '^ *+' conftest.er1
>conftest.err
12295 cat conftest.err
>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try
='test -z "$ac_c_werror_flag"
12299 || test ! -s conftest.err'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; } &&
12305 { ac_try
='test -s conftest$ac_exeext'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; }; then
12311 emacs_cv_netdb_declares_h_errno
=yes
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.
$ac_ext >&5
12316 emacs_cv_netdb_declares_h_errno
=no
12318 rm -f conftest.err conftest.
$ac_objext \
12319 conftest
$ac_exeext conftest.
$ac_ext
12321 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
12322 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
12323 if test $emacs_cv_netdb_declares_h_errno = yes; then
12325 cat >>confdefs.h
<<\_ACEOF
12326 #define HAVE_H_ERRNO 1
12331 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12332 # for constant arguments. Useless!
12333 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12334 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12335 if test "${ac_cv_working_alloca_h+set}" = set; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 cat >conftest.
$ac_ext <<_ACEOF
12341 cat confdefs.h
>>conftest.
$ac_ext
12342 cat >>conftest.
$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12344 #include <alloca.h>
12348 char *p = (char *) alloca (2 * sizeof (int));
12353 rm -f conftest.
$ac_objext conftest
$ac_exeext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12355 (eval $ac_link) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest$ac_exeext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 ac_cv_working_alloca_h
=yes
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12380 ac_cv_working_alloca_h
=no
12382 rm -f conftest.err conftest.
$ac_objext \
12383 conftest
$ac_exeext conftest.
$ac_ext
12385 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12386 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12387 if test $ac_cv_working_alloca_h = yes; then
12389 cat >>confdefs.h
<<\_ACEOF
12390 #define HAVE_ALLOCA_H 1
12395 echo "$as_me:$LINENO: checking for alloca" >&5
12396 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12397 if test "${ac_cv_func_alloca_works+set}" = set; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 cat >conftest.
$ac_ext <<_ACEOF
12403 cat confdefs.h
>>conftest.
$ac_ext
12404 cat >>conftest.
$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12407 # define alloca __builtin_alloca
12410 # include <malloc.h>
12411 # define alloca _alloca
12414 # include <alloca.h>
12419 # ifndef alloca /* predefined by HP cc +Olibcalls */
12430 char *p = (char *) alloca (1);
12435 rm -f conftest.
$ac_objext conftest
$ac_exeext
12436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12437 (eval $ac_link) 2>conftest.er1
12439 grep -v '^ *+' conftest.er1
>conftest.err
12441 cat conftest.err
>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } &&
12444 { ac_try
='test -z "$ac_c_werror_flag"
12445 || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try
='test -s conftest$ac_exeext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 ac_cv_func_alloca_works
=yes
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.
$ac_ext >&5
12462 ac_cv_func_alloca_works
=no
12464 rm -f conftest.err conftest.
$ac_objext \
12465 conftest
$ac_exeext conftest.
$ac_ext
12467 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12468 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12470 if test $ac_cv_func_alloca_works = yes; then
12472 cat >>confdefs.h
<<\_ACEOF
12473 #define HAVE_ALLOCA 1
12477 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12478 # that cause trouble. Some versions do not even contain alloca or
12479 # contain a buggy version. If you still want to use their alloca,
12480 # use ar to extract alloca.o from them instead of compiling alloca.c.
12482 ALLOCA
=alloca.
$ac_objext
12484 cat >>confdefs.h
<<\_ACEOF
12489 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12490 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12491 if test "${ac_cv_os_cray+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 cat >conftest.
$ac_ext <<_ACEOF
12497 cat confdefs.h
>>conftest.
$ac_ext
12498 cat >>conftest.
$ac_ext <<_ACEOF
12499 /* end confdefs.h. */
12500 #if defined(CRAY) && ! defined(CRAY2)
12507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12508 $EGREP "webecray" >/dev
/null
2>&1; then
12516 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12517 echo "${ECHO_T}$ac_cv_os_cray" >&6
12518 if test $ac_cv_os_cray = yes; then
12519 for ac_func
in _getb67 GETB67 getb67
; do
12520 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12521 echo "$as_me:$LINENO: checking for $ac_func" >&5
12522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12523 if eval "test \"\${$as_ac_var+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12534 #define $ac_func innocuous_$ac_func
12536 /* System header to define __stub macros and hopefully few prototypes,
12537 which can conflict with char $ac_func (); below.
12538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12539 <limits.h> exists even on freestanding compilers. */
12542 # include <limits.h>
12544 # include <assert.h>
12549 /* Override any gcc2 internal prototype to avoid an error. */
12554 /* We use char because int might match the return type of a gcc2
12555 builtin and then its argument prototype would still apply. */
12557 /* The GNU C library defines this for functions which it implements
12558 to always fail with ENOSYS. Some functions are actually named
12559 something starting with __ and the normal name is an alias. */
12560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12563 char (*f) () = $ac_func;
12572 return f != $ac_func;
12577 rm -f conftest.
$ac_objext conftest
$ac_exeext
12578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12579 (eval $ac_link) 2>conftest.er1
12581 grep -v '^ *+' conftest.er1
>conftest.err
12583 cat conftest.err
>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try
='test -z "$ac_c_werror_flag"
12587 || test ! -s conftest.err'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; } &&
12593 { ac_try
='test -s conftest$ac_exeext'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; }; then
12599 eval "$as_ac_var=yes"
12601 echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.
$ac_ext >&5
12604 eval "$as_ac_var=no"
12606 rm -f conftest.err conftest.
$ac_objext \
12607 conftest
$ac_exeext conftest.
$ac_ext
12609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12611 if test `eval echo '${'$as_ac_var'}'` = yes; then
12613 cat >>confdefs.h
<<_ACEOF
12614 #define CRAY_STACKSEG_END $ac_func
12623 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12624 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12625 if test "${ac_cv_c_stack_direction+set}" = set; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 if test "$cross_compiling" = yes; then
12629 ac_cv_c_stack_direction
=0
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12638 find_stack_direction ()
12640 static char *addr = 0;
12645 return find_stack_direction ();
12648 return (&dummy > addr) ? 1 : -1;
12654 exit (find_stack_direction () < 0);
12657 rm -f conftest
$ac_exeext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12659 (eval $ac_link) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12664 (eval $ac_try) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }; }; then
12668 ac_cv_c_stack_direction
=1
12670 echo "$as_me: program exited with status $ac_status" >&5
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.
$ac_ext >&5
12674 ( exit $ac_status )
12675 ac_cv_c_stack_direction
=-1
12677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12680 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12681 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12683 cat >>confdefs.h
<<_ACEOF
12684 #define STACK_DIRECTION $ac_cv_c_stack_direction
12691 # fmod, logb, and frexp are found in -lm on most systems.
12692 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
12694 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
12695 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
12696 if test "${ac_cv_lib_m_sqrt+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 ac_check_lib_save_LIBS
=$LIBS
12701 cat >conftest.
$ac_ext <<_ACEOF
12704 cat confdefs.h
>>conftest.
$ac_ext
12705 cat >>conftest.
$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12708 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12723 rm -f conftest.
$ac_objext conftest
$ac_exeext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12725 (eval $ac_link) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1
>conftest.err
12729 cat conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try
='test -z "$ac_c_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try
='test -s conftest$ac_exeext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12745 ac_cv_lib_m_sqrt
=yes
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.
$ac_ext >&5
12750 ac_cv_lib_m_sqrt
=no
12752 rm -f conftest.err conftest.
$ac_objext \
12753 conftest
$ac_exeext conftest.
$ac_ext
12754 LIBS
=$ac_check_lib_save_LIBS
12756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
12757 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
12758 if test $ac_cv_lib_m_sqrt = yes; then
12759 cat >>confdefs.h
<<_ACEOF
12760 #define HAVE_LIBM 1
12768 # Check for mail-locking functions in a "mail" library. Probably this should
12769 # have the same check as for liblockfile below.
12771 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
12772 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
12773 if test "${ac_cv_lib_mail_maillock+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 ac_check_lib_save_LIBS
=$LIBS
12777 LIBS
="-lmail $LIBS"
12778 cat >conftest.
$ac_ext <<_ACEOF
12781 cat confdefs.h
>>conftest.
$ac_ext
12782 cat >>conftest.
$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12785 /* Override any gcc2 internal prototype to avoid an error. */
12789 /* We use char because int might match the return type of a gcc2
12790 builtin and then its argument prototype would still apply. */
12800 rm -f conftest.
$ac_objext conftest
$ac_exeext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12802 (eval $ac_link) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_c_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try
='test -s conftest$ac_exeext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_cv_lib_mail_maillock
=yes
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12827 ac_cv_lib_mail_maillock
=no
12829 rm -f conftest.err conftest.
$ac_objext \
12830 conftest
$ac_exeext conftest.
$ac_ext
12831 LIBS
=$ac_check_lib_save_LIBS
12833 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
12834 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
12835 if test $ac_cv_lib_mail_maillock = yes; then
12836 cat >>confdefs.h
<<_ACEOF
12837 #define HAVE_LIBMAIL 1
12840 LIBS
="-lmail $LIBS"
12845 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
12846 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
12847 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 ac_check_lib_save_LIBS
=$LIBS
12851 LIBS
="-llockfile $LIBS"
12852 cat >conftest.
$ac_ext <<_ACEOF
12855 cat confdefs.h
>>conftest.
$ac_ext
12856 cat >>conftest.
$ac_ext <<_ACEOF
12857 /* end confdefs.h. */
12859 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12874 rm -f conftest.
$ac_objext conftest
$ac_exeext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12876 (eval $ac_link) 2>conftest.er1
12878 grep -v '^ *+' conftest.er1
>conftest.err
12880 cat conftest.err
>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -z "$ac_c_werror_flag"
12884 || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try
='test -s conftest$ac_exeext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_cv_lib_lockfile_maillock
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 ac_cv_lib_lockfile_maillock
=no
12903 rm -f conftest.err conftest.
$ac_objext \
12904 conftest
$ac_exeext conftest.
$ac_ext
12905 LIBS
=$ac_check_lib_save_LIBS
12907 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
12908 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
12909 if test $ac_cv_lib_lockfile_maillock = yes; then
12910 cat >>confdefs.h
<<_ACEOF
12911 #define HAVE_LIBLOCKFILE 1
12914 LIBS
="-llockfile $LIBS"
12918 # If we have the shared liblockfile, assume we must use it for mail
12919 # locking (e.g. Debian). If we couldn't link against liblockfile
12920 # (no liblockfile.a installed), ensure that we don't need to.
12921 if test "$ac_cv_lib_lockfile_maillock" = no
; then
12922 # Extract the first word of "liblockfile.so", so it can be a program name with args.
12923 set dummy liblockfile.so
; ac_word
=$2
12924 echo "$as_me:$LINENO: checking for $ac_word" >&5
12925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12926 if test "${ac_cv_prog_liblockfile+set}" = set; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12929 if test -n "$liblockfile"; then
12930 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
12932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12933 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
12934 for as_dir
in $as_dummy
12937 test -z "$as_dir" && as_dir
=.
12938 for ac_exec_ext
in '' $ac_executable_extensions; do
12939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12940 ac_cv_prog_liblockfile
="yes"
12941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12947 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
12950 liblockfile
=$ac_cv_prog_liblockfile
12951 if test -n "$liblockfile"; then
12952 echo "$as_me:$LINENO: result: $liblockfile" >&5
12953 echo "${ECHO_T}$liblockfile" >&6
12955 echo "$as_me:$LINENO: result: no" >&5
12956 echo "${ECHO_T}no" >&6
12959 if test $ac_cv_prog_liblockfile = yes; then
12960 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
12961 This probably means that movemail could lose mail.
12962 There may be a \`development' package to install containing liblockfile." >&5
12963 echo "$as_me: error: Shared liblockfile found but can't link against it.
12964 This probably means that movemail could lose mail.
12965 There may be a \`development' package to install containing liblockfile." >&2;}
12966 { (exit 1); exit 1; }; }
12971 for ac_func
in touchlock
12973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12974 echo "$as_me:$LINENO: checking for $ac_func" >&5
12975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12976 if eval "test \"\${$as_ac_var+set}\" = set"; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 cat >conftest.
$ac_ext <<_ACEOF
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12987 #define $ac_func innocuous_$ac_func
12989 /* System header to define __stub macros and hopefully few prototypes,
12990 which can conflict with char $ac_func (); below.
12991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12992 <limits.h> exists even on freestanding compilers. */
12995 # include <limits.h>
12997 # include <assert.h>
13002 /* Override any gcc2 internal prototype to avoid an error. */
13007 /* We use char because int might match the return type of a gcc2
13008 builtin and then its argument prototype would still apply. */
13010 /* The GNU C library defines this for functions which it implements
13011 to always fail with ENOSYS. Some functions are actually named
13012 something starting with __ and the normal name is an alias. */
13013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13016 char (*f) () = $ac_func;
13025 return f != $ac_func;
13030 rm -f conftest.
$ac_objext conftest
$ac_exeext
13031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13032 (eval $ac_link) 2>conftest.er1
13034 grep -v '^ *+' conftest.er1
>conftest.err
13036 cat conftest.err
>&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } &&
13039 { ac_try
='test -z "$ac_c_werror_flag"
13040 || test ! -s conftest.err'
13041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 (eval $ac_try) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; } &&
13046 { ac_try
='test -s conftest$ac_exeext'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; }; then
13052 eval "$as_ac_var=yes"
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.
$ac_ext >&5
13057 eval "$as_ac_var=no"
13059 rm -f conftest.err conftest.
$ac_objext \
13060 conftest
$ac_exeext conftest.
$ac_ext
13062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13064 if test `eval echo '${'$as_ac_var'}'` = yes; then
13065 cat >>confdefs.h
<<_ACEOF
13066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13073 for ac_header
in maillock.h
13075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13077 echo "$as_me:$LINENO: checking for $ac_header" >&5
13078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13085 # Is the header compilable?
13086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13088 cat >conftest.
$ac_ext <<_ACEOF
13091 cat confdefs.h
>>conftest.
$ac_ext
13092 cat >>conftest.
$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13094 $ac_includes_default
13095 #include <$ac_header>
13097 rm -f conftest.
$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_header_compiler
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 ac_header_compiler
=no
13126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13128 echo "${ECHO_T}$ac_header_compiler" >&6
13130 # Is the header present?
13131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13133 cat >conftest.
$ac_ext <<_ACEOF
13136 cat confdefs.h
>>conftest.
$ac_ext
13137 cat >>conftest.
$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139 #include <$ac_header>
13141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13144 grep -v '^ *+' conftest.er1
>conftest.err
13146 cat conftest.err
>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } >/dev
/null
; then
13149 if test -s conftest.err
; then
13150 ac_cpp_err
=$ac_c_preproc_warn_flag
13151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13158 if test -z "$ac_cpp_err"; then
13159 ac_header_preproc
=yes
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13164 ac_header_preproc
=no
13166 rm -f conftest.err conftest.
$ac_ext
13167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13168 echo "${ECHO_T}$ac_header_preproc" >&6
13170 # So? What about this header?
13171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13177 ac_header_preproc
=yes
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13194 ## ------------------------------------------ ##
13195 ## Report this to the AC_PACKAGE_NAME lists. ##
13196 ## ------------------------------------------ ##
13199 sed "s/^/$as_me: WARNING: /" >&2
13202 echo "$as_me:$LINENO: checking for $ac_header" >&5
13203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 eval "$as_ac_Header=\$ac_header_preproc"
13209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13214 cat >>confdefs.h
<<_ACEOF
13215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13290 for ac_func
in gethostname getdomainname dup2 \
13291 rename closedir mkdir
rmdir sysinfo \
13292 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13293 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13294 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13295 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13296 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13297 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13298 memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign
13300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13301 echo "$as_me:$LINENO: checking for $ac_func" >&5
13302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13303 if eval "test \"\${$as_ac_var+set}\" = set"; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 cat >conftest.
$ac_ext <<_ACEOF
13309 cat confdefs.h
>>conftest.
$ac_ext
13310 cat >>conftest.
$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13314 #define $ac_func innocuous_$ac_func
13316 /* System header to define __stub macros and hopefully few prototypes,
13317 which can conflict with char $ac_func (); below.
13318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13319 <limits.h> exists even on freestanding compilers. */
13322 # include <limits.h>
13324 # include <assert.h>
13329 /* Override any gcc2 internal prototype to avoid an error. */
13334 /* We use char because int might match the return type of a gcc2
13335 builtin and then its argument prototype would still apply. */
13337 /* The GNU C library defines this for functions which it implements
13338 to always fail with ENOSYS. Some functions are actually named
13339 something starting with __ and the normal name is an alias. */
13340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13343 char (*f) () = $ac_func;
13352 return f != $ac_func;
13357 rm -f conftest.
$ac_objext conftest
$ac_exeext
13358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359 (eval $ac_link) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } &&
13366 { ac_try
='test -z "$ac_c_werror_flag"
13367 || test ! -s conftest.err'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; } &&
13373 { ac_try
='test -s conftest$ac_exeext'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; }; then
13379 eval "$as_ac_var=yes"
13381 echo "$as_me: failed program was:" >&5
13382 sed 's/^/| /' conftest.
$ac_ext >&5
13384 eval "$as_ac_var=no"
13386 rm -f conftest.err conftest.
$ac_objext \
13387 conftest
$ac_exeext conftest.
$ac_ext
13389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13391 if test `eval echo '${'$as_ac_var'}'` = yes; then
13392 cat >>confdefs.h
<<_ACEOF
13393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13401 for ac_header
in sys
/un.h
13403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13405 echo "$as_me:$LINENO: checking for $ac_header" >&5
13406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13413 # Is the header compilable?
13414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422 $ac_includes_default
13423 #include <$ac_header>
13425 rm -f conftest.
$ac_objext
13426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13427 (eval $ac_compile) 2>conftest.er1
13429 grep -v '^ *+' conftest.er1
>conftest.err
13431 cat conftest.err
>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } &&
13434 { ac_try
='test -z "$ac_c_werror_flag"
13435 || test ! -s conftest.err'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; } &&
13441 { ac_try
='test -s conftest.$ac_objext'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then
13447 ac_header_compiler
=yes
13449 echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.
$ac_ext >&5
13452 ac_header_compiler
=no
13454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13456 echo "${ECHO_T}$ac_header_compiler" >&6
13458 # Is the header present?
13459 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13461 cat >conftest.
$ac_ext <<_ACEOF
13464 cat confdefs.h
>>conftest.
$ac_ext
13465 cat >>conftest.
$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13467 #include <$ac_header>
13469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13472 grep -v '^ *+' conftest.er1
>conftest.err
13474 cat conftest.err
>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } >/dev
/null
; then
13477 if test -s conftest.err
; then
13478 ac_cpp_err
=$ac_c_preproc_warn_flag
13479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13486 if test -z "$ac_cpp_err"; then
13487 ac_header_preproc
=yes
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.
$ac_ext >&5
13492 ac_header_preproc
=no
13494 rm -f conftest.err conftest.
$ac_ext
13495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13496 echo "${ECHO_T}$ac_header_preproc" >&6
13498 # So? What about this header?
13499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13504 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13505 ac_header_preproc
=yes
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13513 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13514 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13515 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13519 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13522 ## ------------------------------------------ ##
13523 ## Report this to the AC_PACKAGE_NAME lists. ##
13524 ## ------------------------------------------ ##
13527 sed "s/^/$as_me: WARNING: /" >&2
13530 echo "$as_me:$LINENO: checking for $ac_header" >&5
13531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13535 eval "$as_ac_Header=\$ac_header_preproc"
13537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13542 cat >>confdefs.h
<<_ACEOF
13543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13554 for ac_header
in stdlib.h sys
/time.h unistd.h
13556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13558 echo "$as_me:$LINENO: checking for $ac_header" >&5
13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13566 # Is the header compilable?
13567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13569 cat >conftest.
$ac_ext <<_ACEOF
13572 cat confdefs.h
>>conftest.
$ac_ext
13573 cat >>conftest.
$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 $ac_includes_default
13576 #include <$ac_header>
13578 rm -f conftest.
$ac_objext
13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13580 (eval $ac_compile) 2>conftest.er1
13582 grep -v '^ *+' conftest.er1
>conftest.err
13584 cat conftest.err
>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } &&
13587 { ac_try
='test -z "$ac_c_werror_flag"
13588 || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try
='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_header_compiler
=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13605 ac_header_compiler
=no
13607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13609 echo "${ECHO_T}$ac_header_compiler" >&6
13611 # Is the header present?
13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <$ac_header>
13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1
>conftest.err
13627 cat conftest.err
>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } >/dev
/null
; then
13630 if test -s conftest.err
; then
13631 ac_cpp_err
=$ac_c_preproc_warn_flag
13632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13639 if test -z "$ac_cpp_err"; then
13640 ac_header_preproc
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_header_preproc
=no
13647 rm -f conftest.err conftest.
$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13649 echo "${ECHO_T}$ac_header_preproc" >&6
13651 # So? What about this header?
13652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13658 ac_header_preproc
=yes
13661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13675 ## ------------------------------------------ ##
13676 ## Report this to the AC_PACKAGE_NAME lists. ##
13677 ## ------------------------------------------ ##
13680 sed "s/^/$as_me: WARNING: /" >&2
13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 eval "$as_ac_Header=\$ac_header_preproc"
13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h
<<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13704 for ac_func
in alarm
13706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13707 echo "$as_me:$LINENO: checking for $ac_func" >&5
13708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13709 if eval "test \"\${$as_ac_var+set}\" = set"; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 cat >conftest.
$ac_ext <<_ACEOF
13715 cat confdefs.h
>>conftest.
$ac_ext
13716 cat >>conftest.
$ac_ext <<_ACEOF
13717 /* end confdefs.h. */
13718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13720 #define $ac_func innocuous_$ac_func
13722 /* System header to define __stub macros and hopefully few prototypes,
13723 which can conflict with char $ac_func (); below.
13724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13725 <limits.h> exists even on freestanding compilers. */
13728 # include <limits.h>
13730 # include <assert.h>
13735 /* Override any gcc2 internal prototype to avoid an error. */
13740 /* We use char because int might match the return type of a gcc2
13741 builtin and then its argument prototype would still apply. */
13743 /* The GNU C library defines this for functions which it implements
13744 to always fail with ENOSYS. Some functions are actually named
13745 something starting with __ and the normal name is an alias. */
13746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13749 char (*f) () = $ac_func;
13758 return f != $ac_func;
13763 rm -f conftest.
$ac_objext conftest
$ac_exeext
13764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13765 (eval $ac_link) 2>conftest.er1
13767 grep -v '^ *+' conftest.er1
>conftest.err
13769 cat conftest.err
>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try
='test -z "$ac_c_werror_flag"
13773 || test ! -s conftest.err'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; } &&
13779 { ac_try
='test -s conftest$ac_exeext'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 eval "$as_ac_var=yes"
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.
$ac_ext >&5
13790 eval "$as_ac_var=no"
13792 rm -f conftest.err conftest.
$ac_objext \
13793 conftest
$ac_exeext conftest.
$ac_ext
13795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13797 if test `eval echo '${'$as_ac_var'}'` = yes; then
13798 cat >>confdefs.h
<<_ACEOF
13799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13805 echo "$as_me:$LINENO: checking for working mktime" >&5
13806 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
13807 if test "${ac_cv_func_working_mktime+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 if test "$cross_compiling" = yes; then
13811 ac_cv_func_working_mktime
=no
13813 cat >conftest.
$ac_ext <<_ACEOF
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 /* Test program from Paul Eggert and Tony Leneis. */
13820 #if TIME_WITH_SYS_TIME
13821 # include <sys/time.h>
13824 # if HAVE_SYS_TIME_H
13825 # include <sys/time.h>
13832 # include <stdlib.h>
13836 # include <unistd.h>
13840 # define alarm(X) /* empty */
13843 /* Work around redefinition to rpl_putenv by other config tests. */
13846 static time_t time_t_max;
13847 static time_t time_t_min;
13849 /* Values we'll use to set the TZ environment variable. */
13850 static char *tz_strings[] = {
13851 (char *) 0, "TZ=GMT0", "TZ=JST-9",
13852 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
13854 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
13856 /* Fail if mktime fails to convert a date in the spring-forward gap.
13857 Based on a problem report from Andreas Jaeger. */
13859 spring_forward_gap ()
13861 /* glibc (up to about 1998-10-07) failed this test. */
13864 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
13865 instead of "TZ=America/Vancouver" in order to detect the bug even
13866 on systems that don't support the Olson extension, or don't have the
13867 full zoneinfo tables installed. */
13868 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
13877 if (mktime (&tm) == (time_t)-1)
13886 if ((lt = localtime (&now)) && mktime (lt) != now)
13894 mktime_test1 (now);
13895 mktime_test1 ((time_t) (time_t_max - now));
13896 mktime_test1 ((time_t) (time_t_min + now));
13902 /* Based on code from Ariel Faigon. */
13912 if (tm.tm_mon != 2 || tm.tm_mday != 31)
13922 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
13923 now = mktime (&tm);
13924 if (now != (time_t) -1)
13926 struct tm *lt = localtime (&now);
13928 && lt->tm_year == tm.tm_year
13929 && lt->tm_mon == tm.tm_mon
13930 && lt->tm_mday == tm.tm_mday
13931 && lt->tm_hour == tm.tm_hour
13932 && lt->tm_min == tm.tm_min
13933 && lt->tm_sec == tm.tm_sec
13934 && lt->tm_yday == tm.tm_yday
13935 && lt->tm_wday == tm.tm_wday
13936 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
13937 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
13948 /* This test makes some buggy mktime implementations loop.
13949 Give up after 60 seconds; a mktime slower than that
13950 isn't worth using anyway. */
13953 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
13956 if ((time_t) -1 < 0)
13957 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
13959 delta = time_t_max / 997; /* a suitable prime number */
13960 for (i = 0; i < N_STRINGS; i++)
13963 putenv (tz_strings[i]);
13965 for (t = 0; t <= time_t_max - delta; t += delta)
13967 mktime_test ((time_t) 1);
13968 mktime_test ((time_t) (60 * 60));
13969 mktime_test ((time_t) (60 * 60 * 24));
13971 for (j = 1; 0 < j; j *= 2)
13973 bigtime_test (j - 1);
13976 spring_forward_gap ();
13980 rm -f conftest
$ac_exeext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13982 (eval $ac_link) 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; }; then
13991 ac_cv_func_working_mktime
=yes
13993 echo "$as_me: program exited with status $ac_status" >&5
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.
$ac_ext >&5
13997 ( exit $ac_status )
13998 ac_cv_func_working_mktime
=no
14000 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14003 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14004 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14005 if test $ac_cv_func_working_mktime = no
; then
14007 "mktime.$ac_objext" | \
14008 *" mktime.$ac_objext" | \
14009 "mktime.$ac_objext "* | \
14010 *" mktime.$ac_objext "* ) ;;
14011 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14016 if test "$ac_cv_func_working_mktime" = no
; then
14018 cat >>confdefs.h
<<\_ACEOF
14019 #define BROKEN_MKTIME 1
14024 ac_have_func
=no
# yes means we've found a way to get the load average.
14026 # Make sure getloadavg.c is where it belongs, at configure-time.
14027 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14028 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14029 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14030 { (exit 1); exit 1; }; }
14034 # Check for getloadavg, but be sure not to touch the cache variable.
14035 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14036 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14037 if test "${ac_cv_func_getloadavg+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 cat >conftest.
$ac_ext <<_ACEOF
14043 cat confdefs.h
>>conftest.
$ac_ext
14044 cat >>conftest.
$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14048 #define getloadavg innocuous_getloadavg
14050 /* System header to define __stub macros and hopefully few prototypes,
14051 which can conflict with char getloadavg (); below.
14052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14053 <limits.h> exists even on freestanding compilers. */
14056 # include <limits.h>
14058 # include <assert.h>
14063 /* Override any gcc2 internal prototype to avoid an error. */
14068 /* We use char because int might match the return type of a gcc2
14069 builtin and then its argument prototype would still apply. */
14070 char getloadavg ();
14071 /* The GNU C library defines this for functions which it implements
14072 to always fail with ENOSYS. Some functions are actually named
14073 something starting with __ and the normal name is an alias. */
14074 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14077 char (*f) () = getloadavg;
14086 return f != getloadavg;
14091 rm -f conftest.
$ac_objext conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14095 grep -v '^ *+' conftest.er1
>conftest.err
14097 cat conftest.err
>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try
='test -z "$ac_c_werror_flag"
14101 || test ! -s conftest.err'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try
='test -s conftest$ac_exeext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 ac_cv_func_getloadavg
=yes
14115 echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.
$ac_ext >&5
14118 ac_cv_func_getloadavg
=no
14120 rm -f conftest.err conftest.
$ac_objext \
14121 conftest
$ac_exeext conftest.
$ac_ext
14123 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14124 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14125 if test $ac_cv_func_getloadavg = yes; then
14130 ) && ac_have_func
=yes
14132 # On HPUX9, an unprivileged user can get load averages through this function.
14134 for ac_func
in pstat_getdynamic
14136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14137 echo "$as_me:$LINENO: checking for $ac_func" >&5
14138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14139 if eval "test \"\${$as_ac_var+set}\" = set"; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 cat >conftest.
$ac_ext <<_ACEOF
14145 cat confdefs.h
>>conftest.
$ac_ext
14146 cat >>conftest.
$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14150 #define $ac_func innocuous_$ac_func
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char $ac_func (); below.
14154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14155 <limits.h> exists even on freestanding compilers. */
14158 # include <limits.h>
14160 # include <assert.h>
14165 /* Override any gcc2 internal prototype to avoid an error. */
14170 /* We use char because int might match the return type of a gcc2
14171 builtin and then its argument prototype would still apply. */
14173 /* The GNU C library defines this for functions which it implements
14174 to always fail with ENOSYS. Some functions are actually named
14175 something starting with __ and the normal name is an alias. */
14176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14179 char (*f) () = $ac_func;
14188 return f != $ac_func;
14193 rm -f conftest.
$ac_objext conftest
$ac_exeext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14195 (eval $ac_link) 2>conftest.er1
14197 grep -v '^ *+' conftest.er1
>conftest.err
14199 cat conftest.err
>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try
='test -z "$ac_c_werror_flag"
14203 || test ! -s conftest.err'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; } &&
14209 { ac_try
='test -s conftest$ac_exeext'
14210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211 (eval $ac_try) 2>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; }; then
14215 eval "$as_ac_var=yes"
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.
$ac_ext >&5
14220 eval "$as_ac_var=no"
14222 rm -f conftest.err conftest.
$ac_objext \
14223 conftest
$ac_exeext conftest.
$ac_ext
14225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14227 if test `eval echo '${'$as_ac_var'}'` = yes; then
14228 cat >>confdefs.h
<<_ACEOF
14229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14236 # Solaris has libkstat which does not require root.
14238 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14239 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14240 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 ac_check_lib_save_LIBS
=$LIBS
14244 LIBS
="-lkstat $LIBS"
14245 cat >conftest.
$ac_ext <<_ACEOF
14248 cat confdefs.h
>>conftest.
$ac_ext
14249 cat >>conftest.
$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14252 /* Override any gcc2 internal prototype to avoid an error. */
14256 /* We use char because int might match the return type of a gcc2
14257 builtin and then its argument prototype would still apply. */
14258 char kstat_open ();
14267 rm -f conftest.
$ac_objext conftest
$ac_exeext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14269 (eval $ac_link) 2>conftest.er1
14271 grep -v '^ *+' conftest.er1
>conftest.err
14273 cat conftest.err
>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try
='test -z "$ac_c_werror_flag"
14277 || test ! -s conftest.err'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; } &&
14283 { ac_try
='test -s conftest$ac_exeext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14289 ac_cv_lib_kstat_kstat_open
=yes
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.
$ac_ext >&5
14294 ac_cv_lib_kstat_kstat_open
=no
14296 rm -f conftest.err conftest.
$ac_objext \
14297 conftest
$ac_exeext conftest.
$ac_ext
14298 LIBS
=$ac_check_lib_save_LIBS
14300 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14301 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14302 if test $ac_cv_lib_kstat_kstat_open = yes; then
14303 cat >>confdefs.h
<<_ACEOF
14304 #define HAVE_LIBKSTAT 1
14307 LIBS
="-lkstat $LIBS"
14311 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14313 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14314 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14315 # to get the right answer into the cache.
14316 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14317 if test $ac_have_func = no
; then
14318 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
14319 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
14320 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 ac_check_lib_save_LIBS
=$LIBS
14325 cat >conftest.
$ac_ext <<_ACEOF
14328 cat confdefs.h
>>conftest.
$ac_ext
14329 cat >>conftest.
$ac_ext <<_ACEOF
14330 /* end confdefs.h. */
14332 /* Override any gcc2 internal prototype to avoid an error. */
14336 /* We use char because int might match the return type of a gcc2
14337 builtin and then its argument prototype would still apply. */
14347 rm -f conftest.
$ac_objext conftest
$ac_exeext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14349 (eval $ac_link) 2>conftest.er1
14351 grep -v '^ *+' conftest.er1
>conftest.err
14353 cat conftest.err
>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try
='test -z "$ac_c_werror_flag"
14357 || test ! -s conftest.err'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try
='test -s conftest$ac_exeext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_cv_lib_elf_elf_begin
=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.
$ac_ext >&5
14374 ac_cv_lib_elf_elf_begin
=no
14376 rm -f conftest.err conftest.
$ac_objext \
14377 conftest
$ac_exeext conftest.
$ac_ext
14378 LIBS
=$ac_check_lib_save_LIBS
14380 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
14381 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
14382 if test $ac_cv_lib_elf_elf_begin = yes; then
14387 if test $ac_have_func = no
; then
14388 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
14389 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
14390 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 ac_check_lib_save_LIBS
=$LIBS
14395 cat >conftest.
$ac_ext <<_ACEOF
14398 cat confdefs.h
>>conftest.
$ac_ext
14399 cat >>conftest.
$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14402 /* Override any gcc2 internal prototype to avoid an error. */
14406 /* We use char because int might match the return type of a gcc2
14407 builtin and then its argument prototype would still apply. */
14417 rm -f conftest.
$ac_objext conftest
$ac_exeext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14419 (eval $ac_link) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_c_werror_flag"
14427 || test ! -s conftest.err'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; } &&
14433 { ac_try
='test -s conftest$ac_exeext'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 ac_cv_lib_kvm_kvm_open
=yes
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.
$ac_ext >&5
14444 ac_cv_lib_kvm_kvm_open
=no
14446 rm -f conftest.err conftest.
$ac_objext \
14447 conftest
$ac_exeext conftest.
$ac_ext
14448 LIBS
=$ac_check_lib_save_LIBS
14450 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
14451 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
14452 if test $ac_cv_lib_kvm_kvm_open = yes; then
14456 # Check for the 4.4BSD definition of getloadavg.
14457 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
14458 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
14459 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 ac_check_lib_save_LIBS
=$LIBS
14463 LIBS
="-lutil $LIBS"
14464 cat >conftest.
$ac_ext <<_ACEOF
14467 cat confdefs.h
>>conftest.
$ac_ext
14468 cat >>conftest.
$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14471 /* Override any gcc2 internal prototype to avoid an error. */
14475 /* We use char because int might match the return type of a gcc2
14476 builtin and then its argument prototype would still apply. */
14477 char getloadavg ();
14486 rm -f conftest.
$ac_objext conftest
$ac_exeext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14488 (eval $ac_link) 2>conftest.er1
14490 grep -v '^ *+' conftest.er1
>conftest.err
14492 cat conftest.err
>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try
='test -z "$ac_c_werror_flag"
14496 || test ! -s conftest.err'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; } &&
14502 { ac_try
='test -s conftest$ac_exeext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14508 ac_cv_lib_util_getloadavg
=yes
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.
$ac_ext >&5
14513 ac_cv_lib_util_getloadavg
=no
14515 rm -f conftest.err conftest.
$ac_objext \
14516 conftest
$ac_exeext conftest.
$ac_ext
14517 LIBS
=$ac_check_lib_save_LIBS
14519 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
14520 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
14521 if test $ac_cv_lib_util_getloadavg = yes; then
14522 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
14527 if test $ac_have_func = no
; then
14528 # There is a commonly available library for RS/6000 AIX.
14529 # Since it is not a standard part of AIX, it might be installed locally.
14530 ac_getloadavg_LIBS
=$LIBS
14531 LIBS
="-L/usr/local/lib $LIBS"
14532 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
14533 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
14534 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 ac_check_lib_save_LIBS
=$LIBS
14538 LIBS
="-lgetloadavg $LIBS"
14539 cat >conftest.
$ac_ext <<_ACEOF
14542 cat confdefs.h
>>conftest.
$ac_ext
14543 cat >>conftest.
$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14546 /* Override any gcc2 internal prototype to avoid an error. */
14550 /* We use char because int might match the return type of a gcc2
14551 builtin and then its argument prototype would still apply. */
14552 char getloadavg ();
14561 rm -f conftest.
$ac_objext conftest
$ac_exeext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14563 (eval $ac_link) 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_c_werror_flag"
14571 || test ! -s conftest.err'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try
='test -s conftest$ac_exeext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14583 ac_cv_lib_getloadavg_getloadavg
=yes
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.
$ac_ext >&5
14588 ac_cv_lib_getloadavg_getloadavg
=no
14590 rm -f conftest.err conftest.
$ac_objext \
14591 conftest
$ac_exeext conftest.
$ac_ext
14592 LIBS
=$ac_check_lib_save_LIBS
14594 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
14595 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
14596 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
14597 LIBS
="-lgetloadavg $LIBS"
14599 LIBS
=$ac_getloadavg_LIBS
14604 # Make sure it is really in the library, if we think we found it,
14605 # otherwise set up the replacement function.
14607 for ac_func
in getloadavg
14609 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14610 echo "$as_me:$LINENO: checking for $ac_func" >&5
14611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14612 if eval "test \"\${$as_ac_var+set}\" = set"; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 cat >conftest.
$ac_ext <<_ACEOF
14618 cat confdefs.h
>>conftest.
$ac_ext
14619 cat >>conftest.
$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14623 #define $ac_func innocuous_$ac_func
14625 /* System header to define __stub macros and hopefully few prototypes,
14626 which can conflict with char $ac_func (); below.
14627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14628 <limits.h> exists even on freestanding compilers. */
14631 # include <limits.h>
14633 # include <assert.h>
14638 /* Override any gcc2 internal prototype to avoid an error. */
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14646 /* The GNU C library defines this for functions which it implements
14647 to always fail with ENOSYS. Some functions are actually named
14648 something starting with __ and the normal name is an alias. */
14649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14652 char (*f) () = $ac_func;
14661 return f != $ac_func;
14666 rm -f conftest.
$ac_objext conftest
$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>conftest.er1
14670 grep -v '^ *+' conftest.er1
>conftest.err
14672 cat conftest.err
>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try
='test -z "$ac_c_werror_flag"
14676 || test ! -s conftest.err'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try
='test -s conftest$ac_exeext'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14688 eval "$as_ac_var=yes"
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14693 eval "$as_ac_var=no"
14695 rm -f conftest.err conftest.
$ac_objext \
14696 conftest
$ac_exeext conftest.
$ac_ext
14698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14700 if test `eval echo '${'$as_ac_var'}'` = yes; then
14701 cat >>confdefs.h
<<_ACEOF
14702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14707 "getloadavg.$ac_objext" | \
14708 *" getloadavg.$ac_objext" | \
14709 "getloadavg.$ac_objext "* | \
14710 *" getloadavg.$ac_objext "* ) ;;
14711 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
14715 cat >>confdefs.h
<<\_ACEOF
14716 #define C_GETLOADAVG 1
14719 # Figure out what our getloadavg.c needs.
14721 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14722 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
14723 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
14724 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
14728 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
14730 # Is the header compilable?
14731 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
14732 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
14733 cat >conftest.
$ac_ext <<_ACEOF
14736 cat confdefs.h
>>conftest.
$ac_ext
14737 cat >>conftest.
$ac_ext <<_ACEOF
14738 /* end confdefs.h. */
14739 $ac_includes_default
14740 #include <sys/dg_sys_info.h>
14742 rm -f conftest.
$ac_objext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>conftest.er1
14746 grep -v '^ *+' conftest.er1
>conftest.err
14748 cat conftest.err
>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } &&
14751 { ac_try
='test -z "$ac_c_werror_flag"
14752 || test ! -s conftest.err'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; } &&
14758 { ac_try
='test -s conftest.$ac_objext'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; }; then
14764 ac_header_compiler
=yes
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.
$ac_ext >&5
14769 ac_header_compiler
=no
14771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14773 echo "${ECHO_T}$ac_header_compiler" >&6
14775 # Is the header present?
14776 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
14777 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
14778 cat >conftest.
$ac_ext <<_ACEOF
14781 cat confdefs.h
>>conftest.
$ac_ext
14782 cat >>conftest.
$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14784 #include <sys/dg_sys_info.h>
14786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14789 grep -v '^ *+' conftest.er1
>conftest.err
14791 cat conftest.err
>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } >/dev
/null
; then
14794 if test -s conftest.err
; then
14795 ac_cpp_err
=$ac_c_preproc_warn_flag
14796 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14803 if test -z "$ac_cpp_err"; then
14804 ac_header_preproc
=yes
14806 echo "$as_me: failed program was:" >&5
14807 sed 's/^/| /' conftest.
$ac_ext >&5
14809 ac_header_preproc
=no
14811 rm -f conftest.err conftest.
$ac_ext
14812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14813 echo "${ECHO_T}$ac_header_preproc" >&6
14815 # So? What about this header?
14816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14818 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
14819 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
14821 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
14822 ac_header_preproc
=yes
14825 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
14826 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
14827 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
14828 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
14829 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
14830 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
14831 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
14832 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
14833 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
14834 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
14835 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
14836 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
14839 ## ------------------------------------------ ##
14840 ## Report this to the AC_PACKAGE_NAME lists. ##
14841 ## ------------------------------------------ ##
14844 sed "s/^/$as_me: WARNING: /" >&2
14847 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
14848 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
14849 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
14854 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
14855 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
14858 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
14861 cat >>confdefs.h
<<\_ACEOF
14866 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
14867 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
14868 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 ac_check_lib_save_LIBS
=$LIBS
14873 cat >conftest.
$ac_ext <<_ACEOF
14876 cat confdefs.h
>>conftest.
$ac_ext
14877 cat >>conftest.
$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14880 /* Override any gcc2 internal prototype to avoid an error. */
14884 /* We use char because int might match the return type of a gcc2
14885 builtin and then its argument prototype would still apply. */
14886 char dg_sys_info ();
14895 rm -f conftest.
$ac_objext conftest
$ac_exeext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14897 (eval $ac_link) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag"
14905 || test ! -s conftest.err'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try
='test -s conftest$ac_exeext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14917 ac_cv_lib_dgc_dg_sys_info
=yes
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 ac_cv_lib_dgc_dg_sys_info
=no
14924 rm -f conftest.err conftest.
$ac_objext \
14925 conftest
$ac_exeext conftest.
$ac_ext
14926 LIBS
=$ac_check_lib_save_LIBS
14928 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
14929 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
14930 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
14931 cat >>confdefs.h
<<_ACEOF
14932 #define HAVE_LIBDGC 1
14943 if test "${ac_cv_header_locale_h+set}" = set; then
14944 echo "$as_me:$LINENO: checking for locale.h" >&5
14945 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
14946 if test "${ac_cv_header_locale_h+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
14950 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
14952 # Is the header compilable?
14953 echo "$as_me:$LINENO: checking locale.h usability" >&5
14954 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14962 #include <locale.h>
14964 rm -f conftest.
$ac_objext
14965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14966 (eval $ac_compile) 2>conftest.er1
14968 grep -v '^ *+' conftest.er1
>conftest.err
14970 cat conftest.err
>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } &&
14973 { ac_try
='test -z "$ac_c_werror_flag"
14974 || test ! -s conftest.err'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; } &&
14980 { ac_try
='test -s conftest.$ac_objext'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14986 ac_header_compiler
=yes
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.
$ac_ext >&5
14991 ac_header_compiler
=no
14993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14995 echo "${ECHO_T}$ac_header_compiler" >&6
14997 # Is the header present?
14998 echo "$as_me:$LINENO: checking locale.h presence" >&5
14999 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15000 cat >conftest.
$ac_ext <<_ACEOF
15003 cat confdefs.h
>>conftest.
$ac_ext
15004 cat >>conftest.
$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006 #include <locale.h>
15008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15011 grep -v '^ *+' conftest.er1
>conftest.err
15013 cat conftest.err
>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } >/dev
/null
; then
15016 if test -s conftest.err
; then
15017 ac_cpp_err
=$ac_c_preproc_warn_flag
15018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15025 if test -z "$ac_cpp_err"; then
15026 ac_header_preproc
=yes
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.
$ac_ext >&5
15031 ac_header_preproc
=no
15033 rm -f conftest.err conftest.
$ac_ext
15034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15035 echo "${ECHO_T}$ac_header_preproc" >&6
15037 # So? What about this header?
15038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15040 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15041 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15042 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15043 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15044 ac_header_preproc
=yes
15047 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15048 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15049 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15050 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15051 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15052 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15053 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15054 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15055 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15056 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15057 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15058 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15061 ## ------------------------------------------ ##
15062 ## Report this to the AC_PACKAGE_NAME lists. ##
15063 ## ------------------------------------------ ##
15066 sed "s/^/$as_me: WARNING: /" >&2
15069 echo "$as_me:$LINENO: checking for locale.h" >&5
15070 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15071 if test "${ac_cv_header_locale_h+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 ac_cv_header_locale_h
=$ac_header_preproc
15076 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15077 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15083 for ac_func
in setlocale
15085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15086 echo "$as_me:$LINENO: checking for $ac_func" >&5
15087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15088 if eval "test \"\${$as_ac_var+set}\" = set"; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15099 #define $ac_func innocuous_$ac_func
15101 /* System header to define __stub macros and hopefully few prototypes,
15102 which can conflict with char $ac_func (); below.
15103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15104 <limits.h> exists even on freestanding compilers. */
15107 # include <limits.h>
15109 # include <assert.h>
15114 /* Override any gcc2 internal prototype to avoid an error. */
15119 /* We use char because int might match the return type of a gcc2
15120 builtin and then its argument prototype would still apply. */
15122 /* The GNU C library defines this for functions which it implements
15123 to always fail with ENOSYS. Some functions are actually named
15124 something starting with __ and the normal name is an alias. */
15125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15128 char (*f) () = $ac_func;
15137 return f != $ac_func;
15142 rm -f conftest.
$ac_objext conftest
$ac_exeext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15144 (eval $ac_link) 2>conftest.er1
15146 grep -v '^ *+' conftest.er1
>conftest.err
15148 cat conftest.err
>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } &&
15151 { ac_try
='test -z "$ac_c_werror_flag"
15152 || test ! -s conftest.err'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; } &&
15158 { ac_try
='test -s conftest$ac_exeext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15164 eval "$as_ac_var=yes"
15166 echo "$as_me: failed program was:" >&5
15167 sed 's/^/| /' conftest.
$ac_ext >&5
15169 eval "$as_ac_var=no"
15171 rm -f conftest.err conftest.
$ac_objext \
15172 conftest
$ac_exeext conftest.
$ac_ext
15174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15176 if test `eval echo '${'$as_ac_var'}'` = yes; then
15177 cat >>confdefs.h
<<_ACEOF
15178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15185 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15186 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15187 # Irix 4.0.5F has the header but not the library.
15188 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15191 cat >>confdefs.h
<<\_ACEOF
15197 if test $ac_have_func = no
; then
15198 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15199 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15200 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15201 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15204 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15205 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15207 # Is the header compilable?
15208 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15209 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15210 cat >conftest.
$ac_ext <<_ACEOF
15213 cat confdefs.h
>>conftest.
$ac_ext
15214 cat >>conftest.
$ac_ext <<_ACEOF
15215 /* end confdefs.h. */
15216 $ac_includes_default
15217 #include <inq_stats/cpustats.h>
15219 rm -f conftest.
$ac_objext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15221 (eval $ac_compile) 2>conftest.er1
15223 grep -v '^ *+' conftest.er1
>conftest.err
15225 cat conftest.err
>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try
='test -z "$ac_c_werror_flag"
15229 || test ! -s conftest.err'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; } &&
15235 { ac_try
='test -s conftest.$ac_objext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_header_compiler
=yes
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.
$ac_ext >&5
15246 ac_header_compiler
=no
15248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15250 echo "${ECHO_T}$ac_header_compiler" >&6
15252 # Is the header present?
15253 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15254 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15255 cat >conftest.
$ac_ext <<_ACEOF
15258 cat confdefs.h
>>conftest.
$ac_ext
15259 cat >>conftest.
$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261 #include <inq_stats/cpustats.h>
15263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15266 grep -v '^ *+' conftest.er1
>conftest.err
15268 cat conftest.err
>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } >/dev
/null
; then
15271 if test -s conftest.err
; then
15272 ac_cpp_err
=$ac_c_preproc_warn_flag
15273 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15280 if test -z "$ac_cpp_err"; then
15281 ac_header_preproc
=yes
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.
$ac_ext >&5
15286 ac_header_preproc
=no
15288 rm -f conftest.err conftest.
$ac_ext
15289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15290 echo "${ECHO_T}$ac_header_preproc" >&6
15292 # So? What about this header?
15293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15295 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15296 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15297 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15298 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15299 ac_header_preproc
=yes
15302 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15303 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15304 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15305 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15307 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15309 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15310 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15311 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15312 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15313 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15316 ## ------------------------------------------ ##
15317 ## Report this to the AC_PACKAGE_NAME lists. ##
15318 ## ------------------------------------------ ##
15321 sed "s/^/$as_me: WARNING: /" >&2
15324 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15325 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15326 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
15331 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15332 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15335 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
15338 cat >>confdefs.h
<<\_ACEOF
15343 cat >>confdefs.h
<<\_ACEOF
15352 if test $ac_have_func = no
; then
15353 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15354 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
15355 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
15356 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
15360 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
15362 # Is the header compilable?
15363 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
15364 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
15365 cat >conftest.
$ac_ext <<_ACEOF
15368 cat confdefs.h
>>conftest.
$ac_ext
15369 cat >>conftest.
$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 $ac_includes_default
15372 #include <sys/cpustats.h>
15374 rm -f conftest.
$ac_objext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15376 (eval $ac_compile) 2>conftest.er1
15378 grep -v '^ *+' conftest.er1
>conftest.err
15380 cat conftest.err
>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } &&
15383 { ac_try
='test -z "$ac_c_werror_flag"
15384 || test ! -s conftest.err'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; } &&
15390 { ac_try
='test -s conftest.$ac_objext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_header_compiler
=yes
15398 echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.
$ac_ext >&5
15401 ac_header_compiler
=no
15403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15405 echo "${ECHO_T}$ac_header_compiler" >&6
15407 # Is the header present?
15408 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
15409 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
15410 cat >conftest.
$ac_ext <<_ACEOF
15413 cat confdefs.h
>>conftest.
$ac_ext
15414 cat >>conftest.
$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416 #include <sys/cpustats.h>
15418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15421 grep -v '^ *+' conftest.er1
>conftest.err
15423 cat conftest.err
>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } >/dev
/null
; then
15426 if test -s conftest.err
; then
15427 ac_cpp_err
=$ac_c_preproc_warn_flag
15428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15435 if test -z "$ac_cpp_err"; then
15436 ac_header_preproc
=yes
15438 echo "$as_me: failed program was:" >&5
15439 sed 's/^/| /' conftest.
$ac_ext >&5
15441 ac_header_preproc
=no
15443 rm -f conftest.err conftest.
$ac_ext
15444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15445 echo "${ECHO_T}$ac_header_preproc" >&6
15447 # So? What about this header?
15448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15450 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15451 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15452 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
15453 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
15454 ac_header_preproc
=yes
15457 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
15458 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
15459 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
15460 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
15461 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
15462 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
15463 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15464 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15465 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
15466 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
15467 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
15468 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
15471 ## ------------------------------------------ ##
15472 ## Report this to the AC_PACKAGE_NAME lists. ##
15473 ## ------------------------------------------ ##
15476 sed "s/^/$as_me: WARNING: /" >&2
15479 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
15480 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
15481 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
15486 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
15487 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
15490 if test $ac_cv_header_sys_cpustats_h = yes; then
15491 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
15500 if test $ac_have_func = no
; then
15502 for ac_header
in mach
/mach.h
15504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15506 echo "$as_me:$LINENO: checking for $ac_header" >&5
15507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15514 # Is the header compilable?
15515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15517 cat >conftest.
$ac_ext <<_ACEOF
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 #include <$ac_header>
15526 rm -f conftest.
$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>conftest.er1
15530 grep -v '^ *+' conftest.er1
>conftest.err
15532 cat conftest.err
>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try
='test -z "$ac_c_werror_flag"
15536 || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try
='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_header_compiler
=yes
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 ac_header_compiler
=no
15555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15557 echo "${ECHO_T}$ac_header_compiler" >&6
15559 # Is the header present?
15560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 #include <$ac_header>
15570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15573 grep -v '^ *+' conftest.er1
>conftest.err
15575 cat conftest.err
>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } >/dev
/null
; then
15578 if test -s conftest.err
; then
15579 ac_cpp_err
=$ac_c_preproc_warn_flag
15580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15587 if test -z "$ac_cpp_err"; then
15588 ac_header_preproc
=yes
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.
$ac_ext >&5
15593 ac_header_preproc
=no
15595 rm -f conftest.err conftest.
$ac_ext
15596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15597 echo "${ECHO_T}$ac_header_preproc" >&6
15599 # So? What about this header?
15600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15606 ac_header_preproc
=yes
15609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15623 ## ------------------------------------------ ##
15624 ## Report this to the AC_PACKAGE_NAME lists. ##
15625 ## ------------------------------------------ ##
15628 sed "s/^/$as_me: WARNING: /" >&2
15631 echo "$as_me:$LINENO: checking for $ac_header" >&5
15632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 eval "$as_ac_Header=\$ac_header_preproc"
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15643 cat >>confdefs.h
<<_ACEOF
15644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15654 for ac_header
in nlist.h
15656 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15658 echo "$as_me:$LINENO: checking for $ac_header" >&5
15659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15666 # Is the header compilable?
15667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15669 cat >conftest.
$ac_ext <<_ACEOF
15672 cat confdefs.h
>>conftest.
$ac_ext
15673 cat >>conftest.
$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675 $ac_includes_default
15676 #include <$ac_header>
15678 rm -f conftest.
$ac_objext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15680 (eval $ac_compile) 2>conftest.er1
15682 grep -v '^ *+' conftest.er1
>conftest.err
15684 cat conftest.err
>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } &&
15687 { ac_try
='test -z "$ac_c_werror_flag"
15688 || test ! -s conftest.err'
15689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 (eval $ac_try) 2>&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; } &&
15694 { ac_try
='test -s conftest.$ac_objext'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15700 ac_header_compiler
=yes
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.
$ac_ext >&5
15705 ac_header_compiler
=no
15707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15709 echo "${ECHO_T}$ac_header_compiler" >&6
15711 # Is the header present?
15712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15714 cat >conftest.
$ac_ext <<_ACEOF
15717 cat confdefs.h
>>conftest.
$ac_ext
15718 cat >>conftest.
$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720 #include <$ac_header>
15722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1
>conftest.err
15727 cat conftest.err
>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } >/dev
/null
; then
15730 if test -s conftest.err
; then
15731 ac_cpp_err
=$ac_c_preproc_warn_flag
15732 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15739 if test -z "$ac_cpp_err"; then
15740 ac_header_preproc
=yes
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.
$ac_ext >&5
15745 ac_header_preproc
=no
15747 rm -f conftest.err conftest.
$ac_ext
15748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15749 echo "${ECHO_T}$ac_header_preproc" >&6
15751 # So? What about this header?
15752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15758 ac_header_preproc
=yes
15761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15775 ## ------------------------------------------ ##
15776 ## Report this to the AC_PACKAGE_NAME lists. ##
15777 ## ------------------------------------------ ##
15780 sed "s/^/$as_me: WARNING: /" >&2
15783 echo "$as_me:$LINENO: checking for $ac_header" >&5
15784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15788 eval "$as_ac_Header=\$ac_header_preproc"
15790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15795 cat >>confdefs.h
<<_ACEOF
15796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15798 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
15799 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
15800 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 cat >conftest.
$ac_ext <<_ACEOF
15806 cat confdefs.h
>>conftest.
$ac_ext
15807 cat >>conftest.
$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15814 static struct nlist ac_aggr;
15815 if (ac_aggr.n_un.n_name)
15821 rm -f conftest.
$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>conftest.er1
15825 grep -v '^ *+' conftest.er1
>conftest.err
15827 cat conftest.err
>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try
='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try
='test -s conftest.$ac_objext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_member_struct_nlist_n_un_n_name
=yes
15845 echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.
$ac_ext >&5
15848 cat >conftest.
$ac_ext <<_ACEOF
15851 cat confdefs.h
>>conftest.
$ac_ext
15852 cat >>conftest.
$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15859 static struct nlist ac_aggr;
15860 if (sizeof ac_aggr.n_un.n_name)
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag"
15876 || test ! -s conftest.err'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; } &&
15882 { ac_try
='test -s conftest.$ac_objext'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; }; then
15888 ac_cv_member_struct_nlist_n_un_n_name
=yes
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.
$ac_ext >&5
15893 ac_cv_member_struct_nlist_n_un_n_name
=no
15895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15899 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
15900 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
15901 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
15903 cat >>confdefs.h
<<_ACEOF
15904 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
15908 cat >>confdefs.h
<<\_ACEOF
15909 #define NLIST_NAME_UNION 1
15923 # Some definitions of getloadavg require that the program be installed setgid.
15924 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
15925 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
15926 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 cat >conftest.
$ac_ext <<_ACEOF
15932 cat confdefs.h
>>conftest.
$ac_ext
15933 cat >>conftest.
$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
15936 #ifdef LDAV_PRIVILEGED
15937 Yowza Am I SETGID yet
15940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15941 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
15942 ac_cv_func_getloadavg_setgid
=yes
15944 ac_cv_func_getloadavg_setgid
=no
15949 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
15950 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
15951 if test $ac_cv_func_getloadavg_setgid = yes; then
15954 cat >>confdefs.h
<<\_ACEOF
15955 #define GETLOADAVG_PRIVILEGED 1
15962 if test $ac_cv_func_getloadavg_setgid = yes; then
15963 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
15964 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
15965 if test "${ac_cv_group_kmem+set}" = set; then
15966 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
15969 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
15970 # If we got an error (system does not support symlinks), try without -L.
15971 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
15972 ac_cv_group_kmem
=`echo $ac_ls_output \
15973 | sed -ne 's/[ ][ ]*/ /g;
15974 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
15978 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
15979 echo "${ECHO_T}$ac_cv_group_kmem" >&6
15980 KMEM_GROUP
=$ac_cv_group_kmem
15982 if test "x$ac_save_LIBS" = x
; then
15983 GETLOADAVG_LIBS
=$LIBS
15985 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
15991 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
15992 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
15993 if test "${ac_cv_sys_largefile_source+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15997 ac_cv_sys_largefile_source
=no
15998 cat >conftest.
$ac_ext <<_ACEOF
16001 cat confdefs.h
>>conftest.
$ac_ext
16002 cat >>conftest.
$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16013 rm -f conftest.
$ac_objext
16014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16015 (eval $ac_compile) 2>conftest.er1
16017 grep -v '^ *+' conftest.er1
>conftest.err
16019 cat conftest.err
>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } &&
16022 { ac_try
='test -z "$ac_c_werror_flag"
16023 || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16042 cat >conftest.
$ac_ext <<_ACEOF
16045 cat confdefs.h
>>conftest.
$ac_ext
16046 cat >>conftest.
$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 #define _LARGEFILE_SOURCE 1
16058 rm -f conftest.
$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>conftest.er1
16062 grep -v '^ *+' conftest.er1
>conftest.err
16064 cat conftest.err
>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try
='test -z "$ac_c_werror_flag"
16068 || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try
='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16080 ac_cv_sys_largefile_source
=1; break
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.
$ac_ext >&5
16086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16090 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16091 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16092 if test "$ac_cv_sys_largefile_source" != no
; then
16094 cat >>confdefs.h
<<_ACEOF
16095 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16101 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16102 # in glibc 2.1.3, but that breaks too many other things.
16103 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16104 echo "$as_me:$LINENO: checking for fseeko" >&5
16105 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16106 if test "${ac_cv_func_fseeko+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16119 return fseeko && fseeko (stdin, 0, 0);
16124 rm -f conftest.
$ac_objext conftest
$ac_exeext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16126 (eval $ac_link) 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try
='test -z "$ac_c_werror_flag"
16134 || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try
='test -s conftest$ac_exeext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_cv_func_fseeko
=yes
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.
$ac_ext >&5
16151 ac_cv_func_fseeko
=no
16153 rm -f conftest.err conftest.
$ac_objext \
16154 conftest
$ac_exeext conftest.
$ac_ext
16156 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16157 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16158 if test $ac_cv_func_fseeko = yes; then
16160 cat >>confdefs.h
<<\_ACEOF
16161 #define HAVE_FSEEKO 1
16167 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16168 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16169 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 # Use it with a single arg.
16173 cat >conftest.
$ac_ext <<_ACEOF
16176 cat confdefs.h
>>conftest.
$ac_ext
16177 cat >>conftest.
$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16188 rm -f conftest.
$ac_objext
16189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16190 (eval $ac_compile) 2>conftest.er1
16192 grep -v '^ *+' conftest.er1
>conftest.err
16194 cat conftest.err
>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } &&
16197 { ac_try
='test -z "$ac_c_werror_flag"
16198 || test ! -s conftest.err'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; } &&
16204 { ac_try
='test -s conftest.$ac_objext'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; }; then
16210 ac_cv_func_getpgrp_void
=no
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ac_cv_func_getpgrp_void
=yes
16217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16220 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16221 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16222 if test $ac_cv_func_getpgrp_void = yes; then
16224 cat >>confdefs.h
<<\_ACEOF
16225 #define GETPGRP_VOID 1
16232 for ac_func
in strftime
16234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16235 echo "$as_me:$LINENO: checking for $ac_func" >&5
16236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16237 if eval "test \"\${$as_ac_var+set}\" = set"; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 cat >conftest.
$ac_ext <<_ACEOF
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16248 #define $ac_func innocuous_$ac_func
16250 /* System header to define __stub macros and hopefully few prototypes,
16251 which can conflict with char $ac_func (); below.
16252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16253 <limits.h> exists even on freestanding compilers. */
16256 # include <limits.h>
16258 # include <assert.h>
16263 /* Override any gcc2 internal prototype to avoid an error. */
16268 /* We use char because int might match the return type of a gcc2
16269 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16277 char (*f) () = $ac_func;
16286 return f != $ac_func;
16291 rm -f conftest.
$ac_objext conftest
$ac_exeext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16293 (eval $ac_link) 2>conftest.er1
16295 grep -v '^ *+' conftest.er1
>conftest.err
16297 cat conftest.err
>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -z "$ac_c_werror_flag"
16301 || test ! -s conftest.err'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; } &&
16307 { ac_try
='test -s conftest$ac_exeext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 eval "$as_ac_var=yes"
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.
$ac_ext >&5
16318 eval "$as_ac_var=no"
16320 rm -f conftest.err conftest.
$ac_objext \
16321 conftest
$ac_exeext conftest.
$ac_ext
16323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16325 if test `eval echo '${'$as_ac_var'}'` = yes; then
16326 cat >>confdefs.h
<<_ACEOF
16327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16331 # strftime is in -lintl on SCO UNIX.
16332 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
16333 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
16334 if test "${ac_cv_lib_intl_strftime+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 ac_check_lib_save_LIBS
=$LIBS
16338 LIBS
="-lintl $LIBS"
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16346 /* Override any gcc2 internal prototype to avoid an error. */
16350 /* We use char because int might match the return type of a gcc2
16351 builtin and then its argument prototype would still apply. */
16361 rm -f conftest.
$ac_objext conftest
$ac_exeext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16363 (eval $ac_link) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try
='test -s conftest$ac_exeext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_cv_lib_intl_strftime
=yes
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.
$ac_ext >&5
16388 ac_cv_lib_intl_strftime
=no
16390 rm -f conftest.err conftest.
$ac_objext \
16391 conftest
$ac_exeext conftest.
$ac_ext
16392 LIBS
=$ac_check_lib_save_LIBS
16394 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
16395 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
16396 if test $ac_cv_lib_intl_strftime = yes; then
16397 cat >>confdefs.h
<<\_ACEOF
16398 #define HAVE_STRFTIME 1
16401 LIBS
="-lintl $LIBS"
16410 for ac_func
in grantpt
16412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16413 echo "$as_me:$LINENO: checking for $ac_func" >&5
16414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16415 if eval "test \"\${$as_ac_var+set}\" = set"; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16426 #define $ac_func innocuous_$ac_func
16428 /* System header to define __stub macros and hopefully few prototypes,
16429 which can conflict with char $ac_func (); below.
16430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16431 <limits.h> exists even on freestanding compilers. */
16434 # include <limits.h>
16436 # include <assert.h>
16441 /* Override any gcc2 internal prototype to avoid an error. */
16446 /* We use char because int might match the return type of a gcc2
16447 builtin and then its argument prototype would still apply. */
16449 /* The GNU C library defines this for functions which it implements
16450 to always fail with ENOSYS. Some functions are actually named
16451 something starting with __ and the normal name is an alias. */
16452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16455 char (*f) () = $ac_func;
16464 return f != $ac_func;
16469 rm -f conftest.
$ac_objext conftest
$ac_exeext
16470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16471 (eval $ac_link) 2>conftest.er1
16473 grep -v '^ *+' conftest.er1
>conftest.err
16475 cat conftest.err
>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try
='test -z "$ac_c_werror_flag"
16479 || test ! -s conftest.err'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; } &&
16485 { ac_try
='test -s conftest$ac_exeext'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 eval "$as_ac_var=yes"
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16496 eval "$as_ac_var=no"
16498 rm -f conftest.err conftest.
$ac_objext \
16499 conftest
$ac_exeext conftest.
$ac_ext
16501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16503 if test `eval echo '${'$as_ac_var'}'` = yes; then
16504 cat >>confdefs.h
<<_ACEOF
16505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16512 # PTY-related GNU extensions.
16514 for ac_func
in getpt
16516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16517 echo "$as_me:$LINENO: checking for $ac_func" >&5
16518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16519 if eval "test \"\${$as_ac_var+set}\" = set"; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16530 #define $ac_func innocuous_$ac_func
16532 /* System header to define __stub macros and hopefully few prototypes,
16533 which can conflict with char $ac_func (); below.
16534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16535 <limits.h> exists even on freestanding compilers. */
16538 # include <limits.h>
16540 # include <assert.h>
16545 /* Override any gcc2 internal prototype to avoid an error. */
16550 /* We use char because int might match the return type of a gcc2
16551 builtin and then its argument prototype would still apply. */
16553 /* The GNU C library defines this for functions which it implements
16554 to always fail with ENOSYS. Some functions are actually named
16555 something starting with __ and the normal name is an alias. */
16556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16559 char (*f) () = $ac_func;
16568 return f != $ac_func;
16573 rm -f conftest.
$ac_objext conftest
$ac_exeext
16574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16575 (eval $ac_link) 2>conftest.er1
16577 grep -v '^ *+' conftest.er1
>conftest.err
16579 cat conftest.err
>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } &&
16582 { ac_try
='test -z "$ac_c_werror_flag"
16583 || test ! -s conftest.err'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; } &&
16589 { ac_try
='test -s conftest$ac_exeext'
16590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16591 (eval $ac_try) 2>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); }; }; then
16595 eval "$as_ac_var=yes"
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.
$ac_ext >&5
16600 eval "$as_ac_var=no"
16602 rm -f conftest.err conftest.
$ac_objext \
16603 conftest
$ac_exeext conftest.
$ac_ext
16605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16607 if test `eval echo '${'$as_ac_var'}'` = yes; then
16608 cat >>confdefs.h
<<_ACEOF
16609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16616 # Check this now, so that we will NOT find the above functions in ncurses.
16617 # That is because we have not set up to link ncurses in lib-src.
16618 # It's better to believe a function is not available
16619 # than to expect to find it in ncurses.
16621 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
16622 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
16623 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 ac_check_lib_save_LIBS
=$LIBS
16627 LIBS
="-lncurses $LIBS"
16628 cat >conftest.
$ac_ext <<_ACEOF
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16635 /* Override any gcc2 internal prototype to avoid an error. */
16639 /* We use char because int might match the return type of a gcc2
16640 builtin and then its argument prototype would still apply. */
16650 rm -f conftest.
$ac_objext conftest
$ac_exeext
16651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16652 (eval $ac_link) 2>conftest.er1
16654 grep -v '^ *+' conftest.er1
>conftest.err
16656 cat conftest.err
>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } &&
16659 { ac_try
='test -z "$ac_c_werror_flag"
16660 || test ! -s conftest.err'
16661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16662 (eval $ac_try) 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; } &&
16666 { ac_try
='test -s conftest$ac_exeext'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; }; then
16672 ac_cv_lib_ncurses_tparm
=yes
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.
$ac_ext >&5
16677 ac_cv_lib_ncurses_tparm
=no
16679 rm -f conftest.err conftest.
$ac_objext \
16680 conftest
$ac_exeext conftest.
$ac_ext
16681 LIBS
=$ac_check_lib_save_LIBS
16683 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
16684 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
16685 if test $ac_cv_lib_ncurses_tparm = yes; then
16686 cat >>confdefs.h
<<_ACEOF
16687 #define HAVE_LIBNCURSES 1
16690 LIBS
="-lncurses $LIBS"
16695 # Do we need the Hesiod library to provide the support routines?
16696 if test "$with_hesiod" = yes ; then
16697 # Don't set $LIBS here -- see comments above.
16699 echo "$as_me:$LINENO: checking for res_send" >&5
16700 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
16701 if test "${ac_cv_func_res_send+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 cat >conftest.
$ac_ext <<_ACEOF
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
16711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16712 #define res_send innocuous_res_send
16714 /* System header to define __stub macros and hopefully few prototypes,
16715 which can conflict with char res_send (); below.
16716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16717 <limits.h> exists even on freestanding compilers. */
16720 # include <limits.h>
16722 # include <assert.h>
16727 /* Override any gcc2 internal prototype to avoid an error. */
16732 /* We use char because int might match the return type of a gcc2
16733 builtin and then its argument prototype would still apply. */
16735 /* The GNU C library defines this for functions which it implements
16736 to always fail with ENOSYS. Some functions are actually named
16737 something starting with __ and the normal name is an alias. */
16738 #if defined (__stub_res_send) || defined (__stub___res_send)
16741 char (*f) () = res_send;
16750 return f != res_send;
16755 rm -f conftest.
$ac_objext conftest
$ac_exeext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16757 (eval $ac_link) 2>conftest.er1
16759 grep -v '^ *+' conftest.er1
>conftest.err
16761 cat conftest.err
>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try
='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest$ac_exeext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_func_res_send
=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cv_func_res_send
=no
16784 rm -f conftest.err conftest.
$ac_objext \
16785 conftest
$ac_exeext conftest.
$ac_ext
16787 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
16788 echo "${ECHO_T}$ac_cv_func_res_send" >&6
16789 if test $ac_cv_func_res_send = yes; then
16792 echo "$as_me:$LINENO: checking for __res_send" >&5
16793 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
16794 if test "${ac_cv_func___res_send+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 cat >conftest.
$ac_ext <<_ACEOF
16800 cat confdefs.h
>>conftest.
$ac_ext
16801 cat >>conftest.
$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
16804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16805 #define __res_send innocuous___res_send
16807 /* System header to define __stub macros and hopefully few prototypes,
16808 which can conflict with char __res_send (); below.
16809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16810 <limits.h> exists even on freestanding compilers. */
16813 # include <limits.h>
16815 # include <assert.h>
16820 /* Override any gcc2 internal prototype to avoid an error. */
16825 /* We use char because int might match the return type of a gcc2
16826 builtin and then its argument prototype would still apply. */
16827 char __res_send ();
16828 /* The GNU C library defines this for functions which it implements
16829 to always fail with ENOSYS. Some functions are actually named
16830 something starting with __ and the normal name is an alias. */
16831 #if defined (__stub___res_send) || defined (__stub_____res_send)
16834 char (*f) () = __res_send;
16843 return f != __res_send;
16848 rm -f conftest.
$ac_objext conftest
$ac_exeext
16849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16850 (eval $ac_link) 2>conftest.er1
16852 grep -v '^ *+' conftest.er1
>conftest.err
16854 cat conftest.err
>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try
='test -z "$ac_c_werror_flag"
16858 || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest$ac_exeext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_cv_func___res_send
=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16875 ac_cv_func___res_send
=no
16877 rm -f conftest.err conftest.
$ac_objext \
16878 conftest
$ac_exeext conftest.
$ac_ext
16880 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
16881 echo "${ECHO_T}$ac_cv_func___res_send" >&6
16882 if test $ac_cv_func___res_send = yes; then
16885 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
16886 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
16887 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 ac_check_lib_save_LIBS
=$LIBS
16891 LIBS
="-lresolv $LIBS"
16892 cat >conftest.
$ac_ext <<_ACEOF
16895 cat confdefs.h
>>conftest.
$ac_ext
16896 cat >>conftest.
$ac_ext <<_ACEOF
16897 /* end confdefs.h. */
16899 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16914 rm -f conftest.
$ac_objext conftest
$ac_exeext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16916 (eval $ac_link) 2>conftest.er1
16918 grep -v '^ *+' conftest.er1
>conftest.err
16920 cat conftest.err
>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try
='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try
='test -s conftest$ac_exeext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 ac_cv_lib_resolv_res_send
=yes
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.
$ac_ext >&5
16941 ac_cv_lib_resolv_res_send
=no
16943 rm -f conftest.err conftest.
$ac_objext \
16944 conftest
$ac_exeext conftest.
$ac_ext
16945 LIBS
=$ac_check_lib_save_LIBS
16947 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
16948 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
16949 if test $ac_cv_lib_resolv_res_send = yes; then
16952 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
16953 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
16954 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 ac_check_lib_save_LIBS
=$LIBS
16958 LIBS
="-lresolv $LIBS"
16959 cat >conftest.
$ac_ext <<_ACEOF
16962 cat confdefs.h
>>conftest.
$ac_ext
16963 cat >>conftest.
$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16966 /* Override any gcc2 internal prototype to avoid an error. */
16970 /* We use char because int might match the return type of a gcc2
16971 builtin and then its argument prototype would still apply. */
16972 char __res_send ();
16981 rm -f conftest.
$ac_objext conftest
$ac_exeext
16982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16983 (eval $ac_link) 2>conftest.er1
16985 grep -v '^ *+' conftest.er1
>conftest.err
16987 cat conftest.err
>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); } &&
16990 { ac_try
='test -z "$ac_c_werror_flag"
16991 || test ! -s conftest.err'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; } &&
16997 { ac_try
='test -s conftest$ac_exeext'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_cv_lib_resolv___res_send
=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 ac_cv_lib_resolv___res_send
=no
17010 rm -f conftest.err conftest.
$ac_objext \
17011 conftest
$ac_exeext conftest.
$ac_ext
17012 LIBS
=$ac_check_lib_save_LIBS
17014 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17015 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17016 if test $ac_cv_lib_resolv___res_send = yes; then
17026 if test "$resolv" = yes ; then
17029 cat >>confdefs.h
<<\_ACEOF
17030 #define HAVE_LIBRESOLV 1
17036 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17037 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17038 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.
$ac_ext <<_ACEOF
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17049 #define hes_getmailhost innocuous_hes_getmailhost
17051 /* System header to define __stub macros and hopefully few prototypes,
17052 which can conflict with char hes_getmailhost (); below.
17053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17054 <limits.h> exists even on freestanding compilers. */
17057 # include <limits.h>
17059 # include <assert.h>
17062 #undef hes_getmailhost
17064 /* Override any gcc2 internal prototype to avoid an error. */
17069 /* We use char because int might match the return type of a gcc2
17070 builtin and then its argument prototype would still apply. */
17071 char hes_getmailhost ();
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17078 char (*f) () = hes_getmailhost;
17087 return f != hes_getmailhost;
17092 rm -f conftest.
$ac_objext conftest
$ac_exeext
17093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17094 (eval $ac_link) 2>conftest.er1
17096 grep -v '^ *+' conftest.er1
>conftest.err
17098 cat conftest.err
>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); } &&
17101 { ac_try
='test -z "$ac_c_werror_flag"
17102 || test ! -s conftest.err'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; } &&
17108 { ac_try
='test -s conftest$ac_exeext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_cv_func_hes_getmailhost
=yes
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.
$ac_ext >&5
17119 ac_cv_func_hes_getmailhost
=no
17121 rm -f conftest.err conftest.
$ac_objext \
17122 conftest
$ac_exeext conftest.
$ac_ext
17124 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17125 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17126 if test $ac_cv_func_hes_getmailhost = yes; then
17129 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17130 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17131 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17134 ac_check_lib_save_LIBS
=$LIBS
17135 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17143 /* Override any gcc2 internal prototype to avoid an error. */
17147 /* We use char because int might match the return type of a gcc2
17148 builtin and then its argument prototype would still apply. */
17149 char hes_getmailhost ();
17153 hes_getmailhost ();
17158 rm -f conftest.
$ac_objext conftest
$ac_exeext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17160 (eval $ac_link) 2>conftest.er1
17162 grep -v '^ *+' conftest.er1
>conftest.err
17164 cat conftest.err
>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try
='test -z "$ac_c_werror_flag"
17168 || test ! -s conftest.err'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; } &&
17174 { ac_try
='test -s conftest$ac_exeext'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; }; then
17180 ac_cv_lib_hesiod_hes_getmailhost
=yes
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.
$ac_ext >&5
17185 ac_cv_lib_hesiod_hes_getmailhost
=no
17187 rm -f conftest.err conftest.
$ac_objext \
17188 conftest
$ac_exeext conftest.
$ac_ext
17189 LIBS
=$ac_check_lib_save_LIBS
17191 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17192 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17193 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17195 cat >>confdefs.h
<<\_ACEOF
17196 #define HAVE_LIBHESIOD 1
17207 # These tell us which Kerberos-related libraries to use.
17208 if test "${with_kerberos+set}" = set; then
17210 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17211 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17212 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17213 echo $ECHO_N "(cached) $ECHO_C" >&6
17215 ac_check_lib_save_LIBS
=$LIBS
17216 LIBS
="-lcom_err $LIBS"
17217 cat >conftest.
$ac_ext <<_ACEOF
17220 cat confdefs.h
>>conftest.
$ac_ext
17221 cat >>conftest.
$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17224 /* Override any gcc2 internal prototype to avoid an error. */
17228 /* We use char because int might match the return type of a gcc2
17229 builtin and then its argument prototype would still apply. */
17239 rm -f conftest.
$ac_objext conftest
$ac_exeext
17240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17241 (eval $ac_link) 2>conftest.er1
17243 grep -v '^ *+' conftest.er1
>conftest.err
17245 cat conftest.err
>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } &&
17248 { ac_try
='test -z "$ac_c_werror_flag"
17249 || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try
='test -s conftest$ac_exeext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17261 ac_cv_lib_com_err_com_err
=yes
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17266 ac_cv_lib_com_err_com_err
=no
17268 rm -f conftest.err conftest.
$ac_objext \
17269 conftest
$ac_exeext conftest.
$ac_ext
17270 LIBS
=$ac_check_lib_save_LIBS
17272 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17273 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17274 if test $ac_cv_lib_com_err_com_err = yes; then
17275 cat >>confdefs.h
<<_ACEOF
17276 #define HAVE_LIBCOM_ERR 1
17279 LIBS
="-lcom_err $LIBS"
17284 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17285 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17286 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 ac_check_lib_save_LIBS
=$LIBS
17290 LIBS
="-lk5crypto $LIBS"
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17298 /* Override any gcc2 internal prototype to avoid an error. */
17302 /* We use char because int might match the return type of a gcc2
17303 builtin and then its argument prototype would still apply. */
17304 char mit_des_cbc_encrypt ();
17308 mit_des_cbc_encrypt ();
17313 rm -f conftest.
$ac_objext conftest
$ac_exeext
17314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17315 (eval $ac_link) 2>conftest.er1
17317 grep -v '^ *+' conftest.er1
>conftest.err
17319 cat conftest.err
>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } &&
17322 { ac_try
='test -z "$ac_c_werror_flag"
17323 || test ! -s conftest.err'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; } &&
17329 { ac_try
='test -s conftest$ac_exeext'
17330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331 (eval $ac_try) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); }; }; then
17335 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17337 echo "$as_me: failed program was:" >&5
17338 sed 's/^/| /' conftest.
$ac_ext >&5
17340 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
17342 rm -f conftest.err conftest.
$ac_objext \
17343 conftest
$ac_exeext conftest.
$ac_ext
17344 LIBS
=$ac_check_lib_save_LIBS
17346 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
17347 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
17348 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
17349 cat >>confdefs.h
<<_ACEOF
17350 #define HAVE_LIBK5CRYPTO 1
17353 LIBS
="-lk5crypto $LIBS"
17358 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
17359 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
17360 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 ac_check_lib_save_LIBS
=$LIBS
17364 LIBS
="-lcrypto $LIBS"
17365 cat >conftest.
$ac_ext <<_ACEOF
17368 cat confdefs.h
>>conftest.
$ac_ext
17369 cat >>conftest.
$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17372 /* Override any gcc2 internal prototype to avoid an error. */
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17378 char mit_des_cbc_encrypt ();
17382 mit_des_cbc_encrypt ();
17387 rm -f conftest.
$ac_objext conftest
$ac_exeext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389 (eval $ac_link) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1
>conftest.err
17393 cat conftest.err
>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try
='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try
='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
17416 rm -f conftest.err conftest.
$ac_objext \
17417 conftest
$ac_exeext conftest.
$ac_ext
17418 LIBS
=$ac_check_lib_save_LIBS
17420 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
17421 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
17422 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
17423 cat >>confdefs.h
<<_ACEOF
17424 #define HAVE_LIBCRYPTO 1
17427 LIBS
="-lcrypto $LIBS"
17432 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
17433 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
17434 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 ac_check_lib_save_LIBS
=$LIBS
17438 LIBS
="-lkrb5 $LIBS"
17439 cat >conftest.
$ac_ext <<_ACEOF
17442 cat confdefs.h
>>conftest.
$ac_ext
17443 cat >>conftest.
$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17446 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17452 char krb5_init_context ();
17456 krb5_init_context ();
17461 rm -f conftest.
$ac_objext conftest
$ac_exeext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17463 (eval $ac_link) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest$ac_exeext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_cv_lib_krb5_krb5_init_context
=yes
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 ac_cv_lib_krb5_krb5_init_context
=no
17490 rm -f conftest.err conftest.
$ac_objext \
17491 conftest
$ac_exeext conftest.
$ac_ext
17492 LIBS
=$ac_check_lib_save_LIBS
17494 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17495 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
17496 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
17497 cat >>confdefs.h
<<_ACEOF
17498 #define HAVE_LIBKRB5 1
17501 LIBS
="-lkrb5 $LIBS"
17505 if test "${with_kerberos5+set}" != set; then
17507 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
17508 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
17509 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17512 ac_check_lib_save_LIBS
=$LIBS
17513 LIBS
="-ldes425 $LIBS"
17514 cat >conftest.
$ac_ext <<_ACEOF
17517 cat confdefs.h
>>conftest.
$ac_ext
17518 cat >>conftest.
$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17521 /* Override any gcc2 internal prototype to avoid an error. */
17525 /* We use char because int might match the return type of a gcc2
17526 builtin and then its argument prototype would still apply. */
17527 char des_cbc_encrypt ();
17531 des_cbc_encrypt ();
17536 rm -f conftest.
$ac_objext conftest
$ac_exeext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17538 (eval $ac_link) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } &&
17545 { ac_try
='test -z "$ac_c_werror_flag"
17546 || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest$ac_exeext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_cv_lib_des425_des_cbc_encrypt
=yes
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_cv_lib_des425_des_cbc_encrypt
=no
17565 rm -f conftest.err conftest.
$ac_objext \
17566 conftest
$ac_exeext conftest.
$ac_ext
17567 LIBS
=$ac_check_lib_save_LIBS
17569 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
17570 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
17571 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define HAVE_LIBDES425 1
17576 LIBS
="-ldes425 $LIBS"
17580 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
17581 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
17582 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 ac_check_lib_save_LIBS
=$LIBS
17587 cat >conftest.
$ac_ext <<_ACEOF
17590 cat confdefs.h
>>conftest.
$ac_ext
17591 cat >>conftest.
$ac_ext <<_ACEOF
17592 /* end confdefs.h. */
17594 /* Override any gcc2 internal prototype to avoid an error. */
17598 /* We use char because int might match the return type of a gcc2
17599 builtin and then its argument prototype would still apply. */
17600 char des_cbc_encrypt ();
17604 des_cbc_encrypt ();
17609 rm -f conftest.
$ac_objext conftest
$ac_exeext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17611 (eval $ac_link) 2>conftest.er1
17613 grep -v '^ *+' conftest.er1
>conftest.err
17615 cat conftest.err
>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try
='test -z "$ac_c_werror_flag"
17619 || test ! -s conftest.err'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try
='test -s conftest$ac_exeext'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; }; then
17631 ac_cv_lib_des_des_cbc_encrypt
=yes
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.
$ac_ext >&5
17636 ac_cv_lib_des_des_cbc_encrypt
=no
17638 rm -f conftest.err conftest.
$ac_objext \
17639 conftest
$ac_exeext conftest.
$ac_ext
17640 LIBS
=$ac_check_lib_save_LIBS
17642 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
17643 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
17644 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
17645 cat >>confdefs.h
<<_ACEOF
17646 #define HAVE_LIBDES 1
17656 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
17657 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
17658 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17661 ac_check_lib_save_LIBS
=$LIBS
17662 LIBS
="-lkrb4 $LIBS"
17663 cat >conftest.
$ac_ext <<_ACEOF
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17670 /* Override any gcc2 internal prototype to avoid an error. */
17674 /* We use char because int might match the return type of a gcc2
17675 builtin and then its argument prototype would still apply. */
17676 char krb_get_cred ();
17685 rm -f conftest.
$ac_objext conftest
$ac_exeext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17687 (eval $ac_link) 2>conftest.er1
17689 grep -v '^ *+' conftest.er1
>conftest.err
17691 cat conftest.err
>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } &&
17694 { ac_try
='test -z "$ac_c_werror_flag"
17695 || test ! -s conftest.err'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try
='test -s conftest$ac_exeext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 ac_cv_lib_krb4_krb_get_cred
=yes
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 ac_cv_lib_krb4_krb_get_cred
=no
17714 rm -f conftest.err conftest.
$ac_objext \
17715 conftest
$ac_exeext conftest.
$ac_ext
17716 LIBS
=$ac_check_lib_save_LIBS
17718 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
17719 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
17720 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
17721 cat >>confdefs.h
<<_ACEOF
17722 #define HAVE_LIBKRB4 1
17725 LIBS
="-lkrb4 $LIBS"
17729 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
17730 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
17731 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 ac_check_lib_save_LIBS
=$LIBS
17736 cat >conftest.
$ac_ext <<_ACEOF
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17743 /* Override any gcc2 internal prototype to avoid an error. */
17747 /* We use char because int might match the return type of a gcc2
17748 builtin and then its argument prototype would still apply. */
17749 char krb_get_cred ();
17758 rm -f conftest.
$ac_objext conftest
$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>conftest.er1
17762 grep -v '^ *+' conftest.er1
>conftest.err
17764 cat conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try
='test -z "$ac_c_werror_flag"
17768 || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try
='test -s conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_cv_lib_krb_krb_get_cred
=yes
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 ac_cv_lib_krb_krb_get_cred
=no
17787 rm -f conftest.err conftest.
$ac_objext \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 LIBS
=$ac_check_lib_save_LIBS
17791 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
17792 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
17793 if test $ac_cv_lib_krb_krb_get_cred = yes; then
17794 cat >>confdefs.h
<<_ACEOF
17795 #define HAVE_LIBKRB 1
17806 if test "${with_kerberos5+set}" = set; then
17808 for ac_header
in krb5.h
17810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17812 echo "$as_me:$LINENO: checking for $ac_header" >&5
17813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17820 # Is the header compilable?
17821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17823 cat >conftest.
$ac_ext <<_ACEOF
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17830 #include <$ac_header>
17832 rm -f conftest.
$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17836 grep -v '^ *+' conftest.er1
>conftest.err
17838 cat conftest.err
>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try
='test -z "$ac_c_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try
='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 ac_header_compiler
=yes
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.
$ac_ext >&5
17859 ac_header_compiler
=no
17861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17863 echo "${ECHO_T}$ac_header_compiler" >&6
17865 # Is the header present?
17866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17868 cat >conftest.
$ac_ext <<_ACEOF
17871 cat confdefs.h
>>conftest.
$ac_ext
17872 cat >>conftest.
$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 #include <$ac_header>
17876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17879 grep -v '^ *+' conftest.er1
>conftest.err
17881 cat conftest.err
>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } >/dev
/null
; then
17884 if test -s conftest.err
; then
17885 ac_cpp_err
=$ac_c_preproc_warn_flag
17886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17893 if test -z "$ac_cpp_err"; then
17894 ac_header_preproc
=yes
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17899 ac_header_preproc
=no
17901 rm -f conftest.err conftest.
$ac_ext
17902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17903 echo "${ECHO_T}$ac_header_preproc" >&6
17905 # So? What about this header?
17906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17912 ac_header_preproc
=yes
17915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17929 ## ------------------------------------------ ##
17930 ## Report this to the AC_PACKAGE_NAME lists. ##
17931 ## ------------------------------------------ ##
17934 sed "s/^/$as_me: WARNING: /" >&2
17937 echo "$as_me:$LINENO: checking for $ac_header" >&5
17938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 eval "$as_ac_Header=\$ac_header_preproc"
17944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17949 cat >>confdefs.h
<<_ACEOF
17950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17959 for ac_header
in des.h
17961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17963 echo "$as_me:$LINENO: checking for $ac_header" >&5
17964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17971 # Is the header compilable?
17972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17974 cat >conftest.
$ac_ext <<_ACEOF
17977 cat confdefs.h
>>conftest.
$ac_ext
17978 cat >>conftest.
$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 $ac_includes_default
17981 #include <$ac_header>
17983 rm -f conftest.
$ac_objext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985 (eval $ac_compile) 2>conftest.er1
17987 grep -v '^ *+' conftest.er1
>conftest.err
17989 cat conftest.err
>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } &&
17992 { ac_try
='test -z "$ac_c_werror_flag"
17993 || test ! -s conftest.err'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; } &&
17999 { ac_try
='test -s conftest.$ac_objext'
18000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18001 (eval $ac_try) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); }; }; then
18005 ac_header_compiler
=yes
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.
$ac_ext >&5
18010 ac_header_compiler
=no
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18014 echo "${ECHO_T}$ac_header_compiler" >&6
18016 # Is the header present?
18017 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18018 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18019 cat >conftest.
$ac_ext <<_ACEOF
18022 cat confdefs.h
>>conftest.
$ac_ext
18023 cat >>conftest.
$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 #include <$ac_header>
18027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18030 grep -v '^ *+' conftest.er1
>conftest.err
18032 cat conftest.err
>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } >/dev
/null
; then
18035 if test -s conftest.err
; then
18036 ac_cpp_err
=$ac_c_preproc_warn_flag
18037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18044 if test -z "$ac_cpp_err"; then
18045 ac_header_preproc
=yes
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 ac_header_preproc
=no
18052 rm -f conftest.err conftest.
$ac_ext
18053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18054 echo "${ECHO_T}$ac_header_preproc" >&6
18056 # So? What about this header?
18057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18059 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18060 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18062 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18063 ac_header_preproc
=yes
18066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18070 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18071 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18072 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18073 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18076 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18077 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18080 ## ------------------------------------------ ##
18081 ## Report this to the AC_PACKAGE_NAME lists. ##
18082 ## ------------------------------------------ ##
18085 sed "s/^/$as_me: WARNING: /" >&2
18088 echo "$as_me:$LINENO: checking for $ac_header" >&5
18089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 eval "$as_ac_Header=\$ac_header_preproc"
18095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18100 cat >>confdefs.h
<<_ACEOF
18101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18106 for ac_header
in kerberosIV
/des.h
18108 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18110 echo "$as_me:$LINENO: checking for $ac_header" >&5
18111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18118 # Is the header compilable?
18119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18121 cat >conftest.
$ac_ext <<_ACEOF
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18128 #include <$ac_header>
18130 rm -f conftest.
$ac_objext
18131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18132 (eval $ac_compile) 2>conftest.er1
18134 grep -v '^ *+' conftest.er1
>conftest.err
18136 cat conftest.err
>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } &&
18139 { ac_try
='test -z "$ac_c_werror_flag"
18140 || test ! -s conftest.err'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; } &&
18146 { ac_try
='test -s conftest.$ac_objext'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18152 ac_header_compiler
=yes
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.
$ac_ext >&5
18157 ac_header_compiler
=no
18159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18161 echo "${ECHO_T}$ac_header_compiler" >&6
18163 # Is the header present?
18164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #include <$ac_header>
18174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } >/dev
/null
; then
18182 if test -s conftest.err
; then
18183 ac_cpp_err
=$ac_c_preproc_warn_flag
18184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18191 if test -z "$ac_cpp_err"; then
18192 ac_header_preproc
=yes
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.
$ac_ext >&5
18197 ac_header_preproc
=no
18199 rm -f conftest.err conftest.
$ac_ext
18200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18201 echo "${ECHO_T}$ac_header_preproc" >&6
18203 # So? What about this header?
18204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18210 ac_header_preproc
=yes
18213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18227 ## ------------------------------------------ ##
18228 ## Report this to the AC_PACKAGE_NAME lists. ##
18229 ## ------------------------------------------ ##
18232 sed "s/^/$as_me: WARNING: /" >&2
18235 echo "$as_me:$LINENO: checking for $ac_header" >&5
18236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 eval "$as_ac_Header=\$ac_header_preproc"
18242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18247 cat >>confdefs.h
<<_ACEOF
18248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18253 for ac_header
in kerberos
/des.h
18255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18257 echo "$as_me:$LINENO: checking for $ac_header" >&5
18258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18265 # Is the header compilable?
18266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18268 cat >conftest.
$ac_ext <<_ACEOF
18271 cat confdefs.h
>>conftest.
$ac_ext
18272 cat >>conftest.
$ac_ext <<_ACEOF
18273 /* end confdefs.h. */
18274 $ac_includes_default
18275 #include <$ac_header>
18277 rm -f conftest.
$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279 (eval $ac_compile) 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try
='test -z "$ac_c_werror_flag"
18287 || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_header_compiler
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_header_compiler
=no
18306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18308 echo "${ECHO_T}$ac_header_compiler" >&6
18310 # Is the header present?
18311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <$ac_header>
18321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18324 grep -v '^ *+' conftest.er1
>conftest.err
18326 cat conftest.err
>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } >/dev
/null
; then
18329 if test -s conftest.err
; then
18330 ac_cpp_err
=$ac_c_preproc_warn_flag
18331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18338 if test -z "$ac_cpp_err"; then
18339 ac_header_preproc
=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.
$ac_ext >&5
18344 ac_header_preproc
=no
18346 rm -f conftest.err conftest.
$ac_ext
18347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18348 echo "${ECHO_T}$ac_header_preproc" >&6
18350 # So? What about this header?
18351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18357 ac_header_preproc
=yes
18360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18374 ## ------------------------------------------ ##
18375 ## Report this to the AC_PACKAGE_NAME lists. ##
18376 ## ------------------------------------------ ##
18379 sed "s/^/$as_me: WARNING: /" >&2
18382 echo "$as_me:$LINENO: checking for $ac_header" >&5
18383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 eval "$as_ac_Header=\$ac_header_preproc"
18389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18394 cat >>confdefs.h
<<_ACEOF
18395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18411 for ac_header
in krb.h
18413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18415 echo "$as_me:$LINENO: checking for $ac_header" >&5
18416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18423 # Is the header compilable?
18424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18426 cat >conftest.
$ac_ext <<_ACEOF
18429 cat confdefs.h
>>conftest.
$ac_ext
18430 cat >>conftest.
$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 $ac_includes_default
18433 #include <$ac_header>
18435 rm -f conftest.
$ac_objext
18436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18437 (eval $ac_compile) 2>conftest.er1
18439 grep -v '^ *+' conftest.er1
>conftest.err
18441 cat conftest.err
>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } &&
18444 { ac_try
='test -z "$ac_c_werror_flag"
18445 || test ! -s conftest.err'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; } &&
18451 { ac_try
='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_header_compiler
=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.
$ac_ext >&5
18462 ac_header_compiler
=no
18464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18466 echo "${ECHO_T}$ac_header_compiler" >&6
18468 # Is the header present?
18469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18471 cat >conftest.
$ac_ext <<_ACEOF
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 #include <$ac_header>
18479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18482 grep -v '^ *+' conftest.er1
>conftest.err
18484 cat conftest.err
>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } >/dev
/null
; then
18487 if test -s conftest.err
; then
18488 ac_cpp_err
=$ac_c_preproc_warn_flag
18489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18496 if test -z "$ac_cpp_err"; then
18497 ac_header_preproc
=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18502 ac_header_preproc
=no
18504 rm -f conftest.err conftest.
$ac_ext
18505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18506 echo "${ECHO_T}$ac_header_preproc" >&6
18508 # So? What about this header?
18509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18515 ac_header_preproc
=yes
18518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18532 ## ------------------------------------------ ##
18533 ## Report this to the AC_PACKAGE_NAME lists. ##
18534 ## ------------------------------------------ ##
18537 sed "s/^/$as_me: WARNING: /" >&2
18540 echo "$as_me:$LINENO: checking for $ac_header" >&5
18541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 eval "$as_ac_Header=\$ac_header_preproc"
18547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18552 cat >>confdefs.h
<<_ACEOF
18553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18558 for ac_header
in kerberosIV
/krb.h
18560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18562 echo "$as_me:$LINENO: checking for $ac_header" >&5
18563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18570 # Is the header compilable?
18571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18573 cat >conftest.
$ac_ext <<_ACEOF
18576 cat confdefs.h
>>conftest.
$ac_ext
18577 cat >>conftest.
$ac_ext <<_ACEOF
18578 /* end confdefs.h. */
18579 $ac_includes_default
18580 #include <$ac_header>
18582 rm -f conftest.
$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18586 grep -v '^ *+' conftest.er1
>conftest.err
18588 cat conftest.err
>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try
='test -z "$ac_c_werror_flag"
18592 || test ! -s conftest.err'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; } &&
18598 { ac_try
='test -s conftest.$ac_objext'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; }; then
18604 ac_header_compiler
=yes
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.
$ac_ext >&5
18609 ac_header_compiler
=no
18611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18613 echo "${ECHO_T}$ac_header_compiler" >&6
18615 # Is the header present?
18616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 #include <$ac_header>
18626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } >/dev
/null
; then
18634 if test -s conftest.err
; then
18635 ac_cpp_err
=$ac_c_preproc_warn_flag
18636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18643 if test -z "$ac_cpp_err"; then
18644 ac_header_preproc
=yes
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.
$ac_ext >&5
18649 ac_header_preproc
=no
18651 rm -f conftest.err conftest.
$ac_ext
18652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18653 echo "${ECHO_T}$ac_header_preproc" >&6
18655 # So? What about this header?
18656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18662 ac_header_preproc
=yes
18665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18679 ## ------------------------------------------ ##
18680 ## Report this to the AC_PACKAGE_NAME lists. ##
18681 ## ------------------------------------------ ##
18684 sed "s/^/$as_me: WARNING: /" >&2
18687 echo "$as_me:$LINENO: checking for $ac_header" >&5
18688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 eval "$as_ac_Header=\$ac_header_preproc"
18694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18699 cat >>confdefs.h
<<_ACEOF
18700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18705 for ac_header
in kerberos
/krb.h
18707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18709 echo "$as_me:$LINENO: checking for $ac_header" >&5
18710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18717 # Is the header compilable?
18718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 $ac_includes_default
18727 #include <$ac_header>
18729 rm -f conftest.
$ac_objext
18730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18731 (eval $ac_compile) 2>conftest.er1
18733 grep -v '^ *+' conftest.er1
>conftest.err
18735 cat conftest.err
>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } &&
18738 { ac_try
='test -z "$ac_c_werror_flag"
18739 || test ! -s conftest.err'
18740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18741 (eval $ac_try) 2>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); }; } &&
18745 { ac_try
='test -s conftest.$ac_objext'
18746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18747 (eval $ac_try) 2>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; }; then
18751 ac_header_compiler
=yes
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.
$ac_ext >&5
18756 ac_header_compiler
=no
18758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18760 echo "${ECHO_T}$ac_header_compiler" >&6
18762 # Is the header present?
18763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18765 cat >conftest.
$ac_ext <<_ACEOF
18768 cat confdefs.h
>>conftest.
$ac_ext
18769 cat >>conftest.
$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 #include <$ac_header>
18773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18776 grep -v '^ *+' conftest.er1
>conftest.err
18778 cat conftest.err
>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } >/dev
/null
; then
18781 if test -s conftest.err
; then
18782 ac_cpp_err
=$ac_c_preproc_warn_flag
18783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18790 if test -z "$ac_cpp_err"; then
18791 ac_header_preproc
=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.
$ac_ext >&5
18796 ac_header_preproc
=no
18798 rm -f conftest.err conftest.
$ac_ext
18799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18800 echo "${ECHO_T}$ac_header_preproc" >&6
18802 # So? What about this header?
18803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18809 ac_header_preproc
=yes
18812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18826 ## ------------------------------------------ ##
18827 ## Report this to the AC_PACKAGE_NAME lists. ##
18828 ## ------------------------------------------ ##
18831 sed "s/^/$as_me: WARNING: /" >&2
18834 echo "$as_me:$LINENO: checking for $ac_header" >&5
18835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 eval "$as_ac_Header=\$ac_header_preproc"
18841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18846 cat >>confdefs.h
<<_ACEOF
18847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18864 for ac_header
in com_err.h
18866 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18868 echo "$as_me:$LINENO: checking for $ac_header" >&5
18869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18876 # Is the header compilable?
18877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18879 cat >conftest.
$ac_ext <<_ACEOF
18882 cat confdefs.h
>>conftest.
$ac_ext
18883 cat >>conftest.
$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 $ac_includes_default
18886 #include <$ac_header>
18888 rm -f conftest.
$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1
>conftest.err
18894 cat conftest.err
>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try
='test -z "$ac_c_werror_flag"
18898 || test ! -s conftest.err'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; } &&
18904 { ac_try
='test -s conftest.$ac_objext'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_header_compiler
=yes
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.
$ac_ext >&5
18915 ac_header_compiler
=no
18917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18919 echo "${ECHO_T}$ac_header_compiler" >&6
18921 # Is the header present?
18922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 #include <$ac_header>
18932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18935 grep -v '^ *+' conftest.er1
>conftest.err
18937 cat conftest.err
>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } >/dev
/null
; then
18940 if test -s conftest.err
; then
18941 ac_cpp_err
=$ac_c_preproc_warn_flag
18942 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18949 if test -z "$ac_cpp_err"; then
18950 ac_header_preproc
=yes
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.
$ac_ext >&5
18955 ac_header_preproc
=no
18957 rm -f conftest.err conftest.
$ac_ext
18958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18959 echo "${ECHO_T}$ac_header_preproc" >&6
18961 # So? What about this header?
18962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18968 ac_header_preproc
=yes
18971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18985 ## ------------------------------------------ ##
18986 ## Report this to the AC_PACKAGE_NAME lists. ##
18987 ## ------------------------------------------ ##
18990 sed "s/^/$as_me: WARNING: /" >&2
18993 echo "$as_me:$LINENO: checking for $ac_header" >&5
18994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 eval "$as_ac_Header=\$ac_header_preproc"
19000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19005 cat >>confdefs.h
<<_ACEOF
19006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19015 # Solaris requires -lintl if you want strerror (which calls dgettext)
19016 # to return localized messages.
19018 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19019 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19020 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 ac_check_lib_save_LIBS
=$LIBS
19024 LIBS
="-lintl $LIBS"
19025 cat >conftest.
$ac_ext <<_ACEOF
19028 cat confdefs.h
>>conftest.
$ac_ext
19029 cat >>conftest.
$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19032 /* Override any gcc2 internal prototype to avoid an error. */
19036 /* We use char because int might match the return type of a gcc2
19037 builtin and then its argument prototype would still apply. */
19047 rm -f conftest.
$ac_objext conftest
$ac_exeext
19048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19049 (eval $ac_link) 2>conftest.er1
19051 grep -v '^ *+' conftest.er1
>conftest.err
19053 cat conftest.err
>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } &&
19056 { ac_try
='test -z "$ac_c_werror_flag"
19057 || test ! -s conftest.err'
19058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19059 (eval $ac_try) 2>&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); }; } &&
19063 { ac_try
='test -s conftest$ac_exeext'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; }; then
19069 ac_cv_lib_intl_dgettext
=yes
19071 echo "$as_me: failed program was:" >&5
19072 sed 's/^/| /' conftest.
$ac_ext >&5
19074 ac_cv_lib_intl_dgettext
=no
19076 rm -f conftest.err conftest.
$ac_objext \
19077 conftest
$ac_exeext conftest.
$ac_ext
19078 LIBS
=$ac_check_lib_save_LIBS
19080 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19081 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19082 if test $ac_cv_lib_intl_dgettext = yes; then
19083 cat >>confdefs.h
<<_ACEOF
19084 #define HAVE_LIBINTL 1
19087 LIBS
="-lintl $LIBS"
19092 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19093 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19094 if test "${emacs_cv_localtime_cache+set}" = set; then
19095 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 if test x
$ac_cv_func_tzset = xyes
; then
19098 if test "$cross_compiling" = yes; then
19099 # If we have tzset, assume the worst when cross-compiling.
19100 emacs_cv_localtime_cache
=yes
19102 cat >conftest.
$ac_ext <<_ACEOF
19105 cat confdefs.h
>>conftest.
$ac_ext
19106 cat >>conftest.
$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19109 extern char **environ;
19113 for (to = from = environ; (*to = *from); from++)
19114 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19117 char TZ_GMT0[] = "TZ=GMT0";
19118 char TZ_PST8[] = "TZ=PST8";
19121 time_t now = time ((time_t *) 0);
19122 int hour_GMT0, hour_unset;
19123 if (putenv (TZ_GMT0) != 0)
19125 hour_GMT0 = localtime (&now)->tm_hour;
19127 hour_unset = localtime (&now)->tm_hour;
19128 if (putenv (TZ_PST8) != 0)
19130 if (localtime (&now)->tm_hour == hour_GMT0)
19133 if (localtime (&now)->tm_hour != hour_unset)
19138 rm -f conftest
$ac_exeext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19140 (eval $ac_link) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19149 emacs_cv_localtime_cache
=no
19151 echo "$as_me: program exited with status $ac_status" >&5
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.
$ac_ext >&5
19155 ( exit $ac_status )
19156 emacs_cv_localtime_cache
=yes
19158 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19161 # If we lack tzset, report that localtime does not cache TZ,
19162 # since we can't invalidate the cache if we don't have tzset.
19163 emacs_cv_localtime_cache
=no
19166 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19167 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19168 if test $emacs_cv_localtime_cache = yes; then
19170 cat >>confdefs.h
<<\_ACEOF
19171 #define LOCALTIME_CACHE 1
19176 if test "x$HAVE_TIMEVAL" = xyes
; then
19178 for ac_func
in gettimeofday
19180 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19181 echo "$as_me:$LINENO: checking for $ac_func" >&5
19182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19183 if eval "test \"\${$as_ac_var+set}\" = set"; then
19184 echo $ECHO_N "(cached) $ECHO_C" >&6
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19194 #define $ac_func innocuous_$ac_func
19196 /* System header to define __stub macros and hopefully few prototypes,
19197 which can conflict with char $ac_func (); below.
19198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19199 <limits.h> exists even on freestanding compilers. */
19202 # include <limits.h>
19204 # include <assert.h>
19209 /* Override any gcc2 internal prototype to avoid an error. */
19214 /* We use char because int might match the return type of a gcc2
19215 builtin and then its argument prototype would still apply. */
19217 /* The GNU C library defines this for functions which it implements
19218 to always fail with ENOSYS. Some functions are actually named
19219 something starting with __ and the normal name is an alias. */
19220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19223 char (*f) () = $ac_func;
19232 return f != $ac_func;
19237 rm -f conftest.
$ac_objext conftest
$ac_exeext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19239 (eval $ac_link) 2>conftest.er1
19241 grep -v '^ *+' conftest.er1
>conftest.err
19243 cat conftest.err
>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } &&
19246 { ac_try
='test -z "$ac_c_werror_flag"
19247 || test ! -s conftest.err'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; } &&
19253 { ac_try
='test -s conftest$ac_exeext'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; }; then
19259 eval "$as_ac_var=yes"
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.
$ac_ext >&5
19264 eval "$as_ac_var=no"
19266 rm -f conftest.err conftest.
$ac_objext \
19267 conftest
$ac_exeext conftest.
$ac_ext
19269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19271 if test `eval echo '${'$as_ac_var'}'` = yes; then
19272 cat >>confdefs.h
<<_ACEOF
19273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19279 if test $ac_cv_func_gettimeofday = yes; then
19280 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19281 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19282 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 cat >conftest.
$ac_ext <<_ACEOF
19288 cat confdefs.h
>>conftest.
$ac_ext
19289 cat >>conftest.
$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19292 #ifdef TIME_WITH_SYS_TIME
19293 #include <sys/time.h>
19296 #ifdef HAVE_SYS_TIME_H
19297 #include <sys/time.h>
19305 struct timeval time;
19306 gettimeofday (&time, 0);
19311 rm -f conftest.
$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19315 grep -v '^ *+' conftest.er1
>conftest.err
19317 cat conftest.err
>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try
='test -z "$ac_c_werror_flag"
19321 || test ! -s conftest.err'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; } &&
19327 { ac_try
='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 emacs_cv_gettimeofday_two_arguments
=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 emacs_cv_gettimeofday_two_arguments
=no
19340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19342 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19343 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19344 if test $emacs_cv_gettimeofday_two_arguments = no
; then
19346 cat >>confdefs.h
<<\_ACEOF
19347 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19354 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
19355 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
19356 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
19357 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 cat >conftest.
$ac_ext <<_ACEOF
19363 cat confdefs.h
>>conftest.
$ac_ext
19364 cat >>conftest.
$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #include <$ac_cv_struct_tm>
19373 static struct tm ac_aggr;
19374 if (ac_aggr.tm_zone)
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_c_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_cv_member_struct_tm_tm_zone
=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.
$ac_ext >&5
19407 cat >conftest.
$ac_ext <<_ACEOF
19410 cat confdefs.h
>>conftest.
$ac_ext
19411 cat >>conftest.
$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <sys/types.h>
19414 #include <$ac_cv_struct_tm>
19420 static struct tm ac_aggr;
19421 if (sizeof ac_aggr.tm_zone)
19427 rm -f conftest.
$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag"
19437 || test ! -s conftest.err'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; } &&
19443 { ac_try
='test -s conftest.$ac_objext'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; }; then
19449 ac_cv_member_struct_tm_tm_zone
=yes
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.
$ac_ext >&5
19454 ac_cv_member_struct_tm_tm_zone
=no
19456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19460 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
19461 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
19462 if test $ac_cv_member_struct_tm_tm_zone = yes; then
19464 cat >>confdefs.h
<<_ACEOF
19465 #define HAVE_STRUCT_TM_TM_ZONE 1
19471 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
19473 cat >>confdefs.h
<<\_ACEOF
19474 #define HAVE_TM_ZONE 1
19478 echo "$as_me:$LINENO: checking for tzname" >&5
19479 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
19480 if test "${ac_cv_var_tzname+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 cat >conftest.
$ac_ext <<_ACEOF
19486 cat confdefs.h
>>conftest.
$ac_ext
19487 cat >>conftest.
$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19490 #ifndef tzname /* For SGI. */
19491 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
19502 rm -f conftest.
$ac_objext conftest
$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504 (eval $ac_link) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_c_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest$ac_exeext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_var_tzname
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19529 ac_cv_var_tzname
=no
19531 rm -f conftest.err conftest.
$ac_objext \
19532 conftest
$ac_exeext conftest.
$ac_ext
19534 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
19535 echo "${ECHO_T}$ac_cv_var_tzname" >&6
19536 if test $ac_cv_var_tzname = yes; then
19538 cat >>confdefs.h
<<\_ACEOF
19539 #define HAVE_TZNAME 1
19546 if test "$ac_cv_func_gettimeofday" = yes; then
19547 echo "$as_me:$LINENO: checking for struct timezone" >&5
19548 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
19549 if test "${emacs_cv_struct_timezone+set}" = set; then
19550 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 cat >conftest.
$ac_ext <<_ACEOF
19555 cat confdefs.h
>>conftest.
$ac_ext
19556 cat >>conftest.
$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19558 #include <sys/time.h>
19562 struct timezone tz;
19567 rm -f conftest.
$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19571 grep -v '^ *+' conftest.er1
>conftest.err
19573 cat conftest.err
>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try
='test -z "$ac_c_werror_flag"
19577 || test ! -s conftest.err'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; } &&
19583 { ac_try
='test -s conftest.$ac_objext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 if test "$cross_compiling" = yes; then
19590 emacs_cv_struct_timezone
=yes
19592 cat >conftest.
$ac_ext <<_ACEOF
19595 cat confdefs.h
>>conftest.
$ac_ext
19596 cat >>conftest.
$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19599 #ifdef TIME_WITH_SYS_TIME
19600 #include <sys/time.h>
19603 #ifdef HAVE_SYS_TIME_H
19604 #include <sys/time.h>
19610 struct timeval time;
19611 struct timezone dummy;
19612 exit (gettimeofday (&time, &dummy));
19615 rm -f conftest
$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 emacs_cv_struct_timezone
=yes
19628 echo "$as_me: program exited with status $ac_status" >&5
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 ( exit $ac_status )
19633 emacs_cv_struct_timezone
=no
19635 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.
$ac_ext >&5
19641 emacs_cv_struct_timezone
=no
19643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19645 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
19646 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
19650 echo "$as_me:$LINENO: checking for socket" >&5
19651 echo $ECHO_N "checking for socket... $ECHO_C" >&6
19652 if test "${ac_cv_func_socket+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19655 cat >conftest.
$ac_ext <<_ACEOF
19658 cat confdefs.h
>>conftest.
$ac_ext
19659 cat >>conftest.
$ac_ext <<_ACEOF
19660 /* end confdefs.h. */
19661 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
19662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19663 #define socket innocuous_socket
19665 /* System header to define __stub macros and hopefully few prototypes,
19666 which can conflict with char socket (); below.
19667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19668 <limits.h> exists even on freestanding compilers. */
19671 # include <limits.h>
19673 # include <assert.h>
19678 /* Override any gcc2 internal prototype to avoid an error. */
19683 /* We use char because int might match the return type of a gcc2
19684 builtin and then its argument prototype would still apply. */
19686 /* The GNU C library defines this for functions which it implements
19687 to always fail with ENOSYS. Some functions are actually named
19688 something starting with __ and the normal name is an alias. */
19689 #if defined (__stub_socket) || defined (__stub___socket)
19692 char (*f) () = socket;
19701 return f != socket;
19706 rm -f conftest.
$ac_objext conftest
$ac_exeext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19708 (eval $ac_link) 2>conftest.er1
19710 grep -v '^ *+' conftest.er1
>conftest.err
19712 cat conftest.err
>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } &&
19715 { ac_try
='test -z "$ac_c_werror_flag"
19716 || test ! -s conftest.err'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; } &&
19722 { ac_try
='test -s conftest$ac_exeext'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; }; then
19728 ac_cv_func_socket
=yes
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.
$ac_ext >&5
19733 ac_cv_func_socket
=no
19735 rm -f conftest.err conftest.
$ac_objext \
19736 conftest
$ac_exeext conftest.
$ac_ext
19738 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
19739 echo "${ECHO_T}$ac_cv_func_socket" >&6
19740 if test $ac_cv_func_socket = yes; then
19746 if test $ok_so_far = yes; then
19747 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19748 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
19749 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
19750 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
19754 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
19756 # Is the header compilable?
19757 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
19758 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
19759 cat >conftest.
$ac_ext <<_ACEOF
19762 cat confdefs.h
>>conftest.
$ac_ext
19763 cat >>conftest.
$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765 $ac_includes_default
19766 #include <netinet/in.h>
19768 rm -f conftest.
$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770 (eval $ac_compile) 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_c_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try
='test -s conftest.$ac_objext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_header_compiler
=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.
$ac_ext >&5
19795 ac_header_compiler
=no
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19799 echo "${ECHO_T}$ac_header_compiler" >&6
19801 # Is the header present?
19802 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
19803 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <netinet/in.h>
19812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19815 grep -v '^ *+' conftest.er1
>conftest.err
19817 cat conftest.err
>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } >/dev
/null
; then
19820 if test -s conftest.err
; then
19821 ac_cpp_err
=$ac_c_preproc_warn_flag
19822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19829 if test -z "$ac_cpp_err"; then
19830 ac_header_preproc
=yes
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.
$ac_ext >&5
19835 ac_header_preproc
=no
19837 rm -f conftest.err conftest.
$ac_ext
19838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19839 echo "${ECHO_T}$ac_header_preproc" >&6
19841 # So? What about this header?
19842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19844 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
19845 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19846 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
19847 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
19848 ac_header_preproc
=yes
19851 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
19852 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
19853 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
19854 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
19856 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
19858 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
19860 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
19861 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
19862 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
19865 ## ------------------------------------------ ##
19866 ## Report this to the AC_PACKAGE_NAME lists. ##
19867 ## ------------------------------------------ ##
19870 sed "s/^/$as_me: WARNING: /" >&2
19873 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
19874 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
19875 if test "${ac_cv_header_netinet_in_h+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 ac_cv_header_netinet_in_h
=$ac_header_preproc
19880 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
19881 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
19884 if test $ac_cv_header_netinet_in_h = yes; then
19892 if test $ok_so_far = yes; then
19893 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
19894 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
19895 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
19896 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19899 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
19900 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
19902 # Is the header compilable?
19903 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
19904 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
19905 cat >conftest.
$ac_ext <<_ACEOF
19908 cat confdefs.h
>>conftest.
$ac_ext
19909 cat >>conftest.
$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 #include <arpa/inet.h>
19914 rm -f conftest.
$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19918 grep -v '^ *+' conftest.er1
>conftest.err
19920 cat conftest.err
>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try
='test -z "$ac_c_werror_flag"
19924 || test ! -s conftest.err'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; } &&
19930 { ac_try
='test -s conftest.$ac_objext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19936 ac_header_compiler
=yes
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 ac_header_compiler
=no
19943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19945 echo "${ECHO_T}$ac_header_compiler" >&6
19947 # Is the header present?
19948 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
19949 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
19950 cat >conftest.
$ac_ext <<_ACEOF
19953 cat confdefs.h
>>conftest.
$ac_ext
19954 cat >>conftest.
$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #include <arpa/inet.h>
19958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19961 grep -v '^ *+' conftest.er1
>conftest.err
19963 cat conftest.err
>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } >/dev
/null
; then
19966 if test -s conftest.err
; then
19967 ac_cpp_err
=$ac_c_preproc_warn_flag
19968 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19975 if test -z "$ac_cpp_err"; then
19976 ac_header_preproc
=yes
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.
$ac_ext >&5
19981 ac_header_preproc
=no
19983 rm -f conftest.err conftest.
$ac_ext
19984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19985 echo "${ECHO_T}$ac_header_preproc" >&6
19987 # So? What about this header?
19988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19990 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
19991 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
19993 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
19994 ac_header_preproc
=yes
19997 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
19998 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
20000 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
20002 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
20004 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
20006 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
20007 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
20008 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20011 ## ------------------------------------------ ##
20012 ## Report this to the AC_PACKAGE_NAME lists. ##
20013 ## ------------------------------------------ ##
20016 sed "s/^/$as_me: WARNING: /" >&2
20019 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20020 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20021 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20026 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20027 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20030 if test $ac_cv_header_arpa_inet_h = yes; then
20038 if test $ok_so_far = yes; then
20040 cat >>confdefs.h
<<\_ACEOF
20041 #define HAVE_INET_SOCKETS 1
20047 for ac_header
in sys
/ioctl.h
20049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20051 echo "$as_me:$LINENO: checking for $ac_header" >&5
20052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20059 # Is the header compilable?
20060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20062 cat >conftest.
$ac_ext <<_ACEOF
20065 cat confdefs.h
>>conftest.
$ac_ext
20066 cat >>conftest.
$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 $ac_includes_default
20069 #include <$ac_header>
20071 rm -f conftest.
$ac_objext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20073 (eval $ac_compile) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try
='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_header_compiler
=yes
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_header_compiler
=no
20100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20102 echo "${ECHO_T}$ac_header_compiler" >&6
20104 # Is the header present?
20105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 #include <$ac_header>
20115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } >/dev
/null
; then
20123 if test -s conftest.err
; then
20124 ac_cpp_err
=$ac_c_preproc_warn_flag
20125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20132 if test -z "$ac_cpp_err"; then
20133 ac_header_preproc
=yes
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.
$ac_ext >&5
20138 ac_header_preproc
=no
20140 rm -f conftest.err conftest.
$ac_ext
20141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20142 echo "${ECHO_T}$ac_header_preproc" >&6
20144 # So? What about this header?
20145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20151 ac_header_preproc
=yes
20154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20168 ## ------------------------------------------ ##
20169 ## Report this to the AC_PACKAGE_NAME lists. ##
20170 ## ------------------------------------------ ##
20173 sed "s/^/$as_me: WARNING: /" >&2
20176 echo "$as_me:$LINENO: checking for $ac_header" >&5
20177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 eval "$as_ac_Header=\$ac_header_preproc"
20183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20188 cat >>confdefs.h
<<_ACEOF
20189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20197 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20199 cat >>confdefs.h
<<\_ACEOF
20200 #define HAVE_AIX_SMT_EXP 1
20205 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20206 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20207 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20208 echo "$as_me:$LINENO: result: yes" >&5
20209 echo "${ECHO_T}yes" >&6
20211 cat >>confdefs.h
<<\_ACEOF
20212 #define HAVE_DEV_PTMX 1
20216 echo "$as_me:$LINENO: result: no" >&5
20217 echo "${ECHO_T}no" >&6
20220 echo "$as_me:$LINENO: checking for pid_t" >&5
20221 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20222 if test "${ac_cv_type_pid_t+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 $ac_includes_default
20237 if (sizeof (pid_t))
20243 rm -f conftest.
$ac_objext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245 (eval $ac_compile) 2>conftest.er1
20247 grep -v '^ *+' conftest.er1
>conftest.err
20249 cat conftest.err
>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try
='test -z "$ac_c_werror_flag"
20253 || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try
='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_cv_type_pid_t
=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 ac_cv_type_pid_t
=no
20272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20274 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20275 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20276 if test $ac_cv_type_pid_t = yes; then
20280 cat >>confdefs.h
<<_ACEOF
20288 for ac_header
in unistd.h vfork.h
20290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20292 echo "$as_me:$LINENO: checking for $ac_header" >&5
20293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20300 # Is the header compilable?
20301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 #include <$ac_header>
20312 rm -f conftest.
$ac_objext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314 (eval $ac_compile) 2>conftest.er1
20316 grep -v '^ *+' conftest.er1
>conftest.err
20318 cat conftest.err
>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try
='test -z "$ac_c_werror_flag"
20322 || test ! -s conftest.err'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; } &&
20328 { ac_try
='test -s conftest.$ac_objext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_header_compiler
=yes
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.
$ac_ext >&5
20339 ac_header_compiler
=no
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20343 echo "${ECHO_T}$ac_header_compiler" >&6
20345 # Is the header present?
20346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20348 cat >conftest.
$ac_ext <<_ACEOF
20351 cat confdefs.h
>>conftest.
$ac_ext
20352 cat >>conftest.
$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 #include <$ac_header>
20356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20359 grep -v '^ *+' conftest.er1
>conftest.err
20361 cat conftest.err
>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } >/dev
/null
; then
20364 if test -s conftest.err
; then
20365 ac_cpp_err
=$ac_c_preproc_warn_flag
20366 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20373 if test -z "$ac_cpp_err"; then
20374 ac_header_preproc
=yes
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20379 ac_header_preproc
=no
20381 rm -f conftest.err conftest.
$ac_ext
20382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20383 echo "${ECHO_T}$ac_header_preproc" >&6
20385 # So? What about this header?
20386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20392 ac_header_preproc
=yes
20395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20409 ## ------------------------------------------ ##
20410 ## Report this to the AC_PACKAGE_NAME lists. ##
20411 ## ------------------------------------------ ##
20414 sed "s/^/$as_me: WARNING: /" >&2
20417 echo "$as_me:$LINENO: checking for $ac_header" >&5
20418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 eval "$as_ac_Header=\$ac_header_preproc"
20424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20429 cat >>confdefs.h
<<_ACEOF
20430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20439 for ac_func
in fork vfork
20441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20442 echo "$as_me:$LINENO: checking for $ac_func" >&5
20443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20444 if eval "test \"\${$as_ac_var+set}\" = set"; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20455 #define $ac_func innocuous_$ac_func
20457 /* System header to define __stub macros and hopefully few prototypes,
20458 which can conflict with char $ac_func (); below.
20459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20460 <limits.h> exists even on freestanding compilers. */
20463 # include <limits.h>
20465 # include <assert.h>
20470 /* Override any gcc2 internal prototype to avoid an error. */
20475 /* We use char because int might match the return type of a gcc2
20476 builtin and then its argument prototype would still apply. */
20478 /* The GNU C library defines this for functions which it implements
20479 to always fail with ENOSYS. Some functions are actually named
20480 something starting with __ and the normal name is an alias. */
20481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20484 char (*f) () = $ac_func;
20493 return f != $ac_func;
20498 rm -f conftest.
$ac_objext conftest
$ac_exeext
20499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20500 (eval $ac_link) 2>conftest.er1
20502 grep -v '^ *+' conftest.er1
>conftest.err
20504 cat conftest.err
>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } &&
20507 { ac_try
='test -z "$ac_c_werror_flag"
20508 || test ! -s conftest.err'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; } &&
20514 { ac_try
='test -s conftest$ac_exeext'
20515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20516 (eval $ac_try) 2>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); }; }; then
20520 eval "$as_ac_var=yes"
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.
$ac_ext >&5
20525 eval "$as_ac_var=no"
20527 rm -f conftest.err conftest.
$ac_objext \
20528 conftest
$ac_exeext conftest.
$ac_ext
20530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20532 if test `eval echo '${'$as_ac_var'}'` = yes; then
20533 cat >>confdefs.h
<<_ACEOF
20534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20540 if test "x$ac_cv_func_fork" = xyes
; then
20541 echo "$as_me:$LINENO: checking for working fork" >&5
20542 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
20543 if test "${ac_cv_func_fork_works+set}" = set; then
20544 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 if test "$cross_compiling" = yes; then
20547 ac_cv_func_fork_works
=cross
20549 cat >conftest.
$ac_ext <<_ACEOF
20550 /* By Ruediger Kuhlmann. */
20551 #include <sys/types.h>
20553 # include <unistd.h>
20555 /* Some systems only have a dummy stub for fork() */
20563 rm -f conftest
$ac_exeext
20564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20565 (eval $ac_link) 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_func_fork_works
=yes
20576 echo "$as_me: program exited with status $ac_status" >&5
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.
$ac_ext >&5
20580 ( exit $ac_status )
20581 ac_cv_func_fork_works
=no
20583 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20586 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
20587 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
20590 ac_cv_func_fork_works
=$ac_cv_func_fork
20592 if test "x$ac_cv_func_fork_works" = xcross
; then
20594 *-*-amigaos* |
*-*-msdosdjgpp*)
20595 # Override, as these systems have only a dummy fork() stub
20596 ac_cv_func_fork_works
=no
20599 ac_cv_func_fork_works
=yes
20602 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
20603 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
20605 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20606 if test "x$ac_cv_func_vfork" = xyes
; then
20607 echo "$as_me:$LINENO: checking for working vfork" >&5
20608 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
20609 if test "${ac_cv_func_vfork_works+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 if test "$cross_compiling" = yes; then
20613 ac_cv_func_vfork_works
=cross
20615 cat >conftest.
$ac_ext <<_ACEOF
20618 cat confdefs.h
>>conftest.
$ac_ext
20619 cat >>conftest.
$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 /* Thanks to Paul Eggert for this test. */
20623 #include <stdlib.h>
20624 #include <sys/types.h>
20625 #include <sys/stat.h>
20626 #include <sys/wait.h>
20628 # include <unistd.h>
20631 # include <vfork.h>
20633 /* On some sparc systems, changes by the child to local and incoming
20634 argument registers are propagated back to the parent. The compiler
20635 is told about this with #include <vfork.h>, but some compilers
20636 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
20637 static variable whose address is put into a register that is
20638 clobbered by the vfork. */
20641 sparc_address_test (int arg)
20643 sparc_address_test (arg) int arg;
20646 static pid_t child;
20664 pid_t parent = getpid ();
20667 sparc_address_test (0);
20672 /* Here is another test for sparc vfork register problems. This
20673 test uses lots of local variables, at least as many local
20674 variables as main has allocated so far including compiler
20675 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
20676 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
20677 reuse the register of parent for one of the local variables,
20678 since it will think that parent can't possibly be used any more
20679 in this routine. Assigning to the local variable will thus
20680 munge parent in the parent process. */
20682 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
20683 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
20684 /* Convince the compiler that p..p7 are live; otherwise, it might
20685 use the same hardware register for all 8 local variables. */
20686 if (p != p1 || p != p2 || p != p3 || p != p4
20687 || p != p5 || p != p6 || p != p7)
20690 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
20691 from child file descriptors. If the child closes a descriptor
20692 before it execs or exits, this munges the parent's descriptor
20693 as well. Test for this by closing stdout in the child. */
20694 _exit(close(fileno(stdout)) != 0);
20699 while (wait(&status) != child)
20702 /* Was there some problem with vforking? */
20705 /* Did the child fail? (This shouldn't happen.) */
20708 /* Did the vfork/compiler bug occur? */
20709 || parent != getpid()
20711 /* Did the file descriptor bug occur? */
20712 || fstat(fileno(stdout), &st) != 0
20717 rm -f conftest
$ac_exeext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20719 (eval $ac_link) 2>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; }; then
20728 ac_cv_func_vfork_works
=yes
20730 echo "$as_me: program exited with status $ac_status" >&5
20731 echo "$as_me: failed program was:" >&5
20732 sed 's/^/| /' conftest.
$ac_ext >&5
20734 ( exit $ac_status )
20735 ac_cv_func_vfork_works
=no
20737 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20740 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
20741 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
20744 if test "x$ac_cv_func_fork_works" = xcross
; then
20745 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20746 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
20747 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
20750 if test "x$ac_cv_func_vfork_works" = xyes
; then
20752 cat >>confdefs.h
<<\_ACEOF
20753 #define HAVE_WORKING_VFORK 1
20758 cat >>confdefs.h
<<\_ACEOF
20763 if test "x$ac_cv_func_fork_works" = xyes
; then
20765 cat >>confdefs.h
<<\_ACEOF
20766 #define HAVE_WORKING_FORK 1
20772 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
20773 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
20774 if test "${emacs_cv_langinfo_codeset+set}" = set; then
20775 echo $ECHO_N "(cached) $ECHO_C" >&6
20777 cat >conftest.
$ac_ext <<_ACEOF
20780 cat confdefs.h
>>conftest.
$ac_ext
20781 cat >>conftest.
$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <langinfo.h>
20787 char* cs = nl_langinfo(CODESET);
20792 rm -f conftest.
$ac_objext conftest
$ac_exeext
20793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20794 (eval $ac_link) 2>conftest.er1
20796 grep -v '^ *+' conftest.er1
>conftest.err
20798 cat conftest.err
>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try
='test -z "$ac_c_werror_flag"
20802 || test ! -s conftest.err'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; } &&
20808 { ac_try
='test -s conftest$ac_exeext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 emacs_cv_langinfo_codeset
=yes
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.
$ac_ext >&5
20819 emacs_cv_langinfo_codeset
=no
20821 rm -f conftest.err conftest.
$ac_objext \
20822 conftest
$ac_exeext conftest.
$ac_ext
20825 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
20826 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
20827 if test $emacs_cv_langinfo_codeset = yes; then
20829 cat >>confdefs.h
<<\_ACEOF
20830 #define HAVE_LANGINFO_CODESET 1
20835 echo "$as_me:$LINENO: checking for size_t" >&5
20836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20837 if test "${ac_cv_type_size_t+set}" = set; then
20838 echo $ECHO_N "(cached) $ECHO_C" >&6
20840 cat >conftest.
$ac_ext <<_ACEOF
20843 cat confdefs.h
>>conftest.
$ac_ext
20844 cat >>conftest.
$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20846 $ac_includes_default
20852 if (sizeof (size_t))
20858 rm -f conftest.
$ac_objext
20859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20860 (eval $ac_compile) 2>conftest.er1
20862 grep -v '^ *+' conftest.er1
>conftest.err
20864 cat conftest.err
>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } &&
20867 { ac_try
='test -z "$ac_c_werror_flag"
20868 || test ! -s conftest.err'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; } &&
20874 { ac_try
='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_type_size_t
=yes
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.
$ac_ext >&5
20885 ac_cv_type_size_t
=no
20887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20889 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20890 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20891 if test $ac_cv_type_size_t = yes; then
20893 cat >>confdefs.h
<<_ACEOF
20894 #define HAVE_SIZE_T 1
20901 echo "$as_me:$LINENO: checking for mbstate_t" >&5
20902 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
20903 if test "${ac_cv_type_mbstate_t+set}" = set; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 cat >conftest.
$ac_ext <<_ACEOF
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20913 # include <wchar.h>
20917 mbstate_t x; return sizeof x;
20922 rm -f conftest.
$ac_objext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20924 (eval $ac_compile) 2>conftest.er1
20926 grep -v '^ *+' conftest.er1
>conftest.err
20928 cat conftest.err
>&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try
='test -z "$ac_c_werror_flag"
20932 || test ! -s conftest.err'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; } &&
20938 { ac_try
='test -s conftest.$ac_objext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 ac_cv_type_mbstate_t
=yes
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.
$ac_ext >&5
20949 ac_cv_type_mbstate_t
=no
20951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20953 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
20954 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
20955 if test $ac_cv_type_mbstate_t = yes; then
20957 cat >>confdefs.h
<<\_ACEOF
20958 #define HAVE_MBSTATE_T 1
20963 cat >>confdefs.h
<<\_ACEOF
20964 #define mbstate_t int
20969 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
20970 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
20971 if test "${emacs_cv_c_restrict+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 cat >conftest.
$ac_ext <<_ACEOF
20977 cat confdefs.h
>>conftest.
$ac_ext
20978 cat >>conftest.
$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 void fred (int *restrict x);
20989 rm -f conftest.
$ac_objext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20991 (eval $ac_compile) 2>conftest.er1
20993 grep -v '^ *+' conftest.er1
>conftest.err
20995 cat conftest.err
>&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } &&
20998 { ac_try
='test -z "$ac_c_werror_flag"
20999 || test ! -s conftest.err'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; } &&
21005 { ac_try
='test -s conftest.$ac_objext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 emacs_cv_c_restrict
=yes
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.
$ac_ext >&5
21016 cat >conftest.
$ac_ext <<_ACEOF
21019 cat confdefs.h
>>conftest.
$ac_ext
21020 cat >>conftest.
$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 void fred (int *__restrict x);
21031 rm -f conftest.
$ac_objext
21032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21033 (eval $ac_compile) 2>conftest.er1
21035 grep -v '^ *+' conftest.er1
>conftest.err
21037 cat conftest.err
>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } &&
21040 { ac_try
='test -z "$ac_c_werror_flag"
21041 || test ! -s conftest.err'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; } &&
21047 { ac_try
='test -s conftest.$ac_objext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 emacs_cv_c_restrict
=__restrict
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.
$ac_ext >&5
21058 emacs_cv_c_restrict
=no
21060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21064 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21065 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21066 case "$emacs_cv_c_restrict" in
21067 yes) emacs_restrict
=restrict
;;
21068 no
) emacs_restrict
="";;
21069 *) emacs_restrict
="$emacs_cv_c_restrict";;
21071 if test "$emacs_restrict" != __restrict
; then
21073 cat >>confdefs.h
<<_ACEOF
21074 #define __restrict $emacs_restrict
21079 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21080 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21081 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 cat >conftest.
$ac_ext <<_ACEOF
21087 cat confdefs.h
>>conftest.
$ac_ext
21088 cat >>conftest.
$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 void fred (int x[__restrict]);
21099 rm -f conftest.
$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101 (eval $ac_compile) 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try
='test -z "$ac_c_werror_flag"
21109 || test ! -s conftest.err'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; } &&
21115 { ac_try
='test -s conftest.$ac_objext'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 emacs_cv_c_restrict_arr
=yes
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.
$ac_ext >&5
21126 emacs_cv_c_restrict_arr
=no
21128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21130 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21131 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21132 if test "$emacs_cv_c_restrict_arr" = yes; then
21134 cat >>confdefs.h
<<\_ACEOF
21135 #define __restrict_arr __restrict
21142 # Set up the CFLAGS for real compilation, so we can substitute it.
21143 CFLAGS
="$REAL_CFLAGS"
21144 CPPFLAGS
="$REAL_CPPFLAGS"
21146 #### Find out which version of Emacs this is.
21147 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21148 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21149 if test x
"${version}" = x
; then
21150 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21151 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21152 { (exit 1); exit 1; }; }
21155 ### Specify what sort of things we'll be editing into Makefile and config.h.
21156 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21192 cat >>confdefs.h
<<_ACEOF
21193 #define EMACS_CONFIGURATION "${canonical}"
21197 cat >>confdefs.h
<<_ACEOF
21198 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21202 cat >>confdefs.h
<<_ACEOF
21203 #define config_machfile "${machfile}"
21207 cat >>confdefs.h
<<_ACEOF
21208 #define config_opsysfile "${opsysfile}"
21212 cat >>confdefs.h
<<_ACEOF
21213 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21217 cat >>confdefs.h
<<_ACEOF
21218 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21222 cat >>confdefs.h
<<_ACEOF
21223 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21227 cat >>confdefs.h
<<_ACEOF
21228 #define UNEXEC_SRC ${UNEXEC_SRC}
21232 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21234 cat >>confdefs.h
<<\_ACEOF
21235 #define HAVE_X_WINDOWS 1
21239 if test "${USE_X_TOOLKIT}" != "none" ; then
21241 cat >>confdefs.h
<<\_ACEOF
21242 #define USE_X_TOOLKIT 1
21246 if test "${HAVE_X11}" = "yes" ; then
21248 cat >>confdefs.h
<<\_ACEOF
21253 if test "${HAVE_XFREE386}" = "yes" ; then
21255 cat >>confdefs.h
<<\_ACEOF
21256 #define HAVE_XFREE386 1
21260 if test "${HAVE_MENUS}" = "yes" ; then
21262 cat >>confdefs.h
<<\_ACEOF
21263 #define HAVE_MENUS 1
21267 if test "${GNU_MALLOC}" = "yes" ; then
21269 cat >>confdefs.h
<<\_ACEOF
21270 #define GNU_MALLOC 1
21274 if test "${REL_ALLOC}" = "yes" ; then
21276 cat >>confdefs.h
<<\_ACEOF
21277 #define REL_ALLOC 1
21286 #### Report on what we decided to do.
21287 #### Report GTK as a toolkit, even if it doesn't use Xt.
21288 #### It makes printing result more understandable as using GTK sets
21289 #### toolkit_scroll_bars to yes by default.
21290 if test "${HAVE_GTK}" = "yes"; then
21295 Configured for \`${canonical}'.
21297 Where should the build process find the source code? ${srcdir}
21298 What operating system and machine description files should Emacs use?
21299 \`${opsysfile}' and \`${machfile}'
21300 What compiler should emacs be built with? ${CC} ${CFLAGS}
21301 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21302 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21303 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21304 What window system should Emacs use? ${window_system}
21305 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21307 if test -n "${x_includes}"; then
21308 echo " Where do we find X Windows header files? ${x_includes}"
21310 echo " Where do we find X Windows header files? Standard dirs"
21312 if test -n "${x_libraries}"; then
21313 echo " Where do we find X Windows libraries? ${x_libraries}"
21315 echo " Where do we find X Windows libraries? Standard dirs"
21318 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21319 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21320 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21321 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21322 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21323 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21324 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21327 # Remove any trailing slashes in these variables.
21328 test "${prefix}" != NONE
&&
21329 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
21330 test "${exec_prefix}" != NONE
&&
21331 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
21333 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
21334 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
21335 ## from Makefile.c can correctly provide the arg `-traditional' to the
21338 cat >conftest.
$ac_ext <<_ACEOF
21341 cat confdefs.h
>>conftest.
$ac_ext
21342 cat >>conftest.
$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21347 $EGREP "yes..yes" >/dev
/null
2>&1; then
21348 CPP_NEED_TRADITIONAL
=no
21350 CPP_NEED_TRADITIONAL
=yes
21355 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"
21356 ac_config_commands
="$ac_config_commands default"
21357 cat >confcache
<<\_ACEOF
21358 # This file is a shell script that caches the results of configure
21359 # tests run on this system so they can be shared between configure
21360 # scripts and configure runs, see configure's option --config-cache.
21361 # It is not useful on other systems. If it contains results you don't
21362 # want to keep, you may remove or edit it.
21364 # config.status only pays attention to the cache file if you give it
21365 # the --recheck option to rerun configure.
21367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21369 # following values.
21373 # The following way of writing the cache mishandles newlines in values,
21374 # but we know of no workaround that is simple, portable, and efficient.
21375 # So, don't put newlines in cache variables' values.
21376 # Ultrix sh set writes to stderr and can't be redirected directly,
21377 # and sets the high bit in the cache file unless we assign to the vars.
21380 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21382 # `set' does not quote correctly, so add quotes (double-quote
21383 # substitution turns \\\\ into \\, and sed turns \\ into \).
21386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21389 # `set' quotes correctly as required by POSIX, so do not add quotes.
21391 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21398 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21400 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21402 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21403 if test -w $cache_file; then
21404 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21405 cat confcache
>$cache_file
21407 echo "not updating unwritable cache $cache_file"
21412 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21413 # Let make expand exec_prefix.
21414 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21416 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21417 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21418 # trailing colons and then remove the whole line if VPATH becomes empty
21419 # (actually we leave an empty line to preserve line numbers).
21420 if test "x$srcdir" = x.
; then
21421 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21422 s/:*\$(srcdir):*/:/;
21423 s/:*\${srcdir}:*/:/;
21425 s/^\([^=]*=[ ]*\):*/\1/;
21431 DEFS
=-DHAVE_CONFIG_H
21435 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21436 # 1. Remove the extension, and $U if already installed.
21437 ac_i
=`echo "$ac_i" |
21438 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21440 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21441 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21443 LIBOBJS
=$ac_libobjs
21445 LTLIBOBJS
=$ac_ltlibobjs
21449 : ${CONFIG_STATUS=./config.status}
21450 ac_clean_files_save
=$ac_clean_files
21451 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21452 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21453 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21454 cat >$CONFIG_STATUS <<_ACEOF
21456 # Generated by $as_me.
21457 # Run this file to recreate the current configuration.
21458 # Compiler output produced by configure, useful for debugging
21459 # configure, is in config.log if it exists.
21462 ac_cs_recheck=false
21464 SHELL=\${CONFIG_SHELL-$SHELL}
21467 cat >>$CONFIG_STATUS <<\_ACEOF
21468 ## --------------------- ##
21469 ## M4sh Initialization. ##
21470 ## --------------------- ##
21472 # Be Bourne compatible
21473 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21476 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21477 # is contrary to our usage. Disable this feature.
21478 alias -g '${1+"$@"}'='"$@"'
21479 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21482 DUALCASE
=1; export DUALCASE
# for MKS sh
21484 # Support unset when possible.
21485 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21492 # Work around bugs in pre-3.0 UWIN ksh.
21493 $as_unset ENV MAIL MAILPATH
21500 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21501 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21502 LC_TELEPHONE LC_TIME
21504 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21505 eval $as_var=C
; export $as_var
21511 # Required to use basename.
21512 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21518 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21519 as_basename
=basename
21525 # Name of the executable.
21526 as_me
=`$as_basename "$0" ||
21527 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21528 X"$0" : 'X\(//\)$' \| \
21529 X"$0" : 'X\(/\)$' \| \
21530 . : '\(.\)' 2>/dev/null ||
21532 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21533 /^X\/\(\/\/\)$/{ s//\1/; q; }
21534 /^X\/\(\/\).*/{ s//\1/; q; }
21538 # PATH needs CR, and LINENO needs CR and PATH.
21539 # Avoid depending upon Character Ranges.
21540 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21541 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21542 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21543 as_cr_digits
='0123456789'
21544 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21546 # The user is always right.
21547 if test "${PATH_SEPARATOR+set}" != set; then
21548 echo "#! /bin/sh" >conf$$.sh
21549 echo "exit 0" >>conf$$.sh
21551 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21560 as_lineno_1
=$LINENO
21561 as_lineno_2
=$LINENO
21562 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21563 test "x$as_lineno_1" != "x$as_lineno_2" &&
21564 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21565 # Find who we are. Look in the path if we contain no path at all
21568 *[\\/]* ) as_myself
=$0 ;;
21569 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21570 for as_dir
in $PATH
21573 test -z "$as_dir" && as_dir
=.
21574 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21579 # We did not find ourselves, most probably we were run as `sh COMMAND'
21580 # in which case we are not to be found in the path.
21581 if test "x$as_myself" = x
; then
21584 if test ! -f "$as_myself"; then
21585 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21586 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21587 { (exit 1); exit 1; }; }
21589 case $CONFIG_SHELL in
21591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21592 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21595 test -z "$as_dir" && as_dir
=.
21596 for as_base
in sh bash ksh sh5
; do
21599 if ("$as_dir/$as_base" -c '
21600 as_lineno_1=$LINENO
21601 as_lineno_2=$LINENO
21602 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21603 test "x$as_lineno_1" != "x$as_lineno_2" &&
21604 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21605 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21606 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21607 CONFIG_SHELL
=$as_dir/$as_base
21608 export CONFIG_SHELL
21609 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21617 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21618 # uniformly replaced by the line number. The first 'sed' inserts a
21619 # line-number line before each line; the second 'sed' does the real
21620 # work. The second script uses 'N' to pair each line-number line
21621 # with the numbered line, and appends trailing '-' during
21622 # substitution so that $LINENO is not a special case at line end.
21623 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21624 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21625 sed '=' <$as_myself |
21630 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21633 s,^['$as_cr_digits']*\n,,
21634 ' >$as_me.lineno
&&
21635 chmod +x
$as_me.lineno ||
21636 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21637 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21638 { (exit 1); exit 1; }; }
21640 # Don't try to exec as it changes $[0], causing all sort of problems
21641 # (the dirname of $[0] is not the place where we might find the
21642 # original and so on. Autoconf is especially sensible to this).
21644 # Exit status is that of the last command.
21649 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21650 *c
*,-n*) ECHO_N
= ECHO_C
='
21652 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21653 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21656 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21662 rm -f conf$$ conf$$.exe conf$$.
file
21664 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21665 # We could just check for DJGPP; but this test a) works b) is more generic
21666 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21667 if test -f conf$$.exe
; then
21668 # Don't use ln at all; we don't have any links
21673 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21678 rm -f conf$$ conf$$.exe conf$$.
file
21680 if mkdir
-p .
2>/dev
/null
; then
21683 test -d .
/-p && rmdir .
/-p
21687 as_executable_p
="test -f"
21689 # Sed expression to map a string onto a valid CPP name.
21690 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21692 # Sed expression to map a string onto a valid variable name.
21693 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21697 # We need space, tab and new line, in precisely that order.
21707 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21708 # report actual input values of CONFIG_FILES etc. instead of their
21709 # values after options handling. Logging --version etc. is OK.
21713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21714 ## Running $as_me. ##
21719 This file was extended by $as_me, which was
21720 generated by GNU Autoconf 2.59. Invocation command line was
21722 CONFIG_FILES = $CONFIG_FILES
21723 CONFIG_HEADERS = $CONFIG_HEADERS
21724 CONFIG_LINKS = $CONFIG_LINKS
21725 CONFIG_COMMANDS = $CONFIG_COMMANDS
21729 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21733 # Files that config.status was made for.
21734 if test -n "$ac_config_files"; then
21735 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21738 if test -n "$ac_config_headers"; then
21739 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21742 if test -n "$ac_config_links"; then
21743 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21746 if test -n "$ac_config_commands"; then
21747 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21750 cat >>$CONFIG_STATUS <<\_ACEOF
21753 \`$as_me' instantiates files from templates according to the
21754 current configuration.
21756 Usage: $0 [OPTIONS] [FILE]...
21758 -h, --help print this help, then exit
21759 -V, --version print version number, then exit
21760 -q, --quiet do not print progress messages
21761 -d, --debug don't remove temporary files
21762 --recheck update $as_me by reconfiguring in the same conditions
21763 --file=FILE[:TEMPLATE]
21764 instantiate the configuration file FILE
21765 --header=FILE[:TEMPLATE]
21766 instantiate the configuration header FILE
21768 Configuration files:
21771 Configuration headers:
21774 Configuration commands:
21777 Report bugs to <bug-autoconf@gnu.org>."
21780 cat >>$CONFIG_STATUS <<_ACEOF
21783 configured by $0, generated by GNU Autoconf 2.59,
21784 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21786 Copyright (C) 2003 Free Software Foundation, Inc.
21787 This config.status script is free software; the Free Software Foundation
21788 gives unlimited permission to copy, distribute and modify it."
21793 cat >>$CONFIG_STATUS <<\_ACEOF
21794 # If no file are specified by the user, then we need to provide default
21795 # value. By we need to know if files were specified by the user.
21801 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21802 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21810 *) # This is not an option, so the user has probably given explicit
21813 ac_need_defaults
=false
;;
21817 # Handling of the options.
21819 cat >>$CONFIG_STATUS <<\_ACEOF
21820 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21822 --version |
--vers* |
-V )
21823 echo "$ac_cs_version"; exit 0 ;;
21825 # Conflict between --help and --header
21826 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21827 Try \`$0 --help' for more information." >&5
21828 echo "$as_me: error: ambiguous option: $1
21829 Try \`$0 --help' for more information." >&2;}
21830 { (exit 1); exit 1; }; };;
21831 --help |
--hel |
-h )
21832 echo "$ac_cs_usage"; exit 0 ;;
21833 --debug |
--d* |
-d )
21835 --file |
--fil |
--fi |
--f )
21837 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21838 ac_need_defaults
=false
;;
21839 --header |
--heade |
--head |
--hea )
21841 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21842 ac_need_defaults
=false
;;
21843 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21844 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21847 # This is an error.
21848 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21849 Try \`$0 --help' for more information." >&5
21850 echo "$as_me: error: unrecognized option: $1
21851 Try \`$0 --help' for more information." >&2;}
21852 { (exit 1); exit 1; }; } ;;
21854 *) ac_config_targets
="$ac_config_targets $1" ;;
21860 ac_configure_extra_args
=
21862 if $ac_cs_silent; then
21864 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21868 cat >>$CONFIG_STATUS <<_ACEOF
21869 if \$ac_cs_recheck; then
21870 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21871 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21876 cat >>$CONFIG_STATUS <<_ACEOF
21878 # INIT-COMMANDS section.
21881 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
21887 cat >>$CONFIG_STATUS <<\_ACEOF
21888 for ac_config_target
in $ac_config_targets
21890 case "$ac_config_target" in
21891 # Handling of arguments.
21892 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21893 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
21894 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
21895 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
21896 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
21897 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
21898 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
21899 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
21900 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
21901 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
21902 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
21903 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
21904 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21905 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21906 { (exit 1); exit 1; }; };;
21910 # If the user did not use the arguments to specify the items to instantiate,
21911 # then the envvar interface is used. Set only those that are not.
21912 # We use the long form for the default assignment because of an extremely
21913 # bizarre bug on SunOS 4.1.3.
21914 if $ac_need_defaults; then
21915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21917 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21920 # Have a temporary directory for convenience. Make it in the build tree
21921 # simply because there is no reason to put it here, and in addition,
21922 # creating and moving files from /tmp can sometimes cause problems.
21923 # Create a temporary directory, and hook for its removal unless debugging.
21926 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21927 trap '{ (exit 1); exit 1; }' 1 2 13 15
21930 # Create a (secure) tmp directory for tmp files.
21933 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21934 test -n "$tmp" && test -d "$tmp"
21937 tmp
=.
/confstat$$
-$RANDOM
21938 (umask 077 && mkdir
$tmp)
21941 echo "$me: cannot create a temporary directory in ." >&2
21942 { (exit 1); exit 1; }
21947 cat >>$CONFIG_STATUS <<_ACEOF
21950 # CONFIG_FILES section.
21953 # No need to generate the scripts if there are no CONFIG_FILES.
21954 # This happens for instance when ./config.status config.h
21955 if test -n "\$CONFIG_FILES"; then
21956 # Protect against being on the right side of a sed subst in config.status.
21957 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21958 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21959 s,@SHELL@,$SHELL,;t t
21960 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21961 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21962 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21963 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21964 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21965 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21966 s,@exec_prefix@,$exec_prefix,;t t
21967 s,@prefix@,$prefix,;t t
21968 s,@program_transform_name@,$program_transform_name,;t t
21969 s,@bindir@,$bindir,;t t
21970 s,@sbindir@,$sbindir,;t t
21971 s,@libexecdir@,$libexecdir,;t t
21972 s,@datadir@,$datadir,;t t
21973 s,@sysconfdir@,$sysconfdir,;t t
21974 s,@sharedstatedir@,$sharedstatedir,;t t
21975 s,@localstatedir@,$localstatedir,;t t
21976 s,@libdir@,$libdir,;t t
21977 s,@includedir@,$includedir,;t t
21978 s,@oldincludedir@,$oldincludedir,;t t
21979 s,@infodir@,$infodir,;t t
21980 s,@mandir@,$mandir,;t t
21981 s,@build_alias@,$build_alias,;t t
21982 s,@host_alias@,$host_alias,;t t
21983 s,@target_alias@,$target_alias,;t t
21984 s,@DEFS@,$DEFS,;t t
21985 s,@ECHO_C@,$ECHO_C,;t t
21986 s,@ECHO_N@,$ECHO_N,;t t
21987 s,@ECHO_T@,$ECHO_T,;t t
21988 s,@LIBS@,$LIBS,;t t
21989 s,@MAINT@,$MAINT,;t t
21990 s,@build@,$build,;t t
21991 s,@build_cpu@,$build_cpu,;t t
21992 s,@build_vendor@,$build_vendor,;t t
21993 s,@build_os@,$build_os,;t t
21994 s,@host@,$host,;t t
21995 s,@host_cpu@,$host_cpu,;t t
21996 s,@host_vendor@,$host_vendor,;t t
21997 s,@host_os@,$host_os,;t t
21999 s,@CFLAGS@,$CFLAGS,;t t
22000 s,@LDFLAGS@,$LDFLAGS,;t t
22001 s,@CPPFLAGS@,$CPPFLAGS,;t t
22002 s,@ac_ct_CC@,$ac_ct_CC,;t t
22003 s,@EXEEXT@,$EXEEXT,;t t
22004 s,@OBJEXT@,$OBJEXT,;t t
22005 s,@LN_S@,$LN_S,;t t
22007 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22008 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22009 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22010 s,@RANLIB@,$RANLIB,;t t
22011 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22012 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22013 s,@EGREP@,$EGREP,;t t
22014 s,@LIBSOUND@,$LIBSOUND,;t t
22015 s,@SET_MAKE@,$SET_MAKE,;t t
22016 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22017 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22018 s,@GTK_LIBS@,$GTK_LIBS,;t t
22019 s,@ALLOCA@,$ALLOCA,;t t
22020 s,@liblockfile@,$liblockfile,;t t
22021 s,@LIBOBJS@,$LIBOBJS,;t t
22022 s,@NEED_SETGID@,$NEED_SETGID,;t t
22023 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22024 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22025 s,@version@,$version,;t t
22026 s,@configuration@,$configuration,;t t
22027 s,@canonical@,$canonical,;t t
22028 s,@srcdir@,$srcdir,;t t
22029 s,@lispdir@,$lispdir,;t t
22030 s,@locallisppath@,$locallisppath,;t t
22031 s,@lisppath@,$lisppath,;t t
22032 s,@x_default_search_path@,$x_default_search_path,;t t
22033 s,@etcdir@,$etcdir,;t t
22034 s,@archlibdir@,$archlibdir,;t t
22035 s,@docdir@,$docdir,;t t
22036 s,@bitmapdir@,$bitmapdir,;t t
22037 s,@gamedir@,$gamedir,;t t
22038 s,@gameuser@,$gameuser,;t t
22039 s,@c_switch_system@,$c_switch_system,;t t
22040 s,@c_switch_machine@,$c_switch_machine,;t t
22041 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22042 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22043 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22044 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22045 s,@machfile@,$machfile,;t t
22046 s,@opsysfile@,$opsysfile,;t t
22047 s,@carbon_appdir@,$carbon_appdir,;t t
22048 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22053 cat >>$CONFIG_STATUS <<\_ACEOF
22054 # Split the substitutions into bite-sized pieces for seds with
22055 # small command number limits, like on Digital OSF/1 and HP-UX.
22056 ac_max_sed_lines
=48
22057 ac_sed_frag
=1 # Number of current file.
22058 ac_beg
=1 # First line for current file.
22059 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22062 while $ac_more_lines; do
22063 if test $ac_beg -gt 1; then
22064 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22066 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22068 if test ! -s $tmp/subs.frag
; then
22069 ac_more_lines
=false
22071 # The purpose of the label and of the branching condition is to
22072 # speed up the sed processing (if there are no `@' at all, there
22073 # is no need to browse any of the substitutions).
22074 # These are the two extra sed commands mentioned above.
22076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22077 if test -z "$ac_sed_cmds"; then
22078 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22080 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22082 ac_sed_frag
=`expr $ac_sed_frag + 1`
22084 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22087 if test -z "$ac_sed_cmds"; then
22090 fi # test -n "$CONFIG_FILES"
22093 cat >>$CONFIG_STATUS <<\_ACEOF
22094 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22095 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22097 - |
*:- |
*:-:* ) # input from stdin
22099 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22100 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22101 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22102 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22103 * ) ac_file_in
=$ac_file.
in ;;
22106 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22107 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22109 X"$ac_file" : 'X\(//\)[^/]' \| \
22110 X"$ac_file" : 'X\(//\)$' \| \
22111 X"$ac_file" : 'X\(/\)' \| \
22112 . : '\(.\)' 2>/dev/null ||
22114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22115 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22116 /^X\(\/\/\)$/{ s//\1/; q; }
22117 /^X\(\/\).*/{ s//\1/; q; }
22119 { if $as_mkdir_p; then
22124 while test ! -d "$as_dir"; do
22125 as_dirs
="$as_dir $as_dirs"
22126 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22128 X"$as_dir" : 'X\(//\)[^/]' \| \
22129 X"$as_dir" : 'X\(//\)$' \| \
22130 X"$as_dir" : 'X\(/\)' \| \
22131 . : '\(.\)' 2>/dev/null ||
22133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22135 /^X\(\/\/\)$/{ s//\1/; q; }
22136 /^X\(\/\).*/{ s//\1/; q; }
22139 test ! -n "$as_dirs" || mkdir
$as_dirs
22140 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22141 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22142 { (exit 1); exit 1; }; }; }
22146 if test "$ac_dir" != .
; then
22147 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22148 # A "../" for each directory in $ac_dir_suffix.
22149 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22151 ac_dir_suffix
= ac_top_builddir
=
22155 .
) # No --srcdir option. We are building in place.
22157 if test -z "$ac_top_builddir"; then
22160 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22162 [\\/]* | ?
:[\\/]* ) # Absolute path.
22163 ac_srcdir
=$srcdir$ac_dir_suffix;
22164 ac_top_srcdir
=$srcdir ;;
22165 *) # Relative path.
22166 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22167 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22170 # Do not use `cd foo && pwd` to compute absolute paths, because
22171 # the directories may not exist.
22173 .
) ac_abs_builddir
="$ac_dir";;
22176 .
) ac_abs_builddir
=`pwd`;;
22177 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22178 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22181 case $ac_abs_builddir in
22182 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22184 case ${ac_top_builddir}.
in
22185 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22186 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22187 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22190 case $ac_abs_builddir in
22191 .
) ac_abs_srcdir
=$ac_srcdir;;
22194 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22195 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22196 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22199 case $ac_abs_builddir in
22200 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22202 case $ac_top_srcdir in
22203 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22204 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22205 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22211 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22212 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22215 if test x
"$ac_file" != x-
; then
22216 { echo "$as_me:$LINENO: creating $ac_file" >&5
22217 echo "$as_me: creating $ac_file" >&6;}
22220 # Let's still pretend it is `configure' which instantiates (i.e., don't
22221 # use $as_me), people would be surprised to read:
22222 # /* config.h. Generated by config.status. */
22223 if test x
"$ac_file" = x-
; then
22226 configure_input
="$ac_file. "
22228 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22229 sed 's,.*/,,'` by configure."
22231 # First look for the input files in the build tree, otherwise in the
22233 ac_file_inputs
=`IFS=:
22234 for f in $ac_file_in; do
22236 -) echo $tmp/stdin ;;
22238 # Absolute (can't be DOS-style, as IFS=:)
22239 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22240 echo "$as_me: error: cannot find input file: $f" >&2;}
22241 { (exit 1); exit 1; }; }
22244 if test -f "$f"; then
22247 elif test -f "$srcdir/$f"; then
22252 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22253 echo "$as_me: error: cannot find input file: $f" >&2;}
22254 { (exit 1); exit 1; }; }
22257 done` ||
{ (exit 1); exit 1; }
22259 cat >>$CONFIG_STATUS <<_ACEOF
22263 cat >>$CONFIG_STATUS <<\_ACEOF
22265 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22266 s
,@configure_input@
,$configure_input,;t t
22267 s
,@srcdir@
,$ac_srcdir,;t t
22268 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22269 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22270 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22271 s
,@builddir@
,$ac_builddir,;t t
22272 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22273 s
,@top_builddir@
,$ac_top_builddir,;t t
22274 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22275 s
,@INSTALL@
,$ac_INSTALL,;t t
22276 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22278 if test x"$ac_file" != x-; then
22279 mv $tmp/out $ac_file
22287 cat >>$CONFIG_STATUS <<\_ACEOF
22290 # CONFIG_HEADER section.
22293 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22294 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22296 # ac_d sets the value in "#define NAME VALUE" lines.
22297 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22298 ac_dB
='[ ].*$,\1#\2'
22301 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22302 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22303 ac_uB
='$,\1#\2define\3'
22307 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22308 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22310 - |
*:- |
*:-:* ) # input from stdin
22312 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22313 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22314 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22315 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22316 * ) ac_file_in
=$ac_file.
in ;;
22319 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22320 echo "$as_me: creating $ac_file" >&6;}
22322 # First look for the input files in the build tree, otherwise in the
22324 ac_file_inputs
=`IFS=:
22325 for f in $ac_file_in; do
22327 -) echo $tmp/stdin ;;
22329 # Absolute (can't be DOS-style, as IFS=:)
22330 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22331 echo "$as_me: error: cannot find input file: $f" >&2;}
22332 { (exit 1); exit 1; }; }
22333 # Do quote $f, to prevent DOS paths from being IFS'd.
22336 if test -f "$f"; then
22339 elif test -f "$srcdir/$f"; then
22344 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22345 echo "$as_me: error: cannot find input file: $f" >&2;}
22346 { (exit 1); exit 1; }; }
22349 done` ||
{ (exit 1); exit 1; }
22350 # Remove the trailing spaces.
22351 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22355 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22356 # `conftest.undefs', that substitutes the proper values into
22357 # config.h.in to produce config.h. The first handles `#define'
22358 # templates, and the second `#undef' templates.
22359 # And first: Protect against being on the right side of a sed subst in
22360 # config.status. Protect against being in an unquoted here document
22361 # in config.status.
22362 rm -f conftest.defines conftest.undefs
22363 # Using a here document instead of a string reduces the quoting nightmare.
22364 # Putting comments in sed scripts is not portable.
22366 # `end' is used to avoid that the second main sed command (meant for
22367 # 0-ary CPP macros) applies to n-ary macro definitions.
22368 # See the Autoconf documentation for `clear'.
22369 cat >confdef2sed.
sed <<\_ACEOF
22374 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22376 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22379 # If some macros were called several times there might be several times
22380 # the same #defines, which is useless. Nevertheless, we may not want to
22381 # sort them, since we want the *last* AC-DEFINE to be honored.
22382 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22383 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22384 rm -f confdef2sed.sed
22386 # This sed command replaces #undef with comments. This is necessary, for
22387 # example, in the case of _POSIX_SOURCE, which is predefined and required
22388 # on some systems where configure will not decide to define it.
22389 cat >>conftest.undefs <<\_ACEOF
22390 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22393 # Break up conftest.defines because some shells have a limit on the size
22394 # of here documents, and old seds have small limits too (100 cmds).
22395 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22396 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22397 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22398 echo ' :' >>$CONFIG_STATUS
22399 rm -f conftest.tail
22400 while grep . conftest.defines >/dev/null
22402 # Write a limited-size here document to $tmp/defines.sed.
22403 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22404 # Speed up: don't consider the non `#define' lines.
22405 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22406 # Work around the forget-to-reset-the-flag bug.
22407 echo 't clr' >>$CONFIG_STATUS
22408 echo ': clr' >>$CONFIG_STATUS
22409 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22411 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22413 mv $tmp/out $tmp/in
22415 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22416 rm -f conftest.defines
22417 mv conftest.
tail conftest.defines
22419 rm -f conftest.defines
22420 echo ' fi # grep' >>$CONFIG_STATUS
22421 echo >>$CONFIG_STATUS
22423 # Break up conftest.undefs because some shells have a limit on the size
22424 # of here documents, and old seds have small limits too (100 cmds).
22425 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22426 rm -f conftest.
tail
22427 while grep . conftest.undefs
>/dev
/null
22429 # Write a limited-size here document to $tmp/undefs.sed.
22430 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22431 # Speed up: don't consider the non
`#undef'
22432 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22433 # Work around the forget-to-reset-the-flag bug.
22434 echo 't clr' >>$CONFIG_STATUS
22435 echo ': clr' >>$CONFIG_STATUS
22436 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22438 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22440 mv $tmp/out $tmp/in
22442 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22443 rm -f conftest.undefs
22444 mv conftest.tail conftest.undefs
22446 rm -f conftest.undefs
22448 cat >>$CONFIG_STATUS <<\_ACEOF
22449 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22450 # use $as_me), people would be surprised to read:
22451 # /* config.h. Generated by config.status. */
22452 if test x
"$ac_file" = x-
; then
22453 echo "/* Generated by configure. */" >$tmp/config.h
22455 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22457 cat $tmp/in >>$tmp/config.h
22459 if test x
"$ac_file" != x-
; then
22460 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22461 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22462 echo "$as_me: $ac_file is unchanged" >&6;}
22464 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22466 X"$ac_file" : 'X\(//\)[^/]' \| \
22467 X"$ac_file" : 'X\(//\)$' \| \
22468 X"$ac_file" : 'X\(/\)' \| \
22469 . : '\(.\)' 2>/dev/null ||
22471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22473 /^X\(\/\/\)$/{ s//\1/; q; }
22474 /^X\(\/\).*/{ s//\1/; q; }
22476 { if $as_mkdir_p; then
22481 while test ! -d "$as_dir"; do
22482 as_dirs
="$as_dir $as_dirs"
22483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22485 X"$as_dir" : 'X\(//\)[^/]' \| \
22486 X"$as_dir" : 'X\(//\)$' \| \
22487 X"$as_dir" : 'X\(/\)' \| \
22488 . : '\(.\)' 2>/dev/null ||
22490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22492 /^X\(\/\/\)$/{ s//\1/; q; }
22493 /^X\(\/\).*/{ s//\1/; q; }
22496 test ! -n "$as_dirs" || mkdir
$as_dirs
22497 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22498 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22499 { (exit 1); exit 1; }; }; }
22502 mv $tmp/config.h
$ac_file
22506 rm -f $tmp/config.h
22510 cat >>$CONFIG_STATUS <<\_ACEOF
22513 # CONFIG_COMMANDS section.
22515 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22516 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22517 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22518 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22519 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22520 X"$ac_dest" : 'X\(//\)[^/]' \| \
22521 X"$ac_dest" : 'X\(//\)$' \| \
22522 X"$ac_dest" : 'X\(/\)' \| \
22523 . : '\(.\)' 2>/dev/null ||
22525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22527 /^X\(\/\/\)$/{ s//\1/; q; }
22528 /^X\(\/\).*/{ s//\1/; q; }
22530 { if $as_mkdir_p; then
22535 while test ! -d "$as_dir"; do
22536 as_dirs
="$as_dir $as_dirs"
22537 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22539 X"$as_dir" : 'X\(//\)[^/]' \| \
22540 X"$as_dir" : 'X\(//\)$' \| \
22541 X"$as_dir" : 'X\(/\)' \| \
22542 . : '\(.\)' 2>/dev/null ||
22544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22546 /^X\(\/\/\)$/{ s//\1/; q; }
22547 /^X\(\/\).*/{ s//\1/; q; }
22550 test ! -n "$as_dirs" || mkdir
$as_dirs
22551 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22552 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22553 { (exit 1); exit 1; }; }; }
22557 if test "$ac_dir" != .
; then
22558 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22559 # A "../" for each directory in $ac_dir_suffix.
22560 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22562 ac_dir_suffix
= ac_top_builddir
=
22566 .
) # No --srcdir option. We are building in place.
22568 if test -z "$ac_top_builddir"; then
22571 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22573 [\\/]* | ?
:[\\/]* ) # Absolute path.
22574 ac_srcdir
=$srcdir$ac_dir_suffix;
22575 ac_top_srcdir
=$srcdir ;;
22576 *) # Relative path.
22577 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22578 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22581 # Do not use `cd foo && pwd` to compute absolute paths, because
22582 # the directories may not exist.
22584 .
) ac_abs_builddir
="$ac_dir";;
22587 .
) ac_abs_builddir
=`pwd`;;
22588 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22589 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22592 case $ac_abs_builddir in
22593 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22595 case ${ac_top_builddir}.
in
22596 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22597 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22598 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22601 case $ac_abs_builddir in
22602 .
) ac_abs_srcdir
=$ac_srcdir;;
22605 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22606 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22607 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22610 case $ac_abs_builddir in
22611 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22613 case $ac_top_srcdir in
22614 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22615 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22616 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22621 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22622 echo "$as_me: executing $ac_dest commands" >&6;}
22626 ### Make the necessary directories, if they don't exist.
22627 for dir
in etc lisp
; do
22628 test -d ${dir} || mkdir
${dir}
22631 # Build src/Makefile from ${srcdir}/src/Makefile.c
22632 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
22633 # This must be done after src/config.h is built, since we rely on that file.
22635 # Now get this: Some word that is part of the ${srcdir} directory name
22636 # or the ${configuration} value might, just might, happen to be an
22637 # identifier like `sun4' or `i386' or something, and be predefined by
22638 # the C preprocessor to some helpful value like 1, or maybe the empty
22639 # string. Needless to say consequent macro substitutions are less
22640 # than conducive to the makefile finding the correct directory.
22641 undefs
="`echo $top_srcdir $configuration $canonical |
22642 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
22643 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
22646 echo creating src
/epaths.h
22647 ${MAKE-make} epaths-force
22649 # As of 2000-11-19, newest development versions of GNU cpp preprocess
22650 # `..' to `. .' unless invoked with -traditional
22652 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
22653 CPPFLAGS
="$CPPFLAGS -traditional"
22656 echo creating lib-src
/Makefile
22658 rm -f junk.c junk1.c junk2.c
22659 sed -e '/start of cpp stuff/q' \
22660 < Makefile.c
> junk1.c
22661 sed -e '1,/start of cpp stuff/d'\
22662 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
22663 < Makefile.c
> junk.c
22664 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
22665 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
22666 cat junk1.c junk2.c
> Makefile.new
22667 rm -f junk.c junk1.c junk2.c
22668 chmod 444 Makefile.new
22669 mv -f Makefile.new Makefile
22672 echo creating src
/Makefile
22674 rm -f junk.c junk1.c junk2.c
22675 sed -e '/start of cpp stuff/q' \
22676 < Makefile.c
> junk1.c
22677 sed -e '1,/start of cpp stuff/d'\
22678 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
22679 < Makefile.c
> junk.c
22680 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
22681 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
22682 cat junk1.c junk2.c
> Makefile.new
22683 rm -f junk.c junk1.c junk2.c
22684 chmod 444 Makefile.new
22685 mv -f Makefile.new Makefile
22688 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
22689 echo creating src
/.gdbinit
22690 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
22693 # This is how we know whether to re-run configure in certain cases.
22694 touch src
/config.stamp
22701 cat >>$CONFIG_STATUS <<\_ACEOF
22703 { (exit 0); exit 0; }
22705 chmod +x
$CONFIG_STATUS
22706 ac_clean_files
=$ac_clean_files_save
22709 # configure is writing to config.log, and then calls config.status.
22710 # config.status does its own redirection, appending to config.log.
22711 # Unfortunately, on DOS this fails, as config.log is still kept open
22712 # by configure, so config.status won't be able to write to it; its
22713 # output is simply discarded. So we exec the FD to /dev/null,
22714 # effectively closing config.log, so it can be properly (re)opened and
22715 # appended to by config.status. When coming back to configure, we
22716 # need to make the FD available again.
22717 if test "$no_create" != yes; then
22719 ac_config_status_args
=
22720 test "$silent" = yes &&
22721 ac_config_status_args
="$ac_config_status_args --quiet"
22723 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22725 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22726 # would make configure fail if this is the last instruction.
22727 $ac_cs_success ||
{ (exit 1); exit 1; }