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-asserts compile code with asserts enabled
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-locallisppath=PATH
863 directories Emacs should search
for lisp files
864 specific to this site
865 --disable-largefile omit support
for large files
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --without-gcc don
't use GCC to compile Emacs if GCC is found
871 --without-pop don't support POP
mail retrieval with movemail
872 --with-kerberos support Kerberos-authenticated POP
873 --with-kerberos5 support Kerberos version
5 authenticated POP
874 --with-hesiod support Hesiod to get the POP server
host
875 --without-sound don
't compile with sound support
876 --with-x-toolkit=KIT use an X toolkit
877 (KIT = yes/lucid/athena/motif/gtk/no)
878 --with-xpm use -lXpm for displaying XPM images
879 --with-jpeg use -ljpeg for displaying JPEG images
880 --with-tiff use -ltiff for displaying TIFF images
881 --with-gif use -lungif for displaying GIF images
882 --with-png use -lpng for displaying PNG images
883 --with-gtk use GTK (same as --with-x-toolkit=gtk)
884 --with-pkg-config-prog Path to pkg-config to use for finding GTK
885 --without-toolkit-scroll-bars
886 don't use Motif or Xaw3d scroll bars
887 --without-xim don
't use X11 XIM
888 --without-carbon don't use Carbon GUI on Mac OS X
889 --with-x use the X Window System
891 Some influential environment variables
:
892 CC C compiler
command
893 CFLAGS C compiler flags
894 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
895 nonstandard directory
<lib dir
>
896 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
897 headers
in a nonstandard directory
<include dir
>
900 Use these variables to override the choices made by
`configure' or to help
901 it to find libraries and programs with nonstandard names/locations.
906 if test "$ac_init_help" = "recursive"; then
907 # If there are subdirs, report their specific --help.
909 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910 test -d $ac_dir || continue
913 if test "$ac_dir" != .; then
914 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
915 # A "../" for each directory in $ac_dir_suffix.
916 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
918 ac_dir_suffix= ac_top_builddir=
922 .) # No --srcdir option. We are building in place.
924 if test -z "$ac_top_builddir"; then
927 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
929 [\\/]* | ?:[\\/]* ) # Absolute path.
930 ac_srcdir=$srcdir$ac_dir_suffix;
931 ac_top_srcdir=$srcdir ;;
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
934 ac_top_srcdir=$ac_top_builddir$srcdir ;;
937 # Do not use `cd foo
&& pwd` to compute absolute paths, because
938 # the directories may not exist.
940 .) ac_abs_builddir="$ac_dir";;
943 .) ac_abs_builddir=`pwd`;;
944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
945 *) ac_abs_builddir=`pwd`/"$ac_dir";;
948 case $ac_abs_builddir in
949 .) ac_abs_top_builddir=${ac_top_builddir}.;;
951 case ${ac_top_builddir}. in
952 .) ac_abs_top_builddir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
954 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
957 case $ac_abs_builddir in
958 .) ac_abs_srcdir=$ac_srcdir;;
961 .) ac_abs_srcdir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
963 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
966 case $ac_abs_builddir in
967 .) ac_abs_top_srcdir=$ac_top_srcdir;;
969 case $ac_top_srcdir in
970 .) ac_abs_top_srcdir=$ac_abs_builddir;;
971 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
972 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
977 # Check for guested configure; otherwise get Cygnus style configure.
978 if test -f $ac_srcdir/configure.gnu; then
980 $SHELL $ac_srcdir/configure.gnu --help=recursive
981 elif test -f $ac_srcdir/configure; then
983 $SHELL $ac_srcdir/configure --help=recursive
984 elif test -f $ac_srcdir/configure.ac ||
985 test -f $ac_srcdir/configure.in; then
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
995 test -n "$ac_init_help" && exit 0
996 if $ac_init_version; then
999 Copyright (C) 2003 Free Software Foundation, Inc.
1000 This configure script is free software; the Free Software Foundation
1001 gives unlimited permission to copy, distribute and modify it.
1007 This file contains any messages produced by compilers while
1008 running configure, to aid debugging if configure makes a mistake.
1010 It was created by $as_me, which was
1011 generated by GNU Autoconf 2.59. Invocation command line was
1022 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1023 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1024 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1025 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1026 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1028 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1029 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1031 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1032 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1033 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1034 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1035 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1037 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1045 test -z "$as_dir" && as_dir=.
1046 echo "PATH: $as_dir"
1061 # Keep a trace of the command line.
1062 # Strip out --no-create and --no-recursion so they do not pile up.
1063 # Strip out --silent because we don't want to record it for future runs.
1064 # Also quote any args containing shell meta-characters.
1065 # Make two passes to allow for proper duplicate-argument suppression.
1070 ac_must_keep_next=false
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil)
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1081 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1087 if test $ac_must_keep_next = true; then
1088 ac_must_keep_next=false # Got value, back to normal.
1091 *=* | --config-cache | -C | -disable-* | --disable-* \
1092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1094 | -with-* | --with-* | -without-* | --without-* | --x)
1095 case "$ac_configure_args0 " in
1096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1099 -* ) ac_must_keep_next=true ;;
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1103 # Get rid of the leading space.
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1112 # When interrupted or exit'd, cleanup temporary files, and complete
1113 # config.log. We remove comments because anyway the quotes in there
1114 # would cause problems or look ugly.
1115 # WARNING: Be sure not to use single quotes in there, as some shells,
1116 # such as our DU 5.0 friend, will then `close
' the trap.
1117 trap 'exit_status
=$?
1118 # Save into config.log some information that might help in debugging.
1123 ## ---------------- ##
1124 ## Cache variables. ##
1125 ## ---------------- ##
1128 # The following way of writing the cache mishandles newlines in values,
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 ## ----------------- ##
1147 ## Output variables. ##
1148 ## ----------------- ##
1151 for ac_var
in $ac_subst_vars
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -n "$ac_subst_files"; then
1165 for ac_var
in $ac_subst_files
1167 eval ac_val
=$
`echo $ac_var`
1168 echo "$ac_var='"'"'$ac_val'"'"'"
1173 if test -s confdefs.h
; then
1180 sed "/^$/d" confdefs.h |
sort
1183 test "$ac_signal" != 0 &&
1184 echo "$as_me: caught signal $ac_signal"
1185 echo "$as_me: exit $exit_status"
1187 rm -f core
*.core
&&
1188 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1191 for ac_signal in 1 2 13 15; do
1192 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1197 rm -rf conftest* confdefs.h
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1201 # Predefined preprocessor variables.
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_NAME "$PACKAGE_NAME"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_STRING "$PACKAGE_STRING"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1228 # Let the site file select an alternate cache file if it wants to.
1229 # Prefer explicitly selected file to automatically selected ones.
1230 if test -z "$CONFIG_SITE"; then
1231 if test "x$prefix" != xNONE; then
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1237 for ac_site_file in $CONFIG_SITE; do
1238 if test -r "$ac_site_file"; then
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1240 echo "$as_me: loading site script $ac_site_file" >&6;}
1241 sed 's
/^
/|
/' "$ac_site_file" >&5
1246 if test -r "$cache_file"; then
1247 # Some versions of bash will fail to source /dev/null (special
1248 # files actually), so we avoid doing that.
1249 if test -f "$cache_file"; then
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1251 echo "$as_me: loading cache $cache_file" >&6;}
1253 [\\/]* | ?:[\\/]* ) . $cache_file;;
1254 *) . ./$cache_file;;
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1259 echo "$as_me: creating cache $cache_file" >&6;}
1263 # Check that the precious variables saved in the cache have kept the same
1265 ac_cache_corrupted=false
1266 for ac_var in `(set) 2>&1 |
1267 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269 eval ac_new_set=\$ac_env_${ac_var}_set
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1271 eval ac_new_val="\$ac_env_${ac_var}_value"
1272 case $ac_old_set,$ac_new_set in
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1276 ac_cache_corrupted=: ;;
1278 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1280 ac_cache_corrupted=: ;;
1283 if test "x$ac_old_val" != "x$ac_new_val"; then
1284 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1285 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1286 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1287 echo "$as_me: former value: $ac_old_val" >&2;}
1288 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1289 echo "$as_me: current value: $ac_new_val" >&2;}
1290 ac_cache_corrupted=:
1293 # Pass precious variables to config.status.
1294 if test "$ac_new_set" = set; then
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1297 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1298 *) ac_arg=$ac_var=$ac_new_val ;;
1300 case " $ac_configure_args " in
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1306 if $ac_cache_corrupted; then
1307 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1308 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1309 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1310 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1311 { (exit 1); exit 1; }; }
1315 ac_cpp='$CPP $CPPFLAGS'
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1341 test "$program_prefix" != NONE &&
1342 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1343 # Use a double $ so make ignores it.
1344 test "$program_suffix" != NONE &&
1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1346 # Double any \ or $. echo might interpret backslashes.
1347 # By default was `s,x,x', remove it
if useless.
1348 cat <<\_ACEOF
>conftest.
sed
1349 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1351 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1355 lispdir
='${datadir}/emacs/${version}/lisp'
1356 locallisppath
='${datadir}/emacs/${version}/site-lisp:'\
1357 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1358 lisppath
='${locallisppath}:${lispdir}'
1359 etcdir
='${datadir}/emacs/${version}/etc'
1360 archlibdir
='${libexecdir}/emacs/${version}/${configuration}'
1361 docdir
='${datadir}/emacs/${version}/etc'
1362 gamedir
='${localstatedir}/games/emacs'
1367 # Check whether --with-gcc or --without-gcc was given.
1368 if test "${with_gcc+set}" = set; then
1373 # Check whether --with-pop or --without-pop was given.
1374 if test "${with_pop+set}" = set; then
1376 if test "$withval" = yes; then
1377 cat >>confdefs.h
<<\_ACEOF
1378 #define MAIL_USE_POP 1
1384 cat >>confdefs.h
<<\_ACEOF
1385 #define MAIL_USE_POP 1
1391 # Check whether --with-kerberos or --without-kerberos was given.
1392 if test "${with_kerberos+set}" = set; then
1393 withval
="$with_kerberos"
1394 cat >>confdefs.h
<<\_ACEOF
1401 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1402 if test "${with_kerberos5+set}" = set; then
1403 withval
="$with_kerberos5"
1404 if test "${with_kerberos5+set}" = set; then
1405 if test "${with_kerberos+set}" != set; then
1407 cat >>confdefs.h
<<\_ACEOF
1414 cat >>confdefs.h
<<\_ACEOF
1420 # Check whether --with-hesiod or --without-hesiod was given.
1421 if test "${with_hesiod+set}" = set; then
1422 withval
="$with_hesiod"
1424 cat >>confdefs.h
<<\_ACEOF
1431 # Check whether --with-sound or --without-sound was given.
1432 if test "${with_sound+set}" = set; then
1433 withval
="$with_sound"
1438 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1439 if test "${with_x_toolkit+set}" = set; then
1440 withval
="$with_x_toolkit"
1441 case "${withval}" in
1442 y | ye |
yes ) val
=athena
;;
1444 l | lu | luc | luci | lucid
) val
=lucid
;;
1445 a |
at | ath | athe | athen | athena
) val
=athena
;;
1446 m | mo | mot | moti | motif
) val
=motif
;;
1447 g | gt | gtk
) val
=gtk
;;
1449 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1450 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1451 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1452 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1453 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1454 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1455 { (exit 1); exit 1; }; }
1462 # Check whether --with-xpm or --without-xpm was given.
1463 if test "${with_xpm+set}" = set; then
1468 # Check whether --with-jpeg or --without-jpeg was given.
1469 if test "${with_jpeg+set}" = set; then
1470 withval
="$with_jpeg"
1474 # Check whether --with-tiff or --without-tiff was given.
1475 if test "${with_tiff+set}" = set; then
1476 withval
="$with_tiff"
1480 # Check whether --with-gif or --without-gif was given.
1481 if test "${with_gif+set}" = set; then
1486 # Check whether --with-png or --without-png was given.
1487 if test "${with_png+set}" = set; then
1492 # Check whether --with-gtk or --without-gtk was given.
1493 if test "${with_gtk+set}" = set; then
1498 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given.
1499 if test "${with_pkg_config_prog+set}" = set; then
1500 withval
="$with_pkg_config_prog"
1504 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
1505 if test "${with_toolkit_scroll_bars+set}" = set; then
1506 withval
="$with_toolkit_scroll_bars"
1510 # Check whether --with-xim or --without-xim was given.
1511 if test "${with_xim+set}" = set; then
1516 # Check whether --with-carbon or --without-carbon was given.
1517 if test "${with_carbon+set}" = set; then
1518 withval
="$with_carbon"
1521 # Check whether --enable-carbon-app or --disable-carbon-app was given.
1522 if test "${enable_carbon_app+set}" = set; then
1523 enableval
="$enable_carbon_app"
1524 carbon_appdir_x
=${enableval}
1527 # Check whether --enable-asserts or --disable-asserts was given.
1528 if test "${enable_asserts+set}" = set; then
1529 enableval
="$enable_asserts"
1530 USE_XASSERTS
=$enableval
1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1536 if test "${enable_maintainer_mode+set}" = set; then
1537 enableval
="$enable_maintainer_mode"
1538 USE_MAINTAINER_MODE
=$enableval
1540 USE_MAINTAINER_MODE
=no
1542 if test $USE_MAINTAINER_MODE = yes; then
1549 # Check whether --enable-locallisppath or --disable-locallisppath was given.
1550 if test "${enable_locallisppath+set}" = set; then
1551 enableval
="$enable_locallisppath"
1552 if test "${enableval}" = "no"; then
1554 elif test "${enableval}" != "yes"; then
1555 locallisppath
=${enableval}
1559 #### Make srcdir absolute, if it isn't already. It's important to
1560 #### avoid running the path through pwd unnecessarily, since pwd can
1561 #### give you automounter prefixes, which can go away. We do all this
1562 #### so Emacs can find its files when run uninstalled.
1563 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
1568 ## We may be able to use the $PWD environment variable to make this
1569 ## absolute. But sometimes PWD is inaccurate.
1570 ## Note: we used to use ${PWD} at the end instead of `pwd`,
1571 ## but that tested only for a well-formed and valid PWD,
1572 ## it did not object when PWD was well-formed and valid but just wrong.
1573 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
1577 srcdir
="`(cd ${srcdir}; pwd)`"
1580 * ) srcdir
="`(cd ${srcdir}; pwd)`" ;;
1583 #### Check if the source directory already has a configured system in it.
1584 if test `pwd` != `(cd ${srcdir} && pwd)` \
1585 && test -f "${srcdir}/src/config.h" ; then
1586 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1587 as a build directory right now; it has been configured in its own
1588 right. To configure in another directory as well, you MUST
1589 use GNU make. If you do not have GNU make, then you must
1590 now do \`make distclean' in ${srcdir},
1591 and then run $0 again." >&5
1592 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
1593 as a build directory right now; it has been configured in its own
1594 right. To configure in another directory as well, you MUST
1595 use GNU make. If you do not have GNU make, then you must
1596 now do \`make distclean' in ${srcdir},
1597 and then run $0 again." >&2;}
1600 #### Given the configuration name, set machfile and opsysfile to the
1601 #### names of the m/*.h and s/*.h files we should use.
1603 ### Canonicalize the configuration name.
1606 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1607 if test -f $ac_dir/install-sh
; then
1609 ac_install_sh
="$ac_aux_dir/install-sh -c"
1611 elif test -f $ac_dir/install.sh
; then
1613 ac_install_sh
="$ac_aux_dir/install.sh -c"
1615 elif test -f $ac_dir/shtool
; then
1617 ac_install_sh
="$ac_aux_dir/shtool install -c"
1621 if test -z "$ac_aux_dir"; then
1622 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1623 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1624 { (exit 1); exit 1; }; }
1626 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1627 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1628 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1630 # Make sure we can run config.sub.
1631 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1633 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1634 { (exit 1); exit 1; }; }
1636 echo "$as_me:$LINENO: checking build system type" >&5
1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1638 if test "${ac_cv_build+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 ac_cv_build_alias
=$build_alias
1642 test -z "$ac_cv_build_alias" &&
1643 ac_cv_build_alias
=`$ac_config_guess`
1644 test -z "$ac_cv_build_alias" &&
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1647 { (exit 1); exit 1; }; }
1648 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1655 echo "${ECHO_T}$ac_cv_build" >&6
1657 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1662 echo "$as_me:$LINENO: checking host system type" >&5
1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1664 if test "${ac_cv_host+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 ac_cv_host_alias
=$host_alias
1668 test -z "$ac_cv_host_alias" &&
1669 ac_cv_host_alias
=$ac_cv_build_alias
1670 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1677 echo "${ECHO_T}$ac_cv_host" >&6
1679 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 configuration
=${host_alias-$host}
1689 ### If you add support for a new configuration, add code to this
1690 ### switch statement to recognize your configuration name and select
1691 ### the appropriate operating system and machine description files.
1693 ### You would hope that you could choose an m/*.h file pretty much
1694 ### based on the machine portion of the configuration name, and an s-
1695 ### file based on the operating system portion. However, it turns out
1696 ### that each m/*.h file is pretty manufacturer-specific - for
1697 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1698 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1699 ### machines. So we basically have to have a special case for each
1700 ### configuration name.
1702 ### As far as handling version numbers on operating systems is
1703 ### concerned, make sure things will fail in a fixable way. If
1704 ### /etc/MACHINES doesn't say anything about version numbers, be
1705 ### prepared to handle anything reasonably. If version numbers
1706 ### matter, be sure /etc/MACHINES says something about it.
1708 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1709 ### "System V Release 4"; he writes, "The old convention encouraged
1710 ### confusion between `system' and `release' levels'."
1712 machine
='' opsys
='' unported
=no
1713 case "${canonical}" in
1718 case "${canonical}" in
1719 alpha
*-*-freebsd*) machine
=alpha
;;
1720 i
[3456]86-*-freebsd*) machine
=intel386
;;
1727 if test -f /usr
/lib
/crti.o
; then
1729 cat >>confdefs.h
<<\_ACEOF
1735 case "${canonical}" in
1736 alpha
*-*-netbsd*) machine
=alpha
;;
1737 i
[3456]86-*-netbsd*) machine
=intel386
;;
1739 # This is somewhat bogus.
1740 machine
=hp9000s300
;;
1741 powerpc-apple-netbsd
*) machine
=macppc
;;
1742 mips-
*-netbsd*) machine
=pmax
;;
1743 mipsel-
*-netbsd*) machine
=pmax
;;
1744 mipseb-
*-netbsd*) machine
=pmax
;;
1745 ns32k-
*-netbsd*) machine
=ns32000
;;
1746 powerpc-
*-netbsd*) machine
=macppc
;;
1747 sparc
*-*-netbsd*) machine
=sparc
;;
1748 vax-
*-netbsd*) machine
=vax
;;
1749 arm-
*-netbsd*) machine
=arm
;;
1756 case "${canonical}" in
1757 alpha
*-*-openbsd*) machine
=alpha
;;
1758 i386-
*-openbsd*) machine
=intel386
;;
1759 m68k-
*-openbsd*) machine
=hp9000s300
;;
1760 mipsel-
*-openbsd*) machine
=pmax
;;
1761 ns32k-
*-openbsd*) machine
=ns32000
;;
1762 sparc-
*-openbsd*) machine
=sparc
;;
1763 vax-
*-openbsd*) machine
=vax
;;
1768 arm-acorn-riscix1.1
* )
1769 machine
=acorn opsys
=riscix1-1
1771 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1772 ## This name is riscix12 instead of riscix1.2
1773 ## to avoid a file name conflict on MSDOS.
1774 machine
=acorn opsys
=riscix12
1780 case "${canonical}" in
1781 i
[345]86-*-bsdi*) machine
=intel386
;;
1782 sparc-
*-bsdi*) machine
=sparc
;;
1783 powerpc-
*-bsdi*) machine
=macppc
;;
1785 case "${canonical}" in
1786 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1787 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1788 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1789 *-*-bsdi3* ) opsys
=bsdos3
;;
1790 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1795 ## Strictly speaking, we need the version of the alliant operating
1796 ## system to choose the right machine file, but currently the
1797 ## configuration name doesn't tell us enough to choose the right
1798 ## one; we need to give alliants their own operating system name to
1799 ## do this right. When someone cares, they can help us.
1801 machine
=alliant4 opsys
=bsd4-2
1804 machine
=alliant-2800 opsys
=bsd4-3
1807 ## Alpha (DEC) machines.
1809 machine
=alpha opsys
=osf1
1810 # This is needed to find X11R6.1 libraries for certain tests.
1811 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1812 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1813 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1814 # due to non-traditional preprocessing with the current compiler
1815 # defaults. OSF 4 can also have that compiler version, and there
1816 # seems always to have been a usable /usr/bin/cpp.
1817 NON_GNU_CPP
=/usr
/bin
/cpp
1818 case "${canonical}" in
1819 alpha
*-dec-osf[5-9]*)
1824 alpha
*-*-linux-gnu* )
1825 machine
=alpha opsys
=gnu-linux
1829 machine
=arm opsys
=gnu-linux
1834 machine
=altos opsys
=usg5-2
1839 machine
=amdahl opsys
=usg5-2-2
1842 ## Apollo, Domain/OS
1844 machine
=apollo opsys
=bsd4-3
1847 ## AT&T 3b2, 3b5, 3b15, 3b20
1849 machine
=att3b opsys
=usg5-2-2
1852 ## AT&T 3b1 - The Mighty Unix PC!
1854 machine
=7300 opsys
=usg5-2-2
1859 machine
=ibmrs6000 opsys
=aix3-2
1864 machine
=dpx2 opsys
=usg5-3
1869 machine
=sps7 opsys
=usg5-2
1872 ## CCI 5/32, 6/32 -- see "Tahoe".
1875 ## I don't know what configuration name to use for this; config.sub
1876 ## doesn't seem to know anything about it. Hey, Celerity users, get
1877 ## in touch with us!
1878 celerity-celerity-bsd
* )
1879 machine
=celerity opsys
=bsd4-2
1883 ## What operating systems does this chip run that Emacs has been
1887 ## We'll use the catch-all code at the bottom to guess the
1888 ## operating system.
1892 mips-compaq-nonstopux
* )
1893 machine
=nonstopux opsys
=nonstopux
1897 *-convex-bsd* |
*-convex-convexos* )
1898 machine
=convex opsys
=bsd4-3
1899 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1900 NON_GNU_CPP
="cc -E -P"
1904 i
[3456]86-cubix-sysv* )
1905 machine
=intel386 opsys
=usg5-3
1909 cydra
*-cydrome-sysv* )
1910 machine
=cydra5 opsys
=usg5-3
1913 ## Data General AViiON Machines
1914 ## DG changed naming conventions with the release of 5.4.4.10, they
1915 ## dropped the initial 5.4 but left the intervening R. Because of the
1916 ## R this shouldn't conflict with older versions of the OS (which I
1917 ## think were named like dgux4.*). In addition, DG new AViiONs series
1918 ## uses either Motorola M88k or Intel Pentium CPUs.
1919 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1920 machine
=aviion opsys
=dgux4
1922 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1923 ## This name is dgux5-4-3 instead of dgux5-4r3
1924 ## to avoid a file name conflict on MSDOS.
1925 machine
=aviion opsys
=dgux5-4-3
1927 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1928 machine
=aviion opsys
=dgux5-4r2
1931 machine
=aviion opsys
=dgux
1934 ## Data General AViiON Intel (x86) Machines
1935 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1936 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1937 i
[345]86-dg-dguxR4* )
1938 machine
=aviion-intel opsys
=dgux4
1942 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1943 machine
=pmax opsys
=bsd4-2
1945 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1946 machine
=pmax opsys
=bsd4-3
1949 machine
=pmax opsys
=ultrix4-3
1952 machine
=pmax opsys
=osf1
1954 mips-dec-mach_bsd4.3
* )
1955 machine
=pmax opsys
=mach-bsd4-3
1958 ## Motorola Delta machines
1959 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1960 machine
=delta opsys
=usg5-3
1961 if test -z "`type gnucc | grep 'not found'`"
1963 if test -s /etc
/167config
1964 then CC
="gnucc -m68040"
1965 else CC
="gnucc -m68881"
1968 if test -z "`type gcc | grep 'not found'`"
1974 m88k-motorola-sysv4
* )
1975 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1976 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1977 # I hope there are not other 4.0 versions for this machine
1978 # which really need usg5-4 instead.
1979 machine
=delta88k opsys
=usg5-4-2
1981 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1982 machine
=delta88k opsys
=usg5-3
1987 machine
=dual opsys
=usg5-2
1989 m68
*-dual-uniplus* )
1990 machine
=dual opsys
=unipl5-2
1995 machine
=elxsi opsys
=usg5-2
2000 machine
=ns16000 opsys
=umax
2003 ## The GEC 63 - apparently, this port isn't really finished yet.
2004 # I'm sure we finished off the last of the machines, though. -- fx
2006 ## Gould Power Node and NP1
2008 machine
=gould opsys
=bsd4-2
2011 machine
=gould opsys
=bsd4-3
2014 machine
=gould-np1 opsys
=bsd4-3
2017 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2018 ## as far as Emacs is concerned).
2020 # Build needs to be different on 7.0 and later releases
2021 case "`uname -r`" in
2022 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2023 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2025 NON_GNU_CPP
="/lib/cpp"
2027 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2029 machine
=nh3000 opsys
=cxux
2031 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2032 powerpc-harris-powerunix
)
2033 machine
=nh6000 opsys
=powerunix
2034 NON_GNU_CPP
="cc -Xo -E -P"
2036 ## SR2001/SR2201 running HI-UX/MPP
2037 hppa1.1
-hitachi-hiuxmpp* )
2038 machine
=sr2k opsys
=hiuxmpp
2040 hppa1.1
-hitachi-hiuxwe2* )
2041 machine
=sr2k opsys
=hiuxwe2
2044 xps
*-honeywell-sysv* )
2045 machine
=xps100 opsys
=usg5-2
2048 ## HP 9000 series 200 or 300
2050 machine
=hp9000s300 opsys
=bsd4-3
2052 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2054 case "`uname -r`" in
2055 ## Someone's system reports A.B8.05 for this.
2056 ## I wonder what other possibilities there are.
2057 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2058 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2059 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2060 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2061 *) machine
=hp9000s300 opsys
=hpux
;;
2065 ## HP 9000 series 700 and 800, running HP/UX
2067 machine
=hp800 opsys
=hpux
2070 machine
=hp800 opsys
=hpux8
2072 hppa
*-hp-hpux9shr* )
2073 machine
=hp800 opsys
=hpux9shr
2076 machine
=hp800 opsys
=hpux9
2078 hppa
*-hp-hpux10.2
* )
2079 machine
=hp800 opsys
=hpux10-20
2082 machine
=hp800 opsys
=hpux10
2084 hppa
*-hp-hpux1[1-9]* )
2085 machine
=hp800 opsys
=hpux11
2088 hppa
*-*-linux-gnu* )
2089 machine
=hp800 opsys
=gnu-linux
2092 ## HP 9000 series 700 and 800, running HP/UX
2094 ## Cross-compilation? Nah!
2095 case "`uname -r`" in
2096 ## Someone's system reports A.B8.05 for this.
2097 ## I wonder what other possibilities there are.
2098 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2099 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2100 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2101 *) machine
=hp800 opsys
=hpux10
;;
2105 machine
=hp800 opsys
=nextstep
2110 machine
=orion opsys
=bsd4-2
2112 clipper-orion-bsd
* )
2113 machine
=orion105 opsys
=bsd4-2
2117 i
[3456]86-ibm-aix1.1
* )
2118 machine
=ibmps2-aix opsys
=usg5-2-2
2120 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2121 machine
=ibmps2-aix opsys
=usg5-3
2124 machine
=ibm370aix opsys
=usg5-3
2127 machine
=ibms390 opsys
=gnu-linux
2129 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2130 machine
=ibmrs6000 opsys
=aix3-1
2132 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2133 machine
=ibmrs6000 opsys
=aix3-2-5
2135 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2136 machine
=ibmrs6000 opsys
=aix4-1
2138 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2139 machine
=ibmrs6000 opsys
=aix4-2
2141 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2142 machine
=ibmrs6000 opsys
=aix4-2
2144 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2145 machine
=ibmrs6000 opsys
=aix4
2147 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2148 machine
=ibmrs6000 opsys
=aix4-1
2150 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2151 machine
=ibmrs6000 opsys
=aix3-2
2154 machine
=ibmrt opsys
=bsd4-3
2157 machine
=ibmrt opsys
=bsd4-2
2160 machine
=ibmrt opsys
=bsd4-3
2163 machine
=ibmrt opsys
=bsd4-2
2166 machine
=ibmrt opsys
=bsd4-3
2169 machine
=ibmrt opsys
=bsd4-3
2172 machine
=ibmrt-aix opsys
=usg5-2-2
2175 ## Integrated Solutions `Optimum V'
2177 machine
=isi-ov opsys
=bsd4-2
2180 machine
=isi-ov opsys
=bsd4-3
2183 ## Intel 386 machines where we do care about the manufacturer
2184 i
[3456]86-intsys-sysv* )
2185 machine
=is386 opsys
=usg5-2-2
2189 i
[3456]86-prime-sysv* )
2190 machine
=i386 opsys
=usg5-3
2193 ## Sequent Symmetry running Dynix
2194 i
[3456]86-sequent-bsd* )
2195 machine
=symmetry opsys
=bsd4-3
2198 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2199 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2200 machine
=sequent-ptx opsys
=ptx4
2201 NON_GNU_CPP
=/lib
/cpp
2204 ## Sequent Symmetry running DYNIX/ptx
2205 ## Use the old cpp rather than the newer ANSI one.
2206 i
[3456]86-sequent-ptx* )
2207 machine
=sequent-ptx opsys
=ptx
2208 NON_GNU_CPP
="/lib/cpp"
2211 ## ncr machine running svr4.3.
2212 i
[3456]86-ncr-sysv4.3
)
2213 machine
=ncr386 opsys
=usg5-4-3
2216 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2217 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2218 i
[3456]86-ncr-sysv* )
2219 machine
=ncr386 opsys
=usg5-4-2
2222 ## Intel Paragon OSF/1
2224 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2229 machine
=i860 opsys
=usg5-4
2230 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2231 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2234 ## Macintosh PowerPC
2235 powerpc
*-*-linux-gnu* )
2236 machine
=macppc opsys
=gnu-linux
2239 ## Masscomp machines
2240 m68
*-masscomp-rtu* )
2241 machine
=masscomp opsys
=rtu
2244 ## Megatest machines
2245 m68
*-megatest-bsd* )
2246 machine
=mega68 opsys
=bsd4-2
2249 ## Workstations sold by MIPS
2250 ## This is not necessarily all workstations using the MIPS processor -
2251 ## Irises are produced by SGI, and DECstations by DEC.
2253 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2254 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2255 ## it gives for choosing between the alternatives seems to be "Use
2256 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2257 ## the BSD world." I'll assume that these are instructions for
2258 ## handling two odd situations, and that every other situation
2259 ## should use mips.h and usg5-2-2, they being listed first.
2262 ## Fall through to the general code at the bottom to decide on the OS.
2264 mips-mips-riscos4
* )
2265 machine
=mips4 opsys
=bsd4-3
2266 NON_GNU_CC
="cc -systype bsd43"
2267 NON_GNU_CPP
="cc -systype bsd43 -E"
2269 mips-mips-riscos5
* )
2270 machine
=mips4 opsys
=riscos5
2271 NON_GNU_CC
="cc -systype bsd43"
2272 NON_GNU_CPP
="cc -systype bsd43 -E"
2275 machine
=mips opsys
=bsd4-3
2278 machine
=mips opsys
=usg5-2-2
2282 m68
*-next-* | m68k-
*-nextstep* )
2283 machine
=m68k opsys
=nextstep
2286 ## The complete machine from National Semiconductor
2288 machine
=ns32000 opsys
=usg5-2
2292 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2293 machine
=tower32 opsys
=usg5-2-2
2295 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2296 machine
=tower32v3 opsys
=usg5-3
2301 machine
=ews4800 opsys
=ux4800
2304 ## Nixdorf Targon 31
2305 m68
*-nixdorf-sysv* )
2306 machine
=targon31 opsys
=usg5-2-2
2311 machine
=nu opsys
=usg5-2
2316 machine
=plexus opsys
=usg5-2
2320 ## I don't really have any idea what sort of processor the Pyramid has,
2321 ## so I'm assuming it is its own architecture.
2322 pyramid-pyramid-bsd
* )
2323 machine
=pyramid opsys
=bsd4-2
2327 ns32k-sequent-bsd4.2
* )
2328 machine
=sequent opsys
=bsd4-2
2330 ns32k-sequent-bsd4.3
* )
2331 machine
=sequent opsys
=bsd4-3
2335 mips-siemens-sysv
* | mips-sni-sysv
*)
2336 machine
=mips-siemens opsys
=usg5-4
2337 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2338 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2341 ## Silicon Graphics machines
2342 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2344 machine
=irist opsys
=iris3-5
2346 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2347 machine
=irist opsys
=iris3-6
2351 machine
=iris4d opsys
=irix3-3
2354 machine
=iris4d opsys
=irix4-0
2357 machine
=iris4d opsys
=irix6-5
2358 # Without defining _LANGUAGE_C, things get masked out in the headers
2359 # so that, for instance, grepping for `free' in stdlib.h fails and
2360 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2361 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2362 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2365 machine
=iris4d opsys
=irix6-0
2366 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2367 # but presumably it does no harm.
2368 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2369 # -32 probably isn't necessary in later v.6s -- anyone know which?
2370 NON_GCC_TEST_OPTIONS
=-32
2372 mips-sgi-irix5.
[01]* )
2373 machine
=iris4d opsys
=irix5-0
2375 mips-sgi-irix5
* | mips-sgi-irix
* )
2376 machine
=iris4d opsys
=irix5-2
2381 machine
=news opsys
=bsd4-2
2384 machine
=news opsys
=bsd4-3
2386 m68
*-sony-newsos3* | m68
*-sony-news3*)
2387 machine
=news opsys
=bsd4-3
2389 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2390 machine
=news-risc opsys
=bsd4-3
2392 mips-sony-newsos6
* )
2393 machine
=news-r6 opsys
=newsos6
2396 machine
=news-risc opsys
=newsos5
2401 machine
=stride opsys
=usg5-2
2405 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2406 machine
=sparc opsys
=gnu-linux
2409 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2410 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2411 | rs6000-
*-solaris2*)
2412 case "${canonical}" in
2413 m68
*-sunos1* ) machine
=sun1
;;
2414 m68
*-sunos2* ) machine
=sun2
;;
2415 m68
* ) machine
=sun3
;;
2416 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2417 i
[3456]86-*-* ) machine
=intel386
;;
2418 powerpcle
* ) machine
=powerpcle
;;
2419 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2420 sparc
* ) machine
=sparc
;;
2423 case "${canonical}" in
2424 ## The Sun386 didn't get past 4.0.
2425 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2426 *-sunos4.0
* ) opsys
=sunos4-0
;;
2427 *-sunos4.1.
[3-9]*noshare
)
2428 ## This name is sunos413 instead of sunos4-1-3
2429 ## to avoid a file name conflict on MSDOS.
2431 NON_GNU_CPP
=/usr
/lib
/cpp
2432 NON_GCC_TEST_OPTIONS
=-Bstatic
2433 GCC_TEST_OPTIONS
=-static
2435 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2437 NON_GNU_CPP
=/usr
/lib
/cpp
2439 *-sunos4* |
*-sunos )
2441 NON_GCC_TEST_OPTIONS
=-Bstatic
2442 GCC_TEST_OPTIONS
=-static
2444 *-sunos5.3
* |
*-solaris2.3
* )
2446 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2448 *-sunos5.4
* |
*-solaris2.4
* )
2450 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2453 *-sunos5.5
* |
*-solaris2.5
* )
2455 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2458 *-sunos5.6
* |
*-solaris2.6
* )
2460 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2463 *-sunos5* |
*-solaris* )
2465 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2469 ## Watch out for a compiler that we know will not work.
2470 case "${canonical}" in
2471 *-solaris* |
*-sunos5* )
2472 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2473 ## /usr/ucb/cc doesn't work;
2474 ## we should find some other compiler that does work.
2482 machine
=sparc opsys
=nextstep
2486 m68
*-tadpole-sysv* )
2487 machine
=tad68k opsys
=usg5-3
2491 tahoe-tahoe-bsd4.2
* )
2492 machine
=tahoe opsys
=bsd4-2
2494 tahoe-tahoe-bsd4.3
* )
2495 machine
=tahoe opsys
=bsd4-3
2498 ## Tandem Integrity S2
2500 machine
=tandem-s2 opsys
=usg5-3
2504 m88k-tektronix-sysv3
* )
2505 machine
=tekxd88 opsys
=usg5-3
2508 ## Tektronix 16000 box (6130?)
2509 ns16k-tektronix-bsd
* )
2510 machine
=ns16000 opsys
=bsd4-2
2513 ## src/m/tek4300.h hints that this is a m68k machine.
2514 m68
*-tektronix-bsd* )
2515 machine
=tek4300 opsys
=bsd4-3
2519 ## We seem to have lost the machine-description file titan.h!
2521 machine
=titan opsys
=usg5-3
2524 ## Ustation E30 (SS5E)
2525 m68
*-unisys-uniplus* )
2526 machine
=ustation opsystem
=unipl5-2
2532 case "${canonical}" in
2533 *-bsd4.1
* ) opsys
=bsd4-1
;;
2534 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2535 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2536 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2537 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2538 *-vms* ) opsys
=vms
;;
2544 ns16k-whitechapel-
* )
2546 ## We don't know what sort of OS runs on these; we'll let the
2547 ## operating system guessing code below try.
2552 machine
=wicat opsys
=usg5-2
2557 machine
=ia64 opsys
=gnu-linux
2560 ## Intel 386 machines where we don't care about the manufacturer
2563 case "${canonical}" in
2564 *-cygwin ) opsys
=cygwin
;;
2565 *-darwin ) opsys
=darwin
2566 CPP
="${CC-cc} -E -no-cpp-precomp"
2568 *-lynxos* ) opsys
=lynxos
;;
2569 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2570 *-isc2.2
* ) opsys
=isc2-2
;;
2571 *-isc4.0
* ) opsys
=isc4-0
;;
2572 *-isc4.
* ) opsys
=isc4-1
2573 GCC_TEST_OPTIONS
=-posix
2574 NON_GCC_TEST_OPTIONS
=-Xp
2576 *-isc* ) opsys
=isc3-0
;;
2577 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2578 *-esix* ) opsys
=esix
;;
2579 *-xenix* ) opsys
=xenix
;;
2580 *-linux-gnu* ) opsys
=gnu-linux
;;
2581 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2582 *-sco3.2v5
* ) opsys
=sco5
2583 NON_GNU_CPP
=/lib
/cpp
2584 # Prevent -belf from being passed to $CPP.
2585 # /lib/cpp does not accept it.
2586 OVERRIDE_CPPFLAGS
=" "
2588 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2589 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2590 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2591 *-386bsd* ) opsys
=386bsd
;;
2592 *-nextstep* ) opsys
=nextstep
;;
2593 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2597 ## m68k Linux-based GNU system
2599 machine
=m68k opsys
=gnu-linux
2602 ## Mips Linux-based GNU system
2603 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2604 machine
=mips opsys
=gnu-linux
2608 sparc-fujitsu-sysv4
* )
2609 machine
=sparc opsys
=uxpds
2610 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2615 f301-fujitsu-uxpv4.1
)
2616 machine
=f301 opsys
=uxpv
2619 ## Darwin / Mac OS X
2620 powerpc-apple-darwin
* )
2621 machine
=powermac opsys
=darwin
2622 # Define CPP as follows to make autoconf work correctly.
2623 CPP
="${CC-cc} -E -no-cpp-precomp"
2624 # Use fink packages if available.
2625 if test -d /sw
/include
&& test -d /sw
/lib
; then
2626 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2627 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2628 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2632 ## AMD x86-64 Linux-based GNU system
2633 x86_64-
*-linux-gnu* )
2634 machine
=amdx86-64 opsys
=gnu-linux
2642 ### If the code above didn't choose an operating system, just choose
2643 ### an operating system based on the configuration name. You really
2644 ### only want to use this when you have no idea what the right
2645 ### operating system is; if you know what operating systems a machine
2646 ### runs, it's cleaner to make it explicit in the case statement
2648 if test x
"${opsys}" = x
; then
2649 case "${canonical}" in
2650 *-gnu* ) opsys
=gnu
;;
2651 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2652 *-bsd4.2
) opsys
=bsd4-2
;;
2653 *-bsd4.3
) opsys
=bsd4-3
;;
2654 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2655 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2656 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2657 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2658 *-sysv4.2uw
* ) opsys
=unixware
;;
2659 *-sysv5uw* ) opsys
=unixware
;;
2660 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2661 *-sysv4.1
* |
*-sysvr4.1
* )
2662 NON_GNU_CPP
=/usr
/lib
/cpp
2664 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2665 if [ x
$NON_GNU_CPP = x
]; then
2666 if [ -f /usr
/ccs
/lib
/cpp
]; then
2667 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2669 NON_GNU_CPP
=/lib
/cpp
2673 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2682 if test $unported = yes; then
2683 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2684 Check \`etc/MACHINES' for recognized configuration names." >&5
2685 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2686 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2687 { (exit 1); exit 1; }; }
2690 machfile
="m/${machine}.h"
2691 opsysfile
="s/${opsys}.h"
2694 #### Choose a compiler.
2695 test -n "$CC" && cc_specified
=yes
2697 # Save the value of CFLAGS that the user specified.
2698 SPECIFIED_CFLAGS
="$CFLAGS"
2701 "yes" ) CC
="gcc" GCC
=yes ;;
2702 "no" ) : ${CC=cc} ;;
2706 ac_cpp
='$CPP $CPPFLAGS'
2707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2710 if test -n "$ac_tool_prefix"; then
2711 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2712 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2713 echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715 if test "${ac_cv_prog_CC+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$CC"; then
2719 ac_cv_prog_CC
="$CC" # Let the user override the test.
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test -n "$CC"; then
2739 echo "$as_me:$LINENO: result: $CC" >&5
2740 echo "${ECHO_T}$CC" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2747 if test -z "$ac_cv_prog_CC"; then
2749 # Extract the first word of "gcc", so it can be a program name with args.
2750 set dummy gcc
; ac_word
=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_ac_ct_CC
="gcc"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2776 if test -n "$ac_ct_CC"; then
2777 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2778 echo "${ECHO_T}$ac_ct_CC" >&6
2780 echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2789 if test -z "$CC"; then
2790 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2792 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2793 echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795 if test "${ac_cv_prog_CC+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC
="$CC" # Let the user override the test.
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 for ac_exec_ext
in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 echo "$as_me:$LINENO: result: $CC" >&5
2820 echo "${ECHO_T}$CC" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2827 if test -z "$ac_cv_prog_CC"; then
2829 # Extract the first word of "cc", so it can be a program name with args.
2830 set dummy cc
; ac_word
=$2
2831 echo "$as_me:$LINENO: checking for $ac_word" >&5
2832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 if test -n "$ac_ct_CC"; then
2837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 for ac_exec_ext
in '' $ac_executable_extensions; do
2845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2846 ac_cv_prog_ac_ct_CC
="cc"
2847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2856 if test -n "$ac_ct_CC"; then
2857 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2858 echo "${ECHO_T}$ac_ct_CC" >&6
2860 echo "$as_me:$LINENO: result: no" >&5
2861 echo "${ECHO_T}no" >&6
2870 if test -z "$CC"; then
2871 # Extract the first word of "cc", so it can be a program name with args.
2872 set dummy cc
; ac_word
=$2
2873 echo "$as_me:$LINENO: checking for $ac_word" >&5
2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2875 if test "${ac_cv_prog_CC+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC
="$CC" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2890 ac_prog_rejected
=yes
2894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test $ac_prog_rejected = yes; then
2901 # We found a bogon in the path, so make sure we never use it.
2902 set dummy
$ac_cv_prog_CC
2904 if test $# != 0; then
2905 # We chose a different compiler from the bogus one.
2906 # However, it has the same basename, so the bogon will be chosen
2907 # first if we set CC to just the basename; use the full file name.
2909 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2915 if test -n "$CC"; then
2916 echo "$as_me:$LINENO: result: $CC" >&5
2917 echo "${ECHO_T}$CC" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2929 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2930 echo "$as_me:$LINENO: checking for $ac_word" >&5
2931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2932 if test "${ac_cv_prog_CC+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC
="$CC" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 if test -n "$CC"; then
2956 echo "$as_me:$LINENO: result: $CC" >&5
2957 echo "${ECHO_T}$CC" >&6
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2963 test -n "$CC" && break
2966 if test -z "$CC"; then
2970 # Extract the first word of "$ac_prog", so it can be a program name with args.
2971 set dummy
$ac_prog; ac_word
=$2
2972 echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$ac_ct_CC"; then
2978 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_ac_ct_CC
="$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2999 echo "${ECHO_T}$ac_ct_CC" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3005 test -n "$ac_ct_CC" && break
3014 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3015 See \`config.log' for more details." >&5
3016 echo "$as_me: error: no acceptable C compiler found in \$PATH
3017 See \`config.log' for more details." >&2;}
3018 { (exit 1); exit 1; }; }
3020 # Provide some information about the compiler.
3021 echo "$as_me:$LINENO:" \
3022 "checking for C compiler version" >&5
3023 ac_compiler
=`set X $ac_compile; echo $2`
3024 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3025 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }
3029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3030 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }
3034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3035 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }
3040 cat >conftest.
$ac_ext <<_ACEOF
3043 cat confdefs.h
>>conftest.
$ac_ext
3044 cat >>conftest.
$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3055 ac_clean_files_save
=$ac_clean_files
3056 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3057 # Try to create an executable without -o first, disregard a.out.
3058 # It will help us diagnose broken compilers, and finding out an intuition
3060 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3061 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3062 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3063 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3064 (eval $ac_link_default) 2>&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; then
3068 # Find the output, starting from the most likely. This scheme is
3069 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3072 # Be careful to initialize this variable, since it used to be cached.
3073 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3075 # b.out is created by i960 compilers.
3076 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3078 test -f "$ac_file" ||
continue
3080 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3083 # This is the source file.
3086 # We found the default executable, but exeext='' is most
3090 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3091 # FIXME: I believe we export ac_cv_exeext for Libtool,
3092 # but it would be cool to find out if it's true. Does anybody
3093 # maintain Libtool? --akim.
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.
$ac_ext >&5
3104 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3105 See \`config.log' for more details." >&5
3106 echo "$as_me: error: C compiler cannot create executables
3107 See \`config.log' for more details." >&2;}
3108 { (exit 77); exit 77; }; }
3111 ac_exeext
=$ac_cv_exeext
3112 echo "$as_me:$LINENO: result: $ac_file" >&5
3113 echo "${ECHO_T}$ac_file" >&6
3115 # Check the compiler produces executables we can run. If not, either
3116 # the compiler is broken, or we cross compile.
3117 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3118 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3119 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3120 # If not cross compiling, check that we can run a simple program.
3121 if test "$cross_compiling" != yes; then
3122 if { ac_try
='./$ac_file'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; }; then
3130 if test "$cross_compiling" = maybe
; then
3133 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3134 If you meant to cross compile, use \`--host'.
3135 See \`config.log' for more details." >&5
3136 echo "$as_me: error: cannot run C compiled programs.
3137 If you meant to cross compile, use \`--host'.
3138 See \`config.log' for more details." >&2;}
3139 { (exit 1); exit 1; }; }
3143 echo "$as_me:$LINENO: result: yes" >&5
3144 echo "${ECHO_T}yes" >&6
3146 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3147 ac_clean_files
=$ac_clean_files_save
3148 # Check the compiler produces executables we can run. If not, either
3149 # the compiler is broken, or we cross compile.
3150 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3151 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3152 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3153 echo "${ECHO_T}$cross_compiling" >&6
3155 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3156 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3158 (eval $ac_link) 2>&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; then
3162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3164 # work properly (i.e., refer to `conftest.exe'), while it won't with
3166 for ac_file
in conftest.exe conftest conftest.
*; do
3167 test -f "$ac_file" ||
continue
3169 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3170 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3177 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3178 See \`config.log' for more details." >&5
3179 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3180 See \`config.log' for more details." >&2;}
3181 { (exit 1); exit 1; }; }
3184 rm -f conftest
$ac_cv_exeext
3185 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3186 echo "${ECHO_T}$ac_cv_exeext" >&6
3188 rm -f conftest.
$ac_ext
3189 EXEEXT
=$ac_cv_exeext
3191 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3192 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3193 if test "${ac_cv_objext+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3211 rm -f conftest.o conftest.obj
3212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3213 (eval $ac_compile) 2>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; then
3217 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3219 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3220 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3225 echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.
$ac_ext >&5
3228 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3229 See \`config.log' for more details." >&5
3230 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3231 See \`config.log' for more details." >&2;}
3232 { (exit 1); exit 1; }; }
3235 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3237 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3238 echo "${ECHO_T}$ac_cv_objext" >&6
3239 OBJEXT
=$ac_cv_objext
3241 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3242 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3243 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 cat >conftest.
$ac_ext <<_ACEOF
3249 cat confdefs.h
>>conftest.
$ac_ext
3250 cat >>conftest.
$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3264 rm -f conftest.
$ac_objext
3265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3266 (eval $ac_compile) 2>conftest.er1
3268 grep -v '^ *+' conftest.er1
>conftest.err
3270 cat conftest.err
>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try
='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.
$ac_ext >&5
3292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3293 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3296 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3298 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3299 ac_test_CFLAGS
=${CFLAGS+set}
3300 ac_save_CFLAGS
=$CFLAGS
3302 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3303 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3304 if test "${ac_cv_prog_cc_g+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3322 rm -f conftest.
$ac_objext
3323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3324 (eval $ac_compile) 2>conftest.er1
3326 grep -v '^ *+' conftest.er1
>conftest.err
3328 cat conftest.err
>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } &&
3331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }; } &&
3337 { ac_try
='test -s conftest.$ac_objext'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; }; then
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3352 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3353 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3354 if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS
=$ac_save_CFLAGS
3356 elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3363 if test "$GCC" = yes; then
3369 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3370 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3371 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 ac_cv_prog_cc_stdc
=no
3376 cat >conftest.
$ac_ext <<_ACEOF
3379 cat confdefs.h
>>conftest.
$ac_ext
3380 cat >>conftest.
$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3384 #include <sys/types.h>
3385 #include <sys/stat.h>
3386 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3387 struct buf { int x; };
3388 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3389 static char *e (p, i)
3395 static char *f (char * (*g) (char **, int), char **p, ...)
3400 s = g (p, va_arg (v,int));
3405 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3406 function prototypes and stuff, but not '\xHH' hex character constants.
3407 These don't provoke an error unfortunately, instead are silently treated
3408 as 'x'. The following induces an error, until -std1 is added to get
3409 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3410 array size at least. It's necessary to write '\x00'==0 to get something
3411 that's true only with -std1. */
3412 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414 int test (int i, double x);
3415 struct s1 {int (*f) (int a);};
3416 struct s2 {int (*f) (double a);};
3417 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3423 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3428 # Don't try gcc -ansi; that turns off useful extensions and
3429 # breaks some systems' header files.
3430 # AIX -qlanglvl=ansi
3431 # Ultrix and OSF/1 -std1
3432 # HP-UX 10.20 and later -Ae
3433 # HP-UX older versions -Aa -D_HPUX_SOURCE
3434 # SVR4 -Xc -D__EXTENSIONS__
3435 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3437 CC
="$ac_save_CC $ac_arg"
3438 rm -f conftest.
$ac_objext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440 (eval $ac_compile) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1
>conftest.err
3444 cat conftest.err
>&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } &&
3447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); }; } &&
3453 { ac_try
='test -s conftest.$ac_objext'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; }; then
3459 ac_cv_prog_cc_stdc
=$ac_arg
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.
$ac_ext >&5
3466 rm -f conftest.err conftest.
$ac_objext
3468 rm -f conftest.
$ac_ext conftest.
$ac_objext
3473 case "x$ac_cv_prog_cc_stdc" in
3475 echo "$as_me:$LINENO: result: none needed" >&5
3476 echo "${ECHO_T}none needed" >&6 ;;
3478 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3479 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3480 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3483 # Some people use a C++ compiler to compile C. Since we use `exit',
3484 # in C++ we need to declare it. In case someone uses the same compiler
3485 # for both compiling C and C++ we need to have the C++ compiler decide
3486 # the declaration of exit, since it's the most demanding environment.
3487 cat >conftest.
$ac_ext <<_ACEOF
3492 rm -f conftest.
$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494 (eval $ac_compile) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; } &&
3507 { ac_try
='test -s conftest.$ac_objext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3513 for ac_declaration
in \
3515 'extern "C" void std::exit (int) throw (); using std::exit;' \
3516 'extern "C" void std::exit (int); using std::exit;' \
3517 'extern "C" void exit (int) throw ();' \
3518 'extern "C" void exit (int);' \
3521 cat >conftest.
$ac_ext <<_ACEOF
3524 cat confdefs.h
>>conftest.
$ac_ext
3525 cat >>conftest.
$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3537 rm -f conftest.
$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest.$ac_objext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3566 cat >conftest.
$ac_ext <<_ACEOF
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3581 rm -f conftest.
$ac_objext
3582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3583 (eval $ac_compile) 2>conftest.er1
3585 grep -v '^ *+' conftest.er1
>conftest.err
3587 cat conftest.err
>&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } &&
3590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; } &&
3596 { ac_try
='test -s conftest.$ac_objext'
3597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; }; then
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3611 if test -n "$ac_declaration"; then
3612 echo '#ifdef __cplusplus' >>confdefs.h
3613 echo $ac_declaration >>confdefs.h
3614 echo '#endif' >>confdefs.h
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 ac_cpp
='$CPP $CPPFLAGS'
3625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3630 # On Suns, sometimes $CPP names a directory.
3631 if test -n "$CPP" && test -d "$CPP"; then
3635 #### Some systems specify a CPP to use unless we are using GCC.
3636 #### Now that we know whether we are using GCC, we can decide whether
3637 #### to use that one.
3638 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3643 #### Some systems specify a CC to use unless we are using GCC.
3644 #### Now that we know whether we are using GCC, we can decide whether
3645 #### to use that one.
3646 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3647 test x
$cc_specified != xyes
3652 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3654 CC
="$CC $GCC_TEST_OPTIONS"
3657 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3659 CC
="$CC $NON_GCC_TEST_OPTIONS"
3662 #### Some other nice autoconf tests.
3664 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3665 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3667 if test "$LN_S" = "ln -s"; then
3668 echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6
3671 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3672 echo "${ECHO_T}no, using $LN_S" >&6
3676 ac_cpp
='$CPP $CPPFLAGS'
3677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3680 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3686 if test -z "$CPP"; then
3687 if test "${ac_cv_prog_CPP+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 # Double quotes because CPP needs to be expanded
3691 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3694 for ac_c_preproc_warn_flag
in '' yes
3696 # Use a header file that comes with gcc, so configuring glibc
3697 # with a fresh cross-compiler works.
3698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699 # <limits.h> exists even on freestanding compilers.
3700 # On the NeXT, cc -E runs the code through the compiler's parser,
3701 # not just through cpp. "Syntax error" is here to catch this case.
3702 cat >conftest.
$ac_ext <<_ACEOF
3705 cat confdefs.h
>>conftest.
$ac_ext
3706 cat >>conftest.
$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3709 # include <limits.h>
3711 # include <assert.h>
3715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3718 grep -v '^ *+' conftest.er1
>conftest.err
3720 cat conftest.err
>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } >/dev
/null
; then
3723 if test -s conftest.err
; then
3724 ac_cpp_err
=$ac_c_preproc_warn_flag
3725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3732 if test -z "$ac_cpp_err"; then
3735 echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.
$ac_ext >&5
3738 # Broken: fails on valid input.
3741 rm -f conftest.err conftest.
$ac_ext
3743 # OK, works on sane cases. Now check whether non-existent headers
3744 # can be detected and how.
3745 cat >conftest.
$ac_ext <<_ACEOF
3748 cat confdefs.h
>>conftest.
$ac_ext
3749 cat >>conftest.
$ac_ext <<_ACEOF
3750 /* end confdefs.h. */
3751 #include <ac_nonexistent.h>
3753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3756 grep -v '^ *+' conftest.er1
>conftest.err
3758 cat conftest.err
>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } >/dev
/null
; then
3761 if test -s conftest.err
; then
3762 ac_cpp_err
=$ac_c_preproc_warn_flag
3763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3770 if test -z "$ac_cpp_err"; then
3771 # Broken: success on invalid input.
3774 echo "$as_me: failed program was:" >&5
3775 sed 's/^/| /' conftest.
$ac_ext >&5
3777 # Passes both tests.
3781 rm -f conftest.err conftest.
$ac_ext
3784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3785 rm -f conftest.err conftest.
$ac_ext
3786 if $ac_preproc_ok; then
3798 echo "$as_me:$LINENO: result: $CPP" >&5
3799 echo "${ECHO_T}$CPP" >&6
3801 for ac_c_preproc_warn_flag
in '' yes
3803 # Use a header file that comes with gcc, so configuring glibc
3804 # with a fresh cross-compiler works.
3805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3806 # <limits.h> exists even on freestanding compilers.
3807 # On the NeXT, cc -E runs the code through the compiler's parser,
3808 # not just through cpp. "Syntax error" is here to catch this case.
3809 cat >conftest.
$ac_ext <<_ACEOF
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3816 # include <limits.h>
3818 # include <assert.h>
3822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3825 grep -v '^ *+' conftest.er1
>conftest.err
3827 cat conftest.err
>&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } >/dev
/null
; then
3830 if test -s conftest.err
; then
3831 ac_cpp_err
=$ac_c_preproc_warn_flag
3832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3839 if test -z "$ac_cpp_err"; then
3842 echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.
$ac_ext >&5
3845 # Broken: fails on valid input.
3848 rm -f conftest.err conftest.
$ac_ext
3850 # OK, works on sane cases. Now check whether non-existent headers
3851 # can be detected and how.
3852 cat >conftest.
$ac_ext <<_ACEOF
3855 cat confdefs.h
>>conftest.
$ac_ext
3856 cat >>conftest.
$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3858 #include <ac_nonexistent.h>
3860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3861 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev
/null
; then
3868 if test -s conftest.err
; then
3869 ac_cpp_err
=$ac_c_preproc_warn_flag
3870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3877 if test -z "$ac_cpp_err"; then
3878 # Broken: success on invalid input.
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3884 # Passes both tests.
3888 rm -f conftest.err conftest.
$ac_ext
3891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3892 rm -f conftest.err conftest.
$ac_ext
3893 if $ac_preproc_ok; then
3896 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3897 See \`config.log' for more details." >&5
3898 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3899 See \`config.log' for more details." >&2;}
3900 { (exit 1); exit 1; }; }
3904 ac_cpp
='$CPP $CPPFLAGS'
3905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3909 # Find a good install program. We prefer a C program (faster),
3910 # so one script is as good as another. But avoid the broken or
3911 # incompatible versions:
3912 # SysV /etc/install, /usr/sbin/install
3913 # SunOS /usr/etc/install
3914 # IRIX /sbin/install
3916 # AmigaOS /C/install, which installs bootblocks on floppy discs
3917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3920 # OS/2's system install, which has a completely different semantic
3921 # ./install, which can be erroneously created by make from ./install.sh.
3922 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3924 if test -z "$INSTALL"; then
3925 if test "${ac_cv_path_install+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 # Account for people who put trailing slashes in PATH elements.
3935 .
/ | .
// |
/cC
/* | \
3936 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3937 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3940 # OSF1 and SCO ODT 3.0 have their own names for install.
3941 # Don't use installbsd from OSF since it installs stuff as root
3943 for ac_prog
in ginstall scoinst
install; do
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3946 if test $ac_prog = install &&
3947 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3948 # AIX install. It has an incompatible calling convention.
3950 elif test $ac_prog = install &&
3951 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3952 # program-specific install script used by HP pwplus--don't use.
3955 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3967 if test "${ac_cv_path_install+set}" = set; then
3968 INSTALL
=$ac_cv_path_install
3970 # As a last resort, use the slow shell script. We don't cache a
3971 # path for INSTALL within a source directory, because that will
3972 # break other packages using the cache if that directory is
3973 # removed, or if the path is relative.
3974 INSTALL
=$ac_install_sh
3977 echo "$as_me:$LINENO: result: $INSTALL" >&5
3978 echo "${ECHO_T}$INSTALL" >&6
3980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3981 # It thinks the first close brace ends the variable substitution.
3982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3986 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3988 if test "x$RANLIB" = x
; then
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3991 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3992 echo "$as_me:$LINENO: checking for $ac_word" >&5
3993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3994 if test "${ac_cv_prog_RANLIB+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 if test -n "$RANLIB"; then
3998 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 RANLIB
=$ac_cv_prog_RANLIB
4017 if test -n "$RANLIB"; then
4018 echo "$as_me:$LINENO: result: $RANLIB" >&5
4019 echo "${ECHO_T}$RANLIB" >&6
4021 echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6
4026 if test -z "$ac_cv_prog_RANLIB"; then
4027 ac_ct_RANLIB
=$RANLIB
4028 # Extract the first word of "ranlib", so it can be a program name with args.
4029 set dummy ranlib
; ac_word
=$2
4030 echo "$as_me:$LINENO: checking for $ac_word" >&5
4031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 if test -n "$ac_ct_RANLIB"; then
4036 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4055 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4056 if test -n "$ac_ct_RANLIB"; then
4057 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4058 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4060 echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6
4064 RANLIB
=$ac_ct_RANLIB
4066 RANLIB
="$ac_cv_prog_RANLIB"
4070 # Extract the first word of "install-info", so it can be a program name with args.
4071 set dummy install-info
; ac_word
=$2
4072 echo "$as_me:$LINENO: checking for $ac_word" >&5
4073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4074 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 case $INSTALL_INFO in
4079 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir
=.
4087 for ac_exec_ext
in '' $ac_executable_extensions; do
4088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4101 if test -n "$INSTALL_INFO"; then
4102 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4103 echo "${ECHO_T}$INSTALL_INFO" >&6
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4109 # Extract the first word of "install-info", so it can be a program name with args.
4110 set dummy install-info
; ac_word
=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 case $INSTALL_INFO in
4118 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 for as_dir
in /usr
/sbin
4125 test -z "$as_dir" && as_dir
=.
4126 for ac_exec_ext
in '' $ac_executable_extensions; do
4127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4140 if test -n "$INSTALL_INFO"; then
4141 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4142 echo "${ECHO_T}$INSTALL_INFO" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4148 # Extract the first word of "install-info", so it can be a program name with args.
4149 set dummy install-info
; ac_word
=$2
4150 echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4152 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 case $INSTALL_INFO in
4157 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4178 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4180 if test -n "$INSTALL_INFO"; then
4181 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4182 echo "${ECHO_T}$INSTALL_INFO" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4190 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4192 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4195 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4197 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4201 late_LDFLAGS
=$LDFLAGS
4202 if test "$GCC" = yes; then
4203 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4205 LDFLAGS
="$LDFLAGS -znocombreloc"
4208 echo "$as_me:$LINENO: checking for -znocombreloc" >&5
4209 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6
4211 cat >conftest.
$ac_ext <<_ACEOF
4214 rm -f conftest.
$ac_objext conftest
$ac_exeext
4215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4216 (eval $ac_link) 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } &&
4223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try
='test -s conftest$ac_exeext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 echo "$as_me:$LINENO: result: yes" >&5
4236 echo "${ECHO_T}yes" >&6
4238 echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.
$ac_ext >&5
4241 LDFLAGS
=$late_LDFLAGS
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4245 rm -f conftest.err conftest.
$ac_objext \
4246 conftest
$ac_exeext conftest.
$ac_ext
4249 echo "$as_me:$LINENO: checking for egrep" >&5
4250 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4251 if test "${ac_cv_prog_egrep+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4255 then ac_cv_prog_egrep
='grep -E'
4256 else ac_cv_prog_egrep
='egrep'
4259 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4260 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4261 EGREP
=$ac_cv_prog_egrep
4265 echo "$as_me:$LINENO: checking for AIX" >&5
4266 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4279 $EGREP "yes" >/dev
/null
2>&1; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4282 cat >>confdefs.h
<<\_ACEOF
4283 #define _ALL_SOURCE 1
4287 echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6
4295 #### Extract some information from the operating system and machine files.
4297 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4298 - which libraries the lib-src programs will want, and
4299 - whether the GNU malloc routines are usable..." >&5
4300 echo "$as_me: checking the machine- and system-dependent files to find out
4301 - which libraries the lib-src programs will want, and
4302 - whether the GNU malloc routines are usable..." >&6;}
4304 ### First figure out CFLAGS (which we use for running the compiler here)
4305 ### and REAL_CFLAGS (which we use for real compilation).
4306 ### The two are the same except on a few systems, where they are made
4307 ### different to work around various lossages. For example,
4308 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4309 ### as implying static linking.
4311 ### If the CFLAGS env var is specified, we use that value
4312 ### instead of the default.
4314 ### It's not important that this name contain the PID; you can't run
4315 ### two configures in the same directory and have anything work
4317 tempcname
="conftest.c"
4320 #include "'${srcdir}'/src/'${opsysfile}'"
4321 #include "'${srcdir}'/src/'${machfile}'"
4322 #ifndef LIBS_MACHINE
4323 #define LIBS_MACHINE
4328 #ifndef C_SWITCH_SYSTEM
4329 #define C_SWITCH_SYSTEM
4331 #ifndef C_SWITCH_MACHINE
4332 #define C_SWITCH_MACHINE
4334 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4335 configure___ c_switch_system=C_SWITCH_SYSTEM
4336 configure___ c_switch_machine=C_SWITCH_MACHINE
4339 #define LIB_X11_LIB -lX11
4342 #ifndef LIBX11_MACHINE
4343 #define LIBX11_MACHINE
4346 #ifndef LIBX11_SYSTEM
4347 #define LIBX11_SYSTEM
4349 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4352 configure___ unexec=UNEXEC
4354 configure___ unexec=unexec.o
4357 #ifdef SYSTEM_MALLOC
4358 configure___ system_malloc=yes
4360 configure___ system_malloc=no
4363 #ifdef USE_MMAP_FOR_BUFFERS
4364 configure___ use_mmap_for_buffers=yes
4366 configure___ use_mmap_for_buffers=no
4369 #ifndef C_DEBUG_SWITCH
4370 #define C_DEBUG_SWITCH -g
4373 #ifndef C_OPTIMIZE_SWITCH
4375 #define C_OPTIMIZE_SWITCH -O2
4377 #define C_OPTIMIZE_SWITCH -O
4381 #ifndef LD_SWITCH_MACHINE
4382 #define LD_SWITCH_MACHINE
4385 #ifndef LD_SWITCH_SYSTEM
4386 #define LD_SWITCH_SYSTEM
4389 #ifndef LD_SWITCH_X_SITE_AUX
4390 #define LD_SWITCH_X_SITE_AUX
4393 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4394 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4396 #ifdef THIS_IS_CONFIGURE
4398 /* Get the CFLAGS for tests in configure. */
4400 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4402 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4405 #else /* not THIS_IS_CONFIGURE */
4407 /* Get the CFLAGS for real compilation. */
4409 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4411 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4414 #endif /* not THIS_IS_CONFIGURE */
4417 # The value of CPP is a quoted variable reference, so we need to do this
4418 # to get its actual value...
4419 CPP
=`eval "echo $CPP"`
4420 eval `${CPP} -Isrc ${tempcname} \
4421 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4422 if test "x$SPECIFIED_CFLAGS" = x
; then
4423 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4424 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4426 REAL_CFLAGS
="$CFLAGS"
4430 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4432 ### Make sure subsequent tests use flags consistent with the build flags.
4434 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4435 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4437 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4443 cat >>confdefs.h
<<\_ACEOF
4444 #define _GNU_SOURCE 1
4449 # Check whether --enable-largefile or --disable-largefile was given.
4450 if test "${enable_largefile+set}" = set; then
4451 enableval
="$enable_largefile"
4454 if test "$enable_largefile" != no
; then
4456 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4457 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4458 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_cv_sys_largefile_CC
=no
4462 if test "$GCC" != yes; then
4465 # IRIX 6.2 and later do not support large files by default,
4466 # so use the C compiler's -n32 option if that helps.
4467 cat >conftest.
$ac_ext <<_ACEOF
4470 cat confdefs.h
>>conftest.
$ac_ext
4471 cat >>conftest.
$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 #include <sys/types.h>
4474 /* Check that off_t can represent 2**63 - 1 correctly.
4475 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4476 since some C++ compilers masquerading as C compilers
4477 incorrectly reject 9223372036854775807. */
4478 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4479 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4480 && LARGE_OFF_T % 2147483647 == 1)
4490 rm -f conftest.
$ac_objext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1
>conftest.err
4496 cat conftest.err
>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; } &&
4505 { ac_try
='test -s conftest.$ac_objext'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; }; then
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.
$ac_ext >&5
4517 rm -f conftest.err conftest.
$ac_objext
4519 rm -f conftest.
$ac_objext
4520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4521 (eval $ac_compile) 2>conftest.er1
4523 grep -v '^ *+' conftest.er1
>conftest.err
4525 cat conftest.err
>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } &&
4528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; } &&
4534 { ac_try
='test -s conftest.$ac_objext'
4535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; }; then
4540 ac_cv_sys_largefile_CC
=' -n32'; break
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.
$ac_ext >&5
4546 rm -f conftest.err conftest.
$ac_objext
4550 rm -f conftest.
$ac_ext
4553 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4554 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4555 if test "$ac_cv_sys_largefile_CC" != no
; then
4556 CC
=$CC$ac_cv_sys_largefile_CC
4559 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 ac_cv_sys_file_offset_bits
=no
4566 cat >conftest.
$ac_ext <<_ACEOF
4569 cat confdefs.h
>>conftest.
$ac_ext
4570 cat >>conftest.
$ac_ext <<_ACEOF
4571 /* end confdefs.h. */
4572 #include <sys/types.h>
4573 /* Check that off_t can represent 2**63 - 1 correctly.
4574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4575 since some C++ compilers masquerading as C compilers
4576 incorrectly reject 9223372036854775807. */
4577 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4579 && LARGE_OFF_T % 2147483647 == 1)
4589 rm -f conftest.
$ac_objext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4591 (eval $ac_compile) 2>conftest.er1
4593 grep -v '^ *+' conftest.er1
>conftest.err
4595 cat conftest.err
>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } &&
4598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; } &&
4604 { ac_try
='test -s conftest.$ac_objext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 cat >conftest.
$ac_ext <<_ACEOF
4620 cat confdefs.h
>>conftest.
$ac_ext
4621 cat >>conftest.
$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4623 #define _FILE_OFFSET_BITS 64
4624 #include <sys/types.h>
4625 /* Check that off_t can represent 2**63 - 1 correctly.
4626 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4627 since some C++ compilers masquerading as C compilers
4628 incorrectly reject 9223372036854775807. */
4629 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4630 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4631 && LARGE_OFF_T % 2147483647 == 1)
4641 rm -f conftest.
$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try
='test -s conftest.$ac_objext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_sys_file_offset_bits
=64; break
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.
$ac_ext >&5
4668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4672 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4673 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4674 if test "$ac_cv_sys_file_offset_bits" != no
; then
4676 cat >>confdefs.h
<<_ACEOF
4677 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4682 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4683 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4684 if test "${ac_cv_sys_large_files+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 ac_cv_sys_large_files
=no
4689 cat >conftest.
$ac_ext <<_ACEOF
4692 cat confdefs.h
>>conftest.
$ac_ext
4693 cat >>conftest.
$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 #include <sys/types.h>
4696 /* Check that off_t can represent 2**63 - 1 correctly.
4697 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4698 since some C++ compilers masquerading as C compilers
4699 incorrectly reject 9223372036854775807. */
4700 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4701 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4702 && LARGE_OFF_T % 2147483647 == 1)
4712 rm -f conftest.
$ac_objext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714 (eval $ac_compile) 2>conftest.er1
4716 grep -v '^ *+' conftest.er1
>conftest.err
4718 cat conftest.err
>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } &&
4721 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; } &&
4779 { ac_try
='test -s conftest.$ac_objext'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 ac_cv_sys_large_files
=1; break
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.
$ac_ext >&5
4791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4796 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4797 if test "$ac_cv_sys_large_files" != no
; then
4799 cat >>confdefs.h
<<_ACEOF
4800 #define _LARGE_FILES $ac_cv_sys_large_files
4808 if test "${with_sound}" != "no"; then
4809 # Sound support for GNU/Linux and the free BSDs.
4810 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4811 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4812 if test "${ac_cv_header_stdc+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4834 rm -f conftest.
$ac_objext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836 (eval $ac_compile) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try
='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_header_stdc
=yes
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4860 ac_cv_header_stdc
=no
4862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4864 if test $ac_cv_header_stdc = yes; then
4865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4876 $EGREP "memchr" >/dev
/null
2>&1; then
4879 ac_cv_header_stdc
=no
4885 if test $ac_cv_header_stdc = yes; then
4886 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4887 cat >conftest.
$ac_ext <<_ACEOF
4890 cat confdefs.h
>>conftest.
$ac_ext
4891 cat >>conftest.
$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4897 $EGREP "free" >/dev
/null
2>&1; then
4900 ac_cv_header_stdc
=no
4906 if test $ac_cv_header_stdc = yes; then
4907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4908 if test "$cross_compiling" = yes; then
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4918 #if ((' ' & 0x0FF) == 0x020)
4919 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4920 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4922 # define ISLOWER(c) \
4923 (('a' <= (c) && (c) <= 'i') \
4924 || ('j' <= (c) && (c) <= 'r') \
4925 || ('s' <= (c) && (c) <= 'z'))
4926 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4929 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4934 for (i = 0; i < 256; i++)
4935 if (XOR (islower (i), ISLOWER (i))
4936 || toupper (i) != TOUPPER (i))
4941 rm -f conftest
$ac_exeext
4942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 (eval $ac_link) 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4954 echo "$as_me: program exited with status $ac_status" >&5
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4959 ac_cv_header_stdc
=no
4961 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4965 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4966 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4967 if test $ac_cv_header_stdc = yes; then
4969 cat >>confdefs.h
<<\_ACEOF
4970 #define STDC_HEADERS 1
4975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4985 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4986 inttypes.h stdint.h unistd.h
4988 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4989 echo "$as_me:$LINENO: checking for $ac_header" >&5
4990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 $ac_includes_default
5002 #include <$ac_header>
5004 rm -f conftest.
$ac_objext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5006 (eval $ac_compile) 2>conftest.er1
5008 grep -v '^ *+' conftest.er1
>conftest.err
5010 cat conftest.err
>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } &&
5013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } &&
5019 { ac_try
='test -s conftest.$ac_objext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5025 eval "$as_ac_Header=yes"
5027 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.
$ac_ext >&5
5030 eval "$as_ac_Header=no"
5032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5037 cat >>confdefs.h
<<_ACEOF
5038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5049 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5053 echo "$as_me:$LINENO: checking for $ac_header" >&5
5054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5061 # Is the header compilable?
5062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5064 cat >conftest.
$ac_ext <<_ACEOF
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 $ac_includes_default
5071 #include <$ac_header>
5073 rm -f conftest.
$ac_objext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 (eval $ac_compile) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1
>conftest.err
5079 cat conftest.err
>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; } &&
5088 { ac_try
='test -s conftest.$ac_objext'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; }; then
5094 ac_header_compiler
=yes
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.
$ac_ext >&5
5099 ac_header_compiler
=no
5101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5103 echo "${ECHO_T}$ac_header_compiler" >&6
5105 # Is the header present?
5106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5108 cat >conftest.
$ac_ext <<_ACEOF
5111 cat confdefs.h
>>conftest.
$ac_ext
5112 cat >>conftest.
$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 #include <$ac_header>
5116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5119 grep -v '^ *+' conftest.er1
>conftest.err
5121 cat conftest.err
>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } >/dev
/null
; then
5124 if test -s conftest.err
; then
5125 ac_cpp_err
=$ac_c_preproc_warn_flag
5126 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5133 if test -z "$ac_cpp_err"; then
5134 ac_header_preproc
=yes
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.
$ac_ext >&5
5139 ac_header_preproc
=no
5141 rm -f conftest.err conftest.
$ac_ext
5142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5143 echo "${ECHO_T}$ac_header_preproc" >&6
5145 # So? What about this header?
5146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5152 ac_header_preproc
=yes
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5169 ## ------------------------------------------ ##
5170 ## Report this to the AC_PACKAGE_NAME lists. ##
5171 ## ------------------------------------------ ##
5174 sed "s/^/$as_me: WARNING: /" >&2
5177 echo "$as_me:$LINENO: checking for $ac_header" >&5
5178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 eval "$as_ac_Header=\$ac_header_preproc"
5184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5189 cat >>confdefs.h
<<_ACEOF
5190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5197 # Emulation library used on NetBSD.
5198 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5199 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5200 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 ac_check_lib_save_LIBS
=$LIBS
5204 LIBS
="-lossaudio $LIBS"
5205 cat >conftest.
$ac_ext <<_ACEOF
5208 cat confdefs.h
>>conftest.
$ac_ext
5209 cat >>conftest.
$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5212 /* Override any gcc2 internal prototype to avoid an error. */
5216 /* We use char because int might match the return type of a gcc2
5217 builtin and then its argument prototype would still apply. */
5227 rm -f conftest.
$ac_objext conftest
$ac_exeext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5229 (eval $ac_link) 2>conftest.er1
5231 grep -v '^ *+' conftest.er1
>conftest.err
5233 cat conftest.err
>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; } &&
5242 { ac_try
='test -s conftest$ac_exeext'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; }; then
5248 ac_cv_lib_ossaudio__oss_ioctl
=yes
5250 echo "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.
$ac_ext >&5
5253 ac_cv_lib_ossaudio__oss_ioctl
=no
5255 rm -f conftest.err conftest.
$ac_objext \
5256 conftest
$ac_exeext conftest.
$ac_ext
5257 LIBS
=$ac_check_lib_save_LIBS
5259 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5260 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5261 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5295 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5296 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5297 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5298 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h \
5301 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5303 echo "$as_me:$LINENO: checking for $ac_header" >&5
5304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5311 # Is the header compilable?
5312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5314 cat >conftest.
$ac_ext <<_ACEOF
5317 cat confdefs.h
>>conftest.
$ac_ext
5318 cat >>conftest.
$ac_ext <<_ACEOF
5319 /* end confdefs.h. */
5320 $ac_includes_default
5321 #include <$ac_header>
5323 rm -f conftest.
$ac_objext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>conftest.er1
5327 grep -v '^ *+' conftest.er1
>conftest.err
5329 cat conftest.err
>&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } &&
5332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; } &&
5338 { ac_try
='test -s conftest.$ac_objext'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 ac_header_compiler
=yes
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.
$ac_ext >&5
5349 ac_header_compiler
=no
5351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5353 echo "${ECHO_T}$ac_header_compiler" >&6
5355 # Is the header present?
5356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5364 #include <$ac_header>
5366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5369 grep -v '^ *+' conftest.er1
>conftest.err
5371 cat conftest.err
>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } >/dev
/null
; then
5374 if test -s conftest.err
; then
5375 ac_cpp_err
=$ac_c_preproc_warn_flag
5376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5383 if test -z "$ac_cpp_err"; then
5384 ac_header_preproc
=yes
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.
$ac_ext >&5
5389 ac_header_preproc
=no
5391 rm -f conftest.err conftest.
$ac_ext
5392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5393 echo "${ECHO_T}$ac_header_preproc" >&6
5395 # So? What about this header?
5396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5402 ac_header_preproc
=yes
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5419 ## ------------------------------------------ ##
5420 ## Report this to the AC_PACKAGE_NAME lists. ##
5421 ## ------------------------------------------ ##
5424 sed "s/^/$as_me: WARNING: /" >&2
5427 echo "$as_me:$LINENO: checking for $ac_header" >&5
5428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 eval "$as_ac_Header=\$ac_header_preproc"
5434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5439 cat >>confdefs.h
<<_ACEOF
5440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5448 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5449 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5450 cat >conftest.
$ac_ext <<_ACEOF
5453 cat confdefs.h
>>conftest.
$ac_ext
5454 cat >>conftest.
$ac_ext <<_ACEOF
5455 /* end confdefs.h. */
5456 #include <sys/personality.h>
5460 personality (PER_LINUX32)
5465 rm -f conftest.
$ac_objext
5466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5467 (eval $ac_compile) 2>conftest.er1
5469 grep -v '^ *+' conftest.er1
>conftest.err
5471 cat conftest.err
>&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } &&
5474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; } &&
5480 { ac_try
='test -s conftest.$ac_objext'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 emacs_cv_personality_linux32
=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.
$ac_ext >&5
5491 emacs_cv_personality_linux32
=no
5493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5494 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5495 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5497 if test $emacs_cv_personality_linux32 = yes; then
5499 cat >>confdefs.h
<<\_ACEOF
5500 #define HAVE_PERSONALITY_LINUX32 1
5506 for ac_header
in term.h
5508 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5509 echo "$as_me:$LINENO: checking for $ac_header" >&5
5510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 cat >conftest.
$ac_ext <<_ACEOF
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <$ac_header>
5522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5525 grep -v '^ *+' conftest.er1
>conftest.err
5527 cat conftest.err
>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } >/dev
/null
; then
5530 if test -s conftest.err
; then
5531 ac_cpp_err
=$ac_c_preproc_warn_flag
5532 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5539 if test -z "$ac_cpp_err"; then
5540 eval "$as_ac_Header=yes"
5542 echo "$as_me: failed program was:" >&5
5543 sed 's/^/| /' conftest.
$ac_ext >&5
5545 eval "$as_ac_Header=no"
5547 rm -f conftest.err conftest.
$ac_ext
5549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5552 cat >>confdefs.h
<<_ACEOF
5553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5560 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5561 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5562 if test "${ac_cv_header_stdc+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 cat >conftest.
$ac_ext <<_ACEOF
5568 cat confdefs.h
>>conftest.
$ac_ext
5569 cat >>conftest.
$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5584 rm -f conftest.
$ac_objext
5585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5586 (eval $ac_compile) 2>conftest.er1
5588 grep -v '^ *+' conftest.er1
>conftest.err
5590 cat conftest.err
>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } &&
5593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; } &&
5599 { ac_try
='test -s conftest.$ac_objext'
5600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_cv_header_stdc
=yes
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5610 ac_cv_header_stdc
=no
5612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5614 if test $ac_cv_header_stdc = yes; then
5615 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5616 cat >conftest.
$ac_ext <<_ACEOF
5619 cat confdefs.h
>>conftest.
$ac_ext
5620 cat >>conftest.
$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5626 $EGREP "memchr" >/dev
/null
2>&1; then
5629 ac_cv_header_stdc
=no
5635 if test $ac_cv_header_stdc = yes; then
5636 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5637 cat >conftest.
$ac_ext <<_ACEOF
5640 cat confdefs.h
>>conftest.
$ac_ext
5641 cat >>conftest.
$ac_ext <<_ACEOF
5642 /* end confdefs.h. */
5646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5647 $EGREP "free" >/dev
/null
2>&1; then
5650 ac_cv_header_stdc
=no
5656 if test $ac_cv_header_stdc = yes; then
5657 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5658 if test "$cross_compiling" = yes; then
5661 cat >conftest.
$ac_ext <<_ACEOF
5664 cat confdefs.h
>>conftest.
$ac_ext
5665 cat >>conftest.
$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5668 #if ((' ' & 0x0FF) == 0x020)
5669 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5670 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5672 # define ISLOWER(c) \
5673 (('a' <= (c) && (c) <= 'i') \
5674 || ('j' <= (c) && (c) <= 'r') \
5675 || ('s' <= (c) && (c) <= 'z'))
5676 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5679 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5684 for (i = 0; i < 256; i++)
5685 if (XOR (islower (i), ISLOWER (i))
5686 || toupper (i) != TOUPPER (i))
5691 rm -f conftest
$ac_exeext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5693 (eval $ac_link) 2>&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; }; then
5704 echo "$as_me: program exited with status $ac_status" >&5
5705 echo "$as_me: failed program was:" >&5
5706 sed 's/^/| /' conftest.
$ac_ext >&5
5709 ac_cv_header_stdc
=no
5711 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5715 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5716 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5717 if test $ac_cv_header_stdc = yes; then
5719 cat >>confdefs.h
<<\_ACEOF
5720 #define STDC_HEADERS 1
5725 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5726 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5727 if test "${ac_cv_header_time+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 cat >conftest.
$ac_ext <<_ACEOF
5733 cat confdefs.h
>>conftest.
$ac_ext
5734 cat >>conftest.
$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5736 #include <sys/types.h>
5737 #include <sys/time.h>
5743 if ((struct tm *) 0)
5749 rm -f conftest.
$ac_objext
5750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5751 (eval $ac_compile) 2>conftest.er1
5753 grep -v '^ *+' conftest.er1
>conftest.err
5755 cat conftest.err
>&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } &&
5758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; } &&
5764 { ac_try
='test -s conftest.$ac_objext'
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; }; then
5770 ac_cv_header_time
=yes
5772 echo "$as_me: failed program was:" >&5
5773 sed 's/^/| /' conftest.
$ac_ext >&5
5775 ac_cv_header_time
=no
5777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5779 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5780 echo "${ECHO_T}$ac_cv_header_time" >&6
5781 if test $ac_cv_header_time = yes; then
5783 cat >>confdefs.h
<<\_ACEOF
5784 #define TIME_WITH_SYS_TIME 1
5789 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5790 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5791 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5792 echo $ECHO_N "(cached) $ECHO_C" >&6
5794 cat >conftest.
$ac_ext <<_ACEOF
5797 cat confdefs.h
>>conftest.
$ac_ext
5798 cat >>conftest.
$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 $ac_includes_default
5805 char *p = (char *) sys_siglist;
5812 rm -f conftest.
$ac_objext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5814 (eval $ac_compile) 2>conftest.er1
5816 grep -v '^ *+' conftest.er1
>conftest.err
5818 cat conftest.err
>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; } &&
5827 { ac_try
='test -s conftest.$ac_objext'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_have_decl_sys_siglist
=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.
$ac_ext >&5
5838 ac_cv_have_decl_sys_siglist
=no
5840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5843 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5844 if test $ac_cv_have_decl_sys_siglist = yes; then
5846 cat >>confdefs.h
<<_ACEOF
5847 #define HAVE_DECL_SYS_SIGLIST 1
5852 cat >>confdefs.h
<<_ACEOF
5853 #define HAVE_DECL_SYS_SIGLIST 0
5860 if test $ac_cv_have_decl_sys_siglist != yes; then
5861 # For Tru64, at least:
5862 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5863 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5864 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 cat >conftest.
$ac_ext <<_ACEOF
5870 cat confdefs.h
>>conftest.
$ac_ext
5871 cat >>conftest.
$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 $ac_includes_default
5877 #ifndef __sys_siglist
5878 char *p = (char *) __sys_siglist;
5885 rm -f conftest.
$ac_objext
5886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5887 (eval $ac_compile) 2>conftest.er1
5889 grep -v '^ *+' conftest.er1
>conftest.err
5891 cat conftest.err
>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } &&
5894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; } &&
5900 { ac_try
='test -s conftest.$ac_objext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 ac_cv_have_decl___sys_siglist
=yes
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5911 ac_cv_have_decl___sys_siglist
=no
5913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5916 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5917 if test $ac_cv_have_decl___sys_siglist = yes; then
5919 cat >>confdefs.h
<<_ACEOF
5920 #define HAVE_DECL___SYS_SIGLIST 1
5925 cat >>confdefs.h
<<_ACEOF
5926 #define HAVE_DECL___SYS_SIGLIST 0
5933 if test $ac_cv_have_decl___sys_siglist = yes; then
5935 cat >>confdefs.h
<<\_ACEOF
5936 #define sys_siglist __sys_siglist
5941 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5942 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5943 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 cat >conftest.
$ac_ext <<_ACEOF
5949 cat confdefs.h
>>conftest.
$ac_ext
5950 cat >>conftest.
$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <sys/types.h>
5953 #include <sys/wait.h>
5955 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5958 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5966 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5971 rm -f conftest.
$ac_objext
5972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5973 (eval $ac_compile) 2>conftest.er1
5975 grep -v '^ *+' conftest.er1
>conftest.err
5977 cat conftest.err
>&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); } &&
5980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; } &&
5986 { ac_try
='test -s conftest.$ac_objext'
5987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); }; }; then
5992 ac_cv_header_sys_wait_h
=yes
5994 echo "$as_me: failed program was:" >&5
5995 sed 's/^/| /' conftest.
$ac_ext >&5
5997 ac_cv_header_sys_wait_h
=no
5999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6001 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6002 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6003 if test $ac_cv_header_sys_wait_h = yes; then
6005 cat >>confdefs.h
<<\_ACEOF
6006 #define HAVE_SYS_WAIT_H 1
6012 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6013 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
6014 if test "${emacs_cv_struct_utimbuf+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 cat >conftest.
$ac_ext <<_ACEOF
6020 cat confdefs.h
>>conftest.
$ac_ext
6021 cat >>conftest.
$ac_ext <<_ACEOF
6022 /* end confdefs.h. */
6023 #ifdef TIME_WITH_SYS_TIME
6024 #include <sys/time.h>
6027 #ifdef HAVE_SYS_TIME_H
6028 #include <sys/time.h>
6039 static struct utimbuf x; x.actime = x.modtime;
6044 rm -f conftest.
$ac_objext
6045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6046 (eval $ac_compile) 2>conftest.er1
6048 grep -v '^ *+' conftest.er1
>conftest.err
6050 cat conftest.err
>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } &&
6053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; } &&
6059 { ac_try
='test -s conftest.$ac_objext'
6060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); }; }; then
6065 emacs_cv_struct_utimbuf
=yes
6067 echo "$as_me: failed program was:" >&5
6068 sed 's/^/| /' conftest.
$ac_ext >&5
6070 emacs_cv_struct_utimbuf
=no
6072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6074 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6075 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6076 if test $emacs_cv_struct_utimbuf = yes; then
6078 cat >>confdefs.h
<<\_ACEOF
6079 #define HAVE_STRUCT_UTIMBUF 1
6084 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6085 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6086 if test "${ac_cv_type_signal+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6095 #include <sys/types.h>
6101 extern "C" void (*signal (int, void (*)(int)))(int);
6103 void (*signal ()) ();
6114 rm -f conftest.
$ac_objext
6115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6116 (eval $ac_compile) 2>conftest.er1
6118 grep -v '^ *+' conftest.er1
>conftest.err
6120 cat conftest.err
>&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; } &&
6129 { ac_try
='test -s conftest.$ac_objext'
6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }; }; then
6135 ac_cv_type_signal
=void
6137 echo "$as_me: failed program was:" >&5
6138 sed 's/^/| /' conftest.
$ac_ext >&5
6140 ac_cv_type_signal
=int
6142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6144 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6145 echo "${ECHO_T}$ac_cv_type_signal" >&6
6147 cat >>confdefs.h
<<_ACEOF
6148 #define RETSIGTYPE $ac_cv_type_signal
6153 echo "$as_me:$LINENO: checking for speed_t" >&5
6154 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6155 if test "${emacs_cv_speed_t+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.
$ac_ext <<_ACEOF
6161 cat confdefs.h
>>conftest.
$ac_ext
6162 cat >>conftest.
$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 #include <termios.h>
6173 rm -f conftest.
$ac_objext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 (eval $ac_compile) 2>conftest.er1
6177 grep -v '^ *+' conftest.er1
>conftest.err
6179 cat conftest.err
>&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } &&
6182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; } &&
6188 { ac_try
='test -s conftest.$ac_objext'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; }; then
6194 emacs_cv_speed_t
=yes
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.
$ac_ext >&5
6201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6203 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6204 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6205 if test $emacs_cv_speed_t = yes; then
6207 cat >>confdefs.h
<<\_ACEOF
6208 #define HAVE_SPEED_T 1
6213 echo "$as_me:$LINENO: checking for struct timeval" >&5
6214 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6215 if test "${emacs_cv_struct_timeval+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 #ifdef TIME_WITH_SYS_TIME
6225 #include <sys/time.h>
6228 #ifdef HAVE_SYS_TIME_H
6229 #include <sys/time.h>
6237 static struct timeval x; x.tv_sec = x.tv_usec;
6242 rm -f conftest.
$ac_objext
6243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6244 (eval $ac_compile) 2>conftest.er1
6246 grep -v '^ *+' conftest.er1
>conftest.err
6248 cat conftest.err
>&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try
='test -s conftest.$ac_objext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 emacs_cv_struct_timeval
=yes
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.
$ac_ext >&5
6268 emacs_cv_struct_timeval
=no
6270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6273 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6274 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6275 if test $emacs_cv_struct_timeval = yes; then
6277 cat >>confdefs.h
<<\_ACEOF
6278 #define HAVE_TIMEVAL 1
6283 echo "$as_me:$LINENO: checking for struct exception" >&5
6284 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6285 if test "${emacs_cv_struct_exception+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 cat >conftest.
$ac_ext <<_ACEOF
6291 cat confdefs.h
>>conftest.
$ac_ext
6292 cat >>conftest.
$ac_ext <<_ACEOF
6293 /* end confdefs.h. */
6298 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6303 rm -f conftest.
$ac_objext
6304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6305 (eval $ac_compile) 2>conftest.er1
6307 grep -v '^ *+' conftest.er1
>conftest.err
6309 cat conftest.err
>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } &&
6312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; } &&
6318 { ac_try
='test -s conftest.$ac_objext'
6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; }; then
6324 emacs_cv_struct_exception
=yes
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.
$ac_ext >&5
6329 emacs_cv_struct_exception
=no
6331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6333 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6334 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6335 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6336 if test $emacs_cv_struct_exception != yes; then
6338 cat >>confdefs.h
<<\_ACEOF
6339 #define NO_MATHERR 1
6345 for ac_header
in sys
/socket.h
6347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6349 echo "$as_me:$LINENO: checking for $ac_header" >&5
6350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6357 # Is the header compilable?
6358 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6359 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
6367 #include <$ac_header>
6369 rm -f conftest.
$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>conftest.er1
6373 grep -v '^ *+' conftest.er1
>conftest.err
6375 cat conftest.err
>&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } &&
6378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); }; } &&
6384 { ac_try
='test -s conftest.$ac_objext'
6385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); }; }; then
6390 ac_header_compiler
=yes
6392 echo "$as_me: failed program was:" >&5
6393 sed 's/^/| /' conftest.
$ac_ext >&5
6395 ac_header_compiler
=no
6397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6399 echo "${ECHO_T}$ac_header_compiler" >&6
6401 # Is the header present?
6402 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6404 cat >conftest.
$ac_ext <<_ACEOF
6407 cat confdefs.h
>>conftest.
$ac_ext
6408 cat >>conftest.
$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 #include <$ac_header>
6412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6415 grep -v '^ *+' conftest.er1
>conftest.err
6417 cat conftest.err
>&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); } >/dev
/null
; then
6420 if test -s conftest.err
; then
6421 ac_cpp_err
=$ac_c_preproc_warn_flag
6422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6429 if test -z "$ac_cpp_err"; then
6430 ac_header_preproc
=yes
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.
$ac_ext >&5
6435 ac_header_preproc
=no
6437 rm -f conftest.err conftest.
$ac_ext
6438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6439 echo "${ECHO_T}$ac_header_preproc" >&6
6441 # So? What about this header?
6442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6447 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6448 ac_header_preproc
=yes
6451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6456 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6458 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6462 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6465 ## ------------------------------------------ ##
6466 ## Report this to the AC_PACKAGE_NAME lists. ##
6467 ## ------------------------------------------ ##
6470 sed "s/^/$as_me: WARNING: /" >&2
6473 echo "$as_me:$LINENO: checking for $ac_header" >&5
6474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 eval "$as_ac_Header=\$ac_header_preproc"
6480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6485 cat >>confdefs.h
<<_ACEOF
6486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6494 for ac_header
in net
/if.h
6496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6497 echo "$as_me:$LINENO: checking for $ac_header" >&5
6498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 cat >conftest.
$ac_ext <<_ACEOF
6505 cat confdefs.h
>>conftest.
$ac_ext
6506 cat >>conftest.
$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 $ac_includes_default
6509 #if HAVE_SYS_SOCKET_H
6510 #include <sys/socket.h>
6513 #include <$ac_header>
6515 rm -f conftest.
$ac_objext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517 (eval $ac_compile) 2>conftest.er1
6519 grep -v '^ *+' conftest.er1
>conftest.err
6521 cat conftest.err
>&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); } &&
6524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; } &&
6530 { ac_try
='test -s conftest.$ac_objext'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 eval "$as_ac_Header=yes"
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.
$ac_ext >&5
6541 eval "$as_ac_Header=no"
6543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6548 cat >>confdefs.h
<<_ACEOF
6549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6557 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6558 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6559 if test "${ac_cv_struct_tm+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 cat >conftest.
$ac_ext <<_ACEOF
6565 cat confdefs.h
>>conftest.
$ac_ext
6566 cat >>conftest.
$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6568 #include <sys/types.h>
6574 struct tm *tp; tp->tm_sec;
6579 rm -f conftest.
$ac_objext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6581 (eval $ac_compile) 2>conftest.er1
6583 grep -v '^ *+' conftest.er1
>conftest.err
6585 cat conftest.err
>&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } &&
6588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; } &&
6594 { ac_try
='test -s conftest.$ac_objext'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then
6600 ac_cv_struct_tm
=time.h
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.
$ac_ext >&5
6605 ac_cv_struct_tm
=sys
/time.h
6607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6609 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6610 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6611 if test $ac_cv_struct_tm = sys
/time.h
; then
6613 cat >>confdefs.h
<<\_ACEOF
6614 #define TM_IN_SYS_TIME 1
6619 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6620 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6621 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 cat >conftest.
$ac_ext <<_ACEOF
6627 cat confdefs.h
>>conftest.
$ac_ext
6628 cat >>conftest.
$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6630 #include <sys/types.h>
6631 #include <$ac_cv_struct_tm>
6637 static struct tm ac_aggr;
6638 if (ac_aggr.tm_zone)
6644 rm -f conftest.
$ac_objext
6645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6646 (eval $ac_compile) 2>conftest.er1
6648 grep -v '^ *+' conftest.er1
>conftest.err
6650 cat conftest.err
>&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } &&
6653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; } &&
6659 { ac_try
='test -s conftest.$ac_objext'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }; then
6665 ac_cv_member_struct_tm_tm_zone
=yes
6667 echo "$as_me: failed program was:" >&5
6668 sed 's/^/| /' conftest.
$ac_ext >&5
6670 cat >conftest.
$ac_ext <<_ACEOF
6673 cat confdefs.h
>>conftest.
$ac_ext
6674 cat >>conftest.
$ac_ext <<_ACEOF
6675 /* end confdefs.h. */
6676 #include <sys/types.h>
6677 #include <$ac_cv_struct_tm>
6683 static struct tm ac_aggr;
6684 if (sizeof ac_aggr.tm_zone)
6690 rm -f conftest.
$ac_objext
6691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6692 (eval $ac_compile) 2>conftest.er1
6694 grep -v '^ *+' conftest.er1
>conftest.err
6696 cat conftest.err
>&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } &&
6699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; } &&
6705 { ac_try
='test -s conftest.$ac_objext'
6706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; }; then
6711 ac_cv_member_struct_tm_tm_zone
=yes
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.
$ac_ext >&5
6716 ac_cv_member_struct_tm_tm_zone
=no
6718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6723 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6724 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6726 cat >>confdefs.h
<<_ACEOF
6727 #define HAVE_STRUCT_TM_TM_ZONE 1
6733 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6735 cat >>confdefs.h
<<\_ACEOF
6736 #define HAVE_TM_ZONE 1
6740 echo "$as_me:$LINENO: checking for tzname" >&5
6741 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6742 if test "${ac_cv_var_tzname+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 cat >conftest.
$ac_ext <<_ACEOF
6748 cat confdefs.h
>>conftest.
$ac_ext
6749 cat >>conftest.
$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6752 #ifndef tzname /* For SGI. */
6753 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6764 rm -f conftest.
$ac_objext conftest
$ac_exeext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6766 (eval $ac_link) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; } &&
6779 { ac_try
='test -s conftest$ac_exeext'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6785 ac_cv_var_tzname
=yes
6787 echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.
$ac_ext >&5
6792 rm -f conftest.err conftest.
$ac_objext \
6793 conftest
$ac_exeext conftest.
$ac_ext
6795 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6796 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6797 if test $ac_cv_var_tzname = yes; then
6799 cat >>confdefs.h
<<\_ACEOF
6800 #define HAVE_TZNAME 1
6806 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6807 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6808 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 cat >conftest.
$ac_ext <<_ACEOF
6814 cat confdefs.h
>>conftest.
$ac_ext
6815 cat >>conftest.
$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6822 static struct tm ac_aggr;
6823 if (ac_aggr.tm_gmtoff)
6829 rm -f conftest.
$ac_objext
6830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6831 (eval $ac_compile) 2>conftest.er1
6833 grep -v '^ *+' conftest.er1
>conftest.err
6835 cat conftest.err
>&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; } &&
6844 { ac_try
='test -s conftest.$ac_objext'
6845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; }; then
6850 ac_cv_member_struct_tm_tm_gmtoff
=yes
6852 echo "$as_me: failed program was:" >&5
6853 sed 's/^/| /' conftest.
$ac_ext >&5
6855 cat >conftest.
$ac_ext <<_ACEOF
6858 cat confdefs.h
>>conftest.
$ac_ext
6859 cat >>conftest.
$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6866 static struct tm ac_aggr;
6867 if (sizeof ac_aggr.tm_gmtoff)
6873 rm -f conftest.
$ac_objext
6874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6875 (eval $ac_compile) 2>conftest.er1
6877 grep -v '^ *+' conftest.er1
>conftest.err
6879 cat conftest.err
>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } &&
6882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; } &&
6888 { ac_try
='test -s conftest.$ac_objext'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894 ac_cv_member_struct_tm_tm_gmtoff
=yes
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.
$ac_ext >&5
6899 ac_cv_member_struct_tm_tm_gmtoff
=no
6901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6905 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6906 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6907 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6909 cat >>confdefs.h
<<\_ACEOF
6910 #define HAVE_TM_GMTOFF 1
6915 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6916 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6917 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 cat >conftest.
$ac_ext <<_ACEOF
6923 cat confdefs.h
>>conftest.
$ac_ext
6924 cat >>conftest.
$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6926 $ac_includes_default
6927 #if HAVE_SYS_SOCKET_H
6928 #include <sys/socket.h>
6937 static struct ifreq ac_aggr;
6938 if (ac_aggr.ifr_flags)
6944 rm -f conftest.
$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6948 grep -v '^ *+' conftest.er1
>conftest.err
6950 cat conftest.err
>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; } &&
6959 { ac_try
='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6965 ac_cv_member_struct_ifreq_ifr_flags
=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.
$ac_ext >&5
6970 cat >conftest.
$ac_ext <<_ACEOF
6973 cat confdefs.h
>>conftest.
$ac_ext
6974 cat >>conftest.
$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 $ac_includes_default
6977 #if HAVE_SYS_SOCKET_H
6978 #include <sys/socket.h>
6987 static struct ifreq ac_aggr;
6988 if (sizeof ac_aggr.ifr_flags)
6994 rm -f conftest.
$ac_objext
6995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6996 (eval $ac_compile) 2>conftest.er1
6998 grep -v '^ *+' conftest.er1
>conftest.err
7000 cat conftest.err
>&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } &&
7003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; } &&
7009 { ac_try
='test -s conftest.$ac_objext'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); }; }; then
7015 ac_cv_member_struct_ifreq_ifr_flags
=yes
7017 echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.
$ac_ext >&5
7020 ac_cv_member_struct_ifreq_ifr_flags
=no
7022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7026 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7027 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
7028 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7030 cat >>confdefs.h
<<_ACEOF
7031 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7036 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7037 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7038 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7039 echo $ECHO_N "(cached) $ECHO_C" >&6
7041 cat >conftest.
$ac_ext <<_ACEOF
7044 cat confdefs.h
>>conftest.
$ac_ext
7045 cat >>conftest.
$ac_ext <<_ACEOF
7046 /* end confdefs.h. */
7047 $ac_includes_default
7048 #if HAVE_SYS_SOCKET_H
7049 #include <sys/socket.h>
7058 static struct ifreq ac_aggr;
7059 if (ac_aggr.ifr_hwaddr)
7065 rm -f conftest.
$ac_objext
7066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7067 (eval $ac_compile) 2>conftest.er1
7069 grep -v '^ *+' conftest.er1
>conftest.err
7071 cat conftest.err
>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } &&
7074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try
='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.
$ac_ext >&5
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 $ac_includes_default
7098 #if HAVE_SYS_SOCKET_H
7099 #include <sys/socket.h>
7108 static struct ifreq ac_aggr;
7109 if (sizeof ac_aggr.ifr_hwaddr)
7115 rm -f conftest.
$ac_objext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7117 (eval $ac_compile) 2>conftest.er1
7119 grep -v '^ *+' conftest.er1
>conftest.err
7121 cat conftest.err
>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try
='test -s conftest.$ac_objext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.
$ac_ext >&5
7141 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7147 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7148 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7149 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7151 cat >>confdefs.h
<<_ACEOF
7152 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7157 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7158 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7159 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 cat >conftest.
$ac_ext <<_ACEOF
7165 cat confdefs.h
>>conftest.
$ac_ext
7166 cat >>conftest.
$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 $ac_includes_default
7169 #if HAVE_SYS_SOCKET_H
7170 #include <sys/socket.h>
7179 static struct ifreq ac_aggr;
7180 if (ac_aggr.ifr_netmask)
7186 rm -f conftest.
$ac_objext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7188 (eval $ac_compile) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; } &&
7201 { ac_try
='test -s conftest.$ac_objext'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; }; then
7207 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.
$ac_ext >&5
7212 cat >conftest.
$ac_ext <<_ACEOF
7215 cat confdefs.h
>>conftest.
$ac_ext
7216 cat >>conftest.
$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7218 $ac_includes_default
7219 #if HAVE_SYS_SOCKET_H
7220 #include <sys/socket.h>
7229 static struct ifreq ac_aggr;
7230 if (sizeof ac_aggr.ifr_netmask)
7236 rm -f conftest.
$ac_objext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7238 (eval $ac_compile) 2>conftest.er1
7240 grep -v '^ *+' conftest.er1
>conftest.err
7242 cat conftest.err
>&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; } &&
7251 { ac_try
='test -s conftest.$ac_objext'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.
$ac_ext >&5
7262 ac_cv_member_struct_ifreq_ifr_netmask
=no
7264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7268 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7269 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7270 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7272 cat >>confdefs.h
<<_ACEOF
7273 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7278 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7279 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7280 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7281 echo $ECHO_N "(cached) $ECHO_C" >&6
7283 cat >conftest.
$ac_ext <<_ACEOF
7286 cat confdefs.h
>>conftest.
$ac_ext
7287 cat >>conftest.
$ac_ext <<_ACEOF
7288 /* end confdefs.h. */
7289 $ac_includes_default
7290 #if HAVE_SYS_SOCKET_H
7291 #include <sys/socket.h>
7300 static struct ifreq ac_aggr;
7301 if (ac_aggr.ifr_broadaddr)
7307 rm -f conftest.
$ac_objext
7308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7309 (eval $ac_compile) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1
>conftest.err
7313 cat conftest.err
>&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } &&
7316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try
='test -s conftest.$ac_objext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7328 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.
$ac_ext >&5
7333 cat >conftest.
$ac_ext <<_ACEOF
7336 cat confdefs.h
>>conftest.
$ac_ext
7337 cat >>conftest.
$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7339 $ac_includes_default
7340 #if HAVE_SYS_SOCKET_H
7341 #include <sys/socket.h>
7350 static struct ifreq ac_aggr;
7351 if (sizeof ac_aggr.ifr_broadaddr)
7357 rm -f conftest.
$ac_objext
7358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7359 (eval $ac_compile) 2>conftest.er1
7361 grep -v '^ *+' conftest.er1
>conftest.err
7363 cat conftest.err
>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } &&
7366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try
='test -s conftest.$ac_objext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7378 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7380 echo "$as_me: failed program was:" >&5
7381 sed 's/^/| /' conftest.
$ac_ext >&5
7383 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7389 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7390 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7391 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7393 cat >>confdefs.h
<<_ACEOF
7394 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7399 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7400 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7401 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7404 cat >conftest.
$ac_ext <<_ACEOF
7407 cat confdefs.h
>>conftest.
$ac_ext
7408 cat >>conftest.
$ac_ext <<_ACEOF
7409 /* end confdefs.h. */
7410 $ac_includes_default
7411 #if HAVE_SYS_SOCKET_H
7412 #include <sys/socket.h>
7421 static struct ifreq ac_aggr;
7422 if (ac_aggr.ifr_addr)
7428 rm -f conftest.
$ac_objext
7429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7430 (eval $ac_compile) 2>conftest.er1
7432 grep -v '^ *+' conftest.er1
>conftest.err
7434 cat conftest.err
>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } &&
7437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; } &&
7443 { ac_try
='test -s conftest.$ac_objext'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7449 ac_cv_member_struct_ifreq_ifr_addr
=yes
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.
$ac_ext >&5
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 $ac_includes_default
7461 #if HAVE_SYS_SOCKET_H
7462 #include <sys/socket.h>
7471 static struct ifreq ac_aggr;
7472 if (sizeof ac_aggr.ifr_addr)
7478 rm -f conftest.
$ac_objext
7479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7480 (eval $ac_compile) 2>conftest.er1
7482 grep -v '^ *+' conftest.er1
>conftest.err
7484 cat conftest.err
>&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } &&
7487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; } &&
7493 { ac_try
='test -s conftest.$ac_objext'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; }; then
7499 ac_cv_member_struct_ifreq_ifr_addr
=yes
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.
$ac_ext >&5
7504 ac_cv_member_struct_ifreq_ifr_addr
=no
7506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7510 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7511 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7512 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7514 cat >>confdefs.h
<<_ACEOF
7515 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7523 echo "$as_me:$LINENO: checking for function prototypes" >&5
7524 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7525 if test "$ac_cv_prog_cc_stdc" != no
; then
7526 echo "$as_me:$LINENO: result: yes" >&5
7527 echo "${ECHO_T}yes" >&6
7529 cat >>confdefs.h
<<\_ACEOF
7530 #define PROTOTYPES 1
7534 cat >>confdefs.h
<<\_ACEOF
7535 #define __PROTOTYPES 1
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for working volatile" >&5
7544 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7545 if test "${ac_cv_c_volatile+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7565 rm -f conftest.
$ac_objext
7566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7567 (eval $ac_compile) 2>conftest.er1
7569 grep -v '^ *+' conftest.er1
>conftest.err
7571 cat conftest.err
>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } &&
7574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; } &&
7580 { ac_try
='test -s conftest.$ac_objext'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; }; then
7586 ac_cv_c_volatile
=yes
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.
$ac_ext >&5
7593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7595 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7596 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7597 if test $ac_cv_c_volatile = no
; then
7599 cat >>confdefs.h
<<\_ACEOF
7605 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7606 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7607 if test "${ac_cv_c_const+set}" = set; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7620 /* FIXME: Include the comments suggested by Paul. */
7622 /* Ultrix mips cc rejects this. */
7623 typedef int charset[2];
7625 /* SunOS 4.1.1 cc rejects this. */
7626 char const *const *ccp;
7628 /* NEC SVR4.0.2 mips cc rejects this. */
7629 struct point {int x, y;};
7630 static struct point const zero = {0,0};
7631 /* AIX XL C 1.02.0.0 rejects this.
7632 It does not let you subtract one const X* pointer from another in
7633 an arm of an if-expression whose if-part is not a constant
7635 const char *g = "string";
7636 ccp = &g + (g ? g-g : 0);
7637 /* HPUX 7.0 cc rejects these. */
7640 ccp = (char const *const *) p;
7641 { /* SCO 3.2v4 cc rejects this. */
7643 char const *s = 0 ? (char *) 0 : (char const *) 0;
7647 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7649 const int *foo = &x[0];
7652 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7653 typedef const int *iptr;
7657 { /* AIX XL C 1.02.0.0 rejects this saying
7658 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7659 struct s { int j; const int *ap[3]; };
7660 struct s *b; b->j = 5;
7662 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7671 rm -f conftest.
$ac_objext
7672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7673 (eval $ac_compile) 2>conftest.er1
7675 grep -v '^ *+' conftest.er1
>conftest.err
7677 cat conftest.err
>&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } &&
7680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; } &&
7686 { ac_try
='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.
$ac_ext >&5
7699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7701 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7702 echo "${ECHO_T}$ac_cv_c_const" >&6
7703 if test $ac_cv_c_const = no
; then
7705 cat >>confdefs.h
<<\_ACEOF
7711 echo "$as_me:$LINENO: checking for void * support" >&5
7712 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7713 if test "${emacs_cv_void_star+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7716 cat >conftest.
$ac_ext <<_ACEOF
7719 cat confdefs.h
>>conftest.
$ac_ext
7720 cat >>conftest.
$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7731 rm -f conftest.
$ac_objext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7733 (eval $ac_compile) 2>conftest.er1
7735 grep -v '^ *+' conftest.er1
>conftest.err
7737 cat conftest.err
>&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try
='test -s conftest.$ac_objext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 emacs_cv_void_star
=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.
$ac_ext >&5
7757 emacs_cv_void_star
=no
7759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7761 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7762 echo "${ECHO_T}$emacs_cv_void_star" >&6
7763 if test $emacs_cv_void_star = yes; then
7764 cat >>confdefs.h
<<\_ACEOF
7765 #define POINTER_TYPE void
7769 cat >>confdefs.h
<<\_ACEOF
7770 #define POINTER_TYPE char
7779 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7780 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7781 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7782 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 cat >conftest.
make <<\_ACEOF
7787 @
echo 'ac_maketemp="$(MAKE)"'
7789 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7790 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7791 if test -n "$ac_maketemp"; then
7792 eval ac_cv_prog_make_
${ac_make}_set
=yes
7794 eval ac_cv_prog_make_
${ac_make}_set
=no
7798 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7799 echo "$as_me:$LINENO: result: yes" >&5
7800 echo "${ECHO_T}yes" >&6
7803 echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6
7805 SET_MAKE
="MAKE=${MAKE-make}"
7809 echo "$as_me:$LINENO: checking for long file names" >&5
7810 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7811 if test "${ac_cv_sys_long_file_names+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 ac_cv_sys_long_file_names
=yes
7815 # Test for long file names in all the places we know might matter:
7816 # . the current directory, where building will happen
7817 # $prefix/lib where we will be installing things
7818 # $exec_prefix/lib likewise
7819 # eval it to expand exec_prefix.
7820 # $TMPDIR if set, where it might want to write temporary files
7821 # if $TMPDIR is not set:
7822 # /tmp where it might want to write temporary files
7825 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7828 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7830 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7831 test -d $ac_dir ||
continue
7832 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7833 ac_xdir
=$ac_dir/cf$$
7834 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7835 ac_tf1
=$ac_xdir/conftest9012345
7836 ac_tf2
=$ac_xdir/conftest9012346
7837 (echo 1 >$ac_tf1) 2>/dev
/null
7838 (echo 2 >$ac_tf2) 2>/dev
/null
7839 ac_val
=`cat $ac_tf1 2>/dev/null`
7840 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7841 ac_cv_sys_long_file_names
=no
7842 rm -rf $ac_xdir 2>/dev
/null
7845 rm -rf $ac_xdir 2>/dev
/null
7848 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7849 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7850 if test $ac_cv_sys_long_file_names = yes; then
7852 cat >>confdefs.h
<<\_ACEOF
7853 #define HAVE_LONG_FILE_NAMES 1
7859 #### Choose a window system.
7861 echo "$as_me:$LINENO: checking for X" >&5
7862 echo $ECHO_N "checking for X... $ECHO_C" >&6
7864 ac_path_x_has_been_run
=yes
7866 # Check whether --with-x or --without-x was given.
7867 if test "${with_x+set}" = set; then
7871 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7872 if test "x$with_x" = xno
; then
7873 # The user explicitly disabled X.
7876 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7877 # Both variables are already set.
7880 if test "${ac_cv_have_x+set}" = set; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 # One or both of the vars are not set, and there is no cached value.
7884 ac_x_includes
=no ac_x_libraries
=no
7886 if mkdir conftest.dir
; then
7888 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7889 cat >Imakefile
<<'_ACEOF'
7891 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7893 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7895 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7896 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7897 for ac_extension
in a so sl
; do
7898 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7899 test -f $ac_im_libdir/libX11.
$ac_extension; then
7900 ac_im_usrlibdir
=$ac_im_libdir; break
7903 # Screen out bogus values from the imake configuration. They are
7904 # bogus both because they are the default anyway, and because
7905 # using them would break gcc on systems where it needs fixed includes.
7906 case $ac_im_incroot in
7908 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7910 case $ac_im_usrlibdir in
7912 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7919 # Standard set of common directories for X headers.
7920 # Check X11 before X11Rn because it is often a symlink to the current release.
7932 /usr/local/X11/include
7933 /usr/local/X11R6/include
7934 /usr/local/X11R5/include
7935 /usr/local/X11R4/include
7937 /usr/local/include/X11
7938 /usr/local/include/X11R6
7939 /usr/local/include/X11R5
7940 /usr/local/include/X11R4
7944 /usr/XFree86/include/X11
7948 /usr/unsupported/include
7950 /usr/local/x11r5/include
7951 /usr/lpp/Xamples/include
7953 /usr/openwin/include
7954 /usr/openwin/share/include'
7956 if test "$ac_x_includes" = no
; then
7957 # Guess where to find include files, by looking for a specified header file.
7958 # First, try using that file with no special directory specified.
7959 cat >conftest.
$ac_ext <<_ACEOF
7962 cat confdefs.h
>>conftest.
$ac_ext
7963 cat >>conftest.
$ac_ext <<_ACEOF
7964 /* end confdefs.h. */
7965 #include <X11/Intrinsic.h>
7967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7970 grep -v '^ *+' conftest.er1
>conftest.err
7972 cat conftest.err
>&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } >/dev
/null
; then
7975 if test -s conftest.err
; then
7976 ac_cpp_err
=$ac_c_preproc_warn_flag
7977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7984 if test -z "$ac_cpp_err"; then
7985 # We can compile using X headers with no special include directory.
7988 echo "$as_me: failed program was:" >&5
7989 sed 's/^/| /' conftest.
$ac_ext >&5
7991 for ac_dir
in $ac_x_header_dirs; do
7992 if test -r "$ac_dir/X11/Intrinsic.h"; then
7993 ac_x_includes
=$ac_dir
7998 rm -f conftest.err conftest.
$ac_ext
7999 fi # $ac_x_includes = no
8001 if test "$ac_x_libraries" = no
; then
8002 # Check for the libraries.
8003 # See if we find them without any special options.
8004 # Don't add to $LIBS permanently.
8007 cat >conftest.
$ac_ext <<_ACEOF
8010 cat confdefs.h
>>conftest.
$ac_ext
8011 cat >>conftest.
$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8013 #include <X11/Intrinsic.h>
8022 rm -f conftest.
$ac_objext conftest
$ac_exeext
8023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8024 (eval $ac_link) 2>conftest.er1
8026 grep -v '^ *+' conftest.er1
>conftest.err
8028 cat conftest.err
>&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } &&
8031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; } &&
8037 { ac_try
='test -s conftest$ac_exeext'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; }; then
8044 # We can link X programs with no special library path.
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.
$ac_ext >&5
8051 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8053 # Don't even attempt the hair of trying to link an X program!
8054 for ac_extension
in a so sl
; do
8055 if test -r $ac_dir/libXt.
$ac_extension; then
8056 ac_x_libraries
=$ac_dir
8062 rm -f conftest.err conftest.
$ac_objext \
8063 conftest
$ac_exeext conftest.
$ac_ext
8064 fi # $ac_x_libraries = no
8066 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8067 # Didn't find X anywhere. Cache the known absence of X.
8068 ac_cv_have_x
="have_x=no"
8070 # Record where we found X for the cache.
8071 ac_cv_have_x
="have_x=yes \
8072 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8077 eval "$ac_cv_have_x"
8080 if test "$have_x" != yes; then
8081 echo "$as_me:$LINENO: result: $have_x" >&5
8082 echo "${ECHO_T}$have_x" >&6
8085 # If each of the values was on the command line, it overrides each guess.
8086 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8087 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8088 # Update the cache value to reflect the command line values.
8089 ac_cv_have_x
="have_x=yes \
8090 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8091 # It might be that x_includes is empty (headers are found in the
8092 # standard search path. Then output the corresponding message
8093 ac_out_x_includes
=$x_includes
8094 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
8095 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8096 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8099 if test "$no_x" = yes; then
8105 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8106 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8107 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8108 x_default_search_path
=""
8109 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8111 ${x_library}/X11/%L/%T/%N%C%S:\
8112 ${x_library}/X11/%l/%T/%N%C%S:\
8113 ${x_library}/X11/%T/%N%C%S:\
8114 ${x_library}/X11/%L/%T/%N%S:\
8115 ${x_library}/X11/%l/%T/%N%S:\
8116 ${x_library}/X11/%T/%N%S"
8117 if test x
"${x_default_search_path}" = x
; then
8118 x_default_search_path
=${x_search_path}
8120 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8124 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8125 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8128 if test x
"${x_includes}" = x
; then
8129 bitmapdir
=/usr
/include
/X11
/bitmaps
8131 # accumulate include directories that have X11 bitmap subdirectories
8133 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8134 if test -d "${bmd}/X11/bitmaps"; then
8135 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8137 if test -d "${bmd}/bitmaps"; then
8138 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8141 if test ${bmd_acc} != "dummyval"; then
8142 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8146 case "${window_system}" in
8150 case "${with_x_toolkit}" in
8151 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8152 motif
) USE_X_TOOLKIT
=MOTIF
;;
8154 USE_X_TOOLKIT
=none
;;
8155 no
) USE_X_TOOLKIT
=none
;;
8156 * ) USE_X_TOOLKIT
=maybe
;;
8166 ### If we're using X11, we should use the X menu package.
8169 yes ) HAVE_MENUS
=yes ;;
8172 if test "${opsys}" = "hpux9"; then
8173 case "${x_libraries}" in
8175 opsysfile
="s/hpux9-x11r4.h"
8180 if test "${opsys}" = "hpux9shr"; then
8181 case "${x_libraries}" in
8183 opsysfile
="s/hpux9shxr4.h"
8189 if test "${HAVE_X11}" != "yes"; then
8190 if test "${with_carbon}" != "no"; then
8191 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8192 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8193 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
8194 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8198 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
8200 # Is the header compilable?
8201 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
8202 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
8203 cat >conftest.
$ac_ext <<_ACEOF
8206 cat confdefs.h
>>conftest.
$ac_ext
8207 cat >>conftest.
$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8209 $ac_includes_default
8210 #include <Carbon/Carbon.h>
8212 rm -f conftest.
$ac_objext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8214 (eval $ac_compile) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1
>conftest.err
8218 cat conftest.err
>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try
='test -s conftest.$ac_objext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_header_compiler
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_header_compiler
=no
8240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8242 echo "${ECHO_T}$ac_header_compiler" >&6
8244 # Is the header present?
8245 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
8246 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
8247 cat >conftest.
$ac_ext <<_ACEOF
8250 cat confdefs.h
>>conftest.
$ac_ext
8251 cat >>conftest.
$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8253 #include <Carbon/Carbon.h>
8255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8258 grep -v '^ *+' conftest.er1
>conftest.err
8260 cat conftest.err
>&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } >/dev
/null
; then
8263 if test -s conftest.err
; then
8264 ac_cpp_err
=$ac_c_preproc_warn_flag
8265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8272 if test -z "$ac_cpp_err"; then
8273 ac_header_preproc
=yes
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.
$ac_ext >&5
8278 ac_header_preproc
=no
8280 rm -f conftest.err conftest.
$ac_ext
8281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8282 echo "${ECHO_T}$ac_header_preproc" >&6
8284 # So? What about this header?
8285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8287 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
8288 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8289 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
8290 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
8291 ac_header_preproc
=yes
8294 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
8295 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
8296 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
8297 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
8298 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
8299 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
8300 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
8301 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
8302 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
8303 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
8304 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
8305 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
8308 ## ------------------------------------------ ##
8309 ## Report this to the AC_PACKAGE_NAME lists. ##
8310 ## ------------------------------------------ ##
8313 sed "s/^/$as_me: WARNING: /" >&2
8316 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8317 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
8318 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8319 echo $ECHO_N "(cached) $ECHO_C" >&6
8321 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
8323 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8324 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
8327 if test $ac_cv_header_Carbon_Carbon_h = yes; then
8335 ### Compute the unexec source name from the object name.
8336 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8338 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8339 # Assume not, until told otherwise.
8342 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8343 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8344 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 cat >conftest.
$ac_ext <<_ACEOF
8350 cat confdefs.h
>>conftest.
$ac_ext
8351 cat >>conftest.
$ac_ext <<_ACEOF
8352 /* end confdefs.h. */
8353 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8355 #define malloc_get_state innocuous_malloc_get_state
8357 /* System header to define __stub macros and hopefully few prototypes,
8358 which can conflict with char malloc_get_state (); below.
8359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8360 <limits.h> exists even on freestanding compilers. */
8363 # include <limits.h>
8365 # include <assert.h>
8368 #undef malloc_get_state
8370 /* Override any gcc2 internal prototype to avoid an error. */
8375 /* We use char because int might match the return type of a gcc2
8376 builtin and then its argument prototype would still apply. */
8377 char malloc_get_state ();
8378 /* The GNU C library defines this for functions which it implements
8379 to always fail with ENOSYS. Some functions are actually named
8380 something starting with __ and the normal name is an alias. */
8381 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8384 char (*f) () = malloc_get_state;
8393 return f != malloc_get_state;
8398 rm -f conftest.
$ac_objext conftest
$ac_exeext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8400 (eval $ac_link) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; } &&
8413 { ac_try
='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_func_malloc_get_state
=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.
$ac_ext >&5
8424 ac_cv_func_malloc_get_state
=no
8426 rm -f conftest.err conftest.
$ac_objext \
8427 conftest
$ac_exeext conftest.
$ac_ext
8429 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8430 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8431 if test $ac_cv_func_malloc_get_state = yes; then
8437 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8438 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8439 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 cat >conftest.
$ac_ext <<_ACEOF
8445 cat confdefs.h
>>conftest.
$ac_ext
8446 cat >>conftest.
$ac_ext <<_ACEOF
8447 /* end confdefs.h. */
8448 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8450 #define malloc_set_state innocuous_malloc_set_state
8452 /* System header to define __stub macros and hopefully few prototypes,
8453 which can conflict with char malloc_set_state (); below.
8454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8455 <limits.h> exists even on freestanding compilers. */
8458 # include <limits.h>
8460 # include <assert.h>
8463 #undef malloc_set_state
8465 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char malloc_set_state ();
8473 /* The GNU C library defines this for functions which it implements
8474 to always fail with ENOSYS. Some functions are actually named
8475 something starting with __ and the normal name is an alias. */
8476 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8479 char (*f) () = malloc_set_state;
8488 return f != malloc_set_state;
8493 rm -f conftest.
$ac_objext conftest
$ac_exeext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8495 (eval $ac_link) 2>conftest.er1
8497 grep -v '^ *+' conftest.er1
>conftest.err
8499 cat conftest.err
>&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; } &&
8508 { ac_try
='test -s conftest$ac_exeext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514 ac_cv_func_malloc_set_state
=yes
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.
$ac_ext >&5
8519 ac_cv_func_malloc_set_state
=no
8521 rm -f conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8524 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8525 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8526 if test $ac_cv_func_malloc_set_state = yes; then
8532 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8533 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8534 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 cat >conftest.
$ac_ext <<_ACEOF
8540 cat confdefs.h
>>conftest.
$ac_ext
8541 cat >>conftest.
$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8543 extern void (* __after_morecore_hook)();
8547 __after_morecore_hook = 0
8552 rm -f conftest.
$ac_objext conftest
$ac_exeext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8554 (eval $ac_link) 2>conftest.er1
8556 grep -v '^ *+' conftest.er1
>conftest.err
8558 cat conftest.err
>&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; } &&
8567 { ac_try
='test -s conftest$ac_exeext'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; }; then
8573 emacs_cv_var___after_morecore_hook
=yes
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.
$ac_ext >&5
8578 emacs_cv_var___after_morecore_hook
=no
8580 rm -f conftest.err conftest.
$ac_objext \
8581 conftest
$ac_exeext conftest.
$ac_ext
8583 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8584 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8585 if test $emacs_cv_var___after_morecore_hook = no
; then
8588 if test "${system_malloc}" = "yes"; then
8591 (The GNU allocators don't work with this system configuration.)"
8593 if test "$doug_lea_malloc" = "yes" ; then
8594 if test "$GNU_MALLOC" = yes ; then
8596 (Using Doug Lea's new malloc from the GNU C Library.)"
8599 cat >>confdefs.h
<<\_ACEOF
8600 #define DOUG_LEA_MALLOC 1
8605 if test x
"${REL_ALLOC}" = x
; then
8606 REL_ALLOC
=${GNU_MALLOC}
8612 for ac_header
in stdlib.h unistd.h
8614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8616 echo "$as_me:$LINENO: checking for $ac_header" >&5
8617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8624 # Is the header compilable?
8625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8627 cat >conftest.
$ac_ext <<_ACEOF
8630 cat confdefs.h
>>conftest.
$ac_ext
8631 cat >>conftest.
$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8633 $ac_includes_default
8634 #include <$ac_header>
8636 rm -f conftest.
$ac_objext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8638 (eval $ac_compile) 2>conftest.er1
8640 grep -v '^ *+' conftest.er1
>conftest.err
8642 cat conftest.err
>&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); } &&
8645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; } &&
8651 { ac_try
='test -s conftest.$ac_objext'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; }; then
8657 ac_header_compiler
=yes
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.
$ac_ext >&5
8662 ac_header_compiler
=no
8664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8666 echo "${ECHO_T}$ac_header_compiler" >&6
8668 # Is the header present?
8669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8671 cat >conftest.
$ac_ext <<_ACEOF
8674 cat confdefs.h
>>conftest.
$ac_ext
8675 cat >>conftest.
$ac_ext <<_ACEOF
8676 /* end confdefs.h. */
8677 #include <$ac_header>
8679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8682 grep -v '^ *+' conftest.er1
>conftest.err
8684 cat conftest.err
>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } >/dev
/null
; then
8687 if test -s conftest.err
; then
8688 ac_cpp_err
=$ac_c_preproc_warn_flag
8689 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8696 if test -z "$ac_cpp_err"; then
8697 ac_header_preproc
=yes
8699 echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.
$ac_ext >&5
8702 ac_header_preproc
=no
8704 rm -f conftest.err conftest.
$ac_ext
8705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8706 echo "${ECHO_T}$ac_header_preproc" >&6
8708 # So? What about this header?
8709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8715 ac_header_preproc
=yes
8718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8732 ## ------------------------------------------ ##
8733 ## Report this to the AC_PACKAGE_NAME lists. ##
8734 ## ------------------------------------------ ##
8737 sed "s/^/$as_me: WARNING: /" >&2
8740 echo "$as_me:$LINENO: checking for $ac_header" >&5
8741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 eval "$as_ac_Header=\$ac_header_preproc"
8747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8752 cat >>confdefs.h
<<_ACEOF
8753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8761 for ac_func
in getpagesize
8763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8764 echo "$as_me:$LINENO: checking for $ac_func" >&5
8765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8766 if eval "test \"\${$as_ac_var+set}\" = set"; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 cat >conftest.
$ac_ext <<_ACEOF
8772 cat confdefs.h
>>conftest.
$ac_ext
8773 cat >>conftest.
$ac_ext <<_ACEOF
8774 /* end confdefs.h. */
8775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8777 #define $ac_func innocuous_$ac_func
8779 /* System header to define __stub macros and hopefully few prototypes,
8780 which can conflict with char $ac_func (); below.
8781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8782 <limits.h> exists even on freestanding compilers. */
8785 # include <limits.h>
8787 # include <assert.h>
8792 /* Override any gcc2 internal prototype to avoid an error. */
8797 /* We use char because int might match the return type of a gcc2
8798 builtin and then its argument prototype would still apply. */
8800 /* The GNU C library defines this for functions which it implements
8801 to always fail with ENOSYS. Some functions are actually named
8802 something starting with __ and the normal name is an alias. */
8803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 char (*f) () = $ac_func;
8815 return f != $ac_func;
8820 rm -f conftest.
$ac_objext conftest
$ac_exeext
8821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8822 (eval $ac_link) 2>conftest.er1
8824 grep -v '^ *+' conftest.er1
>conftest.err
8826 cat conftest.err
>&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } &&
8829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; } &&
8835 { ac_try
='test -s 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 eval "$as_ac_var=yes"
8843 echo "$as_me: failed program was:" >&5
8844 sed 's/^/| /' conftest.
$ac_ext >&5
8846 eval "$as_ac_var=no"
8848 rm -f conftest.err conftest.
$ac_objext \
8849 conftest
$ac_exeext conftest.
$ac_ext
8851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8853 if test `eval echo '${'$as_ac_var'}'` = yes; then
8854 cat >>confdefs.h
<<_ACEOF
8855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8861 echo "$as_me:$LINENO: checking for working mmap" >&5
8862 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8863 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8866 if test "$cross_compiling" = yes; then
8867 ac_cv_func_mmap_fixed_mapped
=no
8869 cat >conftest.
$ac_ext <<_ACEOF
8872 cat confdefs.h
>>conftest.
$ac_ext
8873 cat >>conftest.
$ac_ext <<_ACEOF
8874 /* end confdefs.h. */
8875 $ac_includes_default
8876 /* malloc might have been renamed as rpl_malloc. */
8879 /* Thanks to Mike Haertel and Jim Avera for this test.
8880 Here is a matrix of mmap possibilities:
8881 mmap private not fixed
8882 mmap private fixed at somewhere currently unmapped
8883 mmap private fixed at somewhere already mapped
8884 mmap shared not fixed
8885 mmap shared fixed at somewhere currently unmapped
8886 mmap shared fixed at somewhere already mapped
8887 For private mappings, we should verify that changes cannot be read()
8888 back from the file, nor mmap's back from the file at a different
8889 address. (There have been systems where private was not correctly
8890 implemented like the infamous i386 svr4.0, and systems where the
8891 VM page cache was not coherent with the file system buffer cache
8892 like early versions of FreeBSD and possibly contemporary NetBSD.)
8893 For shared mappings, we should conversely verify that changes get
8894 propagated back to all the places they're supposed to be.
8896 Grep wants private fixed already mapped.
8897 The main things grep needs to know about mmap are:
8898 * does it exist and is it safe to write into the mmap'd area
8899 * how to use it (BSD variants) */
8902 #include <sys/mman.h>
8904 #if !STDC_HEADERS && !HAVE_STDLIB_H
8908 /* This mess was copied from the GNU getpagesize.h. */
8909 #if !HAVE_GETPAGESIZE
8910 /* Assume that all systems that can run configure have sys/param.h. */
8911 # if !HAVE_SYS_PARAM_H
8912 # define HAVE_SYS_PARAM_H 1
8915 # ifdef _SC_PAGESIZE
8916 # define getpagesize() sysconf(_SC_PAGESIZE)
8917 # else /* no _SC_PAGESIZE */
8918 # if HAVE_SYS_PARAM_H
8919 # include <sys/param.h>
8920 # ifdef EXEC_PAGESIZE
8921 # define getpagesize() EXEC_PAGESIZE
8922 # else /* no EXEC_PAGESIZE */
8924 # define getpagesize() NBPG * CLSIZE
8927 # endif /* no CLSIZE */
8928 # else /* no NBPG */
8930 # define getpagesize() NBPC
8931 # else /* no NBPC */
8933 # define getpagesize() PAGESIZE
8934 # endif /* PAGESIZE */
8935 # endif /* no NBPC */
8936 # endif /* no NBPG */
8937 # endif /* no EXEC_PAGESIZE */
8938 # else /* no HAVE_SYS_PARAM_H */
8939 # define getpagesize() 8192 /* punt totally */
8940 # endif /* no HAVE_SYS_PARAM_H */
8941 # endif /* no _SC_PAGESIZE */
8943 #endif /* no HAVE_GETPAGESIZE */
8948 char *data, *data2, *data3;
8952 pagesize = getpagesize ();
8954 /* First, make a file with some known garbage in it. */
8955 data = (char *) malloc (pagesize);
8958 for (i = 0; i < pagesize; ++i)
8959 *(data + i) = rand ();
8961 fd = creat ("conftest.mmap", 0600);
8964 if (write (fd, data, pagesize) != pagesize)
8968 /* Next, try to mmap the file at a fixed address which already has
8969 something else allocated at it. If we can, also make sure that
8970 we see the same garbage. */
8971 fd = open ("conftest.mmap", O_RDWR);
8974 data2 = (char *) malloc (2 * pagesize);
8977 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8978 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8979 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8981 for (i = 0; i < pagesize; ++i)
8982 if (*(data + i) != *(data2 + i))
8985 /* Finally, make sure that changes to the mapped area do not
8986 percolate back to the file as seen by read(). (This is a bug on
8987 some variants of i386 svr4.0.) */
8988 for (i = 0; i < pagesize; ++i)
8989 *(data2 + i) = *(data2 + i) + 1;
8990 data3 = (char *) malloc (pagesize);
8993 if (read (fd, data3, pagesize) != pagesize)
8995 for (i = 0; i < pagesize; ++i)
8996 if (*(data + i) != *(data3 + i))
9002 rm -f conftest
$ac_exeext
9003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004 (eval $ac_link) 2>&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; }; then
9013 ac_cv_func_mmap_fixed_mapped
=yes
9015 echo "$as_me: program exited with status $ac_status" >&5
9016 echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.
$ac_ext >&5
9020 ac_cv_func_mmap_fixed_mapped
=no
9022 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9025 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9026 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9027 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9029 cat >>confdefs.h
<<\_ACEOF
9036 if test $use_mmap_for_buffers = yes; then
9040 LIBS
="$libsrc_libs $LIBS"
9043 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9044 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9045 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 ac_check_lib_save_LIBS
=$LIBS
9050 cat >conftest.
$ac_ext <<_ACEOF
9053 cat confdefs.h
>>conftest.
$ac_ext
9054 cat >>conftest.
$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9057 /* Override any gcc2 internal prototype to avoid an error. */
9061 /* We use char because int might match the return type of a gcc2
9062 builtin and then its argument prototype would still apply. */
9072 rm -f conftest.
$ac_objext conftest
$ac_exeext
9073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9074 (eval $ac_link) 2>conftest.er1
9076 grep -v '^ *+' conftest.er1
>conftest.err
9078 cat conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } &&
9081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; } &&
9087 { ac_try
='test -s conftest$ac_exeext'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; }; then
9093 ac_cv_lib_dnet_dnet_ntoa
=yes
9095 echo "$as_me: failed program was:" >&5
9096 sed 's/^/| /' conftest.
$ac_ext >&5
9098 ac_cv_lib_dnet_dnet_ntoa
=no
9100 rm -f conftest.err conftest.
$ac_objext \
9101 conftest
$ac_exeext conftest.
$ac_ext
9102 LIBS
=$ac_check_lib_save_LIBS
9104 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9107 cat >>confdefs.h
<<_ACEOF
9108 #define HAVE_LIBDNET 1
9116 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9117 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9118 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9119 echo $ECHO_N "(cached) $ECHO_C" >&6
9121 ac_check_lib_save_LIBS
=$LIBS
9123 cat >conftest.
$ac_ext <<_ACEOF
9126 cat confdefs.h
>>conftest.
$ac_ext
9127 cat >>conftest.
$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9139 rm -f conftest.
$ac_objext conftest
$ac_exeext
9140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9141 (eval $ac_link) 2>conftest.er1
9143 grep -v '^ *+' conftest.er1
>conftest.err
9145 cat conftest.err
>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } &&
9148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; } &&
9154 { ac_try
='test -s conftest$ac_exeext'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9160 ac_cv_lib_Xbsd_main
=yes
9162 echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.
$ac_ext >&5
9165 ac_cv_lib_Xbsd_main
=no
9167 rm -f conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 LIBS
=$ac_check_lib_save_LIBS
9171 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9172 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9173 if test $ac_cv_lib_Xbsd_main = yes; then
9174 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9179 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9180 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9181 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 ac_check_lib_save_LIBS
=$LIBS
9185 LIBS
="-lpthreads $LIBS"
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 cat confdefs.h
>>conftest.
$ac_ext
9190 cat >>conftest.
$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 /* Override any gcc2 internal prototype to avoid an error. */
9197 /* We use char because int might match the return type of a gcc2
9198 builtin and then its argument prototype would still apply. */
9208 rm -f conftest.
$ac_objext conftest
$ac_exeext
9209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9210 (eval $ac_link) 2>conftest.er1
9212 grep -v '^ *+' conftest.er1
>conftest.err
9214 cat conftest.err
>&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } &&
9217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; } &&
9223 { ac_try
='test -s conftest$ac_exeext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
9229 ac_cv_lib_pthreads_cma_open
=yes
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.
$ac_ext >&5
9234 ac_cv_lib_pthreads_cma_open
=no
9236 rm -f conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 LIBS
=$ac_check_lib_save_LIBS
9240 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9241 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9242 if test $ac_cv_lib_pthreads_cma_open = yes; then
9243 cat >>confdefs.h
<<_ACEOF
9244 #define HAVE_LIBPTHREADS 1
9247 LIBS
="-lpthreads $LIBS"
9252 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9253 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9254 if test -d /usr
/X386
/include
; then
9256 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9260 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9261 echo "${ECHO_T}$HAVE_XFREE386" >&6
9266 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9267 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9268 if test "${gdb_cv_bigtoc+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9273 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9274 *) gdb_cv_bigtoc
=-bbigtoc ;;
9277 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9278 cat >conftest.
$ac_ext <<_ACEOF
9281 cat confdefs.h
>>conftest.
$ac_ext
9282 cat >>conftest.
$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9293 rm -f conftest.
$ac_objext conftest
$ac_exeext
9294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9295 (eval $ac_link) 2>conftest.er1
9297 grep -v '^ *+' conftest.er1
>conftest.err
9299 cat conftest.err
>&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; } &&
9308 { ac_try
='test -s conftest$ac_exeext'
9309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; }; then
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.
$ac_ext >&5
9321 rm -f conftest.err conftest.
$ac_objext \
9322 conftest
$ac_exeext conftest.
$ac_ext
9325 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9326 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9330 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9331 # used for the tests that follow. We set them back to REAL_CFLAGS and
9332 # REAL_CPPFLAGS later on.
9334 REAL_CPPFLAGS
="$CPPFLAGS"
9336 if test "${HAVE_X11}" = "yes"; then
9337 DEFS
="$C_SWITCH_X_SITE $DEFS"
9338 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9340 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9341 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9343 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9344 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9345 # but it's more convenient here to set LD_RUN_PATH
9346 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9347 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9348 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9352 if test "${opsys}" = "gnu-linux"; then
9353 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9354 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9355 cat >conftest.
$ac_ext <<_ACEOF
9358 cat confdefs.h
>>conftest.
$ac_ext
9359 cat >>conftest.
$ac_ext <<_ACEOF
9360 /* end confdefs.h. */
9365 XOpenDisplay ("foo");
9370 rm -f conftest.
$ac_objext conftest
$ac_exeext
9371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9372 (eval $ac_link) 2>conftest.er1
9374 grep -v '^ *+' conftest.er1
>conftest.err
9376 cat conftest.err
>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } &&
9379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try
='test -s conftest$ac_exeext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 xlinux_first_failure
=no
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 xlinux_first_failure
=yes
9398 rm -f conftest.err conftest.
$ac_objext \
9399 conftest
$ac_exeext conftest.
$ac_ext
9400 if test "${xlinux_first_failure}" = "yes"; then
9401 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9402 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9403 OLD_CPPFLAGS
="$CPPFLAGS"
9405 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9406 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9407 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9408 LIBS
="$LIBS -b i486-linuxaout"
9409 cat >conftest.
$ac_ext <<_ACEOF
9412 cat confdefs.h
>>conftest.
$ac_ext
9413 cat >>conftest.
$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9419 XOpenDisplay ("foo");
9424 rm -f conftest.
$ac_objext conftest
$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9428 grep -v '^ *+' conftest.er1
>conftest.err
9430 cat conftest.err
>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try
='test -s conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 xlinux_second_failure
=no
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 xlinux_second_failure
=yes
9452 rm -f conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9454 if test "${xlinux_second_failure}" = "yes"; then
9455 # If we get the same failure with -b, there is no use adding -b.
9456 # So take it out. This plays safe.
9457 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9458 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9459 CPPFLAGS
="$OLD_CPPFLAGS"
9461 echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9473 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9474 # header files included from there.
9475 echo "$as_me:$LINENO: checking for Xkb" >&5
9476 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9477 cat >conftest.
$ac_ext <<_ACEOF
9480 cat confdefs.h
>>conftest.
$ac_ext
9481 cat >>conftest.
$ac_ext <<_ACEOF
9482 /* end confdefs.h. */
9483 #include <X11/Xlib.h>
9484 #include <X11/XKBlib.h>
9488 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9493 rm -f conftest.
$ac_objext conftest
$ac_exeext
9494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9495 (eval $ac_link) 2>conftest.er1
9497 grep -v '^ *+' conftest.er1
>conftest.err
9499 cat conftest.err
>&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } &&
9502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try
='test -s conftest$ac_exeext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9516 echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.
$ac_ext >&5
9521 rm -f conftest.err conftest.
$ac_objext \
9522 conftest
$ac_exeext conftest.
$ac_ext
9523 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9524 echo "${ECHO_T}$emacs_xkb" >&6
9525 if test $emacs_xkb = yes; then
9527 cat >>confdefs.h
<<\_ACEOF
9528 #define HAVE_XKBGETKEYBOARD 1
9537 for ac_func
in XrmSetDatabase XScreenResourceString \
9538 XScreenNumberOfScreen XSetWMProtocols
9540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9541 echo "$as_me:$LINENO: checking for $ac_func" >&5
9542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9543 if eval "test \"\${$as_ac_var+set}\" = set"; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.
$ac_ext <<_ACEOF
9549 cat confdefs.h
>>conftest.
$ac_ext
9550 cat >>conftest.
$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9554 #define $ac_func innocuous_$ac_func
9556 /* System header to define __stub macros and hopefully few prototypes,
9557 which can conflict with char $ac_func (); below.
9558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9559 <limits.h> exists even on freestanding compilers. */
9562 # include <limits.h>
9564 # include <assert.h>
9569 /* Override any gcc2 internal prototype to avoid an error. */
9574 /* We use char because int might match the return type of a gcc2
9575 builtin and then its argument prototype would still apply. */
9577 /* The GNU C library defines this for functions which it implements
9578 to always fail with ENOSYS. Some functions are actually named
9579 something starting with __ and the normal name is an alias. */
9580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9583 char (*f) () = $ac_func;
9592 return f != $ac_func;
9597 rm -f conftest.
$ac_objext conftest
$ac_exeext
9598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9599 (eval $ac_link) 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; } &&
9612 { ac_try
='test -s conftest$ac_exeext'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; }; then
9618 eval "$as_ac_var=yes"
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.
$ac_ext >&5
9623 eval "$as_ac_var=no"
9625 rm -f conftest.err conftest.
$ac_objext \
9626 conftest
$ac_exeext conftest.
$ac_ext
9628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9630 if test `eval echo '${'$as_ac_var'}'` = yes; then
9631 cat >>confdefs.h
<<_ACEOF
9632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9640 if test "${window_system}" = "x11"; then
9641 echo "$as_me:$LINENO: checking X11 version 6" >&5
9642 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9643 if test "${emacs_cv_x11_version_6+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 cat >conftest.
$ac_ext <<_ACEOF
9649 cat confdefs.h
>>conftest.
$ac_ext
9650 cat >>conftest.
$ac_ext <<_ACEOF
9651 /* end confdefs.h. */
9652 #include <X11/Xlib.h>
9656 #if XlibSpecificationRelease < 6
9664 rm -f conftest.
$ac_objext conftest
$ac_exeext
9665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9666 (eval $ac_link) 2>conftest.er1
9668 grep -v '^ *+' conftest.er1
>conftest.err
9670 cat conftest.err
>&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); } &&
9673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; } &&
9679 { ac_try
='test -s conftest$ac_exeext'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; }; then
9685 emacs_cv_x11_version_6
=yes
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 emacs_cv_x11_version_6
=no
9692 rm -f conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9696 if test $emacs_cv_x11_version_6 = yes; then
9697 echo "$as_me:$LINENO: result: 6 or newer" >&5
9698 echo "${ECHO_T}6 or newer" >&6
9700 cat >>confdefs.h
<<\_ACEOF
9701 #define HAVE_X11R6 1
9705 echo "$as_me:$LINENO: result: before 6" >&5
9706 echo "${ECHO_T}before 6" >&6
9710 if test "${window_system}" = "x11"; then
9711 echo "$as_me:$LINENO: checking X11 version 5" >&5
9712 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9713 if test "${emacs_cv_x11_version_5+set}" = set; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 cat >conftest.
$ac_ext <<_ACEOF
9719 cat confdefs.h
>>conftest.
$ac_ext
9720 cat >>conftest.
$ac_ext <<_ACEOF
9721 /* end confdefs.h. */
9722 #include <X11/Xlib.h>
9726 #if XlibSpecificationRelease < 5
9734 rm -f conftest.
$ac_objext conftest
$ac_exeext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9736 (eval $ac_link) 2>conftest.er1
9738 grep -v '^ *+' conftest.er1
>conftest.err
9740 cat conftest.err
>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } &&
9743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; } &&
9749 { ac_try
='test -s conftest$ac_exeext'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; }; then
9755 emacs_cv_x11_version_5
=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.
$ac_ext >&5
9760 emacs_cv_x11_version_5
=no
9762 rm -f conftest.err conftest.
$ac_objext \
9763 conftest
$ac_exeext conftest.
$ac_ext
9766 if test $emacs_cv_x11_version_5 = yes; then
9767 echo "$as_me:$LINENO: result: 5 or newer" >&5
9768 echo "${ECHO_T}5 or newer" >&6
9771 cat >>confdefs.h
<<\_ACEOF
9772 #define HAVE_X11R5 1
9777 echo "$as_me:$LINENO: result: before 5" >&5
9778 echo "${ECHO_T}before 5" >&6
9785 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9786 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9787 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9788 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9789 { (exit 1); exit 1; }; };
9793 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9795 if test "X${with_pkg_config_prog}" != X
; then
9796 PKG_CONFIG
="${with_pkg_config_prog}"
9801 if test -z "$PKG_CONFIG"; then
9802 # Extract the first word of "pkg-config", so it can be a program name with args.
9803 set dummy pkg-config
; ac_word
=$2
9804 echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9806 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9828 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9832 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9834 if test -n "$PKG_CONFIG"; then
9835 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9836 echo "${ECHO_T}$PKG_CONFIG" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 if test "$PKG_CONFIG" = "no" ; then
9845 echo "*** The pkg-config script could not be found. Make sure it is"
9846 echo "*** in your path, or give the full path to pkg-config with"
9847 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9848 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9850 PKG_CONFIG_MIN_VERSION
=0.9.0
9851 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9852 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9853 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9855 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9856 echo "$as_me:$LINENO: result: yes" >&5
9857 echo "${ECHO_T}yes" >&6
9860 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9861 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9862 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9863 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9864 echo "${ECHO_T}$GTK_CFLAGS" >&6
9866 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9867 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9868 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9869 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9870 echo "${ECHO_T}$GTK_LIBS" >&6
9874 ## If we have a custom action on failure, don't print errors, but
9875 ## do set a variable so people can do so.
9876 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9877 echo $GTK_PKG_ERRORS
9883 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9884 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9888 if test $succeeded = yes; then
9891 { { 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
9892 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;}
9893 { (exit 1); exit 1; }; }
9898 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9899 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9900 LIBS
="$GTK_LIBS $LIBS"
9903 cat >>confdefs.h
<<\_ACEOF
9909 if test "$with_toolkit_scroll_bars" != no
; then
9910 with_toolkit_scroll_bars
=yes
9913 HAVE_GTK_MULTIDISPLAY
=no
9915 for ac_func
in gdk_display_open
9917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9918 echo "$as_me:$LINENO: checking for $ac_func" >&5
9919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9920 if eval "test \"\${$as_ac_var+set}\" = set"; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 cat >conftest.
$ac_ext <<_ACEOF
9926 cat confdefs.h
>>conftest.
$ac_ext
9927 cat >>conftest.
$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9931 #define $ac_func innocuous_$ac_func
9933 /* System header to define __stub macros and hopefully few prototypes,
9934 which can conflict with char $ac_func (); below.
9935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9936 <limits.h> exists even on freestanding compilers. */
9939 # include <limits.h>
9941 # include <assert.h>
9946 /* Override any gcc2 internal prototype to avoid an error. */
9951 /* We use char because int might match the return type of a gcc2
9952 builtin and then its argument prototype would still apply. */
9954 /* The GNU C library defines this for functions which it implements
9955 to always fail with ENOSYS. Some functions are actually named
9956 something starting with __ and the normal name is an alias. */
9957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9960 char (*f) () = $ac_func;
9969 return f != $ac_func;
9974 rm -f conftest.
$ac_objext conftest
$ac_exeext
9975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9976 (eval $ac_link) 2>conftest.er1
9978 grep -v '^ *+' conftest.er1
>conftest.err
9980 cat conftest.err
>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; } &&
9989 { ac_try
='test -s conftest$ac_exeext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 eval "$as_ac_var=yes"
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10000 eval "$as_ac_var=no"
10002 rm -f conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10007 if test `eval echo '${'$as_ac_var'}'` = yes; then
10008 cat >>confdefs.h
<<_ACEOF
10009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10011 HAVE_GTK_MULTIDISPLAY
=yes
10015 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
10017 cat >>confdefs.h
<<\_ACEOF
10018 #define HAVE_GTK_MULTIDISPLAY 1
10022 HAVE_GTK_FILE_SELECTION
=no
10024 for ac_func
in gtk_file_selection_new
10026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10027 echo "$as_me:$LINENO: checking for $ac_func" >&5
10028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10029 if eval "test \"\${$as_ac_var+set}\" = set"; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 cat >conftest.
$ac_ext <<_ACEOF
10035 cat confdefs.h
>>conftest.
$ac_ext
10036 cat >>conftest.
$ac_ext <<_ACEOF
10037 /* end confdefs.h. */
10038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10040 #define $ac_func innocuous_$ac_func
10042 /* System header to define __stub macros and hopefully few prototypes,
10043 which can conflict with char $ac_func (); below.
10044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10045 <limits.h> exists even on freestanding compilers. */
10048 # include <limits.h>
10050 # include <assert.h>
10055 /* Override any gcc2 internal prototype to avoid an error. */
10060 /* We use char because int might match the return type of a gcc2
10061 builtin and then its argument prototype would still apply. */
10063 /* The GNU C library defines this for functions which it implements
10064 to always fail with ENOSYS. Some functions are actually named
10065 something starting with __ and the normal name is an alias. */
10066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10069 char (*f) () = $ac_func;
10078 return f != $ac_func;
10083 rm -f conftest.
$ac_objext conftest
$ac_exeext
10084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10085 (eval $ac_link) 2>conftest.er1
10087 grep -v '^ *+' conftest.er1
>conftest.err
10089 cat conftest.err
>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; } &&
10098 { ac_try
='test -s conftest$ac_exeext'
10099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then
10104 eval "$as_ac_var=yes"
10106 echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.
$ac_ext >&5
10109 eval "$as_ac_var=no"
10111 rm -f conftest.err conftest.
$ac_objext \
10112 conftest
$ac_exeext conftest.
$ac_ext
10114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10116 if test `eval echo '${'$as_ac_var'}'` = yes; then
10117 cat >>confdefs.h
<<_ACEOF
10118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10120 HAVE_GTK_FILE_SELECTION
=yes
10125 HAVE_GTK_FILE_CHOOSER
=no
10127 for ac_func
in gtk_file_chooser_dialog_new
10129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10130 echo "$as_me:$LINENO: checking for $ac_func" >&5
10131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10132 if eval "test \"\${$as_ac_var+set}\" = set"; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 cat >conftest.
$ac_ext <<_ACEOF
10138 cat confdefs.h
>>conftest.
$ac_ext
10139 cat >>conftest.
$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10143 #define $ac_func innocuous_$ac_func
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char $ac_func (); below.
10147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10148 <limits.h> exists even on freestanding compilers. */
10151 # include <limits.h>
10153 # include <assert.h>
10158 /* Override any gcc2 internal prototype to avoid an error. */
10163 /* We use char because int might match the return type of a gcc2
10164 builtin and then its argument prototype would still apply. */
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10172 char (*f) () = $ac_func;
10181 return f != $ac_func;
10186 rm -f conftest.
$ac_objext conftest
$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1
>conftest.err
10192 cat conftest.err
>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try
='test -s conftest$ac_exeext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 eval "$as_ac_var=yes"
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.
$ac_ext >&5
10212 eval "$as_ac_var=no"
10214 rm -f conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10219 if test `eval echo '${'$as_ac_var'}'` = yes; then
10220 cat >>confdefs.h
<<_ACEOF
10221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10223 HAVE_GTK_FILE_CHOOSER
=yes
10228 if test "$HAVE_GTK_FILE_SELECTION" = yes \
10229 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10231 cat >>confdefs.h
<<\_ACEOF
10232 #define HAVE_GTK_FILE_BOTH 1
10237 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10238 HAVE_GTK_AND_PTHREAD
=no
10240 for ac_header
in pthread.h
10242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10244 echo "$as_me:$LINENO: checking for $ac_header" >&5
10245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10252 # Is the header compilable?
10253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10255 cat >conftest.
$ac_ext <<_ACEOF
10258 cat confdefs.h
>>conftest.
$ac_ext
10259 cat >>conftest.
$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10261 $ac_includes_default
10262 #include <$ac_header>
10264 rm -f conftest.
$ac_objext
10265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10266 (eval $ac_compile) 2>conftest.er1
10268 grep -v '^ *+' conftest.er1
>conftest.err
10270 cat conftest.err
>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); } &&
10273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try
='test -s conftest.$ac_objext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_header_compiler
=yes
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.
$ac_ext >&5
10290 ac_header_compiler
=no
10292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10294 echo "${ECHO_T}$ac_header_compiler" >&6
10296 # Is the header present?
10297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10299 cat >conftest.
$ac_ext <<_ACEOF
10302 cat confdefs.h
>>conftest.
$ac_ext
10303 cat >>conftest.
$ac_ext <<_ACEOF
10304 /* end confdefs.h. */
10305 #include <$ac_header>
10307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10310 grep -v '^ *+' conftest.er1
>conftest.err
10312 cat conftest.err
>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } >/dev
/null
; then
10315 if test -s conftest.err
; then
10316 ac_cpp_err
=$ac_c_preproc_warn_flag
10317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10324 if test -z "$ac_cpp_err"; then
10325 ac_header_preproc
=yes
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10330 ac_header_preproc
=no
10332 rm -f conftest.err conftest.
$ac_ext
10333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10334 echo "${ECHO_T}$ac_header_preproc" >&6
10336 # So? What about this header?
10337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10343 ac_header_preproc
=yes
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10349 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10353 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10360 ## ------------------------------------------ ##
10361 ## Report this to the AC_PACKAGE_NAME lists. ##
10362 ## ------------------------------------------ ##
10365 sed "s/^/$as_me: WARNING: /" >&2
10368 echo "$as_me:$LINENO: checking for $ac_header" >&5
10369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 eval "$as_ac_Header=\$ac_header_preproc"
10375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10380 cat >>confdefs.h
<<_ACEOF
10381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10388 if test "$ac_cv_header_pthread_h"; then
10389 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10390 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
10391 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 ac_check_lib_save_LIBS
=$LIBS
10395 LIBS
="-lpthread $LIBS"
10396 cat >conftest.
$ac_ext <<_ACEOF
10399 cat confdefs.h
>>conftest.
$ac_ext
10400 cat >>conftest.
$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10403 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10409 char pthread_self ();
10418 rm -f conftest.
$ac_objext conftest
$ac_exeext
10419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10420 (eval $ac_link) 2>conftest.er1
10422 grep -v '^ *+' conftest.er1
>conftest.err
10424 cat conftest.err
>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try
='test -s conftest$ac_exeext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 ac_cv_lib_pthread_pthread_self
=yes
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.
$ac_ext >&5
10444 ac_cv_lib_pthread_pthread_self
=no
10446 rm -f conftest.err conftest.
$ac_objext \
10447 conftest
$ac_exeext conftest.
$ac_ext
10448 LIBS
=$ac_check_lib_save_LIBS
10450 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10451 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6
10452 if test $ac_cv_lib_pthread_pthread_self = yes; then
10453 HAVE_GTK_AND_PTHREAD
=yes
10457 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10458 GTK_LIBS
="$GTK_LIBS -lpthread"
10460 cat >>confdefs.h
<<\_ACEOF
10461 #define HAVE_GTK_AND_PTHREAD 1
10468 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
10469 if test x
"${HAVE_X11R5}" = xyes
; then
10470 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10471 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
10472 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10473 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 cat >conftest.
$ac_ext <<_ACEOF
10478 cat confdefs.h
>>conftest.
$ac_ext
10479 cat >>conftest.
$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10482 #include <X11/Intrinsic.h>
10483 #include <X11/Xaw/Simple.h>
10492 rm -f conftest.
$ac_objext conftest
$ac_exeext
10493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10494 (eval $ac_link) 2>conftest.er1
10496 grep -v '^ *+' conftest.er1
>conftest.err
10498 cat conftest.err
>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } &&
10501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }; } &&
10507 { ac_try
='test -s conftest$ac_exeext'
10508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10509 (eval $ac_try) 2>&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }; }; then
10513 emacs_cv_x11_version_5_with_xaw
=yes
10515 echo "$as_me: failed program was:" >&5
10516 sed 's/^/| /' conftest.
$ac_ext >&5
10518 emacs_cv_x11_version_5_with_xaw
=no
10520 rm -f conftest.err conftest.
$ac_objext \
10521 conftest
$ac_exeext conftest.
$ac_ext
10524 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10525 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10526 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
10527 USE_X_TOOLKIT
=LUCID
10529 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10530 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
10538 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
10540 if test "${USE_X_TOOLKIT}" != "none"; then
10541 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10542 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
10543 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 cat >conftest.
$ac_ext <<_ACEOF
10549 cat confdefs.h
>>conftest.
$ac_ext
10550 cat >>conftest.
$ac_ext <<_ACEOF
10551 /* end confdefs.h. */
10552 #include <X11/Intrinsic.h>
10556 #if XtSpecificationRelease < 6
10564 rm -f conftest.
$ac_objext conftest
$ac_exeext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10566 (eval $ac_link) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1
>conftest.err
10570 cat conftest.err
>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10579 { ac_try
='test -s conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 emacs_cv_x11_toolkit_version_6
=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.
$ac_ext >&5
10590 emacs_cv_x11_toolkit_version_6
=no
10592 rm -f conftest.err conftest.
$ac_objext \
10593 conftest
$ac_exeext conftest.
$ac_ext
10596 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
10597 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10598 echo "$as_me:$LINENO: result: 6 or newer" >&5
10599 echo "${ECHO_T}6 or newer" >&6
10601 cat >>confdefs.h
<<\_ACEOF
10602 #define HAVE_X11XTR6 1
10606 echo "$as_me:$LINENO: result: before 6" >&5
10607 echo "${ECHO_T}before 6" >&6
10611 if test x
$HAVE_X11XTR6 = xyes
; then
10612 LIBS
="-lXt -lSM -lICE $LIBS"
10617 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10618 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10619 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 ac_check_lib_save_LIBS
=$LIBS
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10631 /* Override any gcc2 internal prototype to avoid an error. */
10635 /* We use char because int might match the return type of a gcc2
10636 builtin and then its argument prototype would still apply. */
10637 char XmuConvertStandardSelection ();
10641 XmuConvertStandardSelection ();
10646 rm -f conftest.
$ac_objext conftest
$ac_exeext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10648 (eval $ac_link) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); }; } &&
10661 { ac_try
='test -s conftest$ac_exeext'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; }; then
10667 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.
$ac_ext >&5
10672 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10674 rm -f conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 LIBS
=$ac_check_lib_save_LIBS
10678 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10679 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10680 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10681 cat >>confdefs.h
<<_ACEOF
10682 #define HAVE_LIBXMU 1
10689 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10692 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10693 if test "${HAVE_X11}" = "yes"; then
10694 if test "${USE_X_TOOLKIT}" != "none"; then
10696 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10697 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10698 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 ac_check_lib_save_LIBS
=$LIBS
10702 LIBS
="-lXext $LIBS"
10703 cat >conftest.
$ac_ext <<_ACEOF
10706 cat confdefs.h
>>conftest.
$ac_ext
10707 cat >>conftest.
$ac_ext <<_ACEOF
10708 /* end confdefs.h. */
10710 /* Override any gcc2 internal prototype to avoid an error. */
10714 /* We use char because int might match the return type of a gcc2
10715 builtin and then its argument prototype would still apply. */
10716 char XShapeQueryExtension ();
10720 XShapeQueryExtension ();
10725 rm -f conftest.
$ac_objext conftest
$ac_exeext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10727 (eval $ac_link) 2>conftest.er1
10729 grep -v '^ *+' conftest.er1
>conftest.err
10731 cat conftest.err
>&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } &&
10734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10736 (eval $ac_try) 2>&5
10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); }; } &&
10740 { ac_try
='test -s conftest$ac_exeext'
10741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10742 (eval $ac_try) 2>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); }; }; then
10746 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10748 echo "$as_me: failed program was:" >&5
10749 sed 's/^/| /' conftest.
$ac_ext >&5
10751 ac_cv_lib_Xext_XShapeQueryExtension
=no
10753 rm -f conftest.err conftest.
$ac_objext \
10754 conftest
$ac_exeext conftest.
$ac_ext
10755 LIBS
=$ac_check_lib_save_LIBS
10757 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10758 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10759 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10760 cat >>confdefs.h
<<_ACEOF
10761 #define HAVE_LIBXEXT 1
10764 LIBS
="-lXext $LIBS"
10771 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10772 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10773 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10774 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10775 echo $ECHO_N "(cached) $ECHO_C" >&6
10777 cat >conftest.
$ac_ext <<_ACEOF
10780 cat confdefs.h
>>conftest.
$ac_ext
10781 cat >>conftest.
$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10787 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10790 Motif version prior to 2.1.
10796 rm -f conftest.
$ac_objext
10797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10798 (eval $ac_compile) 2>conftest.er1
10800 grep -v '^ *+' conftest.er1
>conftest.err
10802 cat conftest.err
>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } &&
10805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 emacs_cv_motif_version_2_1
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 emacs_cv_motif_version_2_1
=no
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10826 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10827 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10828 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10829 if test $emacs_cv_motif_version_2_1 = yes; then
10832 cat >>confdefs.h
<<\_ACEOF
10833 #define HAVE_MOTIF_2_1 1
10836 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10837 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10838 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 ac_check_lib_save_LIBS
=$LIBS
10843 cat >conftest.
$ac_ext <<_ACEOF
10846 cat confdefs.h
>>conftest.
$ac_ext
10847 cat >>conftest.
$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10850 /* Override any gcc2 internal prototype to avoid an error. */
10854 /* We use char because int might match the return type of a gcc2
10855 builtin and then its argument prototype would still apply. */
10856 char XpCreateContext ();
10860 XpCreateContext ();
10865 rm -f conftest.
$ac_objext conftest
$ac_exeext
10866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10867 (eval $ac_link) 2>conftest.er1
10869 grep -v '^ *+' conftest.er1
>conftest.err
10871 cat conftest.err
>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } &&
10874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; } &&
10880 { ac_try
='test -s conftest$ac_exeext'
10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; }; then
10886 ac_cv_lib_Xp_XpCreateContext
=yes
10888 echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.
$ac_ext >&5
10891 ac_cv_lib_Xp_XpCreateContext
=no
10893 rm -f conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 LIBS
=$ac_check_lib_save_LIBS
10897 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10898 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10899 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10903 if test ${HAVE_LIBXP} = yes; then
10905 cat >>confdefs.h
<<\_ACEOF
10906 #define HAVE_LIBXP 1
10911 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10912 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10913 if test "${emacs_cv_lesstif+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 # We put this in CFLAGS temporarily to precede other -I options
10917 # that might be in CFLAGS temporarily.
10918 # We put this in CPPFLAGS where it precedes the other -I options.
10919 OLD_CPPFLAGS
=$CPPFLAGS
10921 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10922 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10923 cat >conftest.
$ac_ext <<_ACEOF
10926 cat confdefs.h
>>conftest.
$ac_ext
10927 cat >>conftest.
$ac_ext <<_ACEOF
10928 /* end confdefs.h. */
10929 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10938 rm -f conftest.
$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940 (eval $ac_compile) 2>conftest.er1
10942 grep -v '^ *+' conftest.er1
>conftest.err
10944 cat conftest.err
>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } &&
10947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try
='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 emacs_cv_lesstif
=yes
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.
$ac_ext >&5
10964 emacs_cv_lesstif
=no
10966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10968 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10969 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10970 if test $emacs_cv_lesstif = yes; then
10971 # Make sure this -I option remains in CPPFLAGS after it is set
10972 # back to REAL_CPPFLAGS.
10973 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10974 # have those other -I options anyway. Ultimately, having this
10975 # directory ultimately in CPPFLAGS will be enough.
10976 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10977 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10980 CPPFLAGS
=$OLD_CPPFLAGS
10985 ### Is -lXaw3d available?
10987 if test "${HAVE_X11}" = "yes"; then
10988 if test "${USE_X_TOOLKIT}" != "none"; then
10989 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10990 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10991 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 cat >conftest.
$ac_ext <<_ACEOF
10997 cat confdefs.h
>>conftest.
$ac_ext
10998 cat >>conftest.
$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11000 #include <X11/Xaw3d/Scrollbar.h>
11002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } >/dev
/null
; then
11010 if test -s conftest.err
; then
11011 ac_cpp_err
=$ac_c_preproc_warn_flag
11012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11019 if test -z "$ac_cpp_err"; then
11020 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
11022 echo "$as_me: failed program was:" >&5
11023 sed 's/^/| /' conftest.
$ac_ext >&5
11025 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
11027 rm -f conftest.err conftest.
$ac_ext
11029 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
11030 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
11031 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
11032 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
11033 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
11034 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 ac_check_lib_save_LIBS
=$LIBS
11038 LIBS
="-lXaw3d $LIBS"
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11046 /* Override any gcc2 internal prototype to avoid an error. */
11050 /* We use char because int might match the return type of a gcc2
11051 builtin and then its argument prototype would still apply. */
11052 char XawScrollbarSetThumb ();
11056 XawScrollbarSetThumb ();
11061 rm -f conftest.
$ac_objext conftest
$ac_exeext
11062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11063 (eval $ac_link) 2>conftest.er1
11065 grep -v '^ *+' conftest.er1
>conftest.err
11067 cat conftest.err
>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } &&
11070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try
='test -s conftest$ac_exeext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.
$ac_ext >&5
11087 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
11089 rm -f conftest.err conftest.
$ac_objext \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 LIBS
=$ac_check_lib_save_LIBS
11093 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11094 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
11095 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11102 if test "${HAVE_XAW3D}" = "yes"; then
11104 cat >>confdefs.h
<<\_ACEOF
11105 #define HAVE_XAW3D 1
11114 USE_TOOLKIT_SCROLL_BARS
=no
11115 if test "${with_toolkit_scroll_bars}" != "no"; then
11116 if test "${USE_X_TOOLKIT}" != "none"; then
11117 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11118 cat >>confdefs.h
<<\_ACEOF
11119 #define USE_TOOLKIT_SCROLL_BARS 1
11123 USE_TOOLKIT_SCROLL_BARS
=yes
11124 elif test "${HAVE_XAW3D}" = "yes"; then
11125 cat >>confdefs.h
<<\_ACEOF
11126 #define USE_TOOLKIT_SCROLL_BARS 1
11129 USE_TOOLKIT_SCROLL_BARS
=yes
11131 elif test "${HAVE_GTK}" = "yes"; then
11132 cat >>confdefs.h
<<\_ACEOF
11133 #define USE_TOOLKIT_SCROLL_BARS 1
11136 USE_TOOLKIT_SCROLL_BARS
=yes
11137 elif test "${HAVE_CARBON}" = "yes"; then
11138 cat >>confdefs.h
<<\_ACEOF
11139 #define USE_TOOLKIT_SCROLL_BARS 1
11142 USE_TOOLKIT_SCROLL_BARS
=yes
11146 cat >conftest.
$ac_ext <<_ACEOF
11149 cat confdefs.h
>>conftest.
$ac_ext
11150 cat >>conftest.
$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11153 #include <X11/Xlib.h>
11154 #include <X11/Xresource.h>
11163 rm -f conftest.
$ac_objext
11164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11165 (eval $ac_compile) 2>conftest.er1
11167 grep -v '^ *+' conftest.er1
>conftest.err
11169 cat conftest.err
>&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } &&
11172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; } &&
11178 { ac_try
='test -s conftest.$ac_objext'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; }; then
11186 cat >>confdefs.h
<<\_ACEOF
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.
$ac_ext >&5
11196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11199 if test "${with_xim}" != "no"; then
11201 cat >>confdefs.h
<<\_ACEOF
11208 if test "${HAVE_XIM}" != "no"; then
11209 late_CFLAGS
=$CFLAGS
11210 if test "$GCC" = yes; then
11211 CFLAGS
="$CFLAGS --pedantic-errors"
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11220 #include <X11/Xlib.h>
11221 #include <X11/Xresource.h>
11230 XPointer *client_data;
11232 /* If we're not using GCC, it's probably not XFree86, and this is
11233 probably right, but we can't use something like --pedantic-errors. */
11234 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11235 char*, XIMProc, XPointer*);
11237 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
11243 rm -f conftest.
$ac_objext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>conftest.er1
11247 grep -v '^ *+' conftest.er1
>conftest.err
11249 cat conftest.err
>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } &&
11252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; } &&
11258 { ac_try
='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 emacs_cv_arg6_star
=yes
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.
$ac_ext >&5
11270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11272 if test "$emacs_cv_arg6_star" = yes; then
11273 cat >>confdefs.h
<<\_ACEOF
11274 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11278 cat >>confdefs.h
<<\_ACEOF
11279 #define XRegisterIMInstantiateCallback_arg6 XPointer
11283 CFLAGS
=$late_CFLAGS
11286 ### Use -lXpm if available, unless `--with-xpm=no'.
11288 if test "${HAVE_X11}" = "yes"; then
11289 if test "${with_xpm}" != "no"; then
11290 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11291 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11292 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11293 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11297 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11299 # Is the header compilable?
11300 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11301 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11309 #include <X11/xpm.h>
11311 rm -f conftest.
$ac_objext
11312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11313 (eval $ac_compile) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1
>conftest.err
11317 cat conftest.err
>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } &&
11320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; } &&
11326 { ac_try
='test -s conftest.$ac_objext'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; }; then
11332 ac_header_compiler
=yes
11334 echo "$as_me: failed program was:" >&5
11335 sed 's/^/| /' conftest.
$ac_ext >&5
11337 ac_header_compiler
=no
11339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11341 echo "${ECHO_T}$ac_header_compiler" >&6
11343 # Is the header present?
11344 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11345 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
11346 cat >conftest.
$ac_ext <<_ACEOF
11349 cat confdefs.h
>>conftest.
$ac_ext
11350 cat >>conftest.
$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11352 #include <X11/xpm.h>
11354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11357 grep -v '^ *+' conftest.er1
>conftest.err
11359 cat conftest.err
>&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); } >/dev
/null
; then
11362 if test -s conftest.err
; then
11363 ac_cpp_err
=$ac_c_preproc_warn_flag
11364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11371 if test -z "$ac_cpp_err"; then
11372 ac_header_preproc
=yes
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.
$ac_ext >&5
11377 ac_header_preproc
=no
11379 rm -f conftest.err conftest.
$ac_ext
11380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11381 echo "${ECHO_T}$ac_header_preproc" >&6
11383 # So? What about this header?
11384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11386 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
11387 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11388 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
11389 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
11390 ac_header_preproc
=yes
11393 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
11394 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
11395 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
11396 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
11397 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
11398 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
11399 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
11400 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
11401 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
11402 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11403 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11404 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11407 ## ------------------------------------------ ##
11408 ## Report this to the AC_PACKAGE_NAME lists. ##
11409 ## ------------------------------------------ ##
11412 sed "s/^/$as_me: WARNING: /" >&2
11415 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11416 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11417 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 ac_cv_header_X11_xpm_h
=$ac_header_preproc
11422 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11423 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11426 if test $ac_cv_header_X11_xpm_h = yes; then
11427 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11428 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
11429 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 ac_check_lib_save_LIBS
=$LIBS
11433 LIBS
="-lXpm -lX11 $LIBS"
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 /* Override any gcc2 internal prototype to avoid an error. */
11445 /* We use char because int might match the return type of a gcc2
11446 builtin and then its argument prototype would still apply. */
11447 char XpmReadFileToPixmap ();
11451 XpmReadFileToPixmap ();
11456 rm -f conftest.
$ac_objext conftest
$ac_exeext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11458 (eval $ac_link) 2>conftest.er1
11460 grep -v '^ *+' conftest.er1
>conftest.err
11462 cat conftest.err
>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try
='test -s conftest$ac_exeext'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; }; then
11477 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
11479 echo "$as_me: failed program was:" >&5
11480 sed 's/^/| /' conftest.
$ac_ext >&5
11482 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
11484 rm -f conftest.err conftest.
$ac_objext \
11485 conftest
$ac_exeext conftest.
$ac_ext
11486 LIBS
=$ac_check_lib_save_LIBS
11488 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11489 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
11490 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11497 if test "${HAVE_XPM}" = "yes"; then
11498 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11499 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
11500 cat >conftest.
$ac_ext <<_ACEOF
11503 cat confdefs.h
>>conftest.
$ac_ext
11504 cat >>conftest.
$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 #include "X11/xpm.h"
11507 #ifndef XpmReturnAllocPixels
11508 no_return_alloc_pixels
11512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11513 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
11521 if test "${HAVE_XPM}" = "yes"; then
11522 echo "$as_me:$LINENO: result: yes" >&5
11523 echo "${ECHO_T}yes" >&6
11525 echo "$as_me:$LINENO: result: no" >&5
11526 echo "${ECHO_T}no" >&6
11531 if test "${HAVE_XPM}" = "yes"; then
11533 cat >>confdefs.h
<<\_ACEOF
11540 ### Use -ljpeg if available, unless `--with-jpeg=no'.
11542 if test "${HAVE_X11}" = "yes"; then
11543 if test "${with_jpeg}" != "no"; then
11544 if test "${ac_cv_header_jerror_h+set}" = set; then
11545 echo "$as_me:$LINENO: checking for jerror.h" >&5
11546 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11547 if test "${ac_cv_header_jerror_h+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11551 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11553 # Is the header compilable?
11554 echo "$as_me:$LINENO: checking jerror.h usability" >&5
11555 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
11556 cat >conftest.
$ac_ext <<_ACEOF
11559 cat confdefs.h
>>conftest.
$ac_ext
11560 cat >>conftest.
$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11562 $ac_includes_default
11563 #include <jerror.h>
11565 rm -f conftest.
$ac_objext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11567 (eval $ac_compile) 2>conftest.er1
11569 grep -v '^ *+' conftest.er1
>conftest.err
11571 cat conftest.err
>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } &&
11574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try
='test -s conftest.$ac_objext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_header_compiler
=yes
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.
$ac_ext >&5
11591 ac_header_compiler
=no
11593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11595 echo "${ECHO_T}$ac_header_compiler" >&6
11597 # Is the header present?
11598 echo "$as_me:$LINENO: checking jerror.h presence" >&5
11599 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
11600 cat >conftest.
$ac_ext <<_ACEOF
11603 cat confdefs.h
>>conftest.
$ac_ext
11604 cat >>conftest.
$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606 #include <jerror.h>
11608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11611 grep -v '^ *+' conftest.er1
>conftest.err
11613 cat conftest.err
>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } >/dev
/null
; then
11616 if test -s conftest.err
; then
11617 ac_cpp_err
=$ac_c_preproc_warn_flag
11618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11625 if test -z "$ac_cpp_err"; then
11626 ac_header_preproc
=yes
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.
$ac_ext >&5
11631 ac_header_preproc
=no
11633 rm -f conftest.err conftest.
$ac_ext
11634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11635 echo "${ECHO_T}$ac_header_preproc" >&6
11637 # So? What about this header?
11638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11640 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11641 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11642 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11643 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11644 ac_header_preproc
=yes
11647 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11648 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11649 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11650 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11651 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11652 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11653 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11654 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11655 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11656 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11657 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11658 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11661 ## ------------------------------------------ ##
11662 ## Report this to the AC_PACKAGE_NAME lists. ##
11663 ## ------------------------------------------ ##
11666 sed "s/^/$as_me: WARNING: /" >&2
11669 echo "$as_me:$LINENO: checking for jerror.h" >&5
11670 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11671 if test "${ac_cv_header_jerror_h+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 ac_cv_header_jerror_h
=$ac_header_preproc
11676 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11677 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11680 if test $ac_cv_header_jerror_h = yes; then
11681 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11682 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11683 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 ac_check_lib_save_LIBS
=$LIBS
11687 LIBS
="-ljpeg $LIBS"
11688 cat >conftest.
$ac_ext <<_ACEOF
11691 cat confdefs.h
>>conftest.
$ac_ext
11692 cat >>conftest.
$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any gcc2 internal prototype to avoid an error. */
11699 /* We use char because int might match the return type of a gcc2
11700 builtin and then its argument prototype would still apply. */
11701 char jpeg_destroy_compress ();
11705 jpeg_destroy_compress ();
11710 rm -f conftest.
$ac_objext conftest
$ac_exeext
11711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11712 (eval $ac_link) 2>conftest.er1
11714 grep -v '^ *+' conftest.er1
>conftest.err
11716 cat conftest.err
>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try
='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11736 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11738 rm -f conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 LIBS
=$ac_check_lib_save_LIBS
11742 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11743 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11744 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11754 if test "${HAVE_JPEG}" = "yes"; then
11755 cat >>confdefs.h
<<\_ACEOF
11756 #define HAVE_JPEG 1
11759 cat >conftest.
$ac_ext <<_ACEOF
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 #include <jpeglib.h>
11766 version=JPEG_LIB_VERSION
11769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11770 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11771 cat >>confdefs.h
<<\_ACEOF
11772 #define HAVE_JPEG 1
11776 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11777 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11785 ### Use -lpng if available, unless `--with-png=no'.
11787 if test "${HAVE_X11}" = "yes"; then
11788 if test "${with_png}" != "no"; then
11789 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11790 # in /usr/include/libpng.
11793 for ac_header
in png.h libpng
/png.h
11795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11797 echo "$as_me:$LINENO: checking for $ac_header" >&5
11798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11805 # Is the header compilable?
11806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 $ac_includes_default
11815 #include <$ac_header>
11817 rm -f conftest.
$ac_objext
11818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11819 (eval $ac_compile) 2>conftest.er1
11821 grep -v '^ *+' conftest.er1
>conftest.err
11823 cat conftest.err
>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } &&
11826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try
='test -s conftest.$ac_objext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_header_compiler
=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11843 ac_header_compiler
=no
11845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11847 echo "${ECHO_T}$ac_header_compiler" >&6
11849 # Is the header present?
11850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11852 cat >conftest.
$ac_ext <<_ACEOF
11855 cat confdefs.h
>>conftest.
$ac_ext
11856 cat >>conftest.
$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 #include <$ac_header>
11860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11861 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } >/dev
/null
; then
11868 if test -s conftest.err
; then
11869 ac_cpp_err
=$ac_c_preproc_warn_flag
11870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11877 if test -z "$ac_cpp_err"; then
11878 ac_header_preproc
=yes
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.
$ac_ext >&5
11883 ac_header_preproc
=no
11885 rm -f conftest.err conftest.
$ac_ext
11886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11887 echo "${ECHO_T}$ac_header_preproc" >&6
11889 # So? What about this header?
11890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11896 ac_header_preproc
=yes
11899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11913 ## ------------------------------------------ ##
11914 ## Report this to the AC_PACKAGE_NAME lists. ##
11915 ## ------------------------------------------ ##
11918 sed "s/^/$as_me: WARNING: /" >&2
11921 echo "$as_me:$LINENO: checking for $ac_header" >&5
11922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 eval "$as_ac_Header=\$ac_header_preproc"
11928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11933 cat >>confdefs.h
<<_ACEOF
11934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11941 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11942 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11943 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11944 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_check_lib_save_LIBS
=$LIBS
11948 LIBS
="-lpng -lz -lm $LIBS"
11949 cat >conftest.
$ac_ext <<_ACEOF
11952 cat confdefs.h
>>conftest.
$ac_ext
11953 cat >>conftest.
$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any gcc2 internal prototype to avoid an error. */
11960 /* We use char because int might match the return type of a gcc2
11961 builtin and then its argument prototype would still apply. */
11962 char png_get_channels ();
11966 png_get_channels ();
11971 rm -f conftest.
$ac_objext conftest
$ac_exeext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11973 (eval $ac_link) 2>conftest.er1
11975 grep -v '^ *+' conftest.er1
>conftest.err
11977 cat conftest.err
>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; } &&
11986 { ac_try
='test -s conftest$ac_exeext'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; }; then
11992 ac_cv_lib_png_png_get_channels
=yes
11994 echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.
$ac_ext >&5
11997 ac_cv_lib_png_png_get_channels
=no
11999 rm -f conftest.err conftest.
$ac_objext \
12000 conftest
$ac_exeext conftest.
$ac_ext
12001 LIBS
=$ac_check_lib_save_LIBS
12003 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
12004 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
12005 if test $ac_cv_lib_png_png_get_channels = yes; then
12012 if test "${HAVE_PNG}" = "yes"; then
12014 cat >>confdefs.h
<<\_ACEOF
12021 ### Use -ltiff if available, unless `--with-tiff=no'.
12023 if test "${HAVE_X11}" = "yes"; then
12024 if test "${with_tiff}" != "no"; then
12025 if test "${ac_cv_header_tiffio_h+set}" = set; then
12026 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12027 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12028 if test "${ac_cv_header_tiffio_h+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12032 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12034 # Is the header compilable?
12035 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
12036 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 $ac_includes_default
12044 #include <tiffio.h>
12046 rm -f conftest.
$ac_objext
12047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12048 (eval $ac_compile) 2>conftest.er1
12050 grep -v '^ *+' conftest.er1
>conftest.err
12052 cat conftest.err
>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } &&
12055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12057 (eval $ac_try) 2>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; } &&
12061 { ac_try
='test -s conftest.$ac_objext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_header_compiler
=yes
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.
$ac_ext >&5
12072 ac_header_compiler
=no
12074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12076 echo "${ECHO_T}$ac_header_compiler" >&6
12078 # Is the header present?
12079 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
12080 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
12081 cat >conftest.
$ac_ext <<_ACEOF
12084 cat confdefs.h
>>conftest.
$ac_ext
12085 cat >>conftest.
$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12087 #include <tiffio.h>
12089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12092 grep -v '^ *+' conftest.er1
>conftest.err
12094 cat conftest.err
>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } >/dev
/null
; then
12097 if test -s conftest.err
; then
12098 ac_cpp_err
=$ac_c_preproc_warn_flag
12099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12106 if test -z "$ac_cpp_err"; then
12107 ac_header_preproc
=yes
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.
$ac_ext >&5
12112 ac_header_preproc
=no
12114 rm -f conftest.err conftest.
$ac_ext
12115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12116 echo "${ECHO_T}$ac_header_preproc" >&6
12118 # So? What about this header?
12119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12121 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12122 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
12124 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
12125 ac_header_preproc
=yes
12128 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
12129 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
12130 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
12131 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
12132 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
12133 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
12134 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
12135 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12136 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
12137 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12139 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12142 ## ------------------------------------------ ##
12143 ## Report this to the AC_PACKAGE_NAME lists. ##
12144 ## ------------------------------------------ ##
12147 sed "s/^/$as_me: WARNING: /" >&2
12150 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12151 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12152 if test "${ac_cv_header_tiffio_h+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 ac_cv_header_tiffio_h
=$ac_header_preproc
12157 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12158 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12161 if test $ac_cv_header_tiffio_h = yes; then
12163 # At least one tiff package requires the jpeg library.
12164 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
12165 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12166 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
12167 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 ac_check_lib_save_LIBS
=$LIBS
12171 LIBS
="-ltiff $tifflibs $LIBS"
12172 cat >conftest.
$ac_ext <<_ACEOF
12175 cat confdefs.h
>>conftest.
$ac_ext
12176 cat >>conftest.
$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12179 /* Override any gcc2 internal prototype to avoid an error. */
12183 /* We use char because int might match the return type of a gcc2
12184 builtin and then its argument prototype would still apply. */
12185 char TIFFGetVersion ();
12194 rm -f conftest.
$ac_objext conftest
$ac_exeext
12195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12196 (eval $ac_link) 2>conftest.er1
12198 grep -v '^ *+' conftest.er1
>conftest.err
12200 cat conftest.err
>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; } &&
12209 { ac_try
='test -s conftest$ac_exeext'
12210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; }; then
12215 ac_cv_lib_tiff_TIFFGetVersion
=yes
12217 echo "$as_me: failed program was:" >&5
12218 sed 's/^/| /' conftest.
$ac_ext >&5
12220 ac_cv_lib_tiff_TIFFGetVersion
=no
12222 rm -f conftest.err conftest.
$ac_objext \
12223 conftest
$ac_exeext conftest.
$ac_ext
12224 LIBS
=$ac_check_lib_save_LIBS
12226 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12227 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
12228 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12237 if test "${HAVE_TIFF}" = "yes"; then
12239 cat >>confdefs.h
<<\_ACEOF
12240 #define HAVE_TIFF 1
12246 ### Use -lgif if available, unless `--with-gif=no'.
12248 if test "${HAVE_X11}" = "yes"; then
12249 if test "${with_gif}" != "no"; then
12250 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12251 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12252 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12253 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12256 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12257 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12259 # Is the header compilable?
12260 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12261 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
12262 cat >conftest.
$ac_ext <<_ACEOF
12265 cat confdefs.h
>>conftest.
$ac_ext
12266 cat >>conftest.
$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 $ac_includes_default
12269 #include <gif_lib.h>
12271 rm -f conftest.
$ac_objext
12272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12273 (eval $ac_compile) 2>conftest.er1
12275 grep -v '^ *+' conftest.er1
>conftest.err
12277 cat conftest.err
>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } &&
12280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; } &&
12286 { ac_try
='test -s conftest.$ac_objext'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; }; then
12292 ac_header_compiler
=yes
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.
$ac_ext >&5
12297 ac_header_compiler
=no
12299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12301 echo "${ECHO_T}$ac_header_compiler" >&6
12303 # Is the header present?
12304 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12305 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
12306 cat >conftest.
$ac_ext <<_ACEOF
12309 cat confdefs.h
>>conftest.
$ac_ext
12310 cat >>conftest.
$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312 #include <gif_lib.h>
12314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12315 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12317 grep -v '^ *+' conftest.er1
>conftest.err
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } >/dev
/null
; then
12322 if test -s conftest.err
; then
12323 ac_cpp_err
=$ac_c_preproc_warn_flag
12324 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12331 if test -z "$ac_cpp_err"; then
12332 ac_header_preproc
=yes
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.
$ac_ext >&5
12337 ac_header_preproc
=no
12339 rm -f conftest.err conftest.
$ac_ext
12340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12341 echo "${ECHO_T}$ac_header_preproc" >&6
12343 # So? What about this header?
12344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12346 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12347 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12348 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
12349 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
12350 ac_header_preproc
=yes
12353 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
12354 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
12356 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
12358 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
12360 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12361 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
12362 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12364 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12367 ## ------------------------------------------ ##
12368 ## Report this to the AC_PACKAGE_NAME lists. ##
12369 ## ------------------------------------------ ##
12372 sed "s/^/$as_me: WARNING: /" >&2
12375 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12376 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12377 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 ac_cv_header_gif_lib_h
=$ac_header_preproc
12382 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12383 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12386 if test $ac_cv_header_gif_lib_h = yes; then
12387 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12388 # Earlier versions can crash Emacs.
12389 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12390 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
12391 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 ac_check_lib_save_LIBS
=$LIBS
12395 LIBS
="-lungif $LIBS"
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12403 /* Override any gcc2 internal prototype to avoid an error. */
12407 /* We use char because int might match the return type of a gcc2
12408 builtin and then its argument prototype would still apply. */
12409 char EGifPutExtensionLast ();
12413 EGifPutExtensionLast ();
12418 rm -f conftest.
$ac_objext conftest
$ac_exeext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try
='test -s conftest$ac_exeext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.
$ac_ext >&5
12444 ac_cv_lib_ungif_EGifPutExtensionLast
=no
12446 rm -f conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12448 LIBS
=$ac_check_lib_save_LIBS
12450 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12451 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
12452 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12461 if test "${HAVE_GIF}" = "yes"; then
12463 cat >>confdefs.h
<<\_ACEOF
12470 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12471 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12472 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12473 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12477 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12479 # Is the header compilable?
12480 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12481 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6
12482 cat >conftest.
$ac_ext <<_ACEOF
12485 cat confdefs.h
>>conftest.
$ac_ext
12486 cat >>conftest.
$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 $ac_includes_default
12489 #include <malloc/malloc.h>
12491 rm -f conftest.
$ac_objext
12492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12493 (eval $ac_compile) 2>conftest.er1
12495 grep -v '^ *+' conftest.er1
>conftest.err
12497 cat conftest.err
>&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); } &&
12500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; } &&
12506 { ac_try
='test -s conftest.$ac_objext'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; }; then
12512 ac_header_compiler
=yes
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.
$ac_ext >&5
12517 ac_header_compiler
=no
12519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12521 echo "${ECHO_T}$ac_header_compiler" >&6
12523 # Is the header present?
12524 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12525 echo $ECHO_N "checking malloc/malloc.h presence... $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 #include <malloc/malloc.h>
12534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12537 grep -v '^ *+' conftest.er1
>conftest.err
12539 cat conftest.err
>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } >/dev
/null
; then
12542 if test -s conftest.err
; then
12543 ac_cpp_err
=$ac_c_preproc_warn_flag
12544 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12551 if test -z "$ac_cpp_err"; then
12552 ac_header_preproc
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_header_preproc
=no
12559 rm -f conftest.err conftest.
$ac_ext
12560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12561 echo "${ECHO_T}$ac_header_preproc" >&6
12563 # So? What about this header?
12564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12566 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
12567 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12568 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
12569 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
12570 ac_header_preproc
=yes
12573 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
12574 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
12575 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
12576 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
12577 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
12578 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
12579 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
12580 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
12581 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
12582 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12583 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12584 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12587 ## ------------------------------------------ ##
12588 ## Report this to the AC_PACKAGE_NAME lists. ##
12589 ## ------------------------------------------ ##
12592 sed "s/^/$as_me: WARNING: /" >&2
12595 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12596 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12597 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12600 ac_cv_header_malloc_malloc_h
=$ac_header_preproc
12602 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12603 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12606 if test $ac_cv_header_malloc_malloc_h = yes; then
12608 cat >>confdefs.h
<<\_ACEOF
12609 #define HAVE_MALLOC_MALLOC_H 1
12616 ### Use Mac OS X Carbon API to implement GUI.
12617 if test "${HAVE_CARBON}" = "yes"; then
12619 cat >>confdefs.h
<<\_ACEOF
12620 #define HAVE_CARBON 1
12624 ## Specify the install directory
12626 if test "${carbon_appdir_x}" != ""; then
12627 case ${carbon_appdir_x} in
12628 y | ye |
yes) carbon_appdir
=/Applications
;;
12629 * ) carbon_appdir
=${carbon_appdir_x} ;;
12632 # We also have mouse menus.
12635 tmp_CFLAGS
="$CFLAGS"
12636 CFLAGS
="$CFLAGS -framework Carbon"
12637 echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5
12638 echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6
12639 if test "${ac_cv_func_CancelMenuTracking+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12645 cat confdefs.h
>>conftest.
$ac_ext
12646 cat >>conftest.
$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 /* Define CancelMenuTracking to an innocuous variant, in case <limits.h> declares CancelMenuTracking.
12649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12650 #define CancelMenuTracking innocuous_CancelMenuTracking
12652 /* System header to define __stub macros and hopefully few prototypes,
12653 which can conflict with char CancelMenuTracking (); below.
12654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12655 <limits.h> exists even on freestanding compilers. */
12658 # include <limits.h>
12660 # include <assert.h>
12663 #undef CancelMenuTracking
12665 /* Override any gcc2 internal prototype to avoid an error. */
12670 /* We use char because int might match the return type of a gcc2
12671 builtin and then its argument prototype would still apply. */
12672 char CancelMenuTracking ();
12673 /* The GNU C library defines this for functions which it implements
12674 to always fail with ENOSYS. Some functions are actually named
12675 something starting with __ and the normal name is an alias. */
12676 #if defined (__stub_CancelMenuTracking) || defined (__stub___CancelMenuTracking)
12679 char (*f) () = CancelMenuTracking;
12688 return f != CancelMenuTracking;
12693 rm -f conftest.
$ac_objext conftest
$ac_exeext
12694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12695 (eval $ac_link) 2>conftest.er1
12697 grep -v '^ *+' conftest.er1
>conftest.err
12699 cat conftest.err
>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } &&
12702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; } &&
12708 { ac_try
='test -s conftest$ac_exeext'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 ac_cv_func_CancelMenuTracking
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_cv_func_CancelMenuTracking
=no
12721 rm -f conftest.err conftest.
$ac_objext \
12722 conftest
$ac_exeext conftest.
$ac_ext
12724 echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5
12725 echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6
12726 if test $ac_cv_func_CancelMenuTracking = yes; then
12732 if test "$have_cmt" = yes; then
12734 cat >>confdefs.h
<<\_ACEOF
12735 #define HAVE_CANCELMENUTRACKING 1
12739 CFLAGS
="$tmp_CFLAGS"
12742 ### Use session management (-lSM -lICE) if available
12744 if test "${HAVE_X11}" = "yes"; then
12745 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12746 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12747 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12748 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12752 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12754 # Is the header compilable?
12755 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12756 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12757 cat >conftest.
$ac_ext <<_ACEOF
12760 cat confdefs.h
>>conftest.
$ac_ext
12761 cat >>conftest.
$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12763 $ac_includes_default
12764 #include <X11/SM/SMlib.h>
12766 rm -f conftest.
$ac_objext
12767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12768 (eval $ac_compile) 2>conftest.er1
12770 grep -v '^ *+' conftest.er1
>conftest.err
12772 cat conftest.err
>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } &&
12781 { ac_try
='test -s conftest.$ac_objext'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12787 ac_header_compiler
=yes
12789 echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.
$ac_ext >&5
12792 ac_header_compiler
=no
12794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12796 echo "${ECHO_T}$ac_header_compiler" >&6
12798 # Is the header present?
12799 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12800 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12801 cat >conftest.
$ac_ext <<_ACEOF
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 #include <X11/SM/SMlib.h>
12809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12812 grep -v '^ *+' conftest.er1
>conftest.err
12814 cat conftest.err
>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } >/dev
/null
; then
12817 if test -s conftest.err
; then
12818 ac_cpp_err
=$ac_c_preproc_warn_flag
12819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12826 if test -z "$ac_cpp_err"; then
12827 ac_header_preproc
=yes
12829 echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.
$ac_ext >&5
12832 ac_header_preproc
=no
12834 rm -f conftest.err conftest.
$ac_ext
12835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12836 echo "${ECHO_T}$ac_header_preproc" >&6
12838 # So? What about this header?
12839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12841 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12842 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12843 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12844 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12845 ac_header_preproc
=yes
12848 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12849 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12850 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12851 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12853 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12854 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12855 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12856 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12857 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12858 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12859 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12862 ## ------------------------------------------ ##
12863 ## Report this to the AC_PACKAGE_NAME lists. ##
12864 ## ------------------------------------------ ##
12867 sed "s/^/$as_me: WARNING: /" >&2
12870 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12871 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12872 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12877 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12878 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12881 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12882 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12883 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12884 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 ac_check_lib_save_LIBS
=$LIBS
12888 LIBS
="-lSM -lICE $LIBS"
12889 cat >conftest.
$ac_ext <<_ACEOF
12892 cat confdefs.h
>>conftest.
$ac_ext
12893 cat >>conftest.
$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12896 /* Override any gcc2 internal prototype to avoid an error. */
12900 /* We use char because int might match the return type of a gcc2
12901 builtin and then its argument prototype would still apply. */
12902 char SmcOpenConnection ();
12906 SmcOpenConnection ();
12911 rm -f conftest.
$ac_objext conftest
$ac_exeext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12913 (eval $ac_link) 2>conftest.er1
12915 grep -v '^ *+' conftest.er1
>conftest.err
12917 cat conftest.err
>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } &&
12920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } &&
12926 { ac_try
='test -s conftest$ac_exeext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_cv_lib_SM_SmcOpenConnection
=yes
12934 echo "$as_me: failed program was:" >&5
12935 sed 's/^/| /' conftest.
$ac_ext >&5
12937 ac_cv_lib_SM_SmcOpenConnection
=no
12939 rm -f conftest.err conftest.
$ac_objext \
12940 conftest
$ac_exeext conftest.
$ac_ext
12941 LIBS
=$ac_check_lib_save_LIBS
12943 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12944 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12945 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12953 if test "${HAVE_X_SM}" = "yes"; then
12955 cat >>confdefs.h
<<\_ACEOF
12956 #define HAVE_X_SM 1
12961 *) LIBS
="-lSM -lICE $LIBS" ;;
12966 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12967 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12968 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12969 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12970 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12987 rm -f conftest.
$ac_objext conftest
$ac_exeext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12989 (eval $ac_link) 2>conftest.er1
12991 grep -v '^ *+' conftest.er1
>conftest.err
12993 cat conftest.err
>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; } &&
13002 { ac_try
='test -s conftest$ac_exeext'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; }; then
13008 emacs_cv_netdb_declares_h_errno
=yes
13010 echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.
$ac_ext >&5
13013 emacs_cv_netdb_declares_h_errno
=no
13015 rm -f conftest.err conftest.
$ac_objext \
13016 conftest
$ac_exeext conftest.
$ac_ext
13018 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
13019 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
13020 if test $emacs_cv_netdb_declares_h_errno = yes; then
13022 cat >>confdefs.h
<<\_ACEOF
13023 #define HAVE_H_ERRNO 1
13028 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13029 # for constant arguments. Useless!
13030 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13031 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13032 if test "${ac_cv_working_alloca_h+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 cat >conftest.
$ac_ext <<_ACEOF
13038 cat confdefs.h
>>conftest.
$ac_ext
13039 cat >>conftest.
$ac_ext <<_ACEOF
13040 /* end confdefs.h. */
13041 #include <alloca.h>
13045 char *p = (char *) alloca (2 * sizeof (int));
13050 rm -f conftest.
$ac_objext conftest
$ac_exeext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13052 (eval $ac_link) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try
='test -s conftest$ac_exeext'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 ac_cv_working_alloca_h
=yes
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.
$ac_ext >&5
13076 ac_cv_working_alloca_h
=no
13078 rm -f conftest.err conftest.
$ac_objext \
13079 conftest
$ac_exeext conftest.
$ac_ext
13081 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13082 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13083 if test $ac_cv_working_alloca_h = yes; then
13085 cat >>confdefs.h
<<\_ACEOF
13086 #define HAVE_ALLOCA_H 1
13091 echo "$as_me:$LINENO: checking for alloca" >&5
13092 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13093 if test "${ac_cv_func_alloca_works+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 cat >conftest.
$ac_ext <<_ACEOF
13099 cat confdefs.h
>>conftest.
$ac_ext
13100 cat >>conftest.
$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13103 # define alloca __builtin_alloca
13106 # include <malloc.h>
13107 # define alloca _alloca
13110 # include <alloca.h>
13115 # ifndef alloca /* predefined by HP cc +Olibcalls */
13126 char *p = (char *) alloca (1);
13131 rm -f conftest.
$ac_objext conftest
$ac_exeext
13132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13133 (eval $ac_link) 2>conftest.er1
13135 grep -v '^ *+' conftest.er1
>conftest.err
13137 cat conftest.err
>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } &&
13140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; } &&
13146 { ac_try
='test -s conftest$ac_exeext'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; }; then
13152 ac_cv_func_alloca_works
=yes
13154 echo "$as_me: failed program was:" >&5
13155 sed 's/^/| /' conftest.
$ac_ext >&5
13157 ac_cv_func_alloca_works
=no
13159 rm -f conftest.err conftest.
$ac_objext \
13160 conftest
$ac_exeext conftest.
$ac_ext
13162 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13163 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13165 if test $ac_cv_func_alloca_works = yes; then
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define HAVE_ALLOCA 1
13172 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13173 # that cause trouble. Some versions do not even contain alloca or
13174 # contain a buggy version. If you still want to use their alloca,
13175 # use ar to extract alloca.o from them instead of compiling alloca.c.
13177 ALLOCA
=alloca.
$ac_objext
13179 cat >>confdefs.h
<<\_ACEOF
13184 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13185 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13186 if test "${ac_cv_os_cray+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 cat >conftest.
$ac_ext <<_ACEOF
13192 cat confdefs.h
>>conftest.
$ac_ext
13193 cat >>conftest.
$ac_ext <<_ACEOF
13194 /* end confdefs.h. */
13195 #if defined(CRAY) && ! defined(CRAY2)
13202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13203 $EGREP "webecray" >/dev
/null
2>&1; then
13211 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13212 echo "${ECHO_T}$ac_cv_os_cray" >&6
13213 if test $ac_cv_os_cray = yes; then
13214 for ac_func
in _getb67 GETB67 getb67
; do
13215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13216 echo "$as_me:$LINENO: checking for $ac_func" >&5
13217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13218 if eval "test \"\${$as_ac_var+set}\" = set"; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 cat >conftest.
$ac_ext <<_ACEOF
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13229 #define $ac_func innocuous_$ac_func
13231 /* System header to define __stub macros and hopefully few prototypes,
13232 which can conflict with char $ac_func (); below.
13233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13234 <limits.h> exists even on freestanding compilers. */
13237 # include <limits.h>
13239 # include <assert.h>
13244 /* Override any gcc2 internal prototype to avoid an error. */
13249 /* We use char because int might match the return type of a gcc2
13250 builtin and then its argument prototype would still apply. */
13252 /* The GNU C library defines this for functions which it implements
13253 to always fail with ENOSYS. Some functions are actually named
13254 something starting with __ and the normal name is an alias. */
13255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13258 char (*f) () = $ac_func;
13267 return f != $ac_func;
13272 rm -f conftest.
$ac_objext conftest
$ac_exeext
13273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13274 (eval $ac_link) 2>conftest.er1
13276 grep -v '^ *+' conftest.er1
>conftest.err
13278 cat conftest.err
>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } &&
13281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; } &&
13287 { ac_try
='test -s conftest$ac_exeext'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; }; then
13293 eval "$as_ac_var=yes"
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.
$ac_ext >&5
13298 eval "$as_ac_var=no"
13300 rm -f conftest.err conftest.
$ac_objext \
13301 conftest
$ac_exeext conftest.
$ac_ext
13303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13305 if test `eval echo '${'$as_ac_var'}'` = yes; then
13307 cat >>confdefs.h
<<_ACEOF
13308 #define CRAY_STACKSEG_END $ac_func
13317 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13318 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13319 if test "${ac_cv_c_stack_direction+set}" = set; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 if test "$cross_compiling" = yes; then
13323 ac_cv_c_stack_direction
=0
13325 cat >conftest.
$ac_ext <<_ACEOF
13328 cat confdefs.h
>>conftest.
$ac_ext
13329 cat >>conftest.
$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13332 find_stack_direction ()
13334 static char *addr = 0;
13339 return find_stack_direction ();
13342 return (&dummy > addr) ? 1 : -1;
13348 exit (find_stack_direction () < 0);
13351 rm -f conftest
$ac_exeext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13353 (eval $ac_link) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 ac_cv_c_stack_direction
=1
13364 echo "$as_me: program exited with status $ac_status" >&5
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 ( exit $ac_status )
13369 ac_cv_c_stack_direction
=-1
13371 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13375 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13377 cat >>confdefs.h
<<_ACEOF
13378 #define STACK_DIRECTION $ac_cv_c_stack_direction
13385 # fmod, logb, and frexp are found in -lm on most systems.
13386 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13388 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13389 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
13390 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 ac_check_lib_save_LIBS
=$LIBS
13395 cat >conftest.
$ac_ext <<_ACEOF
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13402 /* Override any gcc2 internal prototype to avoid an error. */
13406 /* We use char because int might match the return type of a gcc2
13407 builtin and then its argument prototype would still apply. */
13417 rm -f conftest.
$ac_objext conftest
$ac_exeext
13418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13419 (eval $ac_link) 2>conftest.er1
13421 grep -v '^ *+' conftest.er1
>conftest.err
13423 cat conftest.err
>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try
='test -s conftest$ac_exeext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_cv_lib_m_sqrt
=yes
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 ac_cv_lib_m_sqrt
=no
13445 rm -f conftest.err conftest.
$ac_objext \
13446 conftest
$ac_exeext conftest.
$ac_ext
13447 LIBS
=$ac_check_lib_save_LIBS
13449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13450 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
13451 if test $ac_cv_lib_m_sqrt = yes; then
13452 cat >>confdefs.h
<<_ACEOF
13453 #define HAVE_LIBM 1
13461 # Check for mail-locking functions in a "mail" library. Probably this should
13462 # have the same check as for liblockfile below.
13464 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13465 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
13466 if test "${ac_cv_lib_mail_maillock+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 ac_check_lib_save_LIBS
=$LIBS
13470 LIBS
="-lmail $LIBS"
13471 cat >conftest.
$ac_ext <<_ACEOF
13474 cat confdefs.h
>>conftest.
$ac_ext
13475 cat >>conftest.
$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13478 /* Override any gcc2 internal prototype to avoid an error. */
13482 /* We use char because int might match the return type of a gcc2
13483 builtin and then its argument prototype would still apply. */
13493 rm -f conftest.
$ac_objext conftest
$ac_exeext
13494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13495 (eval $ac_link) 2>conftest.er1
13497 grep -v '^ *+' conftest.er1
>conftest.err
13499 cat conftest.err
>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } &&
13502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; } &&
13508 { ac_try
='test -s conftest$ac_exeext'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; }; then
13514 ac_cv_lib_mail_maillock
=yes
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.
$ac_ext >&5
13519 ac_cv_lib_mail_maillock
=no
13521 rm -f conftest.err conftest.
$ac_objext \
13522 conftest
$ac_exeext conftest.
$ac_ext
13523 LIBS
=$ac_check_lib_save_LIBS
13525 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13526 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
13527 if test $ac_cv_lib_mail_maillock = yes; then
13528 cat >>confdefs.h
<<_ACEOF
13529 #define HAVE_LIBMAIL 1
13532 LIBS
="-lmail $LIBS"
13537 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13538 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
13539 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 ac_check_lib_save_LIBS
=$LIBS
13543 LIBS
="-llockfile $LIBS"
13544 cat >conftest.
$ac_ext <<_ACEOF
13547 cat confdefs.h
>>conftest.
$ac_ext
13548 cat >>conftest.
$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13551 /* Override any gcc2 internal prototype to avoid an error. */
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13566 rm -f conftest.
$ac_objext conftest
$ac_exeext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 (eval $ac_link) 2>conftest.er1
13570 grep -v '^ *+' conftest.er1
>conftest.err
13572 cat conftest.err
>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try
='test -s conftest$ac_exeext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_cv_lib_lockfile_maillock
=yes
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.
$ac_ext >&5
13592 ac_cv_lib_lockfile_maillock
=no
13594 rm -f conftest.err conftest.
$ac_objext \
13595 conftest
$ac_exeext conftest.
$ac_ext
13596 LIBS
=$ac_check_lib_save_LIBS
13598 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13599 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
13600 if test $ac_cv_lib_lockfile_maillock = yes; then
13601 cat >>confdefs.h
<<_ACEOF
13602 #define HAVE_LIBLOCKFILE 1
13605 LIBS
="-llockfile $LIBS"
13609 # If we have the shared liblockfile, assume we must use it for mail
13610 # locking (e.g. Debian). If we couldn't link against liblockfile
13611 # (no liblockfile.a installed), ensure that we don't need to.
13612 if test "$ac_cv_lib_lockfile_maillock" = no
; then
13613 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13614 set dummy liblockfile.so
; ac_word
=$2
13615 echo "$as_me:$LINENO: checking for $ac_word" >&5
13616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13617 if test "${ac_cv_prog_liblockfile+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 if test -n "$liblockfile"; then
13621 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
13623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13624 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
13625 for as_dir
in $as_dummy
13628 test -z "$as_dir" && as_dir
=.
13629 for ac_exec_ext
in '' $ac_executable_extensions; do
13630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13631 ac_cv_prog_liblockfile
="yes"
13632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13638 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
13641 liblockfile
=$ac_cv_prog_liblockfile
13642 if test -n "$liblockfile"; then
13643 echo "$as_me:$LINENO: result: $liblockfile" >&5
13644 echo "${ECHO_T}$liblockfile" >&6
13646 echo "$as_me:$LINENO: result: no" >&5
13647 echo "${ECHO_T}no" >&6
13650 if test $ac_cv_prog_liblockfile = yes; then
13651 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
13652 This probably means that movemail could lose mail.
13653 There may be a \`development' package to install containing liblockfile." >&5
13654 echo "$as_me: error: Shared liblockfile found but can't link against it.
13655 This probably means that movemail could lose mail.
13656 There may be a \`development' package to install containing liblockfile." >&2;}
13657 { (exit 1); exit 1; }; }
13662 for ac_func
in touchlock
13664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13665 echo "$as_me:$LINENO: checking for $ac_func" >&5
13666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13667 if eval "test \"\${$as_ac_var+set}\" = set"; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13678 #define $ac_func innocuous_$ac_func
13680 /* System header to define __stub macros and hopefully few prototypes,
13681 which can conflict with char $ac_func (); below.
13682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13683 <limits.h> exists even on freestanding compilers. */
13686 # include <limits.h>
13688 # include <assert.h>
13693 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13701 /* The GNU C library defines this for functions which it implements
13702 to always fail with ENOSYS. Some functions are actually named
13703 something starting with __ and the normal name is an alias. */
13704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13707 char (*f) () = $ac_func;
13716 return f != $ac_func;
13721 rm -f conftest.
$ac_objext conftest
$ac_exeext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13723 (eval $ac_link) 2>conftest.er1
13725 grep -v '^ *+' conftest.er1
>conftest.err
13727 cat conftest.err
>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; } &&
13736 { ac_try
='test -s conftest$ac_exeext'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; }; then
13742 eval "$as_ac_var=yes"
13744 echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.
$ac_ext >&5
13747 eval "$as_ac_var=no"
13749 rm -f conftest.err conftest.
$ac_objext \
13750 conftest
$ac_exeext conftest.
$ac_ext
13752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13754 if test `eval echo '${'$as_ac_var'}'` = yes; then
13755 cat >>confdefs.h
<<_ACEOF
13756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13763 for ac_header
in maillock.h
13765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13767 echo "$as_me:$LINENO: checking for $ac_header" >&5
13768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13775 # Is the header compilable?
13776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13778 cat >conftest.
$ac_ext <<_ACEOF
13781 cat confdefs.h
>>conftest.
$ac_ext
13782 cat >>conftest.
$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13784 $ac_includes_default
13785 #include <$ac_header>
13787 rm -f conftest.
$ac_objext
13788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13789 (eval $ac_compile) 2>conftest.er1
13791 grep -v '^ *+' conftest.er1
>conftest.err
13793 cat conftest.err
>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; } &&
13802 { ac_try
='test -s conftest.$ac_objext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13808 ac_header_compiler
=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13813 ac_header_compiler
=no
13815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13817 echo "${ECHO_T}$ac_header_compiler" >&6
13819 # Is the header present?
13820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13822 cat >conftest.
$ac_ext <<_ACEOF
13825 cat confdefs.h
>>conftest.
$ac_ext
13826 cat >>conftest.
$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13828 #include <$ac_header>
13830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13833 grep -v '^ *+' conftest.er1
>conftest.err
13835 cat conftest.err
>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } >/dev
/null
; then
13838 if test -s conftest.err
; then
13839 ac_cpp_err
=$ac_c_preproc_warn_flag
13840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13847 if test -z "$ac_cpp_err"; then
13848 ac_header_preproc
=yes
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.
$ac_ext >&5
13853 ac_header_preproc
=no
13855 rm -f conftest.err conftest.
$ac_ext
13856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13857 echo "${ECHO_T}$ac_header_preproc" >&6
13859 # So? What about this header?
13860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13866 ac_header_preproc
=yes
13869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13883 ## ------------------------------------------ ##
13884 ## Report this to the AC_PACKAGE_NAME lists. ##
13885 ## ------------------------------------------ ##
13888 sed "s/^/$as_me: WARNING: /" >&2
13891 echo "$as_me:$LINENO: checking for $ac_header" >&5
13892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 eval "$as_ac_Header=\$ac_header_preproc"
13898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13903 cat >>confdefs.h
<<_ACEOF
13904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13979 for ac_func
in gethostname getdomainname dup2 \
13980 rename closedir mkdir
rmdir sysinfo getrusage \
13981 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13982 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13983 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13984 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13985 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13986 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13987 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
13989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13990 echo "$as_me:$LINENO: checking for $ac_func" >&5
13991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13992 if eval "test \"\${$as_ac_var+set}\" = set"; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 cat >conftest.
$ac_ext <<_ACEOF
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14003 #define $ac_func innocuous_$ac_func
14005 /* System header to define __stub macros and hopefully few prototypes,
14006 which can conflict with char $ac_func (); below.
14007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14008 <limits.h> exists even on freestanding compilers. */
14011 # include <limits.h>
14013 # include <assert.h>
14018 /* Override any gcc2 internal prototype to avoid an error. */
14023 /* We use char because int might match the return type of a gcc2
14024 builtin and then its argument prototype would still apply. */
14026 /* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14032 char (*f) () = $ac_func;
14041 return f != $ac_func;
14046 rm -f conftest.
$ac_objext conftest
$ac_exeext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14048 (eval $ac_link) 2>conftest.er1
14050 grep -v '^ *+' conftest.er1
>conftest.err
14052 cat conftest.err
>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try
='test -s conftest$ac_exeext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 eval "$as_ac_var=yes"
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 eval "$as_ac_var=no"
14074 rm -f conftest.err conftest.
$ac_objext \
14075 conftest
$ac_exeext conftest.
$ac_ext
14077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14079 if test `eval echo '${'$as_ac_var'}'` = yes; then
14080 cat >>confdefs.h
<<_ACEOF
14081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14089 for ac_header
in sys
/un.h
14091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo "$as_me:$LINENO: checking for $ac_header" >&5
14094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14101 # Is the header compilable?
14102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14104 cat >conftest.
$ac_ext <<_ACEOF
14107 cat confdefs.h
>>conftest.
$ac_ext
14108 cat >>conftest.
$ac_ext <<_ACEOF
14109 /* end confdefs.h. */
14110 $ac_includes_default
14111 #include <$ac_header>
14113 rm -f conftest.
$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>conftest.er1
14117 grep -v '^ *+' conftest.er1
>conftest.err
14119 cat conftest.err
>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try
='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_header_compiler
=yes
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.
$ac_ext >&5
14139 ac_header_compiler
=no
14141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14143 echo "${ECHO_T}$ac_header_compiler" >&6
14145 # Is the header present?
14146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14148 cat >conftest.
$ac_ext <<_ACEOF
14151 cat confdefs.h
>>conftest.
$ac_ext
14152 cat >>conftest.
$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 #include <$ac_header>
14156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14159 grep -v '^ *+' conftest.er1
>conftest.err
14161 cat conftest.err
>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } >/dev
/null
; then
14164 if test -s conftest.err
; then
14165 ac_cpp_err
=$ac_c_preproc_warn_flag
14166 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14173 if test -z "$ac_cpp_err"; then
14174 ac_header_preproc
=yes
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_header_preproc
=no
14181 rm -f conftest.err conftest.
$ac_ext
14182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14183 echo "${ECHO_T}$ac_header_preproc" >&6
14185 # So? What about this header?
14186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14192 ac_header_preproc
=yes
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14209 ## ------------------------------------------ ##
14210 ## Report this to the AC_PACKAGE_NAME lists. ##
14211 ## ------------------------------------------ ##
14214 sed "s/^/$as_me: WARNING: /" >&2
14217 echo "$as_me:$LINENO: checking for $ac_header" >&5
14218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14222 eval "$as_ac_Header=\$ac_header_preproc"
14224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14229 cat >>confdefs.h
<<_ACEOF
14230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14241 for ac_header
in stdlib.h sys
/time.h unistd.h
14243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14245 echo "$as_me:$LINENO: checking for $ac_header" >&5
14246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14253 # Is the header compilable?
14254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14256 cat >conftest.
$ac_ext <<_ACEOF
14259 cat confdefs.h
>>conftest.
$ac_ext
14260 cat >>conftest.
$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 $ac_includes_default
14263 #include <$ac_header>
14265 rm -f conftest.
$ac_objext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14267 (eval $ac_compile) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try
='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_header_compiler
=yes
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14291 ac_header_compiler
=no
14293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14295 echo "${ECHO_T}$ac_header_compiler" >&6
14297 # Is the header present?
14298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14300 cat >conftest.
$ac_ext <<_ACEOF
14303 cat confdefs.h
>>conftest.
$ac_ext
14304 cat >>conftest.
$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14306 #include <$ac_header>
14308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14311 grep -v '^ *+' conftest.er1
>conftest.err
14313 cat conftest.err
>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } >/dev
/null
; then
14316 if test -s conftest.err
; then
14317 ac_cpp_err
=$ac_c_preproc_warn_flag
14318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14325 if test -z "$ac_cpp_err"; then
14326 ac_header_preproc
=yes
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.
$ac_ext >&5
14331 ac_header_preproc
=no
14333 rm -f conftest.err conftest.
$ac_ext
14334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14335 echo "${ECHO_T}$ac_header_preproc" >&6
14337 # So? What about this header?
14338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14344 ac_header_preproc
=yes
14347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14361 ## ------------------------------------------ ##
14362 ## Report this to the AC_PACKAGE_NAME lists. ##
14363 ## ------------------------------------------ ##
14366 sed "s/^/$as_me: WARNING: /" >&2
14369 echo "$as_me:$LINENO: checking for $ac_header" >&5
14370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 eval "$as_ac_Header=\$ac_header_preproc"
14376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14381 cat >>confdefs.h
<<_ACEOF
14382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14390 for ac_func
in alarm
14392 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14393 echo "$as_me:$LINENO: checking for $ac_func" >&5
14394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14395 if eval "test \"\${$as_ac_var+set}\" = set"; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 cat >conftest.
$ac_ext <<_ACEOF
14401 cat confdefs.h
>>conftest.
$ac_ext
14402 cat >>conftest.
$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14406 #define $ac_func innocuous_$ac_func
14408 /* System header to define __stub macros and hopefully few prototypes,
14409 which can conflict with char $ac_func (); below.
14410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14411 <limits.h> exists even on freestanding compilers. */
14414 # include <limits.h>
14416 # include <assert.h>
14421 /* Override any gcc2 internal prototype to avoid an error. */
14426 /* We use char because int might match the return type of a gcc2
14427 builtin and then its argument prototype would still apply. */
14429 /* The GNU C library defines this for functions which it implements
14430 to always fail with ENOSYS. Some functions are actually named
14431 something starting with __ and the normal name is an alias. */
14432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14435 char (*f) () = $ac_func;
14444 return f != $ac_func;
14449 rm -f conftest.
$ac_objext conftest
$ac_exeext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14451 (eval $ac_link) 2>conftest.er1
14453 grep -v '^ *+' conftest.er1
>conftest.err
14455 cat conftest.err
>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try
='test -s conftest$ac_exeext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 eval "$as_ac_var=yes"
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 eval "$as_ac_var=no"
14477 rm -f conftest.err conftest.
$ac_objext \
14478 conftest
$ac_exeext conftest.
$ac_ext
14480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14482 if test `eval echo '${'$as_ac_var'}'` = yes; then
14483 cat >>confdefs.h
<<_ACEOF
14484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14490 echo "$as_me:$LINENO: checking for working mktime" >&5
14491 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
14492 if test "${ac_cv_func_working_mktime+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 if test "$cross_compiling" = yes; then
14496 ac_cv_func_working_mktime
=no
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 /* Test program from Paul Eggert and Tony Leneis. */
14505 #if TIME_WITH_SYS_TIME
14506 # include <sys/time.h>
14509 # if HAVE_SYS_TIME_H
14510 # include <sys/time.h>
14517 # include <stdlib.h>
14521 # include <unistd.h>
14525 # define alarm(X) /* empty */
14528 /* Work around redefinition to rpl_putenv by other config tests. */
14531 static time_t time_t_max;
14532 static time_t time_t_min;
14534 /* Values we'll use to set the TZ environment variable. */
14535 static char *tz_strings[] = {
14536 (char *) 0, "TZ=GMT0", "TZ=JST-9",
14537 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
14539 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14541 /* Fail if mktime fails to convert a date in the spring-forward gap.
14542 Based on a problem report from Andreas Jaeger. */
14544 spring_forward_gap ()
14546 /* glibc (up to about 1998-10-07) failed this test. */
14549 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
14550 instead of "TZ=America/Vancouver" in order to detect the bug even
14551 on systems that don't support the Olson extension, or don't have the
14552 full zoneinfo tables installed. */
14553 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
14562 if (mktime (&tm) == (time_t)-1)
14571 if ((lt = localtime (&now)) && mktime (lt) != now)
14579 mktime_test1 (now);
14580 mktime_test1 ((time_t) (time_t_max - now));
14581 mktime_test1 ((time_t) (time_t_min + now));
14587 /* Based on code from Ariel Faigon. */
14597 if (tm.tm_mon != 2 || tm.tm_mday != 31)
14607 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
14608 now = mktime (&tm);
14609 if (now != (time_t) -1)
14611 struct tm *lt = localtime (&now);
14613 && lt->tm_year == tm.tm_year
14614 && lt->tm_mon == tm.tm_mon
14615 && lt->tm_mday == tm.tm_mday
14616 && lt->tm_hour == tm.tm_hour
14617 && lt->tm_min == tm.tm_min
14618 && lt->tm_sec == tm.tm_sec
14619 && lt->tm_yday == tm.tm_yday
14620 && lt->tm_wday == tm.tm_wday
14621 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14622 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14633 /* This test makes some buggy mktime implementations loop.
14634 Give up after 60 seconds; a mktime slower than that
14635 isn't worth using anyway. */
14638 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
14641 if ((time_t) -1 < 0)
14642 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
14644 delta = time_t_max / 997; /* a suitable prime number */
14645 for (i = 0; i < N_STRINGS; i++)
14648 putenv (tz_strings[i]);
14650 for (t = 0; t <= time_t_max - delta; t += delta)
14652 mktime_test ((time_t) 1);
14653 mktime_test ((time_t) (60 * 60));
14654 mktime_test ((time_t) (60 * 60 * 24));
14656 for (j = 1; 0 < j; j *= 2)
14658 bigtime_test (j - 1);
14661 spring_forward_gap ();
14665 rm -f conftest
$ac_exeext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14667 (eval $ac_link) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14676 ac_cv_func_working_mktime
=yes
14678 echo "$as_me: program exited with status $ac_status" >&5
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ( exit $ac_status )
14683 ac_cv_func_working_mktime
=no
14685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14688 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14689 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14690 if test $ac_cv_func_working_mktime = no
; then
14692 "mktime.$ac_objext" | \
14693 *" mktime.$ac_objext" | \
14694 "mktime.$ac_objext "* | \
14695 *" mktime.$ac_objext "* ) ;;
14696 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14701 if test "$ac_cv_func_working_mktime" = no
; then
14703 cat >>confdefs.h
<<\_ACEOF
14704 #define BROKEN_MKTIME 1
14709 ac_have_func
=no
# yes means we've found a way to get the load average.
14711 # Make sure getloadavg.c is where it belongs, at configure-time.
14712 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14713 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14714 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14715 { (exit 1); exit 1; }; }
14719 # Check for getloadavg, but be sure not to touch the cache variable.
14720 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14721 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14722 if test "${ac_cv_func_getloadavg+set}" = set; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14725 cat >conftest.
$ac_ext <<_ACEOF
14728 cat confdefs.h
>>conftest.
$ac_ext
14729 cat >>conftest.
$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14731 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14733 #define getloadavg innocuous_getloadavg
14735 /* System header to define __stub macros and hopefully few prototypes,
14736 which can conflict with char getloadavg (); below.
14737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14738 <limits.h> exists even on freestanding compilers. */
14741 # include <limits.h>
14743 # include <assert.h>
14748 /* Override any gcc2 internal prototype to avoid an error. */
14753 /* We use char because int might match the return type of a gcc2
14754 builtin and then its argument prototype would still apply. */
14755 char getloadavg ();
14756 /* The GNU C library defines this for functions which it implements
14757 to always fail with ENOSYS. Some functions are actually named
14758 something starting with __ and the normal name is an alias. */
14759 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14762 char (*f) () = getloadavg;
14771 return f != getloadavg;
14776 rm -f conftest.
$ac_objext conftest
$ac_exeext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14778 (eval $ac_link) 2>conftest.er1
14780 grep -v '^ *+' conftest.er1
>conftest.err
14782 cat conftest.err
>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } &&
14785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; } &&
14791 { ac_try
='test -s conftest$ac_exeext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 ac_cv_func_getloadavg
=yes
14799 echo "$as_me: failed program was:" >&5
14800 sed 's/^/| /' conftest.
$ac_ext >&5
14802 ac_cv_func_getloadavg
=no
14804 rm -f conftest.err conftest.
$ac_objext \
14805 conftest
$ac_exeext conftest.
$ac_ext
14807 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14808 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14809 if test $ac_cv_func_getloadavg = yes; then
14814 ) && ac_have_func
=yes
14816 # On HPUX9, an unprivileged user can get load averages through this function.
14818 for ac_func
in pstat_getdynamic
14820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14821 echo "$as_me:$LINENO: checking for $ac_func" >&5
14822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14823 if eval "test \"\${$as_ac_var+set}\" = set"; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 cat >conftest.
$ac_ext <<_ACEOF
14829 cat confdefs.h
>>conftest.
$ac_ext
14830 cat >>conftest.
$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14834 #define $ac_func innocuous_$ac_func
14836 /* System header to define __stub macros and hopefully few prototypes,
14837 which can conflict with char $ac_func (); below.
14838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14839 <limits.h> exists even on freestanding compilers. */
14842 # include <limits.h>
14844 # include <assert.h>
14849 /* Override any gcc2 internal prototype to avoid an error. */
14854 /* We use char because int might match the return type of a gcc2
14855 builtin and then its argument prototype would still apply. */
14857 /* The GNU C library defines this for functions which it implements
14858 to always fail with ENOSYS. Some functions are actually named
14859 something starting with __ and the normal name is an alias. */
14860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14863 char (*f) () = $ac_func;
14872 return f != $ac_func;
14877 rm -f conftest.
$ac_objext conftest
$ac_exeext
14878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14879 (eval $ac_link) 2>conftest.er1
14881 grep -v '^ *+' conftest.er1
>conftest.err
14883 cat conftest.err
>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; } &&
14892 { ac_try
='test -s conftest$ac_exeext'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; }; then
14898 eval "$as_ac_var=yes"
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.
$ac_ext >&5
14903 eval "$as_ac_var=no"
14905 rm -f conftest.err conftest.
$ac_objext \
14906 conftest
$ac_exeext conftest.
$ac_ext
14908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14910 if test `eval echo '${'$as_ac_var'}'` = yes; then
14911 cat >>confdefs.h
<<_ACEOF
14912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14919 # Solaris has libkstat which does not require root.
14921 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14922 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14923 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 ac_check_lib_save_LIBS
=$LIBS
14927 LIBS
="-lkstat $LIBS"
14928 cat >conftest.
$ac_ext <<_ACEOF
14931 cat confdefs.h
>>conftest.
$ac_ext
14932 cat >>conftest.
$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any gcc2 internal prototype to avoid an error. */
14939 /* We use char because int might match the return type of a gcc2
14940 builtin and then its argument prototype would still apply. */
14941 char kstat_open ();
14950 rm -f conftest.
$ac_objext conftest
$ac_exeext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14952 (eval $ac_link) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1
>conftest.err
14956 cat conftest.err
>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try
='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_cv_lib_kstat_kstat_open
=yes
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 ac_cv_lib_kstat_kstat_open
=no
14978 rm -f conftest.err conftest.
$ac_objext \
14979 conftest
$ac_exeext conftest.
$ac_ext
14980 LIBS
=$ac_check_lib_save_LIBS
14982 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14983 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14984 if test $ac_cv_lib_kstat_kstat_open = yes; then
14985 cat >>confdefs.h
<<_ACEOF
14986 #define HAVE_LIBKSTAT 1
14989 LIBS
="-lkstat $LIBS"
14993 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14995 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14996 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14997 # to get the right answer into the cache.
14998 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14999 if test $ac_have_func = no
; then
15000 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
15001 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
15002 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 ac_check_lib_save_LIBS
=$LIBS
15007 cat >conftest.
$ac_ext <<_ACEOF
15010 cat confdefs.h
>>conftest.
$ac_ext
15011 cat >>conftest.
$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15014 /* Override any gcc2 internal prototype to avoid an error. */
15018 /* We use char because int might match the return type of a gcc2
15019 builtin and then its argument prototype would still apply. */
15029 rm -f conftest.
$ac_objext conftest
$ac_exeext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15031 (eval $ac_link) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try
='test -s conftest$ac_exeext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_cv_lib_elf_elf_begin
=yes
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_cv_lib_elf_elf_begin
=no
15057 rm -f conftest.err conftest.
$ac_objext \
15058 conftest
$ac_exeext conftest.
$ac_ext
15059 LIBS
=$ac_check_lib_save_LIBS
15061 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15062 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
15063 if test $ac_cv_lib_elf_elf_begin = yes; then
15068 if test $ac_have_func = no
; then
15069 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15070 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
15071 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 ac_check_lib_save_LIBS
=$LIBS
15076 cat >conftest.
$ac_ext <<_ACEOF
15079 cat confdefs.h
>>conftest.
$ac_ext
15080 cat >>conftest.
$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15083 /* Override any gcc2 internal prototype to avoid an error. */
15087 /* We use char because int might match the return type of a gcc2
15088 builtin and then its argument prototype would still apply. */
15098 rm -f conftest.
$ac_objext conftest
$ac_exeext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15100 (eval $ac_link) 2>conftest.er1
15102 grep -v '^ *+' conftest.er1
>conftest.err
15104 cat conftest.err
>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try
='test -s conftest$ac_exeext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_cv_lib_kvm_kvm_open
=yes
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_cv_lib_kvm_kvm_open
=no
15126 rm -f conftest.err conftest.
$ac_objext \
15127 conftest
$ac_exeext conftest.
$ac_ext
15128 LIBS
=$ac_check_lib_save_LIBS
15130 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15131 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
15132 if test $ac_cv_lib_kvm_kvm_open = yes; then
15136 # Check for the 4.4BSD definition of getloadavg.
15137 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15138 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
15139 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 ac_check_lib_save_LIBS
=$LIBS
15143 LIBS
="-lutil $LIBS"
15144 cat >conftest.
$ac_ext <<_ACEOF
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15151 /* Override any gcc2 internal prototype to avoid an error. */
15155 /* We use char because int might match the return type of a gcc2
15156 builtin and then its argument prototype would still apply. */
15157 char getloadavg ();
15166 rm -f conftest.
$ac_objext conftest
$ac_exeext
15167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15168 (eval $ac_link) 2>conftest.er1
15170 grep -v '^ *+' conftest.er1
>conftest.err
15172 cat conftest.err
>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } &&
15175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; } &&
15181 { ac_try
='test -s conftest$ac_exeext'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; }; then
15187 ac_cv_lib_util_getloadavg
=yes
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.
$ac_ext >&5
15192 ac_cv_lib_util_getloadavg
=no
15194 rm -f conftest.err conftest.
$ac_objext \
15195 conftest
$ac_exeext conftest.
$ac_ext
15196 LIBS
=$ac_check_lib_save_LIBS
15198 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15199 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
15200 if test $ac_cv_lib_util_getloadavg = yes; then
15201 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
15206 if test $ac_have_func = no
; then
15207 # There is a commonly available library for RS/6000 AIX.
15208 # Since it is not a standard part of AIX, it might be installed locally.
15209 ac_getloadavg_LIBS
=$LIBS
15210 LIBS
="-L/usr/local/lib $LIBS"
15211 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15212 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
15213 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15214 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 ac_check_lib_save_LIBS
=$LIBS
15217 LIBS
="-lgetloadavg $LIBS"
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15225 /* Override any gcc2 internal prototype to avoid an error. */
15229 /* We use char because int might match the return type of a gcc2
15230 builtin and then its argument prototype would still apply. */
15231 char getloadavg ();
15240 rm -f conftest.
$ac_objext conftest
$ac_exeext
15241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15242 (eval $ac_link) 2>conftest.er1
15244 grep -v '^ *+' conftest.er1
>conftest.err
15246 cat conftest.err
>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } &&
15249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try
='test -s conftest$ac_exeext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15261 ac_cv_lib_getloadavg_getloadavg
=yes
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15266 ac_cv_lib_getloadavg_getloadavg
=no
15268 rm -f conftest.err conftest.
$ac_objext \
15269 conftest
$ac_exeext conftest.
$ac_ext
15270 LIBS
=$ac_check_lib_save_LIBS
15272 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15273 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
15274 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15275 LIBS
="-lgetloadavg $LIBS"
15277 LIBS
=$ac_getloadavg_LIBS
15282 # Make sure it is really in the library, if we think we found it,
15283 # otherwise set up the replacement function.
15285 for ac_func
in getloadavg
15287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15288 echo "$as_me:$LINENO: checking for $ac_func" >&5
15289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15290 if eval "test \"\${$as_ac_var+set}\" = set"; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 cat >conftest.
$ac_ext <<_ACEOF
15296 cat confdefs.h
>>conftest.
$ac_ext
15297 cat >>conftest.
$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15301 #define $ac_func innocuous_$ac_func
15303 /* System header to define __stub macros and hopefully few prototypes,
15304 which can conflict with char $ac_func (); below.
15305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15306 <limits.h> exists even on freestanding compilers. */
15309 # include <limits.h>
15311 # include <assert.h>
15316 /* Override any gcc2 internal prototype to avoid an error. */
15321 /* We use char because int might match the return type of a gcc2
15322 builtin and then its argument prototype would still apply. */
15324 /* The GNU C library defines this for functions which it implements
15325 to always fail with ENOSYS. Some functions are actually named
15326 something starting with __ and the normal name is an alias. */
15327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15330 char (*f) () = $ac_func;
15339 return f != $ac_func;
15344 rm -f conftest.
$ac_objext conftest
$ac_exeext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15346 (eval $ac_link) 2>conftest.er1
15348 grep -v '^ *+' conftest.er1
>conftest.err
15350 cat conftest.err
>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try
='test -s conftest$ac_exeext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 eval "$as_ac_var=yes"
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 eval "$as_ac_var=no"
15372 rm -f conftest.err conftest.
$ac_objext \
15373 conftest
$ac_exeext conftest.
$ac_ext
15375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15377 if test `eval echo '${'$as_ac_var'}'` = yes; then
15378 cat >>confdefs.h
<<_ACEOF
15379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15384 "getloadavg.$ac_objext" | \
15385 *" getloadavg.$ac_objext" | \
15386 "getloadavg.$ac_objext "* | \
15387 *" getloadavg.$ac_objext "* ) ;;
15388 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
15392 cat >>confdefs.h
<<\_ACEOF
15393 #define C_GETLOADAVG 1
15396 # Figure out what our getloadavg.c needs.
15398 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15399 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15400 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15401 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15405 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15407 # Is the header compilable?
15408 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15409 echo $ECHO_N "checking sys/dg_sys_info.h usability... $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 $ac_includes_default
15417 #include <sys/dg_sys_info.h>
15419 rm -f conftest.
$ac_objext
15420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15421 (eval $ac_compile) 2>conftest.er1
15423 grep -v '^ *+' conftest.er1
>conftest.err
15425 cat conftest.err
>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; } &&
15434 { ac_try
='test -s conftest.$ac_objext'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; }; then
15440 ac_header_compiler
=yes
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.
$ac_ext >&5
15445 ac_header_compiler
=no
15447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15449 echo "${ECHO_T}$ac_header_compiler" >&6
15451 # Is the header present?
15452 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15453 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15454 cat >conftest.
$ac_ext <<_ACEOF
15457 cat confdefs.h
>>conftest.
$ac_ext
15458 cat >>conftest.
$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15460 #include <sys/dg_sys_info.h>
15462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15465 grep -v '^ *+' conftest.er1
>conftest.err
15467 cat conftest.err
>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } >/dev
/null
; then
15470 if test -s conftest.err
; then
15471 ac_cpp_err
=$ac_c_preproc_warn_flag
15472 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15479 if test -z "$ac_cpp_err"; then
15480 ac_header_preproc
=yes
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15485 ac_header_preproc
=no
15487 rm -f conftest.err conftest.
$ac_ext
15488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15489 echo "${ECHO_T}$ac_header_preproc" >&6
15491 # So? What about this header?
15492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15494 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15495 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15496 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15497 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15498 ac_header_preproc
=yes
15501 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15502 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15503 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15504 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15505 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15506 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15507 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15508 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15509 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15510 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15511 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15512 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15515 ## ------------------------------------------ ##
15516 ## Report this to the AC_PACKAGE_NAME lists. ##
15517 ## ------------------------------------------ ##
15520 sed "s/^/$as_me: WARNING: /" >&2
15523 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15524 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15525 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15526 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15530 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15531 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15534 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15537 cat >>confdefs.h
<<\_ACEOF
15542 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15543 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
15544 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 ac_check_lib_save_LIBS
=$LIBS
15549 cat >conftest.
$ac_ext <<_ACEOF
15552 cat confdefs.h
>>conftest.
$ac_ext
15553 cat >>conftest.
$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15556 /* Override any gcc2 internal prototype to avoid an error. */
15560 /* We use char because int might match the return type of a gcc2
15561 builtin and then its argument prototype would still apply. */
15562 char dg_sys_info ();
15571 rm -f conftest.
$ac_objext conftest
$ac_exeext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15573 (eval $ac_link) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try
='test -s conftest$ac_exeext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_lib_dgc_dg_sys_info
=yes
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.
$ac_ext >&5
15597 ac_cv_lib_dgc_dg_sys_info
=no
15599 rm -f conftest.err conftest.
$ac_objext \
15600 conftest
$ac_exeext conftest.
$ac_ext
15601 LIBS
=$ac_check_lib_save_LIBS
15603 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15604 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
15605 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15606 cat >>confdefs.h
<<_ACEOF
15607 #define HAVE_LIBDGC 1
15618 if test "${ac_cv_header_locale_h+set}" = set; then
15619 echo "$as_me:$LINENO: checking for locale.h" >&5
15620 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15621 if test "${ac_cv_header_locale_h+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15625 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15627 # Is the header compilable?
15628 echo "$as_me:$LINENO: checking locale.h usability" >&5
15629 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
15630 cat >conftest.
$ac_ext <<_ACEOF
15633 cat confdefs.h
>>conftest.
$ac_ext
15634 cat >>conftest.
$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15637 #include <locale.h>
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; } &&
15654 { ac_try
='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_header_compiler
=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.
$ac_ext >&5
15665 ac_header_compiler
=no
15667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15669 echo "${ECHO_T}$ac_header_compiler" >&6
15671 # Is the header present?
15672 echo "$as_me:$LINENO: checking locale.h presence" >&5
15673 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15674 cat >conftest.
$ac_ext <<_ACEOF
15677 cat confdefs.h
>>conftest.
$ac_ext
15678 cat >>conftest.
$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680 #include <locale.h>
15682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15685 grep -v '^ *+' conftest.er1
>conftest.err
15687 cat conftest.err
>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } >/dev
/null
; then
15690 if test -s conftest.err
; then
15691 ac_cpp_err
=$ac_c_preproc_warn_flag
15692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15699 if test -z "$ac_cpp_err"; then
15700 ac_header_preproc
=yes
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.
$ac_ext >&5
15705 ac_header_preproc
=no
15707 rm -f conftest.err conftest.
$ac_ext
15708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15709 echo "${ECHO_T}$ac_header_preproc" >&6
15711 # So? What about this header?
15712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15714 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15715 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15716 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15717 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15718 ac_header_preproc
=yes
15721 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15722 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15723 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15724 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15725 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15726 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15727 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15728 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15729 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15730 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15731 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15732 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15735 ## ------------------------------------------ ##
15736 ## Report this to the AC_PACKAGE_NAME lists. ##
15737 ## ------------------------------------------ ##
15740 sed "s/^/$as_me: WARNING: /" >&2
15743 echo "$as_me:$LINENO: checking for locale.h" >&5
15744 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15745 if test "${ac_cv_header_locale_h+set}" = set; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 ac_cv_header_locale_h
=$ac_header_preproc
15750 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15751 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15757 for ac_func
in setlocale
15759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15760 echo "$as_me:$LINENO: checking for $ac_func" >&5
15761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15762 if eval "test \"\${$as_ac_var+set}\" = set"; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15773 #define $ac_func innocuous_$ac_func
15775 /* System header to define __stub macros and hopefully few prototypes,
15776 which can conflict with char $ac_func (); below.
15777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15778 <limits.h> exists even on freestanding compilers. */
15781 # include <limits.h>
15783 # include <assert.h>
15788 /* Override any gcc2 internal prototype to avoid an error. */
15793 /* We use char because int might match the return type of a gcc2
15794 builtin and then its argument prototype would still apply. */
15796 /* The GNU C library defines this for functions which it implements
15797 to always fail with ENOSYS. Some functions are actually named
15798 something starting with __ and the normal name is an alias. */
15799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15802 char (*f) () = $ac_func;
15811 return f != $ac_func;
15816 rm -f conftest.
$ac_objext conftest
$ac_exeext
15817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15818 (eval $ac_link) 2>conftest.er1
15820 grep -v '^ *+' conftest.er1
>conftest.err
15822 cat conftest.err
>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } &&
15825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; } &&
15831 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
15837 eval "$as_ac_var=yes"
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.
$ac_ext >&5
15842 eval "$as_ac_var=no"
15844 rm -f conftest.err conftest.
$ac_objext \
15845 conftest
$ac_exeext conftest.
$ac_ext
15847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15849 if test `eval echo '${'$as_ac_var'}'` = yes; then
15850 cat >>confdefs.h
<<_ACEOF
15851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15858 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15859 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15860 # Irix 4.0.5F has the header but not the library.
15861 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15864 cat >>confdefs.h
<<\_ACEOF
15870 if test $ac_have_func = no
; then
15871 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15872 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15873 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15874 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15878 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15880 # Is the header compilable?
15881 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15882 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15883 cat >conftest.
$ac_ext <<_ACEOF
15886 cat confdefs.h
>>conftest.
$ac_ext
15887 cat >>conftest.
$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889 $ac_includes_default
15890 #include <inq_stats/cpustats.h>
15892 rm -f conftest.
$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15896 grep -v '^ *+' conftest.er1
>conftest.err
15898 cat conftest.err
>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; } &&
15907 { ac_try
='test -s conftest.$ac_objext'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; }; then
15913 ac_header_compiler
=yes
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.
$ac_ext >&5
15918 ac_header_compiler
=no
15920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15922 echo "${ECHO_T}$ac_header_compiler" >&6
15924 # Is the header present?
15925 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15926 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15927 cat >conftest.
$ac_ext <<_ACEOF
15930 cat confdefs.h
>>conftest.
$ac_ext
15931 cat >>conftest.
$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15933 #include <inq_stats/cpustats.h>
15935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15938 grep -v '^ *+' conftest.er1
>conftest.err
15940 cat conftest.err
>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } >/dev
/null
; then
15943 if test -s conftest.err
; then
15944 ac_cpp_err
=$ac_c_preproc_warn_flag
15945 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15952 if test -z "$ac_cpp_err"; then
15953 ac_header_preproc
=yes
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.
$ac_ext >&5
15958 ac_header_preproc
=no
15960 rm -f conftest.err conftest.
$ac_ext
15961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15962 echo "${ECHO_T}$ac_header_preproc" >&6
15964 # So? What about this header?
15965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15967 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15968 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15969 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15970 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15971 ac_header_preproc
=yes
15974 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15975 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15976 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15977 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15978 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15979 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15980 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15981 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15982 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15983 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15984 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15985 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15988 ## ------------------------------------------ ##
15989 ## Report this to the AC_PACKAGE_NAME lists. ##
15990 ## ------------------------------------------ ##
15993 sed "s/^/$as_me: WARNING: /" >&2
15996 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15997 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15998 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
16003 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16004 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
16007 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
16010 cat >>confdefs.h
<<\_ACEOF
16015 cat >>confdefs.h
<<\_ACEOF
16024 if test $ac_have_func = no
; then
16025 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16026 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16027 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16028 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16032 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16034 # Is the header compilable?
16035 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16036 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 $ac_includes_default
16044 #include <sys/cpustats.h>
16046 rm -f conftest.
$ac_objext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16048 (eval $ac_compile) 2>conftest.er1
16050 grep -v '^ *+' conftest.er1
>conftest.err
16052 cat conftest.err
>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; } &&
16061 { ac_try
='test -s conftest.$ac_objext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_header_compiler
=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.
$ac_ext >&5
16072 ac_header_compiler
=no
16074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16076 echo "${ECHO_T}$ac_header_compiler" >&6
16078 # Is the header present?
16079 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16080 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
16081 cat >conftest.
$ac_ext <<_ACEOF
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087 #include <sys/cpustats.h>
16089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev
/null
; then
16097 if test -s conftest.err
; then
16098 ac_cpp_err
=$ac_c_preproc_warn_flag
16099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16106 if test -z "$ac_cpp_err"; then
16107 ac_header_preproc
=yes
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.
$ac_ext >&5
16112 ac_header_preproc
=no
16114 rm -f conftest.err conftest.
$ac_ext
16115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16116 echo "${ECHO_T}$ac_header_preproc" >&6
16118 # So? What about this header?
16119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16121 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16122 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
16124 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
16125 ac_header_preproc
=yes
16128 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
16129 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
16130 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
16131 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
16132 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
16133 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
16134 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16135 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16136 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16137 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16138 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16139 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16142 ## ------------------------------------------ ##
16143 ## Report this to the AC_PACKAGE_NAME lists. ##
16144 ## ------------------------------------------ ##
16147 sed "s/^/$as_me: WARNING: /" >&2
16150 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16151 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16152 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
16157 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16158 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16161 if test $ac_cv_header_sys_cpustats_h = yes; then
16162 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
16171 if test $ac_have_func = no
; then
16173 for ac_header
in mach
/mach.h
16175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16177 echo "$as_me:$LINENO: checking for $ac_header" >&5
16178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16180 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16185 # Is the header compilable?
16186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 $ac_includes_default
16195 #include <$ac_header>
16197 rm -f conftest.
$ac_objext
16198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16199 (eval $ac_compile) 2>conftest.er1
16201 grep -v '^ *+' conftest.er1
>conftest.err
16203 cat conftest.err
>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } &&
16206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; } &&
16212 { ac_try
='test -s conftest.$ac_objext'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; }; then
16218 ac_header_compiler
=yes
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.
$ac_ext >&5
16223 ac_header_compiler
=no
16225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16227 echo "${ECHO_T}$ac_header_compiler" >&6
16229 # Is the header present?
16230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16232 cat >conftest.
$ac_ext <<_ACEOF
16235 cat confdefs.h
>>conftest.
$ac_ext
16236 cat >>conftest.
$ac_ext <<_ACEOF
16237 /* end confdefs.h. */
16238 #include <$ac_header>
16240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16243 grep -v '^ *+' conftest.er1
>conftest.err
16245 cat conftest.err
>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } >/dev
/null
; then
16248 if test -s conftest.err
; then
16249 ac_cpp_err
=$ac_c_preproc_warn_flag
16250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16257 if test -z "$ac_cpp_err"; then
16258 ac_header_preproc
=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ac_header_preproc
=no
16265 rm -f conftest.err conftest.
$ac_ext
16266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16267 echo "${ECHO_T}$ac_header_preproc" >&6
16269 # So? What about this header?
16270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16276 ac_header_preproc
=yes
16279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16293 ## ------------------------------------------ ##
16294 ## Report this to the AC_PACKAGE_NAME lists. ##
16295 ## ------------------------------------------ ##
16298 sed "s/^/$as_me: WARNING: /" >&2
16301 echo "$as_me:$LINENO: checking for $ac_header" >&5
16302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 eval "$as_ac_Header=\$ac_header_preproc"
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16313 cat >>confdefs.h
<<_ACEOF
16314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16324 for ac_header
in nlist.h
16326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16328 echo "$as_me:$LINENO: checking for $ac_header" >&5
16329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16336 # Is the header compilable?
16337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16346 #include <$ac_header>
16348 rm -f conftest.
$ac_objext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>conftest.er1
16352 grep -v '^ *+' conftest.er1
>conftest.err
16354 cat conftest.err
>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; } &&
16363 { ac_try
='test -s conftest.$ac_objext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 ac_header_compiler
=yes
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 ac_header_compiler
=no
16376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16378 echo "${ECHO_T}$ac_header_compiler" >&6
16380 # Is the header present?
16381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 #include <$ac_header>
16391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16394 grep -v '^ *+' conftest.er1
>conftest.err
16396 cat conftest.err
>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } >/dev
/null
; then
16399 if test -s conftest.err
; then
16400 ac_cpp_err
=$ac_c_preproc_warn_flag
16401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16408 if test -z "$ac_cpp_err"; then
16409 ac_header_preproc
=yes
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.
$ac_ext >&5
16414 ac_header_preproc
=no
16416 rm -f conftest.err conftest.
$ac_ext
16417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16418 echo "${ECHO_T}$ac_header_preproc" >&6
16420 # So? What about this header?
16421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16427 ac_header_preproc
=yes
16430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16444 ## ------------------------------------------ ##
16445 ## Report this to the AC_PACKAGE_NAME lists. ##
16446 ## ------------------------------------------ ##
16449 sed "s/^/$as_me: WARNING: /" >&2
16452 echo "$as_me:$LINENO: checking for $ac_header" >&5
16453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 eval "$as_ac_Header=\$ac_header_preproc"
16459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16464 cat >>confdefs.h
<<_ACEOF
16465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16467 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16468 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
16469 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16470 echo $ECHO_N "(cached) $ECHO_C" >&6
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16483 static struct nlist ac_aggr;
16484 if (ac_aggr.n_un.n_name)
16490 rm -f conftest.
$ac_objext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16492 (eval $ac_compile) 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_cv_member_struct_nlist_n_un_n_name
=yes
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16527 static struct nlist ac_aggr;
16528 if (sizeof ac_aggr.n_un.n_name)
16534 rm -f conftest.
$ac_objext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 (eval $ac_compile) 2>conftest.er1
16538 grep -v '^ *+' conftest.er1
>conftest.err
16540 cat conftest.err
>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; } &&
16549 { ac_try
='test -s conftest.$ac_objext'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; }; then
16555 ac_cv_member_struct_nlist_n_un_n_name
=yes
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.
$ac_ext >&5
16560 ac_cv_member_struct_nlist_n_un_n_name
=no
16562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16567 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
16568 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16570 cat >>confdefs.h
<<_ACEOF
16571 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
16575 cat >>confdefs.h
<<\_ACEOF
16576 #define NLIST_NAME_UNION 1
16590 # Some definitions of getloadavg require that the program be installed setgid.
16591 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16592 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
16593 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
16603 #ifdef LDAV_PRIVILEGED
16604 Yowza Am I SETGID yet
16607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16608 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
16609 ac_cv_func_getloadavg_setgid
=yes
16611 ac_cv_func_getloadavg_setgid
=no
16616 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16617 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
16618 if test $ac_cv_func_getloadavg_setgid = yes; then
16621 cat >>confdefs.h
<<\_ACEOF
16622 #define GETLOADAVG_PRIVILEGED 1
16629 if test $ac_cv_func_getloadavg_setgid = yes; then
16630 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16631 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
16632 if test "${ac_cv_group_kmem+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
16636 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
16637 # If we got an error (system does not support symlinks), try without -L.
16638 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
16639 ac_cv_group_kmem
=`echo $ac_ls_output \
16640 | sed -ne 's/[ ][ ]*/ /g;
16641 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
16645 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
16646 echo "${ECHO_T}$ac_cv_group_kmem" >&6
16647 KMEM_GROUP
=$ac_cv_group_kmem
16649 if test "x$ac_save_LIBS" = x
; then
16650 GETLOADAVG_LIBS
=$LIBS
16652 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
16658 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16659 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
16660 if test "${ac_cv_sys_largefile_source+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 ac_cv_sys_largefile_source
=no
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16680 rm -f conftest.
$ac_objext
16681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16682 (eval $ac_compile) 2>conftest.er1
16684 grep -v '^ *+' conftest.er1
>conftest.err
16686 cat conftest.err
>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try
='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.
$ac_ext >&5
16707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16708 cat >conftest.
$ac_ext <<_ACEOF
16711 cat confdefs.h
>>conftest.
$ac_ext
16712 cat >>conftest.
$ac_ext <<_ACEOF
16713 /* end confdefs.h. */
16714 #define _LARGEFILE_SOURCE 1
16724 rm -f conftest.
$ac_objext
16725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16726 (eval $ac_compile) 2>conftest.er1
16728 grep -v '^ *+' conftest.er1
>conftest.err
16730 cat conftest.err
>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } &&
16733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; } &&
16739 { ac_try
='test -s conftest.$ac_objext'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16745 ac_cv_sys_largefile_source
=1; break
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16755 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16756 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16757 if test "$ac_cv_sys_largefile_source" != no
; then
16759 cat >>confdefs.h
<<_ACEOF
16760 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16766 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16767 # in glibc 2.1.3, but that breaks too many other things.
16768 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16769 echo "$as_me:$LINENO: checking for fseeko" >&5
16770 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16771 if test "${ac_cv_func_fseeko+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 cat >conftest.
$ac_ext <<_ACEOF
16777 cat confdefs.h
>>conftest.
$ac_ext
16778 cat >>conftest.
$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16784 return fseeko && fseeko (stdin, 0, 0);
16789 rm -f conftest.
$ac_objext conftest
$ac_exeext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16791 (eval $ac_link) 2>conftest.er1
16793 grep -v '^ *+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; } &&
16804 { ac_try
='test -s conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_func_fseeko
=yes
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 ac_cv_func_fseeko
=no
16817 rm -f conftest.err conftest.
$ac_objext \
16818 conftest
$ac_exeext conftest.
$ac_ext
16820 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16821 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16822 if test $ac_cv_func_fseeko = yes; then
16824 cat >>confdefs.h
<<\_ACEOF
16825 #define HAVE_FSEEKO 1
16831 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16832 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16833 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 # Use it with a single arg.
16837 cat >conftest.
$ac_ext <<_ACEOF
16840 cat confdefs.h
>>conftest.
$ac_ext
16841 cat >>conftest.
$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843 $ac_includes_default
16852 rm -f conftest.
$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16856 grep -v '^ *+' conftest.er1
>conftest.err
16858 cat conftest.err
>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try
='test -s conftest.$ac_objext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_cv_func_getpgrp_void
=no
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16878 ac_cv_func_getpgrp_void
=yes
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16883 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16884 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16885 if test $ac_cv_func_getpgrp_void = yes; then
16887 cat >>confdefs.h
<<\_ACEOF
16888 #define GETPGRP_VOID 1
16895 for ac_func
in strftime
16897 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16898 echo "$as_me:$LINENO: checking for $ac_func" >&5
16899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16900 if eval "test \"\${$as_ac_var+set}\" = set"; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 cat >conftest.
$ac_ext <<_ACEOF
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16911 #define $ac_func innocuous_$ac_func
16913 /* System header to define __stub macros and hopefully few prototypes,
16914 which can conflict with char $ac_func (); below.
16915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16916 <limits.h> exists even on freestanding compilers. */
16919 # include <limits.h>
16921 # include <assert.h>
16926 /* Override any gcc2 internal prototype to avoid an error. */
16931 /* We use char because int might match the return type of a gcc2
16932 builtin and then its argument prototype would still apply. */
16934 /* The GNU C library defines this for functions which it implements
16935 to always fail with ENOSYS. Some functions are actually named
16936 something starting with __ and the normal name is an alias. */
16937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16940 char (*f) () = $ac_func;
16949 return f != $ac_func;
16954 rm -f conftest.
$ac_objext conftest
$ac_exeext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16956 (eval $ac_link) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try
='test -s conftest$ac_exeext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 eval "$as_ac_var=yes"
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 eval "$as_ac_var=no"
16982 rm -f conftest.err conftest.
$ac_objext \
16983 conftest
$ac_exeext conftest.
$ac_ext
16985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16987 if test `eval echo '${'$as_ac_var'}'` = yes; then
16988 cat >>confdefs.h
<<_ACEOF
16989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16993 # strftime is in -lintl on SCO UNIX.
16994 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
16995 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
16996 if test "${ac_cv_lib_intl_strftime+set}" = set; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16999 ac_check_lib_save_LIBS
=$LIBS
17000 LIBS
="-lintl $LIBS"
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17008 /* Override any gcc2 internal prototype to avoid an error. */
17012 /* We use char because int might match the return type of a gcc2
17013 builtin and then its argument prototype would still apply. */
17023 rm -f conftest.
$ac_objext conftest
$ac_exeext
17024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17025 (eval $ac_link) 2>conftest.er1
17027 grep -v '^ *+' conftest.er1
>conftest.err
17029 cat conftest.err
>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } &&
17032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try
='test -s conftest$ac_exeext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17044 ac_cv_lib_intl_strftime
=yes
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17049 ac_cv_lib_intl_strftime
=no
17051 rm -f conftest.err conftest.
$ac_objext \
17052 conftest
$ac_exeext conftest.
$ac_ext
17053 LIBS
=$ac_check_lib_save_LIBS
17055 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17056 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
17057 if test $ac_cv_lib_intl_strftime = yes; then
17058 cat >>confdefs.h
<<\_ACEOF
17059 #define HAVE_STRFTIME 1
17062 LIBS
="-lintl $LIBS"
17071 for ac_func
in grantpt
17073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17074 echo "$as_me:$LINENO: checking for $ac_func" >&5
17075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17076 if eval "test \"\${$as_ac_var+set}\" = set"; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 cat >conftest.
$ac_ext <<_ACEOF
17082 cat confdefs.h
>>conftest.
$ac_ext
17083 cat >>conftest.
$ac_ext <<_ACEOF
17084 /* end confdefs.h. */
17085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17087 #define $ac_func innocuous_$ac_func
17089 /* System header to define __stub macros and hopefully few prototypes,
17090 which can conflict with char $ac_func (); below.
17091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17092 <limits.h> exists even on freestanding compilers. */
17095 # include <limits.h>
17097 # include <assert.h>
17102 /* Override any gcc2 internal prototype to avoid an error. */
17107 /* We use char because int might match the return type of a gcc2
17108 builtin and then its argument prototype would still apply. */
17110 /* The GNU C library defines this for functions which it implements
17111 to always fail with ENOSYS. Some functions are actually named
17112 something starting with __ and the normal name is an alias. */
17113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17116 char (*f) () = $ac_func;
17125 return f != $ac_func;
17130 rm -f conftest.
$ac_objext conftest
$ac_exeext
17131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17132 (eval $ac_link) 2>conftest.er1
17134 grep -v '^ *+' conftest.er1
>conftest.err
17136 cat conftest.err
>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); } &&
17139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; } &&
17145 { ac_try
='test -s conftest$ac_exeext'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 eval "$as_ac_var=yes"
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17156 eval "$as_ac_var=no"
17158 rm -f conftest.err conftest.
$ac_objext \
17159 conftest
$ac_exeext conftest.
$ac_ext
17161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17163 if test `eval echo '${'$as_ac_var'}'` = yes; then
17164 cat >>confdefs.h
<<_ACEOF
17165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17172 # PTY-related GNU extensions.
17174 for ac_func
in getpt
17176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17177 echo "$as_me:$LINENO: checking for $ac_func" >&5
17178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17179 if eval "test \"\${$as_ac_var+set}\" = set"; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17190 #define $ac_func innocuous_$ac_func
17192 /* System header to define __stub macros and hopefully few prototypes,
17193 which can conflict with char $ac_func (); below.
17194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17195 <limits.h> exists even on freestanding compilers. */
17198 # include <limits.h>
17200 # include <assert.h>
17205 /* Override any gcc2 internal prototype to avoid an error. */
17210 /* We use char because int might match the return type of a gcc2
17211 builtin and then its argument prototype would still apply. */
17213 /* The GNU C library defines this for functions which it implements
17214 to always fail with ENOSYS. Some functions are actually named
17215 something starting with __ and the normal name is an alias. */
17216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17219 char (*f) () = $ac_func;
17228 return f != $ac_func;
17233 rm -f conftest.
$ac_objext conftest
$ac_exeext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17235 (eval $ac_link) 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
17242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; } &&
17248 { ac_try
='test -s conftest$ac_exeext'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; }; then
17254 eval "$as_ac_var=yes"
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 eval "$as_ac_var=no"
17261 rm -f conftest.err conftest.
$ac_objext \
17262 conftest
$ac_exeext conftest.
$ac_ext
17264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17266 if test `eval echo '${'$as_ac_var'}'` = yes; then
17267 cat >>confdefs.h
<<_ACEOF
17268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17275 # Check this now, so that we will NOT find the above functions in ncurses.
17276 # That is because we have not set up to link ncurses in lib-src.
17277 # It's better to believe a function is not available
17278 # than to expect to find it in ncurses.
17280 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
17281 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
17282 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 ac_check_lib_save_LIBS
=$LIBS
17286 LIBS
="-lncurses $LIBS"
17287 cat >conftest.
$ac_ext <<_ACEOF
17290 cat confdefs.h
>>conftest.
$ac_ext
17291 cat >>conftest.
$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17294 /* Override any gcc2 internal prototype to avoid an error. */
17298 /* We use char because int might match the return type of a gcc2
17299 builtin and then its argument prototype would still apply. */
17309 rm -f conftest.
$ac_objext conftest
$ac_exeext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17311 (eval $ac_link) 2>conftest.er1
17313 grep -v '^ *+' conftest.er1
>conftest.err
17315 cat conftest.err
>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } &&
17318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; } &&
17324 { ac_try
='test -s conftest$ac_exeext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17330 ac_cv_lib_ncurses_tparm
=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 ac_cv_lib_ncurses_tparm
=no
17337 rm -f conftest.err conftest.
$ac_objext \
17338 conftest
$ac_exeext conftest.
$ac_ext
17339 LIBS
=$ac_check_lib_save_LIBS
17341 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
17342 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
17343 if test $ac_cv_lib_ncurses_tparm = yes; then
17344 cat >>confdefs.h
<<_ACEOF
17345 #define HAVE_LIBNCURSES 1
17348 LIBS
="-lncurses $LIBS"
17353 # Do we need the Hesiod library to provide the support routines?
17354 if test "$with_hesiod" = yes ; then
17355 # Don't set $LIBS here -- see comments above.
17357 echo "$as_me:$LINENO: checking for res_send" >&5
17358 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
17359 if test "${ac_cv_func_res_send+set}" = set; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 cat >conftest.
$ac_ext <<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
17369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17370 #define res_send innocuous_res_send
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char res_send (); below.
17374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17375 <limits.h> exists even on freestanding compilers. */
17378 # include <limits.h>
17380 # include <assert.h>
17385 /* Override any gcc2 internal prototype to avoid an error. */
17390 /* We use char because int might match the return type of a gcc2
17391 builtin and then its argument prototype would still apply. */
17393 /* The GNU C library defines this for functions which it implements
17394 to always fail with ENOSYS. Some functions are actually named
17395 something starting with __ and the normal name is an alias. */
17396 #if defined (__stub_res_send) || defined (__stub___res_send)
17399 char (*f) () = res_send;
17408 return f != res_send;
17413 rm -f conftest.
$ac_objext conftest
$ac_exeext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17415 (eval $ac_link) 2>conftest.er1
17417 grep -v '^ *+' conftest.er1
>conftest.err
17419 cat conftest.err
>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try
='test -s conftest$ac_exeext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 ac_cv_func_res_send
=yes
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17439 ac_cv_func_res_send
=no
17441 rm -f conftest.err conftest.
$ac_objext \
17442 conftest
$ac_exeext conftest.
$ac_ext
17444 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
17445 echo "${ECHO_T}$ac_cv_func_res_send" >&6
17446 if test $ac_cv_func_res_send = yes; then
17449 echo "$as_me:$LINENO: checking for __res_send" >&5
17450 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
17451 if test "${ac_cv_func___res_send+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17460 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
17461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17462 #define __res_send innocuous___res_send
17464 /* System header to define __stub macros and hopefully few prototypes,
17465 which can conflict with char __res_send (); below.
17466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17467 <limits.h> exists even on freestanding compilers. */
17470 # include <limits.h>
17472 # include <assert.h>
17477 /* Override any gcc2 internal prototype to avoid an error. */
17482 /* We use char because int might match the return type of a gcc2
17483 builtin and then its argument prototype would still apply. */
17484 char __res_send ();
17485 /* The GNU C library defines this for functions which it implements
17486 to always fail with ENOSYS. Some functions are actually named
17487 something starting with __ and the normal name is an alias. */
17488 #if defined (__stub___res_send) || defined (__stub_____res_send)
17491 char (*f) () = __res_send;
17500 return f != __res_send;
17505 rm -f conftest.
$ac_objext conftest
$ac_exeext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17507 (eval $ac_link) 2>conftest.er1
17509 grep -v '^ *+' conftest.er1
>conftest.err
17511 cat conftest.err
>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; } &&
17520 { ac_try
='test -s conftest$ac_exeext'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; }; then
17526 ac_cv_func___res_send
=yes
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.
$ac_ext >&5
17531 ac_cv_func___res_send
=no
17533 rm -f conftest.err conftest.
$ac_objext \
17534 conftest
$ac_exeext conftest.
$ac_ext
17536 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
17537 echo "${ECHO_T}$ac_cv_func___res_send" >&6
17538 if test $ac_cv_func___res_send = yes; then
17541 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
17542 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
17543 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 ac_check_lib_save_LIBS
=$LIBS
17547 LIBS
="-lresolv $LIBS"
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17555 /* Override any gcc2 internal prototype to avoid an error. */
17559 /* We use char because int might match the return type of a gcc2
17560 builtin and then its argument prototype would still apply. */
17570 rm -f conftest.
$ac_objext conftest
$ac_exeext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572 (eval $ac_link) 2>conftest.er1
17574 grep -v '^ *+' conftest.er1
>conftest.err
17576 cat conftest.err
>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
17579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17581 (eval $ac_try) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; } &&
17585 { ac_try
='test -s conftest$ac_exeext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_lib_resolv_res_send
=yes
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.
$ac_ext >&5
17596 ac_cv_lib_resolv_res_send
=no
17598 rm -f conftest.err conftest.
$ac_objext \
17599 conftest
$ac_exeext conftest.
$ac_ext
17600 LIBS
=$ac_check_lib_save_LIBS
17602 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
17603 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
17604 if test $ac_cv_lib_resolv_res_send = yes; then
17607 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
17608 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
17609 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 ac_check_lib_save_LIBS
=$LIBS
17613 LIBS
="-lresolv $LIBS"
17614 cat >conftest.
$ac_ext <<_ACEOF
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17621 /* Override any gcc2 internal prototype to avoid an error. */
17625 /* We use char because int might match the return type of a gcc2
17626 builtin and then its argument prototype would still apply. */
17627 char __res_send ();
17636 rm -f conftest.
$ac_objext conftest
$ac_exeext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17638 (eval $ac_link) 2>conftest.er1
17640 grep -v '^ *+' conftest.er1
>conftest.err
17642 cat conftest.err
>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } &&
17645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17647 (eval $ac_try) 2>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }; } &&
17651 { ac_try
='test -s conftest$ac_exeext'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; }; then
17657 ac_cv_lib_resolv___res_send
=yes
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17662 ac_cv_lib_resolv___res_send
=no
17664 rm -f conftest.err conftest.
$ac_objext \
17665 conftest
$ac_exeext conftest.
$ac_ext
17666 LIBS
=$ac_check_lib_save_LIBS
17668 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17669 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17670 if test $ac_cv_lib_resolv___res_send = yes; then
17680 if test "$resolv" = yes ; then
17683 cat >>confdefs.h
<<\_ACEOF
17684 #define HAVE_LIBRESOLV 1
17690 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17691 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17692 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 cat >conftest.
$ac_ext <<_ACEOF
17698 cat confdefs.h
>>conftest.
$ac_ext
17699 cat >>conftest.
$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17703 #define hes_getmailhost innocuous_hes_getmailhost
17705 /* System header to define __stub macros and hopefully few prototypes,
17706 which can conflict with char hes_getmailhost (); below.
17707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17708 <limits.h> exists even on freestanding compilers. */
17711 # include <limits.h>
17713 # include <assert.h>
17716 #undef hes_getmailhost
17718 /* Override any gcc2 internal prototype to avoid an error. */
17723 /* We use char because int might match the return type of a gcc2
17724 builtin and then its argument prototype would still apply. */
17725 char hes_getmailhost ();
17726 /* The GNU C library defines this for functions which it implements
17727 to always fail with ENOSYS. Some functions are actually named
17728 something starting with __ and the normal name is an alias. */
17729 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17732 char (*f) () = hes_getmailhost;
17741 return f != hes_getmailhost;
17746 rm -f conftest.
$ac_objext conftest
$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 (eval $ac_link) 2>conftest.er1
17750 grep -v '^ *+' conftest.er1
>conftest.err
17752 cat conftest.err
>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; } &&
17761 { ac_try
='test -s conftest$ac_exeext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767 ac_cv_func_hes_getmailhost
=yes
17769 echo "$as_me: failed program was:" >&5
17770 sed 's/^/| /' conftest.
$ac_ext >&5
17772 ac_cv_func_hes_getmailhost
=no
17774 rm -f conftest.err conftest.
$ac_objext \
17775 conftest
$ac_exeext conftest.
$ac_ext
17777 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17778 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17779 if test $ac_cv_func_hes_getmailhost = yes; then
17782 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17783 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17784 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 ac_check_lib_save_LIBS
=$LIBS
17788 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17796 /* Override any gcc2 internal prototype to avoid an error. */
17800 /* We use char because int might match the return type of a gcc2
17801 builtin and then its argument prototype would still apply. */
17802 char hes_getmailhost ();
17806 hes_getmailhost ();
17811 rm -f conftest.
$ac_objext conftest
$ac_exeext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17813 (eval $ac_link) 2>conftest.er1
17815 grep -v '^ *+' conftest.er1
>conftest.err
17817 cat conftest.err
>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try
='test -s conftest$ac_exeext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17832 ac_cv_lib_hesiod_hes_getmailhost
=yes
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.
$ac_ext >&5
17837 ac_cv_lib_hesiod_hes_getmailhost
=no
17839 rm -f conftest.err conftest.
$ac_objext \
17840 conftest
$ac_exeext conftest.
$ac_ext
17841 LIBS
=$ac_check_lib_save_LIBS
17843 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17844 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17845 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17847 cat >>confdefs.h
<<\_ACEOF
17848 #define HAVE_LIBHESIOD 1
17859 # These tell us which Kerberos-related libraries to use.
17860 if test "${with_kerberos+set}" = set; then
17862 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17863 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17864 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 ac_check_lib_save_LIBS
=$LIBS
17868 LIBS
="-lcom_err $LIBS"
17869 cat >conftest.
$ac_ext <<_ACEOF
17872 cat confdefs.h
>>conftest.
$ac_ext
17873 cat >>conftest.
$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17876 /* Override any gcc2 internal prototype to avoid an error. */
17880 /* We use char because int might match the return type of a gcc2
17881 builtin and then its argument prototype would still apply. */
17891 rm -f conftest.
$ac_objext conftest
$ac_exeext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17893 (eval $ac_link) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try
='test -s conftest$ac_exeext'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; }; then
17912 ac_cv_lib_com_err_com_err
=yes
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.
$ac_ext >&5
17917 ac_cv_lib_com_err_com_err
=no
17919 rm -f conftest.err conftest.
$ac_objext \
17920 conftest
$ac_exeext conftest.
$ac_ext
17921 LIBS
=$ac_check_lib_save_LIBS
17923 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17924 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17925 if test $ac_cv_lib_com_err_com_err = yes; then
17926 cat >>confdefs.h
<<_ACEOF
17927 #define HAVE_LIBCOM_ERR 1
17930 LIBS
="-lcom_err $LIBS"
17935 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17936 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17937 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 ac_check_lib_save_LIBS
=$LIBS
17941 LIBS
="-lk5crypto $LIBS"
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 cat confdefs.h
>>conftest.
$ac_ext
17946 cat >>conftest.
$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17949 /* Override any gcc2 internal prototype to avoid an error. */
17953 /* We use char because int might match the return type of a gcc2
17954 builtin and then its argument prototype would still apply. */
17955 char mit_des_cbc_encrypt ();
17959 mit_des_cbc_encrypt ();
17964 rm -f conftest.
$ac_objext conftest
$ac_exeext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17966 (eval $ac_link) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest$ac_exeext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
17992 rm -f conftest.err conftest.
$ac_objext \
17993 conftest
$ac_exeext conftest.
$ac_ext
17994 LIBS
=$ac_check_lib_save_LIBS
17996 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
17997 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
17998 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
17999 cat >>confdefs.h
<<_ACEOF
18000 #define HAVE_LIBK5CRYPTO 1
18003 LIBS
="-lk5crypto $LIBS"
18008 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
18009 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
18010 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 ac_check_lib_save_LIBS
=$LIBS
18014 LIBS
="-lcrypto $LIBS"
18015 cat >conftest.
$ac_ext <<_ACEOF
18018 cat confdefs.h
>>conftest.
$ac_ext
18019 cat >>conftest.
$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18022 /* Override any gcc2 internal prototype to avoid an error. */
18026 /* We use char because int might match the return type of a gcc2
18027 builtin and then its argument prototype would still apply. */
18028 char mit_des_cbc_encrypt ();
18032 mit_des_cbc_encrypt ();
18037 rm -f conftest.
$ac_objext conftest
$ac_exeext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18039 (eval $ac_link) 2>conftest.er1
18041 grep -v '^ *+' conftest.er1
>conftest.err
18043 cat conftest.err
>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try
='test -s conftest$ac_exeext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.
$ac_ext >&5
18063 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
18065 rm -f conftest.err conftest.
$ac_objext \
18066 conftest
$ac_exeext conftest.
$ac_ext
18067 LIBS
=$ac_check_lib_save_LIBS
18069 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
18070 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
18071 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
18072 cat >>confdefs.h
<<_ACEOF
18073 #define HAVE_LIBCRYPTO 1
18076 LIBS
="-lcrypto $LIBS"
18081 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
18082 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
18083 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 ac_check_lib_save_LIBS
=$LIBS
18087 LIBS
="-lkrb5 $LIBS"
18088 cat >conftest.
$ac_ext <<_ACEOF
18091 cat confdefs.h
>>conftest.
$ac_ext
18092 cat >>conftest.
$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18095 /* Override any gcc2 internal prototype to avoid an error. */
18099 /* We use char because int might match the return type of a gcc2
18100 builtin and then its argument prototype would still apply. */
18101 char krb5_init_context ();
18105 krb5_init_context ();
18110 rm -f conftest.
$ac_objext conftest
$ac_exeext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18112 (eval $ac_link) 2>conftest.er1
18114 grep -v '^ *+' conftest.er1
>conftest.err
18116 cat conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try
='test -s conftest$ac_exeext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 ac_cv_lib_krb5_krb5_init_context
=yes
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.
$ac_ext >&5
18136 ac_cv_lib_krb5_krb5_init_context
=no
18138 rm -f conftest.err conftest.
$ac_objext \
18139 conftest
$ac_exeext conftest.
$ac_ext
18140 LIBS
=$ac_check_lib_save_LIBS
18142 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18143 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
18144 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18145 cat >>confdefs.h
<<_ACEOF
18146 #define HAVE_LIBKRB5 1
18149 LIBS
="-lkrb5 $LIBS"
18153 if test "${with_kerberos5+set}" != set; then
18155 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
18156 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
18157 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 ac_check_lib_save_LIBS
=$LIBS
18161 LIBS
="-ldes425 $LIBS"
18162 cat >conftest.
$ac_ext <<_ACEOF
18165 cat confdefs.h
>>conftest.
$ac_ext
18166 cat >>conftest.
$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18169 /* Override any gcc2 internal prototype to avoid an error. */
18173 /* We use char because int might match the return type of a gcc2
18174 builtin and then its argument prototype would still apply. */
18175 char des_cbc_encrypt ();
18179 des_cbc_encrypt ();
18184 rm -f conftest.
$ac_objext conftest
$ac_exeext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18186 (eval $ac_link) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try
='test -s conftest$ac_exeext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 ac_cv_lib_des425_des_cbc_encrypt
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 ac_cv_lib_des425_des_cbc_encrypt
=no
18212 rm -f conftest.err conftest.
$ac_objext \
18213 conftest
$ac_exeext conftest.
$ac_ext
18214 LIBS
=$ac_check_lib_save_LIBS
18216 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
18217 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
18218 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
18219 cat >>confdefs.h
<<_ACEOF
18220 #define HAVE_LIBDES425 1
18223 LIBS
="-ldes425 $LIBS"
18227 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
18228 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
18229 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 ac_check_lib_save_LIBS
=$LIBS
18234 cat >conftest.
$ac_ext <<_ACEOF
18237 cat confdefs.h
>>conftest.
$ac_ext
18238 cat >>conftest.
$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18241 /* Override any gcc2 internal prototype to avoid an error. */
18245 /* We use char because int might match the return type of a gcc2
18246 builtin and then its argument prototype would still apply. */
18247 char des_cbc_encrypt ();
18251 des_cbc_encrypt ();
18256 rm -f conftest.
$ac_objext conftest
$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258 (eval $ac_link) 2>conftest.er1
18260 grep -v '^ *+' conftest.er1
>conftest.err
18262 cat conftest.err
>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; } &&
18271 { ac_try
='test -s conftest$ac_exeext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18277 ac_cv_lib_des_des_cbc_encrypt
=yes
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 ac_cv_lib_des_des_cbc_encrypt
=no
18284 rm -f conftest.err conftest.
$ac_objext \
18285 conftest
$ac_exeext conftest.
$ac_ext
18286 LIBS
=$ac_check_lib_save_LIBS
18288 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
18289 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
18290 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
18291 cat >>confdefs.h
<<_ACEOF
18292 #define HAVE_LIBDES 1
18302 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
18303 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
18304 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_check_lib_save_LIBS
=$LIBS
18308 LIBS
="-lkrb4 $LIBS"
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18316 /* Override any gcc2 internal prototype to avoid an error. */
18320 /* We use char because int might match the return type of a gcc2
18321 builtin and then its argument prototype would still apply. */
18322 char krb_get_cred ();
18331 rm -f conftest.
$ac_objext conftest
$ac_exeext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18333 (eval $ac_link) 2>conftest.er1
18335 grep -v '^ *+' conftest.er1
>conftest.err
18337 cat conftest.err
>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; } &&
18346 { ac_try
='test -s conftest$ac_exeext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 ac_cv_lib_krb4_krb_get_cred
=yes
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 ac_cv_lib_krb4_krb_get_cred
=no
18359 rm -f conftest.err conftest.
$ac_objext \
18360 conftest
$ac_exeext conftest.
$ac_ext
18361 LIBS
=$ac_check_lib_save_LIBS
18363 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
18364 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
18365 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
18366 cat >>confdefs.h
<<_ACEOF
18367 #define HAVE_LIBKRB4 1
18370 LIBS
="-lkrb4 $LIBS"
18374 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
18375 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
18376 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 ac_check_lib_save_LIBS
=$LIBS
18381 cat >conftest.
$ac_ext <<_ACEOF
18384 cat confdefs.h
>>conftest.
$ac_ext
18385 cat >>conftest.
$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18388 /* Override any gcc2 internal prototype to avoid an error. */
18392 /* We use char because int might match the return type of a gcc2
18393 builtin and then its argument prototype would still apply. */
18394 char krb_get_cred ();
18403 rm -f conftest.
$ac_objext conftest
$ac_exeext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18405 (eval $ac_link) 2>conftest.er1
18407 grep -v '^ *+' conftest.er1
>conftest.err
18409 cat conftest.err
>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } &&
18412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try
='test -s conftest$ac_exeext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_lib_krb_krb_get_cred
=yes
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 ac_cv_lib_krb_krb_get_cred
=no
18431 rm -f conftest.err conftest.
$ac_objext \
18432 conftest
$ac_exeext conftest.
$ac_ext
18433 LIBS
=$ac_check_lib_save_LIBS
18435 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
18436 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
18437 if test $ac_cv_lib_krb_krb_get_cred = yes; then
18438 cat >>confdefs.h
<<_ACEOF
18439 #define HAVE_LIBKRB 1
18450 if test "${with_kerberos5+set}" = set; then
18452 for ac_header
in krb5.h
18454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18456 echo "$as_me:$LINENO: checking for $ac_header" >&5
18457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18464 # Is the header compilable?
18465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 $ac_includes_default
18474 #include <$ac_header>
18476 rm -f conftest.
$ac_objext
18477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18478 (eval $ac_compile) 2>conftest.er1
18480 grep -v '^ *+' conftest.er1
>conftest.err
18482 cat conftest.err
>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } &&
18485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; } &&
18491 { ac_try
='test -s conftest.$ac_objext'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; }; then
18497 ac_header_compiler
=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18502 ac_header_compiler
=no
18504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18506 echo "${ECHO_T}$ac_header_compiler" >&6
18508 # Is the header present?
18509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 #include <$ac_header>
18519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1
>conftest.err
18524 cat conftest.err
>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } >/dev
/null
; then
18527 if test -s conftest.err
; then
18528 ac_cpp_err
=$ac_c_preproc_warn_flag
18529 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18536 if test -z "$ac_cpp_err"; then
18537 ac_header_preproc
=yes
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.
$ac_ext >&5
18542 ac_header_preproc
=no
18544 rm -f conftest.err conftest.
$ac_ext
18545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18546 echo "${ECHO_T}$ac_header_preproc" >&6
18548 # So? What about this header?
18549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18555 ac_header_preproc
=yes
18558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18572 ## ------------------------------------------ ##
18573 ## Report this to the AC_PACKAGE_NAME lists. ##
18574 ## ------------------------------------------ ##
18577 sed "s/^/$as_me: WARNING: /" >&2
18580 echo "$as_me:$LINENO: checking for $ac_header" >&5
18581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 eval "$as_ac_Header=\$ac_header_preproc"
18587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18592 cat >>confdefs.h
<<_ACEOF
18593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18602 for ac_header
in des.h
18604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18606 echo "$as_me:$LINENO: checking for $ac_header" >&5
18607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18614 # Is the header compilable?
18615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 $ac_includes_default
18624 #include <$ac_header>
18626 rm -f conftest.
$ac_objext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18628 (eval $ac_compile) 2>conftest.er1
18630 grep -v '^ *+' conftest.er1
>conftest.err
18632 cat conftest.err
>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; } &&
18641 { ac_try
='test -s conftest.$ac_objext'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; }; then
18647 ac_header_compiler
=yes
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.
$ac_ext >&5
18652 ac_header_compiler
=no
18654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18656 echo "${ECHO_T}$ac_header_compiler" >&6
18658 # Is the header present?
18659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <$ac_header>
18669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18672 grep -v '^ *+' conftest.er1
>conftest.err
18674 cat conftest.err
>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } >/dev
/null
; then
18677 if test -s conftest.err
; then
18678 ac_cpp_err
=$ac_c_preproc_warn_flag
18679 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18686 if test -z "$ac_cpp_err"; then
18687 ac_header_preproc
=yes
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18692 ac_header_preproc
=no
18694 rm -f conftest.err conftest.
$ac_ext
18695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18696 echo "${ECHO_T}$ac_header_preproc" >&6
18698 # So? What about this header?
18699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18705 ac_header_preproc
=yes
18708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18722 ## ------------------------------------------ ##
18723 ## Report this to the AC_PACKAGE_NAME lists. ##
18724 ## ------------------------------------------ ##
18727 sed "s/^/$as_me: WARNING: /" >&2
18730 echo "$as_me:$LINENO: checking for $ac_header" >&5
18731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18733 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 eval "$as_ac_Header=\$ac_header_preproc"
18737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18742 cat >>confdefs.h
<<_ACEOF
18743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18748 for ac_header
in kerberosIV
/des.h
18750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18752 echo "$as_me:$LINENO: checking for $ac_header" >&5
18753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18760 # Is the header compilable?
18761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18770 #include <$ac_header>
18772 rm -f conftest.
$ac_objext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18774 (eval $ac_compile) 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); } &&
18781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } &&
18787 { ac_try
='test -s conftest.$ac_objext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18793 ac_header_compiler
=yes
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.
$ac_ext >&5
18798 ac_header_compiler
=no
18800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18802 echo "${ECHO_T}$ac_header_compiler" >&6
18804 # Is the header present?
18805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18807 cat >conftest.
$ac_ext <<_ACEOF
18810 cat confdefs.h
>>conftest.
$ac_ext
18811 cat >>conftest.
$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18813 #include <$ac_header>
18815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1
>conftest.err
18820 cat conftest.err
>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } >/dev
/null
; then
18823 if test -s conftest.err
; then
18824 ac_cpp_err
=$ac_c_preproc_warn_flag
18825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18832 if test -z "$ac_cpp_err"; then
18833 ac_header_preproc
=yes
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.
$ac_ext >&5
18838 ac_header_preproc
=no
18840 rm -f conftest.err conftest.
$ac_ext
18841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18842 echo "${ECHO_T}$ac_header_preproc" >&6
18844 # So? What about this header?
18845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18851 ac_header_preproc
=yes
18854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18868 ## ------------------------------------------ ##
18869 ## Report this to the AC_PACKAGE_NAME lists. ##
18870 ## ------------------------------------------ ##
18873 sed "s/^/$as_me: WARNING: /" >&2
18876 echo "$as_me:$LINENO: checking for $ac_header" >&5
18877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 eval "$as_ac_Header=\$ac_header_preproc"
18883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18888 cat >>confdefs.h
<<_ACEOF
18889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18894 for ac_header
in kerberos
/des.h
18896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18898 echo "$as_me:$LINENO: checking for $ac_header" >&5
18899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18906 # Is the header compilable?
18907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18916 #include <$ac_header>
18918 rm -f conftest.
$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18922 grep -v '^ *+' conftest.er1
>conftest.err
18924 cat conftest.err
>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; } &&
18933 { ac_try
='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18939 ac_header_compiler
=yes
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.
$ac_ext >&5
18944 ac_header_compiler
=no
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18948 echo "${ECHO_T}$ac_header_compiler" >&6
18950 # Is the header present?
18951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18953 cat >conftest.
$ac_ext <<_ACEOF
18956 cat confdefs.h
>>conftest.
$ac_ext
18957 cat >>conftest.
$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <$ac_header>
18961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18964 grep -v '^ *+' conftest.er1
>conftest.err
18966 cat conftest.err
>&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } >/dev
/null
; then
18969 if test -s conftest.err
; then
18970 ac_cpp_err
=$ac_c_preproc_warn_flag
18971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18978 if test -z "$ac_cpp_err"; then
18979 ac_header_preproc
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 ac_header_preproc
=no
18986 rm -f conftest.err conftest.
$ac_ext
18987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18988 echo "${ECHO_T}$ac_header_preproc" >&6
18990 # So? What about this header?
18991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18997 ac_header_preproc
=yes
19000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19014 ## ------------------------------------------ ##
19015 ## Report this to the AC_PACKAGE_NAME lists. ##
19016 ## ------------------------------------------ ##
19019 sed "s/^/$as_me: WARNING: /" >&2
19022 echo "$as_me:$LINENO: checking for $ac_header" >&5
19023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19025 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 eval "$as_ac_Header=\$ac_header_preproc"
19029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19034 cat >>confdefs.h
<<_ACEOF
19035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19051 for ac_header
in krb.h
19053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19055 echo "$as_me:$LINENO: checking for $ac_header" >&5
19056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19063 # Is the header compilable?
19064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19066 cat >conftest.
$ac_ext <<_ACEOF
19069 cat confdefs.h
>>conftest.
$ac_ext
19070 cat >>conftest.
$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 $ac_includes_default
19073 #include <$ac_header>
19075 rm -f conftest.
$ac_objext
19076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19077 (eval $ac_compile) 2>conftest.er1
19079 grep -v '^ *+' conftest.er1
>conftest.err
19081 cat conftest.err
>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; } &&
19090 { ac_try
='test -s conftest.$ac_objext'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
19096 ac_header_compiler
=yes
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 ac_header_compiler
=no
19103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19105 echo "${ECHO_T}$ac_header_compiler" >&6
19107 # Is the header present?
19108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19110 cat >conftest.
$ac_ext <<_ACEOF
19113 cat confdefs.h
>>conftest.
$ac_ext
19114 cat >>conftest.
$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 #include <$ac_header>
19118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } >/dev
/null
; then
19126 if test -s conftest.err
; then
19127 ac_cpp_err
=$ac_c_preproc_warn_flag
19128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19135 if test -z "$ac_cpp_err"; then
19136 ac_header_preproc
=yes
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.
$ac_ext >&5
19141 ac_header_preproc
=no
19143 rm -f conftest.err conftest.
$ac_ext
19144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19145 echo "${ECHO_T}$ac_header_preproc" >&6
19147 # So? What about this header?
19148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19154 ac_header_preproc
=yes
19157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19171 ## ------------------------------------------ ##
19172 ## Report this to the AC_PACKAGE_NAME lists. ##
19173 ## ------------------------------------------ ##
19176 sed "s/^/$as_me: WARNING: /" >&2
19179 echo "$as_me:$LINENO: checking for $ac_header" >&5
19180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19184 eval "$as_ac_Header=\$ac_header_preproc"
19186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19191 cat >>confdefs.h
<<_ACEOF
19192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19197 for ac_header
in kerberosIV
/krb.h
19199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19201 echo "$as_me:$LINENO: checking for $ac_header" >&5
19202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19209 # Is the header compilable?
19210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 $ac_includes_default
19219 #include <$ac_header>
19221 rm -f conftest.
$ac_objext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19223 (eval $ac_compile) 2>conftest.er1
19225 grep -v '^ *+' conftest.er1
>conftest.err
19227 cat conftest.err
>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } &&
19230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try
='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 ac_header_compiler
=yes
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.
$ac_ext >&5
19247 ac_header_compiler
=no
19249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19251 echo "${ECHO_T}$ac_header_compiler" >&6
19253 # Is the header present?
19254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19256 cat >conftest.
$ac_ext <<_ACEOF
19259 cat confdefs.h
>>conftest.
$ac_ext
19260 cat >>conftest.
$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 #include <$ac_header>
19264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19267 grep -v '^ *+' conftest.er1
>conftest.err
19269 cat conftest.err
>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } >/dev
/null
; then
19272 if test -s conftest.err
; then
19273 ac_cpp_err
=$ac_c_preproc_warn_flag
19274 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19281 if test -z "$ac_cpp_err"; then
19282 ac_header_preproc
=yes
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.
$ac_ext >&5
19287 ac_header_preproc
=no
19289 rm -f conftest.err conftest.
$ac_ext
19290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19291 echo "${ECHO_T}$ac_header_preproc" >&6
19293 # So? What about this header?
19294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19296 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19300 ac_header_preproc
=yes
19303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19307 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19309 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19310 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19313 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19317 ## ------------------------------------------ ##
19318 ## Report this to the AC_PACKAGE_NAME lists. ##
19319 ## ------------------------------------------ ##
19322 sed "s/^/$as_me: WARNING: /" >&2
19325 echo "$as_me:$LINENO: checking for $ac_header" >&5
19326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19330 eval "$as_ac_Header=\$ac_header_preproc"
19332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19337 cat >>confdefs.h
<<_ACEOF
19338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19343 for ac_header
in kerberos
/krb.h
19345 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19347 echo "$as_me:$LINENO: checking for $ac_header" >&5
19348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19350 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19355 # Is the header compilable?
19356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19358 cat >conftest.
$ac_ext <<_ACEOF
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 #include <$ac_header>
19367 rm -f conftest.
$ac_objext
19368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19369 (eval $ac_compile) 2>conftest.er1
19371 grep -v '^ *+' conftest.er1
>conftest.err
19373 cat conftest.err
>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; } &&
19382 { ac_try
='test -s conftest.$ac_objext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_header_compiler
=yes
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.
$ac_ext >&5
19393 ac_header_compiler
=no
19395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19397 echo "${ECHO_T}$ac_header_compiler" >&6
19399 # Is the header present?
19400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <$ac_header>
19410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19413 grep -v '^ *+' conftest.er1
>conftest.err
19415 cat conftest.err
>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } >/dev
/null
; then
19418 if test -s conftest.err
; then
19419 ac_cpp_err
=$ac_c_preproc_warn_flag
19420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19427 if test -z "$ac_cpp_err"; then
19428 ac_header_preproc
=yes
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.
$ac_ext >&5
19433 ac_header_preproc
=no
19435 rm -f conftest.err conftest.
$ac_ext
19436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19437 echo "${ECHO_T}$ac_header_preproc" >&6
19439 # So? What about this header?
19440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19446 ac_header_preproc
=yes
19449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19463 ## ------------------------------------------ ##
19464 ## Report this to the AC_PACKAGE_NAME lists. ##
19465 ## ------------------------------------------ ##
19468 sed "s/^/$as_me: WARNING: /" >&2
19471 echo "$as_me:$LINENO: checking for $ac_header" >&5
19472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 eval "$as_ac_Header=\$ac_header_preproc"
19478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19483 cat >>confdefs.h
<<_ACEOF
19484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19501 for ac_header
in com_err.h
19503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19505 echo "$as_me:$LINENO: checking for $ac_header" >&5
19506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19513 # Is the header compilable?
19514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 $ac_includes_default
19523 #include <$ac_header>
19525 rm -f conftest.
$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19529 grep -v '^ *+' conftest.er1
>conftest.err
19531 cat conftest.err
>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; } &&
19540 { ac_try
='test -s conftest.$ac_objext'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19546 ac_header_compiler
=yes
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.
$ac_ext >&5
19551 ac_header_compiler
=no
19553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19555 echo "${ECHO_T}$ac_header_compiler" >&6
19557 # Is the header present?
19558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19560 cat >conftest.
$ac_ext <<_ACEOF
19563 cat confdefs.h
>>conftest.
$ac_ext
19564 cat >>conftest.
$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 #include <$ac_header>
19568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19569 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
19576 if test -s conftest.err
; then
19577 ac_cpp_err
=$ac_c_preproc_warn_flag
19578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19585 if test -z "$ac_cpp_err"; then
19586 ac_header_preproc
=yes
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.
$ac_ext >&5
19591 ac_header_preproc
=no
19593 rm -f conftest.err conftest.
$ac_ext
19594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19595 echo "${ECHO_T}$ac_header_preproc" >&6
19597 # So? What about this header?
19598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19604 ac_header_preproc
=yes
19607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19621 ## ------------------------------------------ ##
19622 ## Report this to the AC_PACKAGE_NAME lists. ##
19623 ## ------------------------------------------ ##
19626 sed "s/^/$as_me: WARNING: /" >&2
19629 echo "$as_me:$LINENO: checking for $ac_header" >&5
19630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19634 eval "$as_ac_Header=\$ac_header_preproc"
19636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19641 cat >>confdefs.h
<<_ACEOF
19642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19651 # Solaris requires -lintl if you want strerror (which calls dgettext)
19652 # to return localized messages.
19654 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19655 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19656 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19657 echo $ECHO_N "(cached) $ECHO_C" >&6
19659 ac_check_lib_save_LIBS
=$LIBS
19660 LIBS
="-lintl $LIBS"
19661 cat >conftest.
$ac_ext <<_ACEOF
19664 cat confdefs.h
>>conftest.
$ac_ext
19665 cat >>conftest.
$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19668 /* Override any gcc2 internal prototype to avoid an error. */
19672 /* We use char because int might match the return type of a gcc2
19673 builtin and then its argument prototype would still apply. */
19683 rm -f conftest.
$ac_objext conftest
$ac_exeext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19685 (eval $ac_link) 2>conftest.er1
19687 grep -v '^ *+' conftest.er1
>conftest.err
19689 cat conftest.err
>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); } &&
19692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; } &&
19698 { ac_try
='test -s conftest$ac_exeext'
19699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19700 (eval $ac_try) 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; }; then
19704 ac_cv_lib_intl_dgettext
=yes
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.
$ac_ext >&5
19709 ac_cv_lib_intl_dgettext
=no
19711 rm -f conftest.err conftest.
$ac_objext \
19712 conftest
$ac_exeext conftest.
$ac_ext
19713 LIBS
=$ac_check_lib_save_LIBS
19715 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19716 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19717 if test $ac_cv_lib_intl_dgettext = yes; then
19718 cat >>confdefs.h
<<_ACEOF
19719 #define HAVE_LIBINTL 1
19722 LIBS
="-lintl $LIBS"
19727 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19728 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19729 if test "${emacs_cv_localtime_cache+set}" = set; then
19730 echo $ECHO_N "(cached) $ECHO_C" >&6
19732 if test x
$ac_cv_func_tzset = xyes
; then
19733 if test "$cross_compiling" = yes; then
19734 # If we have tzset, assume the worst when cross-compiling.
19735 emacs_cv_localtime_cache
=yes
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19744 extern char **environ;
19748 for (to = from = environ; (*to = *from); from++)
19749 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19752 char TZ_GMT0[] = "TZ=GMT0";
19753 char TZ_PST8[] = "TZ=PST8";
19756 time_t now = time ((time_t *) 0);
19757 int hour_GMT0, hour_unset;
19758 if (putenv (TZ_GMT0) != 0)
19760 hour_GMT0 = localtime (&now)->tm_hour;
19762 hour_unset = localtime (&now)->tm_hour;
19763 if (putenv (TZ_PST8) != 0)
19765 if (localtime (&now)->tm_hour == hour_GMT0)
19768 if (localtime (&now)->tm_hour != hour_unset)
19773 rm -f conftest
$ac_exeext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19775 (eval $ac_link) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
19784 emacs_cv_localtime_cache
=no
19786 echo "$as_me: program exited with status $ac_status" >&5
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ( exit $ac_status )
19791 emacs_cv_localtime_cache
=yes
19793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19796 # If we lack tzset, report that localtime does not cache TZ,
19797 # since we can't invalidate the cache if we don't have tzset.
19798 emacs_cv_localtime_cache
=no
19801 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19802 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19803 if test $emacs_cv_localtime_cache = yes; then
19805 cat >>confdefs.h
<<\_ACEOF
19806 #define LOCALTIME_CACHE 1
19811 if test "x$HAVE_TIMEVAL" = xyes
; then
19813 for ac_func
in gettimeofday
19815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816 echo "$as_me:$LINENO: checking for $ac_func" >&5
19817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_var+set}\" = set"; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 cat >conftest.
$ac_ext <<_ACEOF
19824 cat confdefs.h
>>conftest.
$ac_ext
19825 cat >>conftest.
$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19829 #define $ac_func innocuous_$ac_func
19831 /* System header to define __stub macros and hopefully few prototypes,
19832 which can conflict with char $ac_func (); below.
19833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19834 <limits.h> exists even on freestanding compilers. */
19837 # include <limits.h>
19839 # include <assert.h>
19844 /* Override any gcc2 internal prototype to avoid an error. */
19849 /* We use char because int might match the return type of a gcc2
19850 builtin and then its argument prototype would still apply. */
19852 /* The GNU C library defines this for functions which it implements
19853 to always fail with ENOSYS. Some functions are actually named
19854 something starting with __ and the normal name is an alias. */
19855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19858 char (*f) () = $ac_func;
19867 return f != $ac_func;
19872 rm -f conftest.
$ac_objext conftest
$ac_exeext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19874 (eval $ac_link) 2>conftest.er1
19876 grep -v '^ *+' conftest.er1
>conftest.err
19878 cat conftest.err
>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try
='test -s conftest$ac_exeext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 eval "$as_ac_var=yes"
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19898 eval "$as_ac_var=no"
19900 rm -f conftest.err conftest.
$ac_objext \
19901 conftest
$ac_exeext conftest.
$ac_ext
19903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19905 if test `eval echo '${'$as_ac_var'}'` = yes; then
19906 cat >>confdefs.h
<<_ACEOF
19907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19913 if test $ac_cv_func_gettimeofday = yes; then
19914 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19915 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19916 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 cat >conftest.
$ac_ext <<_ACEOF
19922 cat confdefs.h
>>conftest.
$ac_ext
19923 cat >>conftest.
$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19926 #ifdef TIME_WITH_SYS_TIME
19927 #include <sys/time.h>
19930 #ifdef HAVE_SYS_TIME_H
19931 #include <sys/time.h>
19939 struct timeval time;
19940 gettimeofday (&time, 0);
19945 rm -f conftest.
$ac_objext
19946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19947 (eval $ac_compile) 2>conftest.er1
19949 grep -v '^ *+' conftest.er1
>conftest.err
19951 cat conftest.err
>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } &&
19954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; } &&
19960 { ac_try
='test -s conftest.$ac_objext'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; }; then
19966 emacs_cv_gettimeofday_two_arguments
=yes
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.
$ac_ext >&5
19971 emacs_cv_gettimeofday_two_arguments
=no
19973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19975 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19976 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19977 if test $emacs_cv_gettimeofday_two_arguments = no
; then
19979 cat >>confdefs.h
<<\_ACEOF
19980 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19987 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
19988 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
19989 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
19990 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 #include <sys/types.h>
20000 #include <$ac_cv_struct_tm>
20006 static struct tm ac_aggr;
20007 if (ac_aggr.tm_zone)
20013 rm -f conftest.
$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1
>conftest.err
20019 cat conftest.err
>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try
='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_cv_member_struct_tm_tm_zone
=yes
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.
$ac_ext >&5
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 #include <sys/types.h>
20046 #include <$ac_cv_struct_tm>
20052 static struct tm ac_aggr;
20053 if (sizeof ac_aggr.tm_zone)
20059 rm -f conftest.
$ac_objext
20060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20061 (eval $ac_compile) 2>conftest.er1
20063 grep -v '^ *+' conftest.er1
>conftest.err
20065 cat conftest.err
>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); } &&
20068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; } &&
20074 { ac_try
='test -s conftest.$ac_objext'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; }; then
20080 ac_cv_member_struct_tm_tm_zone
=yes
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.
$ac_ext >&5
20085 ac_cv_member_struct_tm_tm_zone
=no
20087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20091 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20092 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
20093 if test $ac_cv_member_struct_tm_tm_zone = yes; then
20095 cat >>confdefs.h
<<_ACEOF
20096 #define HAVE_STRUCT_TM_TM_ZONE 1
20102 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
20104 cat >>confdefs.h
<<\_ACEOF
20105 #define HAVE_TM_ZONE 1
20109 echo "$as_me:$LINENO: checking for tzname" >&5
20110 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
20111 if test "${ac_cv_var_tzname+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20121 #ifndef tzname /* For SGI. */
20122 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
20133 rm -f conftest.
$ac_objext conftest
$ac_exeext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20135 (eval $ac_link) 2>conftest.er1
20137 grep -v '^ *+' conftest.er1
>conftest.err
20139 cat conftest.err
>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; } &&
20148 { ac_try
='test -s conftest$ac_exeext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_var_tzname
=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 ac_cv_var_tzname
=no
20161 rm -f conftest.err conftest.
$ac_objext \
20162 conftest
$ac_exeext conftest.
$ac_ext
20164 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
20165 echo "${ECHO_T}$ac_cv_var_tzname" >&6
20166 if test $ac_cv_var_tzname = yes; then
20168 cat >>confdefs.h
<<\_ACEOF
20169 #define HAVE_TZNAME 1
20176 if test "$ac_cv_func_gettimeofday" = yes; then
20177 echo "$as_me:$LINENO: checking for struct timezone" >&5
20178 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20179 if test "${emacs_cv_struct_timezone+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 cat >conftest.
$ac_ext <<_ACEOF
20185 cat confdefs.h
>>conftest.
$ac_ext
20186 cat >>conftest.
$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 #include <sys/time.h>
20192 struct timezone tz;
20197 rm -f conftest.
$ac_objext
20198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20199 (eval $ac_compile) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; } &&
20212 { ac_try
='test -s conftest.$ac_objext'
20213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20214 (eval $ac_try) 2>&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); }; }; then
20218 if test "$cross_compiling" = yes; then
20219 emacs_cv_struct_timezone
=yes
20221 cat >conftest.
$ac_ext <<_ACEOF
20224 cat confdefs.h
>>conftest.
$ac_ext
20225 cat >>conftest.
$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20228 #ifdef TIME_WITH_SYS_TIME
20229 #include <sys/time.h>
20232 #ifdef HAVE_SYS_TIME_H
20233 #include <sys/time.h>
20239 struct timeval time;
20240 struct timezone dummy;
20241 exit (gettimeofday (&time, &dummy));
20244 rm -f conftest
$ac_exeext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20246 (eval $ac_link) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 emacs_cv_struct_timezone
=yes
20257 echo "$as_me: program exited with status $ac_status" >&5
20258 echo "$as_me: failed program was:" >&5
20259 sed 's/^/| /' conftest.
$ac_ext >&5
20261 ( exit $ac_status )
20262 emacs_cv_struct_timezone
=no
20264 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 emacs_cv_struct_timezone
=no
20272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20274 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
20275 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
20279 echo "$as_me:$LINENO: checking for socket" >&5
20280 echo $ECHO_N "checking for socket... $ECHO_C" >&6
20281 if test "${ac_cv_func_socket+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 cat >conftest.
$ac_ext <<_ACEOF
20287 cat confdefs.h
>>conftest.
$ac_ext
20288 cat >>conftest.
$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
20291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20292 #define socket innocuous_socket
20294 /* System header to define __stub macros and hopefully few prototypes,
20295 which can conflict with char socket (); below.
20296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20297 <limits.h> exists even on freestanding compilers. */
20300 # include <limits.h>
20302 # include <assert.h>
20307 /* Override any gcc2 internal prototype to avoid an error. */
20312 /* We use char because int might match the return type of a gcc2
20313 builtin and then its argument prototype would still apply. */
20315 /* The GNU C library defines this for functions which it implements
20316 to always fail with ENOSYS. Some functions are actually named
20317 something starting with __ and the normal name is an alias. */
20318 #if defined (__stub_socket) || defined (__stub___socket)
20321 char (*f) () = socket;
20330 return f != socket;
20335 rm -f conftest.
$ac_objext conftest
$ac_exeext
20336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20337 (eval $ac_link) 2>conftest.er1
20339 grep -v '^ *+' conftest.er1
>conftest.err
20341 cat conftest.err
>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try
='test -s conftest$ac_exeext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_func_socket
=yes
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.
$ac_ext >&5
20361 ac_cv_func_socket
=no
20363 rm -f conftest.err conftest.
$ac_objext \
20364 conftest
$ac_exeext conftest.
$ac_ext
20366 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
20367 echo "${ECHO_T}$ac_cv_func_socket" >&6
20368 if test $ac_cv_func_socket = yes; then
20374 if test $ok_so_far = yes; then
20375 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20376 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20377 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20378 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20382 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20384 # Is the header compilable?
20385 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
20386 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
20387 cat >conftest.
$ac_ext <<_ACEOF
20390 cat confdefs.h
>>conftest.
$ac_ext
20391 cat >>conftest.
$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 #include <netinet/in.h>
20396 rm -f conftest.
$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>conftest.er1
20400 grep -v '^ *+' conftest.er1
>conftest.err
20402 cat conftest.err
>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try
='test -s conftest.$ac_objext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_header_compiler
=yes
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.
$ac_ext >&5
20422 ac_header_compiler
=no
20424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20426 echo "${ECHO_T}$ac_header_compiler" >&6
20428 # Is the header present?
20429 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
20430 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
20431 cat >conftest.
$ac_ext <<_ACEOF
20434 cat confdefs.h
>>conftest.
$ac_ext
20435 cat >>conftest.
$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 #include <netinet/in.h>
20439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } >/dev
/null
; then
20447 if test -s conftest.err
; then
20448 ac_cpp_err
=$ac_c_preproc_warn_flag
20449 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20456 if test -z "$ac_cpp_err"; then
20457 ac_header_preproc
=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_header_preproc
=no
20464 rm -f conftest.err conftest.
$ac_ext
20465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20466 echo "${ECHO_T}$ac_header_preproc" >&6
20468 # So? What about this header?
20469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20471 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
20472 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20473 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
20474 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
20475 ac_header_preproc
=yes
20478 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
20479 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
20480 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
20481 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
20482 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
20483 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
20484 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
20485 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
20486 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
20487 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
20488 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
20489 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
20492 ## ------------------------------------------ ##
20493 ## Report this to the AC_PACKAGE_NAME lists. ##
20494 ## ------------------------------------------ ##
20497 sed "s/^/$as_me: WARNING: /" >&2
20500 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20501 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20502 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 ac_cv_header_netinet_in_h
=$ac_header_preproc
20507 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20508 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20511 if test $ac_cv_header_netinet_in_h = yes; then
20519 if test $ok_so_far = yes; then
20520 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20521 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20522 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20523 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20524 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20527 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20529 # Is the header compilable?
20530 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
20531 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
20532 cat >conftest.
$ac_ext <<_ACEOF
20535 cat confdefs.h
>>conftest.
$ac_ext
20536 cat >>conftest.
$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 $ac_includes_default
20539 #include <arpa/inet.h>
20541 rm -f conftest.
$ac_objext
20542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20543 (eval $ac_compile) 2>conftest.er1
20545 grep -v '^ *+' conftest.er1
>conftest.err
20547 cat conftest.err
>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); } &&
20550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; } &&
20556 { ac_try
='test -s conftest.$ac_objext'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; }; then
20562 ac_header_compiler
=yes
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.
$ac_ext >&5
20567 ac_header_compiler
=no
20569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20571 echo "${ECHO_T}$ac_header_compiler" >&6
20573 # Is the header present?
20574 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
20575 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
20576 cat >conftest.
$ac_ext <<_ACEOF
20579 cat confdefs.h
>>conftest.
$ac_ext
20580 cat >>conftest.
$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 #include <arpa/inet.h>
20584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20587 grep -v '^ *+' conftest.er1
>conftest.err
20589 cat conftest.err
>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } >/dev
/null
; then
20592 if test -s conftest.err
; then
20593 ac_cpp_err
=$ac_c_preproc_warn_flag
20594 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20601 if test -z "$ac_cpp_err"; then
20602 ac_header_preproc
=yes
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.
$ac_ext >&5
20607 ac_header_preproc
=no
20609 rm -f conftest.err conftest.
$ac_ext
20610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20611 echo "${ECHO_T}$ac_header_preproc" >&6
20613 # So? What about this header?
20614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20616 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
20617 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
20619 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
20620 ac_header_preproc
=yes
20623 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
20624 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
20625 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
20626 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
20627 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
20628 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
20629 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
20630 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
20631 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
20632 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
20633 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
20634 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20637 ## ------------------------------------------ ##
20638 ## Report this to the AC_PACKAGE_NAME lists. ##
20639 ## ------------------------------------------ ##
20642 sed "s/^/$as_me: WARNING: /" >&2
20645 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20646 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20647 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20648 echo $ECHO_N "(cached) $ECHO_C" >&6
20650 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20652 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20653 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20656 if test $ac_cv_header_arpa_inet_h = yes; then
20664 if test $ok_so_far = yes; then
20666 cat >>confdefs.h
<<\_ACEOF
20667 #define HAVE_INET_SOCKETS 1
20673 for ac_header
in sys
/ioctl.h
20675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20677 echo "$as_me:$LINENO: checking for $ac_header" >&5
20678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20680 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20685 # Is the header compilable?
20686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20688 cat >conftest.
$ac_ext <<_ACEOF
20691 cat confdefs.h
>>conftest.
$ac_ext
20692 cat >>conftest.
$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 $ac_includes_default
20695 #include <$ac_header>
20697 rm -f conftest.
$ac_objext
20698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20699 (eval $ac_compile) 2>conftest.er1
20701 grep -v '^ *+' conftest.er1
>conftest.err
20703 cat conftest.err
>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); } &&
20706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; } &&
20712 { ac_try
='test -s conftest.$ac_objext'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_header_compiler
=yes
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
20723 ac_header_compiler
=no
20725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20727 echo "${ECHO_T}$ac_header_compiler" >&6
20729 # Is the header present?
20730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20732 cat >conftest.
$ac_ext <<_ACEOF
20735 cat confdefs.h
>>conftest.
$ac_ext
20736 cat >>conftest.
$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 #include <$ac_header>
20740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20743 grep -v '^ *+' conftest.er1
>conftest.err
20745 cat conftest.err
>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } >/dev
/null
; then
20748 if test -s conftest.err
; then
20749 ac_cpp_err
=$ac_c_preproc_warn_flag
20750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20757 if test -z "$ac_cpp_err"; then
20758 ac_header_preproc
=yes
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.
$ac_ext >&5
20763 ac_header_preproc
=no
20765 rm -f conftest.err conftest.
$ac_ext
20766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20767 echo "${ECHO_T}$ac_header_preproc" >&6
20769 # So? What about this header?
20770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20776 ac_header_preproc
=yes
20779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20793 ## ------------------------------------------ ##
20794 ## Report this to the AC_PACKAGE_NAME lists. ##
20795 ## ------------------------------------------ ##
20798 sed "s/^/$as_me: WARNING: /" >&2
20801 echo "$as_me:$LINENO: checking for $ac_header" >&5
20802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20804 echo $ECHO_N "(cached) $ECHO_C" >&6
20806 eval "$as_ac_Header=\$ac_header_preproc"
20808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20813 cat >>confdefs.h
<<_ACEOF
20814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20822 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20824 cat >>confdefs.h
<<\_ACEOF
20825 #define HAVE_AIX_SMT_EXP 1
20830 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20831 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20832 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20833 echo "$as_me:$LINENO: result: yes" >&5
20834 echo "${ECHO_T}yes" >&6
20836 cat >>confdefs.h
<<\_ACEOF
20837 #define HAVE_DEV_PTMX 1
20841 echo "$as_me:$LINENO: result: no" >&5
20842 echo "${ECHO_T}no" >&6
20845 echo "$as_me:$LINENO: checking for pid_t" >&5
20846 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20847 if test "${ac_cv_type_pid_t+set}" = set; then
20848 echo $ECHO_N "(cached) $ECHO_C" >&6
20850 cat >conftest.
$ac_ext <<_ACEOF
20853 cat confdefs.h
>>conftest.
$ac_ext
20854 cat >>conftest.
$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20862 if (sizeof (pid_t))
20868 rm -f conftest.
$ac_objext
20869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20870 (eval $ac_compile) 2>conftest.er1
20872 grep -v '^ *+' conftest.er1
>conftest.err
20874 cat conftest.err
>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } &&
20877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; } &&
20883 { ac_try
='test -s conftest.$ac_objext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 ac_cv_type_pid_t
=yes
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 ac_cv_type_pid_t
=no
20896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20898 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20899 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20900 if test $ac_cv_type_pid_t = yes; then
20904 cat >>confdefs.h
<<_ACEOF
20912 for ac_header
in unistd.h vfork.h
20914 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20916 echo "$as_me:$LINENO: checking for $ac_header" >&5
20917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20924 # Is the header compilable?
20925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20927 cat >conftest.
$ac_ext <<_ACEOF
20930 cat confdefs.h
>>conftest.
$ac_ext
20931 cat >>conftest.
$ac_ext <<_ACEOF
20932 /* end confdefs.h. */
20933 $ac_includes_default
20934 #include <$ac_header>
20936 rm -f conftest.
$ac_objext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20938 (eval $ac_compile) 2>conftest.er1
20940 grep -v '^ *+' conftest.er1
>conftest.err
20942 cat conftest.err
>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; } &&
20951 { ac_try
='test -s conftest.$ac_objext'
20952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953 (eval $ac_try) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; }; then
20957 ac_header_compiler
=yes
20959 echo "$as_me: failed program was:" >&5
20960 sed 's/^/| /' conftest.
$ac_ext >&5
20962 ac_header_compiler
=no
20964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20966 echo "${ECHO_T}$ac_header_compiler" >&6
20968 # Is the header present?
20969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20971 cat >conftest.
$ac_ext <<_ACEOF
20974 cat confdefs.h
>>conftest.
$ac_ext
20975 cat >>conftest.
$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 #include <$ac_header>
20979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20982 grep -v '^ *+' conftest.er1
>conftest.err
20984 cat conftest.err
>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } >/dev
/null
; then
20987 if test -s conftest.err
; then
20988 ac_cpp_err
=$ac_c_preproc_warn_flag
20989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20996 if test -z "$ac_cpp_err"; then
20997 ac_header_preproc
=yes
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 ac_header_preproc
=no
21004 rm -f conftest.err conftest.
$ac_ext
21005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21006 echo "${ECHO_T}$ac_header_preproc" >&6
21008 # So? What about this header?
21009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21015 ac_header_preproc
=yes
21018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21032 ## ------------------------------------------ ##
21033 ## Report this to the AC_PACKAGE_NAME lists. ##
21034 ## ------------------------------------------ ##
21037 sed "s/^/$as_me: WARNING: /" >&2
21040 echo "$as_me:$LINENO: checking for $ac_header" >&5
21041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 eval "$as_ac_Header=\$ac_header_preproc"
21047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21052 cat >>confdefs.h
<<_ACEOF
21053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21062 for ac_func
in fork vfork
21064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21065 echo "$as_me:$LINENO: checking for $ac_func" >&5
21066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21067 if eval "test \"\${$as_ac_var+set}\" = set"; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 cat >conftest.
$ac_ext <<_ACEOF
21073 cat confdefs.h
>>conftest.
$ac_ext
21074 cat >>conftest.
$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21078 #define $ac_func innocuous_$ac_func
21080 /* System header to define __stub macros and hopefully few prototypes,
21081 which can conflict with char $ac_func (); below.
21082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21083 <limits.h> exists even on freestanding compilers. */
21086 # include <limits.h>
21088 # include <assert.h>
21093 /* Override any gcc2 internal prototype to avoid an error. */
21098 /* We use char because int might match the return type of a gcc2
21099 builtin and then its argument prototype would still apply. */
21101 /* The GNU C library defines this for functions which it implements
21102 to always fail with ENOSYS. Some functions are actually named
21103 something starting with __ and the normal name is an alias. */
21104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21107 char (*f) () = $ac_func;
21116 return f != $ac_func;
21121 rm -f conftest.
$ac_objext conftest
$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>conftest.er1
21125 grep -v '^ *+' conftest.er1
>conftest.err
21127 cat conftest.err
>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } &&
21130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21132 (eval $ac_try) 2>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); }; } &&
21136 { ac_try
='test -s conftest$ac_exeext'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; }; then
21142 eval "$as_ac_var=yes"
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.
$ac_ext >&5
21147 eval "$as_ac_var=no"
21149 rm -f conftest.err conftest.
$ac_objext \
21150 conftest
$ac_exeext conftest.
$ac_ext
21152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21154 if test `eval echo '${'$as_ac_var'}'` = yes; then
21155 cat >>confdefs.h
<<_ACEOF
21156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21162 if test "x$ac_cv_func_fork" = xyes
; then
21163 echo "$as_me:$LINENO: checking for working fork" >&5
21164 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21165 if test "${ac_cv_func_fork_works+set}" = set; then
21166 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 if test "$cross_compiling" = yes; then
21169 ac_cv_func_fork_works
=cross
21171 cat >conftest.
$ac_ext <<_ACEOF
21172 /* By Ruediger Kuhlmann. */
21173 #include <sys/types.h>
21175 # include <unistd.h>
21177 /* Some systems only have a dummy stub for fork() */
21185 rm -f conftest
$ac_exeext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21187 (eval $ac_link) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; }; then
21196 ac_cv_func_fork_works
=yes
21198 echo "$as_me: program exited with status $ac_status" >&5
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.
$ac_ext >&5
21202 ( exit $ac_status )
21203 ac_cv_func_fork_works
=no
21205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21208 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21209 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21212 ac_cv_func_fork_works
=$ac_cv_func_fork
21214 if test "x$ac_cv_func_fork_works" = xcross
; then
21216 *-*-amigaos* |
*-*-msdosdjgpp*)
21217 # Override, as these systems have only a dummy fork() stub
21218 ac_cv_func_fork_works
=no
21221 ac_cv_func_fork_works
=yes
21224 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21225 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21227 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21228 if test "x$ac_cv_func_vfork" = xyes
; then
21229 echo "$as_me:$LINENO: checking for working vfork" >&5
21230 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21231 if test "${ac_cv_func_vfork_works+set}" = set; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 if test "$cross_compiling" = yes; then
21235 ac_cv_func_vfork_works
=cross
21237 cat >conftest.
$ac_ext <<_ACEOF
21240 cat confdefs.h
>>conftest.
$ac_ext
21241 cat >>conftest.
$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 /* Thanks to Paul Eggert for this test. */
21245 #include <stdlib.h>
21246 #include <sys/types.h>
21247 #include <sys/stat.h>
21248 #include <sys/wait.h>
21250 # include <unistd.h>
21253 # include <vfork.h>
21255 /* On some sparc systems, changes by the child to local and incoming
21256 argument registers are propagated back to the parent. The compiler
21257 is told about this with #include <vfork.h>, but some compilers
21258 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21259 static variable whose address is put into a register that is
21260 clobbered by the vfork. */
21263 sparc_address_test (int arg)
21265 sparc_address_test (arg) int arg;
21268 static pid_t child;
21286 pid_t parent = getpid ();
21289 sparc_address_test (0);
21294 /* Here is another test for sparc vfork register problems. This
21295 test uses lots of local variables, at least as many local
21296 variables as main has allocated so far including compiler
21297 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21298 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21299 reuse the register of parent for one of the local variables,
21300 since it will think that parent can't possibly be used any more
21301 in this routine. Assigning to the local variable will thus
21302 munge parent in the parent process. */
21304 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21305 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21306 /* Convince the compiler that p..p7 are live; otherwise, it might
21307 use the same hardware register for all 8 local variables. */
21308 if (p != p1 || p != p2 || p != p3 || p != p4
21309 || p != p5 || p != p6 || p != p7)
21312 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21313 from child file descriptors. If the child closes a descriptor
21314 before it execs or exits, this munges the parent's descriptor
21315 as well. Test for this by closing stdout in the child. */
21316 _exit(close(fileno(stdout)) != 0);
21321 while (wait(&status) != child)
21324 /* Was there some problem with vforking? */
21327 /* Did the child fail? (This shouldn't happen.) */
21330 /* Did the vfork/compiler bug occur? */
21331 || parent != getpid()
21333 /* Did the file descriptor bug occur? */
21334 || fstat(fileno(stdout), &st) != 0
21339 rm -f conftest
$ac_exeext
21340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21341 (eval $ac_link) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_func_vfork_works
=yes
21352 echo "$as_me: program exited with status $ac_status" >&5
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.
$ac_ext >&5
21356 ( exit $ac_status )
21357 ac_cv_func_vfork_works
=no
21359 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21362 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21363 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21366 if test "x$ac_cv_func_fork_works" = xcross
; then
21367 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21368 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21369 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21372 if test "x$ac_cv_func_vfork_works" = xyes
; then
21374 cat >>confdefs.h
<<\_ACEOF
21375 #define HAVE_WORKING_VFORK 1
21380 cat >>confdefs.h
<<\_ACEOF
21385 if test "x$ac_cv_func_fork_works" = xyes
; then
21387 cat >>confdefs.h
<<\_ACEOF
21388 #define HAVE_WORKING_FORK 1
21394 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21395 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21396 if test "${emacs_cv_langinfo_codeset+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 cat >conftest.
$ac_ext <<_ACEOF
21402 cat confdefs.h
>>conftest.
$ac_ext
21403 cat >>conftest.
$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 #include <langinfo.h>
21409 char* cs = nl_langinfo(CODESET);
21414 rm -f conftest.
$ac_objext conftest
$ac_exeext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21416 (eval $ac_link) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try
='test -s conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 emacs_cv_langinfo_codeset
=yes
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 emacs_cv_langinfo_codeset
=no
21442 rm -f conftest.err conftest.
$ac_objext \
21443 conftest
$ac_exeext conftest.
$ac_ext
21446 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
21447 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
21448 if test $emacs_cv_langinfo_codeset = yes; then
21450 cat >>confdefs.h
<<\_ACEOF
21451 #define HAVE_LANGINFO_CODESET 1
21456 echo "$as_me:$LINENO: checking for size_t" >&5
21457 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21458 if test "${ac_cv_type_size_t+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 cat >conftest.
$ac_ext <<_ACEOF
21464 cat confdefs.h
>>conftest.
$ac_ext
21465 cat >>conftest.
$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21473 if (sizeof (size_t))
21479 rm -f conftest.
$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21483 grep -v '^ *+' conftest.er1
>conftest.err
21485 cat conftest.err
>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try
='test -s conftest.$ac_objext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_type_size_t
=yes
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.
$ac_ext >&5
21505 ac_cv_type_size_t
=no
21507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21510 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21511 if test $ac_cv_type_size_t = yes; then
21513 cat >>confdefs.h
<<_ACEOF
21514 #define HAVE_SIZE_T 1
21521 echo "$as_me:$LINENO: checking for mbstate_t" >&5
21522 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
21523 if test "${ac_cv_type_mbstate_t+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 cat >conftest.
$ac_ext <<_ACEOF
21529 cat confdefs.h
>>conftest.
$ac_ext
21530 cat >>conftest.
$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533 # include <wchar.h>
21537 mbstate_t x; return sizeof x;
21542 rm -f conftest.
$ac_objext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21544 (eval $ac_compile) 2>conftest.er1
21546 grep -v '^ *+' conftest.er1
>conftest.err
21548 cat conftest.err
>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try
='test -s conftest.$ac_objext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_type_mbstate_t
=yes
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 ac_cv_type_mbstate_t
=no
21570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21572 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
21573 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
21574 if test $ac_cv_type_mbstate_t = yes; then
21576 cat >>confdefs.h
<<\_ACEOF
21577 #define HAVE_MBSTATE_T 1
21582 cat >>confdefs.h
<<\_ACEOF
21583 #define mbstate_t int
21588 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
21589 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
21590 if test "${emacs_cv_c_restrict+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 cat >conftest.
$ac_ext <<_ACEOF
21596 cat confdefs.h
>>conftest.
$ac_ext
21597 cat >>conftest.
$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 void fred (int *restrict x);
21608 rm -f conftest.
$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610 (eval $ac_compile) 2>conftest.er1
21612 grep -v '^ *+' conftest.er1
>conftest.err
21614 cat conftest.err
>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } &&
21617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; } &&
21623 { ac_try
='test -s conftest.$ac_objext'
21624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625 (eval $ac_try) 2>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; }; then
21629 emacs_cv_c_restrict
=yes
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.
$ac_ext >&5
21634 cat >conftest.
$ac_ext <<_ACEOF
21637 cat confdefs.h
>>conftest.
$ac_ext
21638 cat >>conftest.
$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 void fred (int *__restrict x);
21649 rm -f conftest.
$ac_objext
21650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21651 (eval $ac_compile) 2>conftest.er1
21653 grep -v '^ *+' conftest.er1
>conftest.err
21655 cat conftest.err
>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } &&
21658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; } &&
21664 { ac_try
='test -s conftest.$ac_objext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 emacs_cv_c_restrict
=__restrict
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 emacs_cv_c_restrict
=no
21677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21681 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21682 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21683 case "$emacs_cv_c_restrict" in
21684 yes) emacs_restrict
=restrict
;;
21685 no
) emacs_restrict
="";;
21686 *) emacs_restrict
="$emacs_cv_c_restrict";;
21688 if test "$emacs_restrict" != __restrict
; then
21690 cat >>confdefs.h
<<_ACEOF
21691 #define __restrict $emacs_restrict
21696 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21697 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21698 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 cat >conftest.
$ac_ext <<_ACEOF
21704 cat confdefs.h
>>conftest.
$ac_ext
21705 cat >>conftest.
$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 void fred (int x[__restrict]);
21716 rm -f conftest.
$ac_objext
21717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21718 (eval $ac_compile) 2>conftest.er1
21720 grep -v '^ *+' conftest.er1
>conftest.err
21722 cat conftest.err
>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; } &&
21731 { ac_try
='test -s conftest.$ac_objext'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; }; then
21737 emacs_cv_c_restrict_arr
=yes
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.
$ac_ext >&5
21742 emacs_cv_c_restrict_arr
=no
21744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21746 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21747 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21748 if test "$emacs_cv_c_restrict_arr" = yes; then
21750 cat >>confdefs.h
<<\_ACEOF
21751 #define __restrict_arr __restrict
21758 # Set up the CFLAGS for real compilation, so we can substitute it.
21759 CFLAGS
="$REAL_CFLAGS"
21760 CPPFLAGS
="$REAL_CPPFLAGS"
21762 #### Find out which version of Emacs this is.
21763 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21764 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21765 if test x
"${version}" = x
; then
21766 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21767 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21768 { (exit 1); exit 1; }; }
21771 ### Specify what sort of things we'll be editing into Makefile and config.h.
21772 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21808 cat >>confdefs.h
<<_ACEOF
21809 #define EMACS_CONFIGURATION "${canonical}"
21813 cat >>confdefs.h
<<_ACEOF
21814 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21818 cat >>confdefs.h
<<_ACEOF
21819 #define config_machfile "${machfile}"
21823 cat >>confdefs.h
<<_ACEOF
21824 #define config_opsysfile "${opsysfile}"
21828 cat >>confdefs.h
<<_ACEOF
21829 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21833 cat >>confdefs.h
<<_ACEOF
21834 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21838 cat >>confdefs.h
<<_ACEOF
21839 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21843 cat >>confdefs.h
<<_ACEOF
21844 #define UNEXEC_SRC ${UNEXEC_SRC}
21848 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21850 cat >>confdefs.h
<<\_ACEOF
21851 #define HAVE_X_WINDOWS 1
21855 if test "${USE_X_TOOLKIT}" != "none" ; then
21857 cat >>confdefs.h
<<\_ACEOF
21858 #define USE_X_TOOLKIT 1
21862 if test "${HAVE_X11}" = "yes" ; then
21864 cat >>confdefs.h
<<\_ACEOF
21869 if test "${HAVE_XFREE386}" = "yes" ; then
21871 cat >>confdefs.h
<<\_ACEOF
21872 #define HAVE_XFREE386 1
21876 if test "${HAVE_MENUS}" = "yes" ; then
21878 cat >>confdefs.h
<<\_ACEOF
21879 #define HAVE_MENUS 1
21883 if test "${GNU_MALLOC}" = "yes" ; then
21885 cat >>confdefs.h
<<\_ACEOF
21886 #define GNU_MALLOC 1
21890 if test "${REL_ALLOC}" = "yes" ; then
21892 cat >>confdefs.h
<<\_ACEOF
21893 #define REL_ALLOC 1
21902 #### Report on what we decided to do.
21903 #### Report GTK as a toolkit, even if it doesn't use Xt.
21904 #### It makes printing result more understandable as using GTK sets
21905 #### toolkit_scroll_bars to yes by default.
21906 if test "${HAVE_GTK}" = "yes"; then
21911 Configured for \`${canonical}'.
21913 Where should the build process find the source code? ${srcdir}
21914 What operating system and machine description files should Emacs use?
21915 \`${opsysfile}' and \`${machfile}'
21916 What compiler should emacs be built with? ${CC} ${CFLAGS}
21917 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21918 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21919 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21920 What window system should Emacs use? ${window_system}
21921 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21923 if test -n "${x_includes}"; then
21924 echo " Where do we find X Windows header files? ${x_includes}"
21926 echo " Where do we find X Windows header files? Standard dirs"
21928 if test -n "${x_libraries}"; then
21929 echo " Where do we find X Windows libraries? ${x_libraries}"
21931 echo " Where do we find X Windows libraries? Standard dirs"
21934 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21935 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21936 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21937 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21938 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21939 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21940 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21943 if test $USE_XASSERTS = yes; then
21944 echo " Compiling with asserts turned on."
21945 CPPFLAGS
="$CPPFLAGS -DXASSERTS=1"
21951 # Remove any trailing slashes in these variables.
21952 test "${prefix}" != NONE
&&
21953 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
21954 test "${exec_prefix}" != NONE
&&
21955 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
21957 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
21958 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
21959 ## from Makefile.c can correctly provide the arg `-traditional' to the
21962 cat >conftest.
$ac_ext <<_ACEOF
21965 cat confdefs.h
>>conftest.
$ac_ext
21966 cat >>conftest.
$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21971 $EGREP "yes..yes" >/dev
/null
2>&1; then
21972 CPP_NEED_TRADITIONAL
=no
21974 CPP_NEED_TRADITIONAL
=yes
21979 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"
21980 ac_config_commands
="$ac_config_commands default"
21981 cat >confcache
<<\_ACEOF
21982 # This file is a shell script that caches the results of configure
21983 # tests run on this system so they can be shared between configure
21984 # scripts and configure runs, see configure's option --config-cache.
21985 # It is not useful on other systems. If it contains results you don't
21986 # want to keep, you may remove or edit it.
21988 # config.status only pays attention to the cache file if you give it
21989 # the --recheck option to rerun configure.
21991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21993 # following values.
21997 # The following way of writing the cache mishandles newlines in values,
21998 # but we know of no workaround that is simple, portable, and efficient.
21999 # So, don't put newlines in cache variables' values.
22000 # Ultrix sh set writes to stderr and can't be redirected directly,
22001 # and sets the high bit in the cache file unless we assign to the vars.
22004 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22006 # `set' does not quote correctly, so add quotes (double-quote
22007 # substitution turns \\\\ into \\, and sed turns \\ into \).
22010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22013 # `set' quotes correctly as required by POSIX, so do not add quotes.
22015 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22024 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22026 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22027 if test -w $cache_file; then
22028 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22029 cat confcache
>$cache_file
22031 echo "not updating unwritable cache $cache_file"
22036 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22037 # Let make expand exec_prefix.
22038 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22040 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22041 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22042 # trailing colons and then remove the whole line if VPATH becomes empty
22043 # (actually we leave an empty line to preserve line numbers).
22044 if test "x$srcdir" = x.
; then
22045 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22046 s/:*\$(srcdir):*/:/;
22047 s/:*\${srcdir}:*/:/;
22049 s/^\([^=]*=[ ]*\):*/\1/;
22055 DEFS
=-DHAVE_CONFIG_H
22059 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22060 # 1. Remove the extension, and $U if already installed.
22061 ac_i
=`echo "$ac_i" |
22062 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22064 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22065 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22067 LIBOBJS
=$ac_libobjs
22069 LTLIBOBJS
=$ac_ltlibobjs
22073 : ${CONFIG_STATUS=./config.status}
22074 ac_clean_files_save
=$ac_clean_files
22075 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22076 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22077 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22078 cat >$CONFIG_STATUS <<_ACEOF
22080 # Generated by $as_me.
22081 # Run this file to recreate the current configuration.
22082 # Compiler output produced by configure, useful for debugging
22083 # configure, is in config.log if it exists.
22086 ac_cs_recheck=false
22088 SHELL=\${CONFIG_SHELL-$SHELL}
22091 cat >>$CONFIG_STATUS <<\_ACEOF
22092 ## --------------------- ##
22093 ## M4sh Initialization. ##
22094 ## --------------------- ##
22096 # Be Bourne compatible
22097 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22101 # is contrary to our usage. Disable this feature.
22102 alias -g '${1+"$@"}'='"$@"'
22103 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22106 DUALCASE
=1; export DUALCASE
# for MKS sh
22108 # Support unset when possible.
22109 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22116 # Work around bugs in pre-3.0 UWIN ksh.
22117 $as_unset ENV MAIL MAILPATH
22124 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22125 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22126 LC_TELEPHONE LC_TIME
22128 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22129 eval $as_var=C
; export $as_var
22135 # Required to use basename.
22136 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22142 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22143 as_basename
=basename
22149 # Name of the executable.
22150 as_me
=`$as_basename "$0" ||
22151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22152 X"$0" : 'X\(//\)$' \| \
22153 X"$0" : 'X\(/\)$' \| \
22154 . : '\(.\)' 2>/dev/null ||
22156 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22157 /^X\/\(\/\/\)$/{ s//\1/; q; }
22158 /^X\/\(\/\).*/{ s//\1/; q; }
22162 # PATH needs CR, and LINENO needs CR and PATH.
22163 # Avoid depending upon Character Ranges.
22164 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22165 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22166 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22167 as_cr_digits
='0123456789'
22168 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22170 # The user is always right.
22171 if test "${PATH_SEPARATOR+set}" != set; then
22172 echo "#! /bin/sh" >conf$$.sh
22173 echo "exit 0" >>conf$$.sh
22175 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22184 as_lineno_1
=$LINENO
22185 as_lineno_2
=$LINENO
22186 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22187 test "x$as_lineno_1" != "x$as_lineno_2" &&
22188 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22189 # Find who we are. Look in the path if we contain no path at all
22192 *[\\/]* ) as_myself
=$0 ;;
22193 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22194 for as_dir
in $PATH
22197 test -z "$as_dir" && as_dir
=.
22198 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22203 # We did not find ourselves, most probably we were run as `sh COMMAND'
22204 # in which case we are not to be found in the path.
22205 if test "x$as_myself" = x
; then
22208 if test ! -f "$as_myself"; then
22209 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22210 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22211 { (exit 1); exit 1; }; }
22213 case $CONFIG_SHELL in
22215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22216 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22219 test -z "$as_dir" && as_dir
=.
22220 for as_base
in sh bash ksh sh5
; do
22223 if ("$as_dir/$as_base" -c '
22224 as_lineno_1=$LINENO
22225 as_lineno_2=$LINENO
22226 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22227 test "x$as_lineno_1" != "x$as_lineno_2" &&
22228 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22229 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22230 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22231 CONFIG_SHELL
=$as_dir/$as_base
22232 export CONFIG_SHELL
22233 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22241 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22242 # uniformly replaced by the line number. The first 'sed' inserts a
22243 # line-number line before each line; the second 'sed' does the real
22244 # work. The second script uses 'N' to pair each line-number line
22245 # with the numbered line, and appends trailing '-' during
22246 # substitution so that $LINENO is not a special case at line end.
22247 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22248 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22249 sed '=' <$as_myself |
22254 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22257 s,^['$as_cr_digits']*\n,,
22258 ' >$as_me.lineno
&&
22259 chmod +x
$as_me.lineno ||
22260 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22261 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22262 { (exit 1); exit 1; }; }
22264 # Don't try to exec as it changes $[0], causing all sort of problems
22265 # (the dirname of $[0] is not the place where we might find the
22266 # original and so on. Autoconf is especially sensible to this).
22268 # Exit status is that of the last command.
22273 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22274 *c
*,-n*) ECHO_N
= ECHO_C
='
22276 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22277 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22280 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22286 rm -f conf$$ conf$$.exe conf$$.
file
22288 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22289 # We could just check for DJGPP; but this test a) works b) is more generic
22290 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22291 if test -f conf$$.exe
; then
22292 # Don't use ln at all; we don't have any links
22297 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22302 rm -f conf$$ conf$$.exe conf$$.
file
22304 if mkdir
-p .
2>/dev
/null
; then
22307 test -d .
/-p && rmdir .
/-p
22311 as_executable_p
="test -f"
22313 # Sed expression to map a string onto a valid CPP name.
22314 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22316 # Sed expression to map a string onto a valid variable name.
22317 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22321 # We need space, tab and new line, in precisely that order.
22331 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22332 # report actual input values of CONFIG_FILES etc. instead of their
22333 # values after options handling. Logging --version etc. is OK.
22337 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22338 ## Running $as_me. ##
22343 This file was extended by $as_me, which was
22344 generated by GNU Autoconf 2.59. Invocation command line was
22346 CONFIG_FILES = $CONFIG_FILES
22347 CONFIG_HEADERS = $CONFIG_HEADERS
22348 CONFIG_LINKS = $CONFIG_LINKS
22349 CONFIG_COMMANDS = $CONFIG_COMMANDS
22353 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22357 # Files that config.status was made for.
22358 if test -n "$ac_config_files"; then
22359 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22362 if test -n "$ac_config_headers"; then
22363 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22366 if test -n "$ac_config_links"; then
22367 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22370 if test -n "$ac_config_commands"; then
22371 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22374 cat >>$CONFIG_STATUS <<\_ACEOF
22377 \`$as_me' instantiates files from templates according to the
22378 current configuration.
22380 Usage: $0 [OPTIONS] [FILE]...
22382 -h, --help print this help, then exit
22383 -V, --version print version number, then exit
22384 -q, --quiet do not print progress messages
22385 -d, --debug don't remove temporary files
22386 --recheck update $as_me by reconfiguring in the same conditions
22387 --file=FILE[:TEMPLATE]
22388 instantiate the configuration file FILE
22389 --header=FILE[:TEMPLATE]
22390 instantiate the configuration header FILE
22392 Configuration files:
22395 Configuration headers:
22398 Configuration commands:
22401 Report bugs to <bug-autoconf@gnu.org>."
22404 cat >>$CONFIG_STATUS <<_ACEOF
22407 configured by $0, generated by GNU Autoconf 2.59,
22408 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22410 Copyright (C) 2003 Free Software Foundation, Inc.
22411 This config.status script is free software; the Free Software Foundation
22412 gives unlimited permission to copy, distribute and modify it."
22417 cat >>$CONFIG_STATUS <<\_ACEOF
22418 # If no file are specified by the user, then we need to provide default
22419 # value. By we need to know if files were specified by the user.
22425 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22426 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22434 *) # This is not an option, so the user has probably given explicit
22437 ac_need_defaults
=false
;;
22441 # Handling of the options.
22443 cat >>$CONFIG_STATUS <<\_ACEOF
22444 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22446 --version |
--vers* |
-V )
22447 echo "$ac_cs_version"; exit 0 ;;
22449 # Conflict between --help and --header
22450 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22451 Try \`$0 --help' for more information." >&5
22452 echo "$as_me: error: ambiguous option: $1
22453 Try \`$0 --help' for more information." >&2;}
22454 { (exit 1); exit 1; }; };;
22455 --help |
--hel |
-h )
22456 echo "$ac_cs_usage"; exit 0 ;;
22457 --debug |
--d* |
-d )
22459 --file |
--fil |
--fi |
--f )
22461 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22462 ac_need_defaults
=false
;;
22463 --header |
--heade |
--head |
--hea )
22465 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22466 ac_need_defaults
=false
;;
22467 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22468 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22471 # This is an error.
22472 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22473 Try \`$0 --help' for more information." >&5
22474 echo "$as_me: error: unrecognized option: $1
22475 Try \`$0 --help' for more information." >&2;}
22476 { (exit 1); exit 1; }; } ;;
22478 *) ac_config_targets
="$ac_config_targets $1" ;;
22484 ac_configure_extra_args
=
22486 if $ac_cs_silent; then
22488 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22492 cat >>$CONFIG_STATUS <<_ACEOF
22493 if \$ac_cs_recheck; then
22494 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22495 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22500 cat >>$CONFIG_STATUS <<_ACEOF
22502 # INIT-COMMANDS section.
22505 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
22511 cat >>$CONFIG_STATUS <<\_ACEOF
22512 for ac_config_target
in $ac_config_targets
22514 case "$ac_config_target" in
22515 # Handling of arguments.
22516 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22517 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
22518 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
22519 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
22520 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
22521 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
22522 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
22523 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
22524 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
22525 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
22526 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22527 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
22528 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22529 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22530 { (exit 1); exit 1; }; };;
22534 # If the user did not use the arguments to specify the items to instantiate,
22535 # then the envvar interface is used. Set only those that are not.
22536 # We use the long form for the default assignment because of an extremely
22537 # bizarre bug on SunOS 4.1.3.
22538 if $ac_need_defaults; then
22539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22544 # Have a temporary directory for convenience. Make it in the build tree
22545 # simply because there is no reason to put it here, and in addition,
22546 # creating and moving files from /tmp can sometimes cause problems.
22547 # Create a temporary directory, and hook for its removal unless debugging.
22550 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22551 trap '{ (exit 1); exit 1; }' 1 2 13 15
22554 # Create a (secure) tmp directory for tmp files.
22557 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22558 test -n "$tmp" && test -d "$tmp"
22561 tmp
=.
/confstat$$
-$RANDOM
22562 (umask 077 && mkdir
$tmp)
22565 echo "$me: cannot create a temporary directory in ." >&2
22566 { (exit 1); exit 1; }
22571 cat >>$CONFIG_STATUS <<_ACEOF
22574 # CONFIG_FILES section.
22577 # No need to generate the scripts if there are no CONFIG_FILES.
22578 # This happens for instance when ./config.status config.h
22579 if test -n "\$CONFIG_FILES"; then
22580 # Protect against being on the right side of a sed subst in config.status.
22581 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22582 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22583 s,@SHELL@,$SHELL,;t t
22584 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22585 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22586 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22587 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22588 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22589 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22590 s,@exec_prefix@,$exec_prefix,;t t
22591 s,@prefix@,$prefix,;t t
22592 s,@program_transform_name@,$program_transform_name,;t t
22593 s,@bindir@,$bindir,;t t
22594 s,@sbindir@,$sbindir,;t t
22595 s,@libexecdir@,$libexecdir,;t t
22596 s,@datadir@,$datadir,;t t
22597 s,@sysconfdir@,$sysconfdir,;t t
22598 s,@sharedstatedir@,$sharedstatedir,;t t
22599 s,@localstatedir@,$localstatedir,;t t
22600 s,@libdir@,$libdir,;t t
22601 s,@includedir@,$includedir,;t t
22602 s,@oldincludedir@,$oldincludedir,;t t
22603 s,@infodir@,$infodir,;t t
22604 s,@mandir@,$mandir,;t t
22605 s,@build_alias@,$build_alias,;t t
22606 s,@host_alias@,$host_alias,;t t
22607 s,@target_alias@,$target_alias,;t t
22608 s,@DEFS@,$DEFS,;t t
22609 s,@ECHO_C@,$ECHO_C,;t t
22610 s,@ECHO_N@,$ECHO_N,;t t
22611 s,@ECHO_T@,$ECHO_T,;t t
22612 s,@LIBS@,$LIBS,;t t
22613 s,@MAINT@,$MAINT,;t t
22614 s,@build@,$build,;t t
22615 s,@build_cpu@,$build_cpu,;t t
22616 s,@build_vendor@,$build_vendor,;t t
22617 s,@build_os@,$build_os,;t t
22618 s,@host@,$host,;t t
22619 s,@host_cpu@,$host_cpu,;t t
22620 s,@host_vendor@,$host_vendor,;t t
22621 s,@host_os@,$host_os,;t t
22623 s,@CFLAGS@,$CFLAGS,;t t
22624 s,@LDFLAGS@,$LDFLAGS,;t t
22625 s,@CPPFLAGS@,$CPPFLAGS,;t t
22626 s,@ac_ct_CC@,$ac_ct_CC,;t t
22627 s,@EXEEXT@,$EXEEXT,;t t
22628 s,@OBJEXT@,$OBJEXT,;t t
22629 s,@LN_S@,$LN_S,;t t
22631 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22632 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22633 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22634 s,@RANLIB@,$RANLIB,;t t
22635 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22636 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22637 s,@EGREP@,$EGREP,;t t
22638 s,@LIBSOUND@,$LIBSOUND,;t t
22639 s,@SET_MAKE@,$SET_MAKE,;t t
22640 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22641 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22642 s,@GTK_LIBS@,$GTK_LIBS,;t t
22643 s,@ALLOCA@,$ALLOCA,;t t
22644 s,@liblockfile@,$liblockfile,;t t
22645 s,@LIBOBJS@,$LIBOBJS,;t t
22646 s,@NEED_SETGID@,$NEED_SETGID,;t t
22647 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22648 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22649 s,@version@,$version,;t t
22650 s,@configuration@,$configuration,;t t
22651 s,@canonical@,$canonical,;t t
22652 s,@srcdir@,$srcdir,;t t
22653 s,@lispdir@,$lispdir,;t t
22654 s,@locallisppath@,$locallisppath,;t t
22655 s,@lisppath@,$lisppath,;t t
22656 s,@x_default_search_path@,$x_default_search_path,;t t
22657 s,@etcdir@,$etcdir,;t t
22658 s,@archlibdir@,$archlibdir,;t t
22659 s,@docdir@,$docdir,;t t
22660 s,@bitmapdir@,$bitmapdir,;t t
22661 s,@gamedir@,$gamedir,;t t
22662 s,@gameuser@,$gameuser,;t t
22663 s,@c_switch_system@,$c_switch_system,;t t
22664 s,@c_switch_machine@,$c_switch_machine,;t t
22665 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22666 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22667 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22668 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22669 s,@machfile@,$machfile,;t t
22670 s,@opsysfile@,$opsysfile,;t t
22671 s,@carbon_appdir@,$carbon_appdir,;t t
22672 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22677 cat >>$CONFIG_STATUS <<\_ACEOF
22678 # Split the substitutions into bite-sized pieces for seds with
22679 # small command number limits, like on Digital OSF/1 and HP-UX.
22680 ac_max_sed_lines
=48
22681 ac_sed_frag
=1 # Number of current file.
22682 ac_beg
=1 # First line for current file.
22683 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22686 while $ac_more_lines; do
22687 if test $ac_beg -gt 1; then
22688 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22690 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22692 if test ! -s $tmp/subs.frag
; then
22693 ac_more_lines
=false
22695 # The purpose of the label and of the branching condition is to
22696 # speed up the sed processing (if there are no `@' at all, there
22697 # is no need to browse any of the substitutions).
22698 # These are the two extra sed commands mentioned above.
22700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22701 if test -z "$ac_sed_cmds"; then
22702 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22704 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22706 ac_sed_frag
=`expr $ac_sed_frag + 1`
22708 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22711 if test -z "$ac_sed_cmds"; then
22714 fi # test -n "$CONFIG_FILES"
22717 cat >>$CONFIG_STATUS <<\_ACEOF
22718 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22719 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22721 - |
*:- |
*:-:* ) # input from stdin
22723 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22725 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22726 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22727 * ) ac_file_in
=$ac_file.
in ;;
22730 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22731 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22733 X"$ac_file" : 'X\(//\)[^/]' \| \
22734 X"$ac_file" : 'X\(//\)$' \| \
22735 X"$ac_file" : 'X\(/\)' \| \
22736 . : '\(.\)' 2>/dev/null ||
22738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22740 /^X\(\/\/\)$/{ s//\1/; q; }
22741 /^X\(\/\).*/{ s//\1/; q; }
22743 { if $as_mkdir_p; then
22748 while test ! -d "$as_dir"; do
22749 as_dirs
="$as_dir $as_dirs"
22750 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22752 X"$as_dir" : 'X\(//\)[^/]' \| \
22753 X"$as_dir" : 'X\(//\)$' \| \
22754 X"$as_dir" : 'X\(/\)' \| \
22755 . : '\(.\)' 2>/dev/null ||
22757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22759 /^X\(\/\/\)$/{ s//\1/; q; }
22760 /^X\(\/\).*/{ s//\1/; q; }
22763 test ! -n "$as_dirs" || mkdir
$as_dirs
22764 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22766 { (exit 1); exit 1; }; }; }
22770 if test "$ac_dir" != .
; then
22771 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22772 # A "../" for each directory in $ac_dir_suffix.
22773 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22775 ac_dir_suffix
= ac_top_builddir
=
22779 .
) # No --srcdir option. We are building in place.
22781 if test -z "$ac_top_builddir"; then
22784 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22786 [\\/]* | ?
:[\\/]* ) # Absolute path.
22787 ac_srcdir
=$srcdir$ac_dir_suffix;
22788 ac_top_srcdir
=$srcdir ;;
22789 *) # Relative path.
22790 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22791 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22794 # Do not use `cd foo && pwd` to compute absolute paths, because
22795 # the directories may not exist.
22797 .
) ac_abs_builddir
="$ac_dir";;
22800 .
) ac_abs_builddir
=`pwd`;;
22801 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22802 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22805 case $ac_abs_builddir in
22806 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22808 case ${ac_top_builddir}.
in
22809 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22810 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22811 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22814 case $ac_abs_builddir in
22815 .
) ac_abs_srcdir
=$ac_srcdir;;
22818 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22819 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22820 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22823 case $ac_abs_builddir in
22824 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22826 case $ac_top_srcdir in
22827 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22828 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22829 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22835 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22836 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22839 # Let's still pretend it is `configure' which instantiates (i.e., don't
22840 # use $as_me), people would be surprised to read:
22841 # /* config.h. Generated by config.status. */
22842 if test x
"$ac_file" = x-
; then
22845 configure_input
="$ac_file. "
22847 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22848 sed 's,.*/,,'` by configure."
22850 # First look for the input files in the build tree, otherwise in the
22852 ac_file_inputs
=`IFS=:
22853 for f in $ac_file_in; do
22855 -) echo $tmp/stdin ;;
22857 # Absolute (can't be DOS-style, as IFS=:)
22858 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22859 echo "$as_me: error: cannot find input file: $f" >&2;}
22860 { (exit 1); exit 1; }; }
22863 if test -f "$f"; then
22866 elif test -f "$srcdir/$f"; then
22871 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22872 echo "$as_me: error: cannot find input file: $f" >&2;}
22873 { (exit 1); exit 1; }; }
22876 done` ||
{ (exit 1); exit 1; }
22878 if test x
"$ac_file" != x-
; then
22879 { echo "$as_me:$LINENO: creating $ac_file" >&5
22880 echo "$as_me: creating $ac_file" >&6;}
22884 cat >>$CONFIG_STATUS <<_ACEOF
22888 cat >>$CONFIG_STATUS <<\_ACEOF
22890 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22891 s
,@configure_input@
,$configure_input,;t t
22892 s
,@srcdir@
,$ac_srcdir,;t t
22893 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22894 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22895 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22896 s
,@builddir@
,$ac_builddir,;t t
22897 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22898 s
,@top_builddir@
,$ac_top_builddir,;t t
22899 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22900 s
,@INSTALL@
,$ac_INSTALL,;t t
22901 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22903 if test x"$ac_file" != x-; then
22904 mv $tmp/out $ac_file
22912 cat >>$CONFIG_STATUS <<\_ACEOF
22915 # CONFIG_HEADER section.
22918 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22919 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22921 # ac_d sets the value in "#define NAME VALUE" lines.
22922 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22923 ac_dB
='[ ].*$,\1#\2'
22926 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22927 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22928 ac_uB
='$,\1#\2define\3'
22932 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22933 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22935 - |
*:- |
*:-:* ) # input from stdin
22937 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22938 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22939 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22940 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22941 * ) ac_file_in
=$ac_file.
in ;;
22944 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22945 echo "$as_me: creating $ac_file" >&6;}
22947 # First look for the input files in the build tree, otherwise in the
22949 ac_file_inputs
=`IFS=:
22950 for f in $ac_file_in; do
22952 -) echo $tmp/stdin ;;
22954 # Absolute (can't be DOS-style, as IFS=:)
22955 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22956 echo "$as_me: error: cannot find input file: $f" >&2;}
22957 { (exit 1); exit 1; }; }
22958 # Do quote $f, to prevent DOS paths from being IFS'd.
22961 if test -f "$f"; then
22964 elif test -f "$srcdir/$f"; then
22969 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22970 echo "$as_me: error: cannot find input file: $f" >&2;}
22971 { (exit 1); exit 1; }; }
22974 done` ||
{ (exit 1); exit 1; }
22975 # Remove the trailing spaces.
22976 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22980 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22981 # `conftest.undefs', that substitutes the proper values into
22982 # config.h.in to produce config.h. The first handles `#define'
22983 # templates, and the second `#undef' templates.
22984 # And first: Protect against being on the right side of a sed subst in
22985 # config.status. Protect against being in an unquoted here document
22986 # in config.status.
22987 rm -f conftest.defines conftest.undefs
22988 # Using a here document instead of a string reduces the quoting nightmare.
22989 # Putting comments in sed scripts is not portable.
22991 # `end' is used to avoid that the second main sed command (meant for
22992 # 0-ary CPP macros) applies to n-ary macro definitions.
22993 # See the Autoconf documentation for `clear'.
22994 cat >confdef2sed.
sed <<\_ACEOF
22999 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23001 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23004 # If some macros were called several times there might be several times
23005 # the same #defines, which is useless. Nevertheless, we may not want to
23006 # sort them, since we want the *last* AC-DEFINE to be honored.
23007 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23008 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23009 rm -f confdef2sed.sed
23011 # This sed command replaces #undef with comments. This is necessary, for
23012 # example, in the case of _POSIX_SOURCE, which is predefined and required
23013 # on some systems where configure will not decide to define it.
23014 cat >>conftest.undefs <<\_ACEOF
23015 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23018 # Break up conftest.defines because some shells have a limit on the size
23019 # of here documents, and old seds have small limits too (100 cmds).
23020 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23021 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23022 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23023 echo ' :' >>$CONFIG_STATUS
23024 rm -f conftest.tail
23025 while grep . conftest.defines >/dev/null
23027 # Write a limited-size here document to $tmp/defines.sed.
23028 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23029 # Speed up: don't consider the non `#define' lines.
23030 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23031 # Work around the forget-to-reset-the-flag bug.
23032 echo 't clr' >>$CONFIG_STATUS
23033 echo ': clr' >>$CONFIG_STATUS
23034 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23036 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23038 mv $tmp/out $tmp/in
23040 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23041 rm -f conftest.defines
23042 mv conftest.
tail conftest.defines
23044 rm -f conftest.defines
23045 echo ' fi # grep' >>$CONFIG_STATUS
23046 echo >>$CONFIG_STATUS
23048 # Break up conftest.undefs because some shells have a limit on the size
23049 # of here documents, and old seds have small limits too (100 cmds).
23050 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23051 rm -f conftest.
tail
23052 while grep . conftest.undefs
>/dev
/null
23054 # Write a limited-size here document to $tmp/undefs.sed.
23055 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23056 # Speed up: don't consider the non
`#undef'
23057 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23058 # Work around the forget-to-reset-the-flag bug.
23059 echo 't clr' >>$CONFIG_STATUS
23060 echo ': clr' >>$CONFIG_STATUS
23061 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23063 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23065 mv $tmp/out $tmp/in
23067 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23068 rm -f conftest.undefs
23069 mv conftest.tail conftest.undefs
23071 rm -f conftest.undefs
23073 cat >>$CONFIG_STATUS <<\_ACEOF
23074 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23075 # use $as_me), people would be surprised to read:
23076 # /* config.h. Generated by config.status. */
23077 if test x
"$ac_file" = x-
; then
23078 echo "/* Generated by configure. */" >$tmp/config.h
23080 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23082 cat $tmp/in >>$tmp/config.h
23084 if test x
"$ac_file" != x-
; then
23085 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23086 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23087 echo "$as_me: $ac_file is unchanged" >&6;}
23089 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23090 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23091 X"$ac_file" : 'X\(//\)[^/]' \| \
23092 X"$ac_file" : 'X\(//\)$' \| \
23093 X"$ac_file" : 'X\(/\)' \| \
23094 . : '\(.\)' 2>/dev/null ||
23096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23098 /^X\(\/\/\)$/{ s//\1/; q; }
23099 /^X\(\/\).*/{ s//\1/; q; }
23101 { if $as_mkdir_p; then
23106 while test ! -d "$as_dir"; do
23107 as_dirs
="$as_dir $as_dirs"
23108 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23110 X"$as_dir" : 'X\(//\)[^/]' \| \
23111 X"$as_dir" : 'X\(//\)$' \| \
23112 X"$as_dir" : 'X\(/\)' \| \
23113 . : '\(.\)' 2>/dev/null ||
23115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23117 /^X\(\/\/\)$/{ s//\1/; q; }
23118 /^X\(\/\).*/{ s//\1/; q; }
23121 test ! -n "$as_dirs" || mkdir
$as_dirs
23122 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23123 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23124 { (exit 1); exit 1; }; }; }
23127 mv $tmp/config.h
$ac_file
23131 rm -f $tmp/config.h
23135 cat >>$CONFIG_STATUS <<\_ACEOF
23138 # CONFIG_COMMANDS section.
23140 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23141 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23142 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23143 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23144 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23145 X"$ac_dest" : 'X\(//\)[^/]' \| \
23146 X"$ac_dest" : 'X\(//\)$' \| \
23147 X"$ac_dest" : 'X\(/\)' \| \
23148 . : '\(.\)' 2>/dev/null ||
23150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23152 /^X\(\/\/\)$/{ s//\1/; q; }
23153 /^X\(\/\).*/{ s//\1/; q; }
23155 { if $as_mkdir_p; then
23160 while test ! -d "$as_dir"; do
23161 as_dirs
="$as_dir $as_dirs"
23162 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23164 X"$as_dir" : 'X\(//\)[^/]' \| \
23165 X"$as_dir" : 'X\(//\)$' \| \
23166 X"$as_dir" : 'X\(/\)' \| \
23167 . : '\(.\)' 2>/dev/null ||
23169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23171 /^X\(\/\/\)$/{ s//\1/; q; }
23172 /^X\(\/\).*/{ s//\1/; q; }
23175 test ! -n "$as_dirs" || mkdir
$as_dirs
23176 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23177 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23178 { (exit 1); exit 1; }; }; }
23182 if test "$ac_dir" != .
; then
23183 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23184 # A "../" for each directory in $ac_dir_suffix.
23185 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23187 ac_dir_suffix
= ac_top_builddir
=
23191 .
) # No --srcdir option. We are building in place.
23193 if test -z "$ac_top_builddir"; then
23196 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23198 [\\/]* | ?
:[\\/]* ) # Absolute path.
23199 ac_srcdir
=$srcdir$ac_dir_suffix;
23200 ac_top_srcdir
=$srcdir ;;
23201 *) # Relative path.
23202 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23203 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23206 # Do not use `cd foo && pwd` to compute absolute paths, because
23207 # the directories may not exist.
23209 .
) ac_abs_builddir
="$ac_dir";;
23212 .
) ac_abs_builddir
=`pwd`;;
23213 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23214 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23217 case $ac_abs_builddir in
23218 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23220 case ${ac_top_builddir}.
in
23221 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23222 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23223 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23226 case $ac_abs_builddir in
23227 .
) ac_abs_srcdir
=$ac_srcdir;;
23230 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23231 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23232 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23235 case $ac_abs_builddir in
23236 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23238 case $ac_top_srcdir in
23239 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23240 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23241 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23246 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23247 echo "$as_me: executing $ac_dest commands" >&6;}
23251 ### Make the necessary directories, if they don't exist.
23252 for dir
in etc lisp
; do
23253 test -d ${dir} || mkdir
${dir}
23256 # Build src/Makefile from ${srcdir}/src/Makefile.c
23257 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
23258 # This must be done after src/config.h is built, since we rely on that file.
23260 # Now get this: Some word that is part of the ${srcdir} directory name
23261 # or the ${configuration} value might, just might, happen to be an
23262 # identifier like `sun4' or `i386' or something, and be predefined by
23263 # the C preprocessor to some helpful value like 1, or maybe the empty
23264 # string. Needless to say consequent macro substitutions are less
23265 # than conducive to the makefile finding the correct directory.
23266 undefs
="`echo $top_srcdir $configuration $canonical |
23267 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
23268 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
23271 echo creating src
/epaths.h
23272 ${MAKE-make} epaths-force
23274 # As of 2000-11-19, newest development versions of GNU cpp preprocess
23275 # `..' to `. .' unless invoked with -traditional
23277 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
23278 CPPFLAGS
="$CPPFLAGS -traditional"
23281 echo creating lib-src
/Makefile
23283 rm -f junk.c junk1.c junk2.c
23284 sed -e '/start of cpp stuff/q' \
23285 < Makefile.c
> junk1.c
23286 sed -e '1,/start of cpp stuff/d'\
23287 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23288 < Makefile.c
> junk.c
23289 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23290 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23291 cat junk1.c junk2.c
> Makefile.new
23292 rm -f junk.c junk1.c junk2.c
23293 chmod 444 Makefile.new
23294 mv -f Makefile.new Makefile
23297 echo creating src
/Makefile
23299 rm -f junk.c junk1.c junk2.c
23300 sed -e '/start of cpp stuff/q' \
23301 < Makefile.c
> junk1.c
23302 sed -e '1,/start of cpp stuff/d'\
23303 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23304 < Makefile.c
> junk.c
23305 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23306 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23307 cat junk1.c junk2.c
> Makefile.new
23308 rm -f junk.c junk1.c junk2.c
23309 chmod 444 Makefile.new
23310 mv -f Makefile.new Makefile
23313 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
23314 echo creating src
/.gdbinit
23315 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
23318 # This is how we know whether to re-run configure in certain cases.
23319 touch src
/config.stamp
23326 cat >>$CONFIG_STATUS <<\_ACEOF
23328 { (exit 0); exit 0; }
23330 chmod +x
$CONFIG_STATUS
23331 ac_clean_files
=$ac_clean_files_save
23334 # configure is writing to config.log, and then calls config.status.
23335 # config.status does its own redirection, appending to config.log.
23336 # Unfortunately, on DOS this fails, as config.log is still kept open
23337 # by configure, so config.status won't be able to write to it; its
23338 # output is simply discarded. So we exec the FD to /dev/null,
23339 # effectively closing config.log, so it can be properly (re)opened and
23340 # appended to by config.status. When coming back to configure, we
23341 # need to make the FD available again.
23342 if test "$no_create" != yes; then
23344 ac_config_status_args
=
23345 test "$silent" = yes &&
23346 ac_config_status_args
="$ac_config_status_args --quiet"
23348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23351 # would make configure fail if this is the last instruction.
23352 $ac_cs_success ||
{ (exit 1); exit 1; }