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 --disable-largefile omit support
for large files
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --without-gcc don
't use GCC to compile Emacs if GCC is found
868 --without-pop don't support POP
mail retrieval with movemail
869 --with-kerberos support Kerberos-authenticated POP
870 --with-kerberos5 support Kerberos version
5 authenticated POP
871 --with-hesiod support Hesiod to get the POP server
host
872 --without-sound don
't compile with sound support
873 --with-x-toolkit=KIT use an X toolkit
874 (KIT = yes/lucid/athena/motif/gtk/no)
875 --with-xpm use -lXpm for displaying XPM images
876 --with-jpeg use -ljpeg for displaying JPEG images
877 --with-tiff use -ltiff for displaying TIFF images
878 --with-gif use -lungif for displaying GIF images
879 --with-png use -lpng for displaying PNG images
880 --with-gtk use GTK (same as --with-x-toolkit=gtk)
881 --with-pkg-config-prog Path to pkg-config to use for finding GTK
882 --without-toolkit-scroll-bars
883 don't use Motif or Xaw3d scroll bars
884 --without-xim don
't use X11 XIM
885 --without-carbon don't use Carbon GUI on Mac OS X
886 --with-x use the X Window System
888 Some influential environment variables
:
889 CC C compiler
command
890 CFLAGS C compiler flags
891 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
892 nonstandard directory
<lib dir
>
893 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
894 headers
in a nonstandard directory
<include dir
>
897 Use these variables to override the choices made by
`configure' or to help
898 it to find libraries and programs with nonstandard names/locations.
903 if test "$ac_init_help" = "recursive"; then
904 # If there are subdirs, report their specific --help.
906 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
907 test -d $ac_dir || continue
910 if test "$ac_dir" != .; then
911 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
912 # A "../" for each directory in $ac_dir_suffix.
913 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
915 ac_dir_suffix= ac_top_builddir=
919 .) # No --srcdir option. We are building in place.
921 if test -z "$ac_top_builddir"; then
924 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
926 [\\/]* | ?:[\\/]* ) # Absolute path.
927 ac_srcdir=$srcdir$ac_dir_suffix;
928 ac_top_srcdir=$srcdir ;;
930 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931 ac_top_srcdir=$ac_top_builddir$srcdir ;;
934 # Do not use `cd foo
&& pwd` to compute absolute paths, because
935 # the directories may not exist.
937 .) ac_abs_builddir="$ac_dir";;
940 .) ac_abs_builddir=`pwd`;;
941 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
942 *) ac_abs_builddir=`pwd`/"$ac_dir";;
945 case $ac_abs_builddir in
946 .) ac_abs_top_builddir=${ac_top_builddir}.;;
948 case ${ac_top_builddir}. in
949 .) ac_abs_top_builddir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
951 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
954 case $ac_abs_builddir in
955 .) ac_abs_srcdir=$ac_srcdir;;
958 .) ac_abs_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
960 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
963 case $ac_abs_builddir in
964 .) ac_abs_top_srcdir=$ac_top_srcdir;;
966 case $ac_top_srcdir in
967 .) ac_abs_top_srcdir=$ac_abs_builddir;;
968 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
969 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
974 # Check for guested configure; otherwise get Cygnus style configure.
975 if test -f $ac_srcdir/configure.gnu; then
977 $SHELL $ac_srcdir/configure.gnu --help=recursive
978 elif test -f $ac_srcdir/configure; then
980 $SHELL $ac_srcdir/configure --help=recursive
981 elif test -f $ac_srcdir/configure.ac ||
982 test -f $ac_srcdir/configure.in; then
986 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
992 test -n "$ac_init_help" && exit 0
993 if $ac_init_version; then
996 Copyright (C) 2003 Free Software Foundation, Inc.
997 This configure script is free software; the Free Software Foundation
998 gives unlimited permission to copy, distribute and modify it.
1004 This file contains any messages produced by compilers while
1005 running configure, to aid debugging if configure makes a mistake.
1007 It was created by $as_me, which was
1008 generated by GNU Autoconf 2.59. Invocation command line was
1019 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1020 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1021 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1022 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1023 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1026 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1028 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1029 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1030 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1031 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1032 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1034 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1042 test -z "$as_dir" && as_dir=.
1043 echo "PATH: $as_dir"
1058 # Keep a trace of the command line.
1059 # Strip out --no-create and --no-recursion so they do not pile up.
1060 # Strip out --silent because we don't want to record it for future runs.
1061 # Also quote any args containing shell meta-characters.
1062 # Make two passes to allow for proper duplicate-argument suppression.
1067 ac_must_keep_next=false
1073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1077 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1078 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1084 if test $ac_must_keep_next = true; then
1085 ac_must_keep_next=false # Got value, back to normal.
1088 *=* | --config-cache | -C | -disable-* | --disable-* \
1089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1091 | -with-* | --with-* | -without-* | --without-* | --x)
1092 case "$ac_configure_args0 " in
1093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1096 -* ) ac_must_keep_next=true ;;
1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1100 # Get rid of the leading space.
1106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1109 # When interrupted or exit'd, cleanup temporary files, and complete
1110 # config.log. We remove comments because anyway the quotes in there
1111 # would cause problems or look ugly.
1112 # WARNING: Be sure not to use single quotes in there, as some shells,
1113 # such as our DU 5.0 friend, will then `close
' the trap.
1114 trap 'exit_status
=$?
1115 # Save into config.log some information that might help in debugging.
1120 ## ---------------- ##
1121 ## Cache variables. ##
1122 ## ---------------- ##
1125 # The following way of writing the cache mishandles newlines in values,
1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1143 ## ----------------- ##
1144 ## Output variables. ##
1145 ## ----------------- ##
1148 for ac_var
in $ac_subst_vars
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -n "$ac_subst_files"; then
1162 for ac_var
in $ac_subst_files
1164 eval ac_val
=$
`echo $ac_var`
1165 echo "$ac_var='"'"'$ac_val'"'"'"
1170 if test -s confdefs.h
; then
1177 sed "/^$/d" confdefs.h |
sort
1180 test "$ac_signal" != 0 &&
1181 echo "$as_me: caught signal $ac_signal"
1182 echo "$as_me: exit $exit_status"
1184 rm -f core
*.core
&&
1185 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1188 for ac_signal in 1 2 13 15; do
1189 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1194 rm -rf conftest* confdefs.h
1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1198 # Predefined preprocessor variables.
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_NAME "$PACKAGE_NAME"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_STRING "$PACKAGE_STRING"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1225 # Let the site file select an alternate cache file if it wants to.
1226 # Prefer explicitly selected file to automatically selected ones.
1227 if test -z "$CONFIG_SITE"; then
1228 if test "x$prefix" != xNONE; then
1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1234 for ac_site_file in $CONFIG_SITE; do
1235 if test -r "$ac_site_file"; then
1236 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1237 echo "$as_me: loading site script $ac_site_file" >&6;}
1238 sed 's
/^
/|
/' "$ac_site_file" >&5
1243 if test -r "$cache_file"; then
1244 # Some versions of bash will fail to source /dev/null (special
1245 # files actually), so we avoid doing that.
1246 if test -f "$cache_file"; then
1247 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1248 echo "$as_me: loading cache $cache_file" >&6;}
1250 [\\/]* | ?:[\\/]* ) . $cache_file;;
1251 *) . ./$cache_file;;
1255 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1256 echo "$as_me: creating cache $cache_file" >&6;}
1260 # Check that the precious variables saved in the cache have kept the same
1262 ac_cache_corrupted=false
1263 for ac_var in `(set) 2>&1 |
1264 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1265 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1266 eval ac_new_set=\$ac_env_${ac_var}_set
1267 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1268 eval ac_new_val="\$ac_env_${ac_var}_value"
1269 case $ac_old_set,$ac_new_set in
1271 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1272 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1273 ac_cache_corrupted=: ;;
1275 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1276 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1277 ac_cache_corrupted=: ;;
1280 if test "x$ac_old_val" != "x$ac_new_val"; then
1281 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1282 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1283 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1284 echo "$as_me: former value: $ac_old_val" >&2;}
1285 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1286 echo "$as_me: current value: $ac_new_val" >&2;}
1287 ac_cache_corrupted=:
1290 # Pass precious variables to config.status.
1291 if test "$ac_new_set" = set; then
1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1294 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1295 *) ac_arg=$ac_var=$ac_new_val ;;
1297 case " $ac_configure_args " in
1298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1299 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1303 if $ac_cache_corrupted; then
1304 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1305 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1306 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1307 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1308 { (exit 1); exit 1; }; }
1312 ac_cpp='$CPP $CPPFLAGS'
1313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1314 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1335 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1338 test "$program_prefix" != NONE &&
1339 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1340 # Use a double $ so make ignores it.
1341 test "$program_suffix" != NONE &&
1342 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1343 # Double any \ or $. echo might interpret backslashes.
1344 # By default was `s,x,x', remove it
if useless.
1345 cat <<\_ACEOF
>conftest.
sed
1346 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1348 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1352 lispdir
='${datadir}/emacs/${version}/lisp'
1353 locallisppath
='${datadir}/emacs/${version}/site-lisp:'\
1354 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1355 lisppath
='${locallisppath}:${lispdir}'
1356 etcdir
='${datadir}/emacs/${version}/etc'
1357 archlibdir
='${libexecdir}/emacs/${version}/${configuration}'
1358 docdir
='${datadir}/emacs/${version}/etc'
1359 gamedir
='${localstatedir}/games/emacs'
1364 # Check whether --with-gcc or --without-gcc was given.
1365 if test "${with_gcc+set}" = set; then
1370 # Check whether --with-pop or --without-pop was given.
1371 if test "${with_pop+set}" = set; then
1373 if test "$withval" = yes; then
1374 cat >>confdefs.h
<<\_ACEOF
1375 #define MAIL_USE_POP 1
1381 cat >>confdefs.h
<<\_ACEOF
1382 #define MAIL_USE_POP 1
1388 # Check whether --with-kerberos or --without-kerberos was given.
1389 if test "${with_kerberos+set}" = set; then
1390 withval
="$with_kerberos"
1391 cat >>confdefs.h
<<\_ACEOF
1398 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1399 if test "${with_kerberos5+set}" = set; then
1400 withval
="$with_kerberos5"
1401 if test "${with_kerberos5+set}" = set; then
1402 if test "${with_kerberos+set}" != set; then
1404 cat >>confdefs.h
<<\_ACEOF
1411 cat >>confdefs.h
<<\_ACEOF
1417 # Check whether --with-hesiod or --without-hesiod was given.
1418 if test "${with_hesiod+set}" = set; then
1419 withval
="$with_hesiod"
1421 cat >>confdefs.h
<<\_ACEOF
1428 # Check whether --with-sound or --without-sound was given.
1429 if test "${with_sound+set}" = set; then
1430 withval
="$with_sound"
1435 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1436 if test "${with_x_toolkit+set}" = set; then
1437 withval
="$with_x_toolkit"
1438 case "${withval}" in
1439 y | ye |
yes ) val
=athena
;;
1441 l | lu | luc | luci | lucid
) val
=lucid
;;
1442 a |
at | ath | athe | athen | athena
) val
=athena
;;
1443 m | mo | mot | moti | motif
) val
=motif
;;
1444 g | gt | gtk
) val
=gtk
;;
1446 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1447 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1448 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1449 echo "$as_me: 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." >&2;}
1452 { (exit 1); exit 1; }; }
1459 # Check whether --with-xpm or --without-xpm was given.
1460 if test "${with_xpm+set}" = set; then
1465 # Check whether --with-jpeg or --without-jpeg was given.
1466 if test "${with_jpeg+set}" = set; then
1467 withval
="$with_jpeg"
1471 # Check whether --with-tiff or --without-tiff was given.
1472 if test "${with_tiff+set}" = set; then
1473 withval
="$with_tiff"
1477 # Check whether --with-gif or --without-gif was given.
1478 if test "${with_gif+set}" = set; then
1483 # Check whether --with-png or --without-png was given.
1484 if test "${with_png+set}" = set; then
1489 # Check whether --with-gtk or --without-gtk was given.
1490 if test "${with_gtk+set}" = set; then
1495 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given.
1496 if test "${with_pkg_config_prog+set}" = set; then
1497 withval
="$with_pkg_config_prog"
1501 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
1502 if test "${with_toolkit_scroll_bars+set}" = set; then
1503 withval
="$with_toolkit_scroll_bars"
1507 # Check whether --with-xim or --without-xim was given.
1508 if test "${with_xim+set}" = set; then
1513 # Check whether --with-carbon or --without-carbon was given.
1514 if test "${with_carbon+set}" = set; then
1515 withval
="$with_carbon"
1518 # Check whether --enable-carbon-app or --disable-carbon-app was given.
1519 if test "${enable_carbon_app+set}" = set; then
1520 enableval
="$enable_carbon_app"
1521 carbon_appdir_x
=${enableval}
1524 # Check whether --enable-asserts or --disable-asserts was given.
1525 if test "${enable_asserts+set}" = set; then
1526 enableval
="$enable_asserts"
1527 USE_XASSERTS
=$enableval
1532 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1533 if test "${enable_maintainer_mode+set}" = set; then
1534 enableval
="$enable_maintainer_mode"
1535 USE_MAINTAINER_MODE
=$enableval
1537 USE_MAINTAINER_MODE
=no
1539 if test $USE_MAINTAINER_MODE = yes; then
1546 #### Make srcdir absolute, if it isn't already. It's important to
1547 #### avoid running the path through pwd unnecessarily, since pwd can
1548 #### give you automounter prefixes, which can go away. We do all this
1549 #### so Emacs can find its files when run uninstalled.
1550 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
1555 ## We may be able to use the $PWD environment variable to make this
1556 ## absolute. But sometimes PWD is inaccurate.
1557 ## Note: we used to use ${PWD} at the end instead of `pwd`,
1558 ## but that tested only for a well-formed and valid PWD,
1559 ## it did not object when PWD was well-formed and valid but just wrong.
1560 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
1564 srcdir
="`(cd ${srcdir}; pwd)`"
1567 * ) srcdir
="`(cd ${srcdir}; pwd)`" ;;
1570 #### Check if the source directory already has a configured system in it.
1571 if test `pwd` != `(cd ${srcdir} && pwd)` \
1572 && test -f "${srcdir}/src/config.h" ; then
1573 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1574 as a build directory right now; it has been configured in its own
1575 right. To configure in another directory as well, you MUST
1576 use GNU make. If you do not have GNU make, then you must
1577 now do \`make distclean' in ${srcdir},
1578 and then run $0 again." >&5
1579 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
1580 as a build directory right now; it has been configured in its own
1581 right. To configure in another directory as well, you MUST
1582 use GNU make. If you do not have GNU make, then you must
1583 now do \`make distclean' in ${srcdir},
1584 and then run $0 again." >&2;}
1587 #### Given the configuration name, set machfile and opsysfile to the
1588 #### names of the m/*.h and s/*.h files we should use.
1590 ### Canonicalize the configuration name.
1593 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1594 if test -f $ac_dir/install-sh
; then
1596 ac_install_sh
="$ac_aux_dir/install-sh -c"
1598 elif test -f $ac_dir/install.sh
; then
1600 ac_install_sh
="$ac_aux_dir/install.sh -c"
1602 elif test -f $ac_dir/shtool
; then
1604 ac_install_sh
="$ac_aux_dir/shtool install -c"
1608 if test -z "$ac_aux_dir"; then
1609 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1610 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1611 { (exit 1); exit 1; }; }
1613 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1614 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1615 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1617 # Make sure we can run config.sub.
1618 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1619 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1620 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1621 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: checking build system type" >&5
1624 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1625 if test "${ac_cv_build+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_build_alias
=$build_alias
1629 test -z "$ac_cv_build_alias" &&
1630 ac_cv_build_alias
=`$ac_config_guess`
1631 test -z "$ac_cv_build_alias" &&
1632 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1633 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1634 { (exit 1); exit 1; }; }
1635 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1642 echo "${ECHO_T}$ac_cv_build" >&6
1644 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1649 echo "$as_me:$LINENO: checking host system type" >&5
1650 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1651 if test "${ac_cv_host+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 ac_cv_host_alias
=$host_alias
1655 test -z "$ac_cv_host_alias" &&
1656 ac_cv_host_alias
=$ac_cv_build_alias
1657 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1658 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1659 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1660 { (exit 1); exit 1; }; }
1663 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1664 echo "${ECHO_T}$ac_cv_host" >&6
1666 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1667 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1668 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1672 configuration
=${host_alias-$host}
1676 ### If you add support for a new configuration, add code to this
1677 ### switch statement to recognize your configuration name and select
1678 ### the appropriate operating system and machine description files.
1680 ### You would hope that you could choose an m/*.h file pretty much
1681 ### based on the machine portion of the configuration name, and an s-
1682 ### file based on the operating system portion. However, it turns out
1683 ### that each m/*.h file is pretty manufacturer-specific - for
1684 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1685 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1686 ### machines. So we basically have to have a special case for each
1687 ### configuration name.
1689 ### As far as handling version numbers on operating systems is
1690 ### concerned, make sure things will fail in a fixable way. If
1691 ### /etc/MACHINES doesn't say anything about version numbers, be
1692 ### prepared to handle anything reasonably. If version numbers
1693 ### matter, be sure /etc/MACHINES says something about it.
1695 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1696 ### "System V Release 4"; he writes, "The old convention encouraged
1697 ### confusion between `system' and `release' levels'."
1699 machine
='' opsys
='' unported
=no
1700 case "${canonical}" in
1705 case "${canonical}" in
1706 alpha
*-*-freebsd*) machine
=alpha
;;
1707 i
[3456]86-*-freebsd*) machine
=intel386
;;
1714 if test -f /usr
/lib
/crti.o
; then
1716 cat >>confdefs.h
<<\_ACEOF
1722 case "${canonical}" in
1723 alpha
*-*-netbsd*) machine
=alpha
;;
1724 i
[3456]86-*-netbsd*) machine
=intel386
;;
1726 # This is somewhat bogus.
1727 machine
=hp9000s300
;;
1728 powerpc-apple-netbsd
*) machine
=macppc
;;
1729 mips-
*-netbsd*) machine
=pmax
;;
1730 mipsel-
*-netbsd*) machine
=pmax
;;
1731 mipseb-
*-netbsd*) machine
=pmax
;;
1732 ns32k-
*-netbsd*) machine
=ns32000
;;
1733 powerpc-
*-netbsd*) machine
=macppc
;;
1734 sparc
*-*-netbsd*) machine
=sparc
;;
1735 vax-
*-netbsd*) machine
=vax
;;
1736 arm-
*-netbsd*) machine
=arm
;;
1743 case "${canonical}" in
1744 alpha
*-*-openbsd*) machine
=alpha
;;
1745 i386-
*-openbsd*) machine
=intel386
;;
1746 m68k-
*-openbsd*) machine
=hp9000s300
;;
1747 mipsel-
*-openbsd*) machine
=pmax
;;
1748 ns32k-
*-openbsd*) machine
=ns32000
;;
1749 sparc-
*-openbsd*) machine
=sparc
;;
1750 vax-
*-openbsd*) machine
=vax
;;
1755 arm-acorn-riscix1.1
* )
1756 machine
=acorn opsys
=riscix1-1
1758 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1759 ## This name is riscix12 instead of riscix1.2
1760 ## to avoid a file name conflict on MSDOS.
1761 machine
=acorn opsys
=riscix12
1767 case "${canonical}" in
1768 i
[345]86-*-bsdi*) machine
=intel386
;;
1769 sparc-
*-bsdi*) machine
=sparc
;;
1770 powerpc-
*-bsdi*) machine
=macppc
;;
1772 case "${canonical}" in
1773 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1774 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1775 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1776 *-*-bsdi3* ) opsys
=bsdos3
;;
1777 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1782 ## Strictly speaking, we need the version of the alliant operating
1783 ## system to choose the right machine file, but currently the
1784 ## configuration name doesn't tell us enough to choose the right
1785 ## one; we need to give alliants their own operating system name to
1786 ## do this right. When someone cares, they can help us.
1788 machine
=alliant4 opsys
=bsd4-2
1791 machine
=alliant-2800 opsys
=bsd4-3
1794 ## Alpha (DEC) machines.
1796 machine
=alpha opsys
=osf1
1797 # This is needed to find X11R6.1 libraries for certain tests.
1798 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1799 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1800 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1801 # due to non-traditional preprocessing with the current compiler
1802 # defaults. OSF 4 can also have that compiler version, and there
1803 # seems always to have been a usable /usr/bin/cpp.
1804 NON_GNU_CPP
=/usr
/bin
/cpp
1805 case "${canonical}" in
1806 alpha
*-dec-osf[5-9]*)
1811 alpha
*-*-linux-gnu* )
1812 machine
=alpha opsys
=gnu-linux
1816 machine
=arm opsys
=gnu-linux
1821 machine
=macppc opsys
=gnu-linux
1826 machine
=altos opsys
=usg5-2
1831 machine
=amdahl opsys
=usg5-2-2
1834 ## Apollo, Domain/OS
1836 machine
=apollo opsys
=bsd4-3
1839 ## AT&T 3b2, 3b5, 3b15, 3b20
1841 machine
=att3b opsys
=usg5-2-2
1844 ## AT&T 3b1 - The Mighty Unix PC!
1846 machine
=7300 opsys
=usg5-2-2
1851 machine
=ibmrs6000 opsys
=aix3-2
1856 machine
=dpx2 opsys
=usg5-3
1861 machine
=sps7 opsys
=usg5-2
1864 ## CCI 5/32, 6/32 -- see "Tahoe".
1867 ## I don't know what configuration name to use for this; config.sub
1868 ## doesn't seem to know anything about it. Hey, Celerity users, get
1869 ## in touch with us!
1870 celerity-celerity-bsd
* )
1871 machine
=celerity opsys
=bsd4-2
1875 ## What operating systems does this chip run that Emacs has been
1879 ## We'll use the catch-all code at the bottom to guess the
1880 ## operating system.
1884 mips-compaq-nonstopux
* )
1885 machine
=nonstopux opsys
=nonstopux
1889 *-convex-bsd* |
*-convex-convexos* )
1890 machine
=convex opsys
=bsd4-3
1891 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1892 NON_GNU_CPP
="cc -E -P"
1896 i
[3456]86-cubix-sysv* )
1897 machine
=intel386 opsys
=usg5-3
1901 cydra
*-cydrome-sysv* )
1902 machine
=cydra5 opsys
=usg5-3
1905 ## Data General AViiON Machines
1906 ## DG changed naming conventions with the release of 5.4.4.10, they
1907 ## dropped the initial 5.4 but left the intervening R. Because of the
1908 ## R this shouldn't conflict with older versions of the OS (which I
1909 ## think were named like dgux4.*). In addition, DG new AViiONs series
1910 ## uses either Motorola M88k or Intel Pentium CPUs.
1911 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1912 machine
=aviion opsys
=dgux4
1914 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1915 ## This name is dgux5-4-3 instead of dgux5-4r3
1916 ## to avoid a file name conflict on MSDOS.
1917 machine
=aviion opsys
=dgux5-4-3
1919 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1920 machine
=aviion opsys
=dgux5-4r2
1923 machine
=aviion opsys
=dgux
1926 ## Data General AViiON Intel (x86) Machines
1927 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1928 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1929 i
[345]86-dg-dguxR4* )
1930 machine
=aviion-intel opsys
=dgux4
1934 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1935 machine
=pmax opsys
=bsd4-2
1937 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1938 machine
=pmax opsys
=bsd4-3
1941 machine
=pmax opsys
=ultrix4-3
1944 machine
=pmax opsys
=osf1
1946 mips-dec-mach_bsd4.3
* )
1947 machine
=pmax opsys
=mach-bsd4-3
1950 ## Motorola Delta machines
1951 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1952 machine
=delta opsys
=usg5-3
1953 if test -z "`type gnucc | grep 'not found'`"
1955 if test -s /etc
/167config
1956 then CC
="gnucc -m68040"
1957 else CC
="gnucc -m68881"
1960 if test -z "`type gcc | grep 'not found'`"
1966 m88k-motorola-sysv4
* )
1967 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1968 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1969 # I hope there are not other 4.0 versions for this machine
1970 # which really need usg5-4 instead.
1971 machine
=delta88k opsys
=usg5-4-2
1973 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1974 machine
=delta88k opsys
=usg5-3
1979 machine
=dual opsys
=usg5-2
1981 m68
*-dual-uniplus* )
1982 machine
=dual opsys
=unipl5-2
1987 machine
=elxsi opsys
=usg5-2
1992 machine
=ns16000 opsys
=umax
1995 ## The GEC 63 - apparently, this port isn't really finished yet.
1996 # I'm sure we finished off the last of the machines, though. -- fx
1998 ## Gould Power Node and NP1
2000 machine
=gould opsys
=bsd4-2
2003 machine
=gould opsys
=bsd4-3
2006 machine
=gould-np1 opsys
=bsd4-3
2009 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2010 ## as far as Emacs is concerned).
2012 # Build needs to be different on 7.0 and later releases
2013 case "`uname -r`" in
2014 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2015 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2017 NON_GNU_CPP
="/lib/cpp"
2019 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2021 machine
=nh3000 opsys
=cxux
2023 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2024 powerpc-harris-powerunix
)
2025 machine
=nh6000 opsys
=powerunix
2026 NON_GNU_CPP
="cc -Xo -E -P"
2028 ## SR2001/SR2201 running HI-UX/MPP
2029 hppa1.1
-hitachi-hiuxmpp* )
2030 machine
=sr2k opsys
=hiuxmpp
2032 hppa1.1
-hitachi-hiuxwe2* )
2033 machine
=sr2k opsys
=hiuxwe2
2036 xps
*-honeywell-sysv* )
2037 machine
=xps100 opsys
=usg5-2
2040 ## HP 9000 series 200 or 300
2042 machine
=hp9000s300 opsys
=bsd4-3
2044 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2046 case "`uname -r`" in
2047 ## Someone's system reports A.B8.05 for this.
2048 ## I wonder what other possibilities there are.
2049 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2050 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2051 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2052 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2053 *) machine
=hp9000s300 opsys
=hpux
;;
2057 ## HP 9000 series 700 and 800, running HP/UX
2059 machine
=hp800 opsys
=hpux
2062 machine
=hp800 opsys
=hpux8
2064 hppa
*-hp-hpux9shr* )
2065 machine
=hp800 opsys
=hpux9shr
2068 machine
=hp800 opsys
=hpux9
2070 hppa
*-hp-hpux10.2
* )
2071 machine
=hp800 opsys
=hpux10-20
2074 machine
=hp800 opsys
=hpux10
2076 hppa
*-hp-hpux1[1-9]* )
2077 machine
=hp800 opsys
=hpux11
2080 hppa
*-*-linux-gnu* )
2081 machine
=hp800 opsys
=gnu-linux
2084 ## HP 9000 series 700 and 800, running HP/UX
2086 ## Cross-compilation? Nah!
2087 case "`uname -r`" in
2088 ## Someone's system reports A.B8.05 for this.
2089 ## I wonder what other possibilities there are.
2090 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2091 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2092 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2093 *) machine
=hp800 opsys
=hpux10
;;
2097 machine
=hp800 opsys
=nextstep
2102 machine
=orion opsys
=bsd4-2
2104 clipper-orion-bsd
* )
2105 machine
=orion105 opsys
=bsd4-2
2109 i
[3456]86-ibm-aix1.1
* )
2110 machine
=ibmps2-aix opsys
=usg5-2-2
2112 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2113 machine
=ibmps2-aix opsys
=usg5-3
2116 machine
=ibm370aix opsys
=usg5-3
2119 machine
=ibms390 opsys
=gnu-linux
2121 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2122 machine
=ibmrs6000 opsys
=aix3-1
2124 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2125 machine
=ibmrs6000 opsys
=aix3-2-5
2127 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2128 machine
=ibmrs6000 opsys
=aix4-1
2130 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2131 machine
=ibmrs6000 opsys
=aix4-2
2133 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2134 machine
=ibmrs6000 opsys
=aix4-2
2136 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2137 machine
=ibmrs6000 opsys
=aix4
2139 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2140 machine
=ibmrs6000 opsys
=aix4-1
2142 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2143 machine
=ibmrs6000 opsys
=aix3-2
2146 machine
=ibmrt opsys
=bsd4-3
2149 machine
=ibmrt opsys
=bsd4-2
2152 machine
=ibmrt opsys
=bsd4-3
2155 machine
=ibmrt opsys
=bsd4-2
2158 machine
=ibmrt opsys
=bsd4-3
2161 machine
=ibmrt opsys
=bsd4-3
2164 machine
=ibmrt-aix opsys
=usg5-2-2
2167 ## Integrated Solutions `Optimum V'
2169 machine
=isi-ov opsys
=bsd4-2
2172 machine
=isi-ov opsys
=bsd4-3
2175 ## Intel 386 machines where we do care about the manufacturer
2176 i
[3456]86-intsys-sysv* )
2177 machine
=is386 opsys
=usg5-2-2
2181 i
[3456]86-prime-sysv* )
2182 machine
=i386 opsys
=usg5-3
2185 ## Sequent Symmetry running Dynix
2186 i
[3456]86-sequent-bsd* )
2187 machine
=symmetry opsys
=bsd4-3
2190 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2191 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2192 machine
=sequent-ptx opsys
=ptx4
2193 NON_GNU_CPP
=/lib
/cpp
2196 ## Sequent Symmetry running DYNIX/ptx
2197 ## Use the old cpp rather than the newer ANSI one.
2198 i
[3456]86-sequent-ptx* )
2199 machine
=sequent-ptx opsys
=ptx
2200 NON_GNU_CPP
="/lib/cpp"
2203 ## ncr machine running svr4.3.
2204 i
[3456]86-ncr-sysv4.3
)
2205 machine
=ncr386 opsys
=usg5-4-3
2208 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2209 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2210 i
[3456]86-ncr-sysv* )
2211 machine
=ncr386 opsys
=usg5-4-2
2214 ## Intel Paragon OSF/1
2216 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2221 machine
=i860 opsys
=usg5-4
2222 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2223 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2226 ## Macintosh PowerPC
2227 powerpc
*-*-linux-gnu* )
2228 machine
=macppc opsys
=gnu-linux
2231 ## Masscomp machines
2232 m68
*-masscomp-rtu* )
2233 machine
=masscomp opsys
=rtu
2236 ## Megatest machines
2237 m68
*-megatest-bsd* )
2238 machine
=mega68 opsys
=bsd4-2
2241 ## Workstations sold by MIPS
2242 ## This is not necessarily all workstations using the MIPS processor -
2243 ## Irises are produced by SGI, and DECstations by DEC.
2245 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2246 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2247 ## it gives for choosing between the alternatives seems to be "Use
2248 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2249 ## the BSD world." I'll assume that these are instructions for
2250 ## handling two odd situations, and that every other situation
2251 ## should use mips.h and usg5-2-2, they being listed first.
2254 ## Fall through to the general code at the bottom to decide on the OS.
2256 mips-mips-riscos4
* )
2257 machine
=mips4 opsys
=bsd4-3
2258 NON_GNU_CC
="cc -systype bsd43"
2259 NON_GNU_CPP
="cc -systype bsd43 -E"
2261 mips-mips-riscos5
* )
2262 machine
=mips4 opsys
=riscos5
2263 NON_GNU_CC
="cc -systype bsd43"
2264 NON_GNU_CPP
="cc -systype bsd43 -E"
2267 machine
=mips opsys
=bsd4-3
2270 machine
=mips opsys
=usg5-2-2
2274 m68
*-next-* | m68k-
*-nextstep* )
2275 machine
=m68k opsys
=nextstep
2278 ## The complete machine from National Semiconductor
2280 machine
=ns32000 opsys
=usg5-2
2284 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2285 machine
=tower32 opsys
=usg5-2-2
2287 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2288 machine
=tower32v3 opsys
=usg5-3
2293 machine
=ews4800 opsys
=ux4800
2296 ## Nixdorf Targon 31
2297 m68
*-nixdorf-sysv* )
2298 machine
=targon31 opsys
=usg5-2-2
2303 machine
=nu opsys
=usg5-2
2308 machine
=plexus opsys
=usg5-2
2312 ## I don't really have any idea what sort of processor the Pyramid has,
2313 ## so I'm assuming it is its own architecture.
2314 pyramid-pyramid-bsd
* )
2315 machine
=pyramid opsys
=bsd4-2
2319 ns32k-sequent-bsd4.2
* )
2320 machine
=sequent opsys
=bsd4-2
2322 ns32k-sequent-bsd4.3
* )
2323 machine
=sequent opsys
=bsd4-3
2327 mips-siemens-sysv
* | mips-sni-sysv
*)
2328 machine
=mips-siemens opsys
=usg5-4
2329 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2330 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2333 ## Silicon Graphics machines
2334 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2336 machine
=irist opsys
=iris3-5
2338 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2339 machine
=irist opsys
=iris3-6
2343 machine
=iris4d opsys
=irix3-3
2346 machine
=iris4d opsys
=irix4-0
2349 machine
=iris4d opsys
=irix6-5
2350 # Without defining _LANGUAGE_C, things get masked out in the headers
2351 # so that, for instance, grepping for `free' in stdlib.h fails and
2352 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2353 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2354 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2357 machine
=iris4d opsys
=irix6-0
2358 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2359 # but presumably it does no harm.
2360 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2361 # -32 probably isn't necessary in later v.6s -- anyone know which?
2362 NON_GCC_TEST_OPTIONS
=-32
2364 mips-sgi-irix5.
[01]* )
2365 machine
=iris4d opsys
=irix5-0
2367 mips-sgi-irix5
* | mips-sgi-irix
* )
2368 machine
=iris4d opsys
=irix5-2
2373 machine
=news opsys
=bsd4-2
2376 machine
=news opsys
=bsd4-3
2378 m68
*-sony-newsos3* | m68
*-sony-news3*)
2379 machine
=news opsys
=bsd4-3
2381 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2382 machine
=news-risc opsys
=bsd4-3
2384 mips-sony-newsos6
* )
2385 machine
=news-r6 opsys
=newsos6
2388 machine
=news-risc opsys
=newsos5
2393 machine
=stride opsys
=usg5-2
2397 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2398 machine
=sparc opsys
=gnu-linux
2401 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2402 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2403 | rs6000-
*-solaris2*)
2404 case "${canonical}" in
2405 m68
*-sunos1* ) machine
=sun1
;;
2406 m68
*-sunos2* ) machine
=sun2
;;
2407 m68
* ) machine
=sun3
;;
2408 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2409 i
[3456]86-*-* ) machine
=intel386
;;
2410 powerpcle
* ) machine
=powerpcle
;;
2411 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2412 sparc
* ) machine
=sparc
;;
2415 case "${canonical}" in
2416 ## The Sun386 didn't get past 4.0.
2417 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2418 *-sunos4.0
* ) opsys
=sunos4-0
;;
2419 *-sunos4.1.
[3-9]*noshare
)
2420 ## This name is sunos413 instead of sunos4-1-3
2421 ## to avoid a file name conflict on MSDOS.
2423 NON_GNU_CPP
=/usr
/lib
/cpp
2424 NON_GCC_TEST_OPTIONS
=-Bstatic
2425 GCC_TEST_OPTIONS
=-static
2427 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2429 NON_GNU_CPP
=/usr
/lib
/cpp
2431 *-sunos4* |
*-sunos )
2433 NON_GCC_TEST_OPTIONS
=-Bstatic
2434 GCC_TEST_OPTIONS
=-static
2436 *-sunos5.3
* |
*-solaris2.3
* )
2438 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2440 *-sunos5.4
* |
*-solaris2.4
* )
2442 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2445 *-sunos5.5
* |
*-solaris2.5
* )
2447 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2450 *-sunos5.6
* |
*-solaris2.6
* )
2452 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2455 *-sunos5* |
*-solaris* )
2457 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2461 ## Watch out for a compiler that we know will not work.
2462 case "${canonical}" in
2463 *-solaris* |
*-sunos5* )
2464 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2465 ## /usr/ucb/cc doesn't work;
2466 ## we should find some other compiler that does work.
2474 machine
=sparc opsys
=nextstep
2478 m68
*-tadpole-sysv* )
2479 machine
=tad68k opsys
=usg5-3
2483 tahoe-tahoe-bsd4.2
* )
2484 machine
=tahoe opsys
=bsd4-2
2486 tahoe-tahoe-bsd4.3
* )
2487 machine
=tahoe opsys
=bsd4-3
2490 ## Tandem Integrity S2
2492 machine
=tandem-s2 opsys
=usg5-3
2496 m88k-tektronix-sysv3
* )
2497 machine
=tekxd88 opsys
=usg5-3
2500 ## Tektronix 16000 box (6130?)
2501 ns16k-tektronix-bsd
* )
2502 machine
=ns16000 opsys
=bsd4-2
2505 ## src/m/tek4300.h hints that this is a m68k machine.
2506 m68
*-tektronix-bsd* )
2507 machine
=tek4300 opsys
=bsd4-3
2511 ## We seem to have lost the machine-description file titan.h!
2513 machine
=titan opsys
=usg5-3
2516 ## Ustation E30 (SS5E)
2517 m68
*-unisys-uniplus* )
2518 machine
=ustation opsystem
=unipl5-2
2524 case "${canonical}" in
2525 *-bsd4.1
* ) opsys
=bsd4-1
;;
2526 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2527 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2528 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2529 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2530 *-vms* ) opsys
=vms
;;
2536 ns16k-whitechapel-
* )
2538 ## We don't know what sort of OS runs on these; we'll let the
2539 ## operating system guessing code below try.
2544 machine
=wicat opsys
=usg5-2
2549 machine
=ia64 opsys
=gnu-linux
2552 ## Intel 386 machines where we don't care about the manufacturer
2555 case "${canonical}" in
2556 *-cygwin ) opsys
=cygwin
;;
2557 *-lynxos* ) opsys
=lynxos
;;
2558 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2559 *-isc2.2
* ) opsys
=isc2-2
;;
2560 *-isc4.0
* ) opsys
=isc4-0
;;
2561 *-isc4.
* ) opsys
=isc4-1
2562 GCC_TEST_OPTIONS
=-posix
2563 NON_GCC_TEST_OPTIONS
=-Xp
2565 *-isc* ) opsys
=isc3-0
;;
2566 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2567 *-esix* ) opsys
=esix
;;
2568 *-xenix* ) opsys
=xenix
;;
2569 *-linux-gnu* ) opsys
=gnu-linux
;;
2570 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2571 *-sco3.2v5
* ) opsys
=sco5
2572 NON_GNU_CPP
=/lib
/cpp
2573 # Prevent -belf from being passed to $CPP.
2574 # /lib/cpp does not accept it.
2575 OVERRIDE_CPPFLAGS
=" "
2577 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2578 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2579 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2580 *-386bsd* ) opsys
=386bsd
;;
2581 *-nextstep* ) opsys
=nextstep
;;
2582 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2586 ## m68k Linux-based GNU system
2588 machine
=m68k opsys
=gnu-linux
2591 ## Mips Linux-based GNU system
2592 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2593 machine
=mips opsys
=gnu-linux
2597 sparc-fujitsu-sysv4
* )
2598 machine
=sparc opsys
=uxpds
2599 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2604 f301-fujitsu-uxpv4.1
)
2605 machine
=f301 opsys
=uxpv
2608 ## Darwin / Mac OS X
2609 powerpc-apple-darwin
* )
2610 machine
=powermac opsys
=darwin
2611 # Define CPP as follows to make autoconf work correctly.
2612 CPP
="${CC-cc} -E -no-cpp-precomp"
2613 # Use fink packages if available.
2614 if test -d /sw
/include
&& test -d /sw
/lib
; then
2615 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2616 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2617 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2621 ## AMD x86-64 Linux-based GNU system
2622 x86_64-
*-linux-gnu* )
2623 machine
=amdx86-64 opsys
=gnu-linux
2631 ### If the code above didn't choose an operating system, just choose
2632 ### an operating system based on the configuration name. You really
2633 ### only want to use this when you have no idea what the right
2634 ### operating system is; if you know what operating systems a machine
2635 ### runs, it's cleaner to make it explicit in the case statement
2637 if test x
"${opsys}" = x
; then
2638 case "${canonical}" in
2639 *-gnu* ) opsys
=gnu
;;
2640 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2641 *-bsd4.2
) opsys
=bsd4-2
;;
2642 *-bsd4.3
) opsys
=bsd4-3
;;
2643 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2644 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2645 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2646 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2647 *-sysv4.2uw
* ) opsys
=unixware
;;
2648 *-sysv5uw* ) opsys
=unixware
;;
2649 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2650 *-sysv4.1
* |
*-sysvr4.1
* )
2651 NON_GNU_CPP
=/usr
/lib
/cpp
2653 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2654 if [ x
$NON_GNU_CPP = x
]; then
2655 if [ -f /usr
/ccs
/lib
/cpp
]; then
2656 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2658 NON_GNU_CPP
=/lib
/cpp
2662 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2671 if test $unported = yes; then
2672 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2673 Check \`etc/MACHINES' for recognized configuration names." >&5
2674 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2675 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2676 { (exit 1); exit 1; }; }
2679 machfile
="m/${machine}.h"
2680 opsysfile
="s/${opsys}.h"
2683 #### Choose a compiler.
2684 test -n "$CC" && cc_specified
=yes
2686 # Save the value of CFLAGS that the user specified.
2687 SPECIFIED_CFLAGS
="$CFLAGS"
2690 "yes" ) CC
="gcc" GCC
=yes ;;
2691 "no" ) : ${CC=cc} ;;
2695 ac_cpp
='$CPP $CPPFLAGS'
2696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2701 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2702 echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2704 if test "${ac_cv_prog_CC+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC
="$CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 echo "$as_me:$LINENO: result: $CC" >&5
2729 echo "${ECHO_T}$CC" >&6
2731 echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2736 if test -z "$ac_cv_prog_CC"; then
2738 # Extract the first word of "gcc", so it can be a program name with args.
2739 set dummy gcc
; ac_word
=$2
2740 echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -n "$ac_ct_CC"; then
2746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_ac_ct_CC
="gcc"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2765 if test -n "$ac_ct_CC"; then
2766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2767 echo "${ECHO_T}$ac_ct_CC" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_CC+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 echo "$as_me:$LINENO: result: $CC" >&5
2809 echo "${ECHO_T}$CC" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2816 if test -z "$ac_cv_prog_CC"; then
2818 # Extract the first word of "cc", so it can be a program name with args.
2819 set dummy cc
; ac_word
=$2
2820 echo "$as_me:$LINENO: checking for $ac_word" >&5
2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 if test -n "$ac_ct_CC"; then
2826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_ac_ct_CC
="cc"
2836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2845 if test -n "$ac_ct_CC"; then
2846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2847 echo "${ECHO_T}$ac_ct_CC" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2859 if test -z "$CC"; then
2860 # Extract the first word of "cc", so it can be a program name with args.
2861 set dummy cc
; ac_word
=$2
2862 echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2864 if test "${ac_cv_prog_CC+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$CC"; then
2868 ac_cv_prog_CC
="$CC" # Let the user override the test.
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2879 ac_prog_rejected
=yes
2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test $ac_prog_rejected = yes; then
2890 # We found a bogon in the path, so make sure we never use it.
2891 set dummy
$ac_cv_prog_CC
2893 if test $# != 0; then
2894 # We chose a different compiler from the bogus one.
2895 # However, it has the same basename, so the bogon will be chosen
2896 # first if we set CC to just the basename; use the full file name.
2898 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2904 if test -n "$CC"; then
2905 echo "$as_me:$LINENO: result: $CC" >&5
2906 echo "${ECHO_T}$CC" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2913 if test -z "$CC"; then
2914 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2918 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2919 echo "$as_me:$LINENO: checking for $ac_word" >&5
2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2921 if test "${ac_cv_prog_CC+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$CC"; then
2945 echo "$as_me:$LINENO: result: $CC" >&5
2946 echo "${ECHO_T}$CC" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2952 test -n "$CC" && break
2955 if test -z "$CC"; then
2959 # Extract the first word of "$ac_prog", so it can be a program name with args.
2960 set dummy
$ac_prog; ac_word
=$2
2961 echo "$as_me:$LINENO: checking for $ac_word" >&5
2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2963 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 if test -n "$ac_ct_CC"; then
2967 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976 ac_cv_prog_ac_ct_CC
="$ac_prog"
2977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2988 echo "${ECHO_T}$ac_ct_CC" >&6
2990 echo "$as_me:$LINENO: result: no" >&5
2991 echo "${ECHO_T}no" >&6
2994 test -n "$ac_ct_CC" && break
3003 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3004 See \`config.log' for more details." >&5
3005 echo "$as_me: error: no acceptable C compiler found in \$PATH
3006 See \`config.log' for more details." >&2;}
3007 { (exit 1); exit 1; }; }
3009 # Provide some information about the compiler.
3010 echo "$as_me:$LINENO:" \
3011 "checking for C compiler version" >&5
3012 ac_compiler
=`set X $ac_compile; echo $2`
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3014 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }
3018 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3019 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }
3023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3024 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }
3029 cat >conftest.
$ac_ext <<_ACEOF
3032 cat confdefs.h
>>conftest.
$ac_ext
3033 cat >>conftest.
$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3044 ac_clean_files_save
=$ac_clean_files
3045 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3046 # Try to create an executable without -o first, disregard a.out.
3047 # It will help us diagnose broken compilers, and finding out an intuition
3049 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3050 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3051 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3052 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3053 (eval $ac_link_default) 2>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; then
3057 # Find the output, starting from the most likely. This scheme is
3058 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3061 # Be careful to initialize this variable, since it used to be cached.
3062 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3064 # b.out is created by i960 compilers.
3065 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3067 test -f "$ac_file" ||
continue
3069 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3072 # This is the source file.
3075 # We found the default executable, but exeext='' is most
3079 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 # FIXME: I believe we export ac_cv_exeext for Libtool,
3081 # but it would be cool to find out if it's true. Does anybody
3082 # maintain Libtool? --akim.
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3094 See \`config.log' for more details." >&5
3095 echo "$as_me: error: C compiler cannot create executables
3096 See \`config.log' for more details." >&2;}
3097 { (exit 77); exit 77; }; }
3100 ac_exeext
=$ac_cv_exeext
3101 echo "$as_me:$LINENO: result: $ac_file" >&5
3102 echo "${ECHO_T}$ac_file" >&6
3104 # Check the compiler produces executables we can run. If not, either
3105 # the compiler is broken, or we cross compile.
3106 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3107 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3108 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3109 # If not cross compiling, check that we can run a simple program.
3110 if test "$cross_compiling" != yes; then
3111 if { ac_try
='./$ac_file'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3119 if test "$cross_compiling" = maybe
; then
3122 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3123 If you meant to cross compile, use \`--host'.
3124 See \`config.log' for more details." >&5
3125 echo "$as_me: error: cannot run C compiled programs.
3126 If you meant to cross compile, use \`--host'.
3127 See \`config.log' for more details." >&2;}
3128 { (exit 1); exit 1; }; }
3132 echo "$as_me:$LINENO: result: yes" >&5
3133 echo "${ECHO_T}yes" >&6
3135 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3136 ac_clean_files
=$ac_clean_files_save
3137 # Check the compiler produces executables we can run. If not, either
3138 # the compiler is broken, or we cross compile.
3139 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3140 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3141 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3142 echo "${ECHO_T}$cross_compiling" >&6
3144 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3145 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3147 (eval $ac_link) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; then
3151 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3152 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3153 # work properly (i.e., refer to `conftest.exe'), while it won't with
3155 for ac_file
in conftest.exe conftest conftest.
*; do
3156 test -f "$ac_file" ||
continue
3158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3159 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3166 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3167 See \`config.log' for more details." >&5
3168 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3169 See \`config.log' for more details." >&2;}
3170 { (exit 1); exit 1; }; }
3173 rm -f conftest
$ac_cv_exeext
3174 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3175 echo "${ECHO_T}$ac_cv_exeext" >&6
3177 rm -f conftest.
$ac_ext
3178 EXEEXT
=$ac_cv_exeext
3180 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3181 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3182 if test "${ac_cv_objext+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3200 rm -f conftest.o conftest.obj
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; then
3206 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3208 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3209 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.
$ac_ext >&5
3217 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3218 See \`config.log' for more details." >&5
3219 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3220 See \`config.log' for more details." >&2;}
3221 { (exit 1); exit 1; }; }
3224 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3227 echo "${ECHO_T}$ac_cv_objext" >&6
3228 OBJEXT
=$ac_cv_objext
3230 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3231 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 cat >conftest.
$ac_ext <<_ACEOF
3238 cat confdefs.h
>>conftest.
$ac_ext
3239 cat >>conftest.
$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3283 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3286 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3287 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3288 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3289 ac_test_CFLAGS
=${CFLAGS+set}
3290 ac_save_CFLAGS
=$CFLAGS
3292 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3293 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3294 if test "${ac_cv_prog_cc_g+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 cat >conftest.
$ac_ext <<_ACEOF
3300 cat confdefs.h
>>conftest.
$ac_ext
3301 cat >>conftest.
$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3312 rm -f conftest.
$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try
='test -z "$ac_c_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try
='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.
$ac_ext >&5
3341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3343 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3344 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3345 if test "$ac_test_CFLAGS" = set; then
3346 CFLAGS
=$ac_save_CFLAGS
3347 elif test $ac_cv_prog_cc_g = yes; then
3348 if test "$GCC" = yes; then
3354 if test "$GCC" = yes; then
3360 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3361 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3362 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 ac_cv_prog_cc_stdc
=no
3367 cat >conftest.
$ac_ext <<_ACEOF
3370 cat confdefs.h
>>conftest.
$ac_ext
3371 cat >>conftest.
$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3375 #include <sys/types.h>
3376 #include <sys/stat.h>
3377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3378 struct buf { int x; };
3379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3380 static char *e (p, i)
3386 static char *f (char * (*g) (char **, int), char **p, ...)
3391 s = g (p, va_arg (v,int));
3396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3397 function prototypes and stuff, but not '\xHH' hex character constants.
3398 These don't provoke an error unfortunately, instead are silently treated
3399 as 'x'. The following induces an error, until -std1 is added to get
3400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3401 array size at least. It's necessary to write '\x00'==0 to get something
3402 that's true only with -std1. */
3403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3405 int test (int i, double x);
3406 struct s1 {int (*f) (int a);};
3407 struct s2 {int (*f) (double a);};
3408 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3414 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3419 # Don't try gcc -ansi; that turns off useful extensions and
3420 # breaks some systems' header files.
3421 # AIX -qlanglvl=ansi
3422 # Ultrix and OSF/1 -std1
3423 # HP-UX 10.20 and later -Ae
3424 # HP-UX older versions -Aa -D_HPUX_SOURCE
3425 # SVR4 -Xc -D__EXTENSIONS__
3426 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3428 CC
="$ac_save_CC $ac_arg"
3429 rm -f conftest.
$ac_objext
3430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3431 (eval $ac_compile) 2>conftest.er1
3433 grep -v '^ *+' conftest.er1
>conftest.err
3435 cat conftest.err
>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } &&
3438 { ac_try
='test -z "$ac_c_werror_flag"
3439 || test ! -s conftest.err'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; } &&
3445 { ac_try
='test -s conftest.$ac_objext'
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3451 ac_cv_prog_cc_stdc
=$ac_arg
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.
$ac_ext >&5
3458 rm -f conftest.err conftest.
$ac_objext
3460 rm -f conftest.
$ac_ext conftest.
$ac_objext
3465 case "x$ac_cv_prog_cc_stdc" in
3467 echo "$as_me:$LINENO: result: none needed" >&5
3468 echo "${ECHO_T}none needed" >&6 ;;
3470 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3471 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3472 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3475 # Some people use a C++ compiler to compile C. Since we use `exit',
3476 # in C++ we need to declare it. In case someone uses the same compiler
3477 # for both compiling C and C++ we need to have the C++ compiler decide
3478 # the declaration of exit, since it's the most demanding environment.
3479 cat >conftest.
$ac_ext <<_ACEOF
3484 rm -f conftest.
$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag"
3494 || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try
='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3506 for ac_declaration
in \
3508 'extern "C" void std::exit (int) throw (); using std::exit;' \
3509 'extern "C" void std::exit (int); using std::exit;' \
3510 'extern "C" void exit (int) throw ();' \
3511 'extern "C" void exit (int);' \
3514 cat >conftest.
$ac_ext <<_ACEOF
3517 cat confdefs.h
>>conftest.
$ac_ext
3518 cat >>conftest.
$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3530 rm -f conftest.
$ac_objext
3531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3532 (eval $ac_compile) 2>conftest.er1
3534 grep -v '^ *+' conftest.er1
>conftest.err
3536 cat conftest.err
>&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 { ac_try
='test -z "$ac_c_werror_flag"
3540 || test ! -s conftest.err'
3541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; } &&
3546 { ac_try
='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3554 echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.
$ac_ext >&5
3559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag"
3585 || test ! -s conftest.err'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try
='test -s conftest.$ac_objext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3606 if test -n "$ac_declaration"; then
3607 echo '#ifdef __cplusplus' >>confdefs.h
3608 echo $ac_declaration >>confdefs.h
3609 echo '#endif' >>confdefs.h
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.
$ac_ext >&5
3617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 ac_cpp
='$CPP $CPPFLAGS'
3620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3625 # On Suns, sometimes $CPP names a directory.
3626 if test -n "$CPP" && test -d "$CPP"; then
3630 #### Some systems specify a CPP to use unless we are using GCC.
3631 #### Now that we know whether we are using GCC, we can decide whether
3632 #### to use that one.
3633 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3638 #### Some systems specify a CC to use unless we are using GCC.
3639 #### Now that we know whether we are using GCC, we can decide whether
3640 #### to use that one.
3641 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3642 test x
$cc_specified != xyes
3647 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3649 CC
="$CC $GCC_TEST_OPTIONS"
3652 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3654 CC
="$CC $NON_GCC_TEST_OPTIONS"
3657 #### Some other nice autoconf tests.
3659 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3660 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3662 if test "$LN_S" = "ln -s"; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3666 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3667 echo "${ECHO_T}no, using $LN_S" >&6
3671 ac_cpp
='$CPP $CPPFLAGS'
3672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3675 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3676 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3677 # On Suns, sometimes $CPP names a directory.
3678 if test -n "$CPP" && test -d "$CPP"; then
3681 if test -z "$CPP"; then
3682 if test "${ac_cv_prog_CPP+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 # Double quotes because CPP needs to be expanded
3686 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3689 for ac_c_preproc_warn_flag
in '' yes
3691 # Use a header file that comes with gcc, so configuring glibc
3692 # with a fresh cross-compiler works.
3693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3694 # <limits.h> exists even on freestanding compilers.
3695 # On the NeXT, cc -E runs the code through the compiler's parser,
3696 # not just through cpp. "Syntax error" is here to catch this case.
3697 cat >conftest.
$ac_ext <<_ACEOF
3700 cat confdefs.h
>>conftest.
$ac_ext
3701 cat >>conftest.
$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3704 # include <limits.h>
3706 # include <assert.h>
3710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1
>conftest.err
3715 cat conftest.err
>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } >/dev
/null
; then
3718 if test -s conftest.err
; then
3719 ac_cpp_err
=$ac_c_preproc_warn_flag
3720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3727 if test -z "$ac_cpp_err"; then
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.
$ac_ext >&5
3733 # Broken: fails on valid input.
3736 rm -f conftest.err conftest.
$ac_ext
3738 # OK, works on sane cases. Now check whether non-existent headers
3739 # can be detected and how.
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 #include <ac_nonexistent.h>
3748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3751 grep -v '^ *+' conftest.er1
>conftest.err
3753 cat conftest.err
>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev
/null
; then
3756 if test -s conftest.err
; then
3757 ac_cpp_err
=$ac_c_preproc_warn_flag
3758 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3765 if test -z "$ac_cpp_err"; then
3766 # Broken: success on invalid input.
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 # Passes both tests.
3776 rm -f conftest.err conftest.
$ac_ext
3779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3780 rm -f conftest.err conftest.
$ac_ext
3781 if $ac_preproc_ok; then
3793 echo "$as_me:$LINENO: result: $CPP" >&5
3794 echo "${ECHO_T}$CPP" >&6
3796 for ac_c_preproc_warn_flag
in '' yes
3798 # Use a header file that comes with gcc, so configuring glibc
3799 # with a fresh cross-compiler works.
3800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3801 # <limits.h> exists even on freestanding compilers.
3802 # On the NeXT, cc -E runs the code through the compiler's parser,
3803 # not just through cpp. "Syntax error" is here to catch this case.
3804 cat >conftest.
$ac_ext <<_ACEOF
3807 cat confdefs.h
>>conftest.
$ac_ext
3808 cat >>conftest.
$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3811 # include <limits.h>
3813 # include <assert.h>
3817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3820 grep -v '^ *+' conftest.er1
>conftest.err
3822 cat conftest.err
>&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } >/dev
/null
; then
3825 if test -s conftest.err
; then
3826 ac_cpp_err
=$ac_c_preproc_warn_flag
3827 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3834 if test -z "$ac_cpp_err"; then
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3840 # Broken: fails on valid input.
3843 rm -f conftest.err conftest.
$ac_ext
3845 # OK, works on sane cases. Now check whether non-existent headers
3846 # can be detected and how.
3847 cat >conftest.
$ac_ext <<_ACEOF
3850 cat confdefs.h
>>conftest.
$ac_ext
3851 cat >>conftest.
$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3858 grep -v '^ *+' conftest.er1
>conftest.err
3860 cat conftest.err
>&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } >/dev
/null
; then
3863 if test -s conftest.err
; then
3864 ac_cpp_err
=$ac_c_preproc_warn_flag
3865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3872 if test -z "$ac_cpp_err"; then
3873 # Broken: success on invalid input.
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3879 # Passes both tests.
3883 rm -f conftest.err conftest.
$ac_ext
3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3887 rm -f conftest.err conftest.
$ac_ext
3888 if $ac_preproc_ok; then
3891 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3892 See \`config.log' for more details." >&5
3893 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3894 See \`config.log' for more details." >&2;}
3895 { (exit 1); exit 1; }; }
3899 ac_cpp
='$CPP $CPPFLAGS'
3900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3904 # Find a good install program. We prefer a C program (faster),
3905 # so one script is as good as another. But avoid the broken or
3906 # incompatible versions:
3907 # SysV /etc/install, /usr/sbin/install
3908 # SunOS /usr/etc/install
3909 # IRIX /sbin/install
3911 # AmigaOS /C/install, which installs bootblocks on floppy discs
3912 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3913 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3914 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3915 # OS/2's system install, which has a completely different semantic
3916 # ./install, which can be erroneously created by make from ./install.sh.
3917 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3918 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3919 if test -z "$INSTALL"; then
3920 if test "${ac_cv_path_install+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 # Account for people who put trailing slashes in PATH elements.
3930 .
/ | .
// |
/cC
/* | \
3931 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3932 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3935 # OSF1 and SCO ODT 3.0 have their own names for install.
3936 # Don't use installbsd from OSF since it installs stuff as root
3938 for ac_prog
in ginstall scoinst
install; do
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3941 if test $ac_prog = install &&
3942 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3943 # AIX install. It has an incompatible calling convention.
3945 elif test $ac_prog = install &&
3946 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3947 # program-specific install script used by HP pwplus--don't use.
3950 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3962 if test "${ac_cv_path_install+set}" = set; then
3963 INSTALL
=$ac_cv_path_install
3965 # As a last resort, use the slow shell script. We don't cache a
3966 # path for INSTALL within a source directory, because that will
3967 # break other packages using the cache if that directory is
3968 # removed, or if the path is relative.
3969 INSTALL
=$ac_install_sh
3972 echo "$as_me:$LINENO: result: $INSTALL" >&5
3973 echo "${ECHO_T}$INSTALL" >&6
3975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3976 # It thinks the first close brace ends the variable substitution.
3977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3981 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3983 if test "x$RANLIB" = x
; then
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3986 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3987 echo "$as_me:$LINENO: checking for $ac_word" >&5
3988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3989 if test "${ac_cv_prog_RANLIB+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 if test -n "$RANLIB"; then
3993 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 RANLIB
=$ac_cv_prog_RANLIB
4012 if test -n "$RANLIB"; then
4013 echo "$as_me:$LINENO: result: $RANLIB" >&5
4014 echo "${ECHO_T}$RANLIB" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4021 if test -z "$ac_cv_prog_RANLIB"; then
4022 ac_ct_RANLIB
=$RANLIB
4023 # Extract the first word of "ranlib", so it can be a program name with args.
4024 set dummy ranlib
; ac_word
=$2
4025 echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4027 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 if test -n "$ac_ct_RANLIB"; then
4031 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4050 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4051 if test -n "$ac_ct_RANLIB"; then
4052 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4053 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4059 RANLIB
=$ac_ct_RANLIB
4061 RANLIB
="$ac_cv_prog_RANLIB"
4065 # Extract the first word of "install-info", so it can be a program name with args.
4066 set dummy install-info
; ac_word
=$2
4067 echo "$as_me:$LINENO: checking for $ac_word" >&5
4068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4069 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 case $INSTALL_INFO in
4074 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4096 if test -n "$INSTALL_INFO"; then
4097 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4098 echo "${ECHO_T}$INSTALL_INFO" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4104 # Extract the first word of "install-info", so it can be a program name with args.
4105 set dummy install-info
; ac_word
=$2
4106 echo "$as_me:$LINENO: checking for $ac_word" >&5
4107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4108 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 case $INSTALL_INFO in
4113 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 for as_dir
in /usr
/sbin
4120 test -z "$as_dir" && as_dir
=.
4121 for ac_exec_ext
in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4135 if test -n "$INSTALL_INFO"; then
4136 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4137 echo "${ECHO_T}$INSTALL_INFO" >&6
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4143 # Extract the first word of "install-info", so it can be a program name with args.
4144 set dummy install-info
; ac_word
=$2
4145 echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4147 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 case $INSTALL_INFO in
4152 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4173 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4175 if test -n "$INSTALL_INFO"; then
4176 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4177 echo "${ECHO_T}$INSTALL_INFO" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4187 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4190 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4192 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4196 late_LDFLAGS
=$LDFLAGS
4197 if test "$GCC" = yes; then
4198 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4200 LDFLAGS
="$LDFLAGS -znocombreloc"
4203 echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4204 echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 rm -f conftest.
$ac_objext conftest
$ac_exeext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4211 (eval $ac_link) 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try
='test -z "$ac_c_werror_flag"
4219 || test ! -s conftest.err'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try
='test -s conftest$ac_exeext'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.
$ac_ext >&5
4237 LDFLAGS
=$late_LDFLAGS
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4241 rm -f conftest.err conftest.
$ac_objext \
4242 conftest
$ac_exeext conftest.
$ac_ext
4245 echo "$as_me:$LINENO: checking for egrep" >&5
4246 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4247 if test "${ac_cv_prog_egrep+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4251 then ac_cv_prog_egrep
='grep -E'
4252 else ac_cv_prog_egrep
='egrep'
4255 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4256 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4257 EGREP
=$ac_cv_prog_egrep
4261 echo "$as_me:$LINENO: checking for AIX" >&5
4262 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4263 cat >conftest.
$ac_ext <<_ACEOF
4266 cat confdefs.h
>>conftest.
$ac_ext
4267 cat >>conftest.
$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4275 $EGREP "yes" >/dev
/null
2>&1; then
4276 echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6
4278 cat >>confdefs.h
<<\_ACEOF
4279 #define _ALL_SOURCE 1
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4291 #### Extract some information from the operating system and machine files.
4293 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4294 - which libraries the lib-src programs will want, and
4295 - whether the GNU malloc routines are usable..." >&5
4296 echo "$as_me: checking the machine- and system-dependent files to find out
4297 - which libraries the lib-src programs will want, and
4298 - whether the GNU malloc routines are usable..." >&6;}
4300 ### First figure out CFLAGS (which we use for running the compiler here)
4301 ### and REAL_CFLAGS (which we use for real compilation).
4302 ### The two are the same except on a few systems, where they are made
4303 ### different to work around various lossages. For example,
4304 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4305 ### as implying static linking.
4307 ### If the CFLAGS env var is specified, we use that value
4308 ### instead of the default.
4310 ### It's not important that this name contain the PID; you can't run
4311 ### two configures in the same directory and have anything work
4313 tempcname
="conftest.c"
4316 #include "'${srcdir}'/src/'${opsysfile}'"
4317 #include "'${srcdir}'/src/'${machfile}'"
4318 #ifndef LIBS_MACHINE
4319 #define LIBS_MACHINE
4324 #ifndef C_SWITCH_SYSTEM
4325 #define C_SWITCH_SYSTEM
4327 #ifndef C_SWITCH_MACHINE
4328 #define C_SWITCH_MACHINE
4330 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4331 configure___ c_switch_system=C_SWITCH_SYSTEM
4332 configure___ c_switch_machine=C_SWITCH_MACHINE
4335 #define LIB_X11_LIB -lX11
4338 #ifndef LIBX11_MACHINE
4339 #define LIBX11_MACHINE
4342 #ifndef LIBX11_SYSTEM
4343 #define LIBX11_SYSTEM
4345 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4348 configure___ unexec=UNEXEC
4350 configure___ unexec=unexec.o
4353 #ifdef SYSTEM_MALLOC
4354 configure___ system_malloc=yes
4356 configure___ system_malloc=no
4359 #ifdef USE_MMAP_FOR_BUFFERS
4360 configure___ use_mmap_for_buffers=yes
4362 configure___ use_mmap_for_buffers=no
4365 #ifndef C_DEBUG_SWITCH
4366 #define C_DEBUG_SWITCH -g
4369 #ifndef C_OPTIMIZE_SWITCH
4371 #define C_OPTIMIZE_SWITCH -O2
4373 #define C_OPTIMIZE_SWITCH -O
4377 #ifndef LD_SWITCH_MACHINE
4378 #define LD_SWITCH_MACHINE
4381 #ifndef LD_SWITCH_SYSTEM
4382 #define LD_SWITCH_SYSTEM
4385 #ifndef LD_SWITCH_X_SITE_AUX
4386 #define LD_SWITCH_X_SITE_AUX
4389 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4390 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4392 #ifdef THIS_IS_CONFIGURE
4394 /* Get the CFLAGS for tests in configure. */
4396 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4398 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4401 #else /* not THIS_IS_CONFIGURE */
4403 /* Get the CFLAGS for real compilation. */
4405 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4407 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4410 #endif /* not THIS_IS_CONFIGURE */
4413 # The value of CPP is a quoted variable reference, so we need to do this
4414 # to get its actual value...
4415 CPP
=`eval "echo $CPP"`
4416 eval `${CPP} -Isrc ${tempcname} \
4417 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4418 if test "x$SPECIFIED_CFLAGS" = x
; then
4419 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4420 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4422 REAL_CFLAGS
="$CFLAGS"
4426 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4428 ### Make sure subsequent tests use flags consistent with the build flags.
4430 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4431 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4433 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4439 cat >>confdefs.h
<<\_ACEOF
4440 #define _GNU_SOURCE 1
4445 # Check whether --enable-largefile or --disable-largefile was given.
4446 if test "${enable_largefile+set}" = set; then
4447 enableval
="$enable_largefile"
4450 if test "$enable_largefile" != no
; then
4452 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4453 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4454 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 ac_cv_sys_largefile_CC
=no
4458 if test "$GCC" != yes; then
4461 # IRIX 6.2 and later do not support large files by default,
4462 # so use the C compiler's -n32 option if that helps.
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4469 #include <sys/types.h>
4470 /* Check that off_t can represent 2**63 - 1 correctly.
4471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4472 since some C++ compilers masquerading as C compilers
4473 incorrectly reject 9223372036854775807. */
4474 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4476 && LARGE_OFF_T % 2147483647 == 1)
4486 rm -f conftest.
$ac_objext
4487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4488 (eval $ac_compile) 2>conftest.er1
4490 grep -v '^ *+' conftest.er1
>conftest.err
4492 cat conftest.err
>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } &&
4495 { ac_try
='test -z "$ac_c_werror_flag"
4496 || test ! -s conftest.err'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; } &&
4502 { ac_try
='test -s conftest.$ac_objext'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; }; then
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.
$ac_ext >&5
4514 rm -f conftest.err conftest.
$ac_objext
4516 rm -f conftest.
$ac_objext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try
='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try
='test -s conftest.$ac_objext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 ac_cv_sys_largefile_CC
=' -n32'; break
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.
$ac_ext >&5
4544 rm -f conftest.err conftest.
$ac_objext
4548 rm -f conftest.
$ac_ext
4551 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4552 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4553 if test "$ac_cv_sys_largefile_CC" != no
; then
4554 CC
=$CC$ac_cv_sys_largefile_CC
4557 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4558 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4559 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 ac_cv_sys_file_offset_bits
=no
4564 cat >conftest.
$ac_ext <<_ACEOF
4567 cat confdefs.h
>>conftest.
$ac_ext
4568 cat >>conftest.
$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4570 #include <sys/types.h>
4571 /* Check that off_t can represent 2**63 - 1 correctly.
4572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4573 since some C++ compilers masquerading as C compilers
4574 incorrectly reject 9223372036854775807. */
4575 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4577 && LARGE_OFF_T % 2147483647 == 1)
4587 rm -f conftest.
$ac_objext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589 (eval $ac_compile) 2>conftest.er1
4591 grep -v '^ *+' conftest.er1
>conftest.err
4593 cat conftest.err
>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try
='test -z "$ac_c_werror_flag"
4597 || test ! -s conftest.err'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; } &&
4603 { ac_try
='test -s conftest.$ac_objext'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4616 cat >conftest.
$ac_ext <<_ACEOF
4619 cat confdefs.h
>>conftest.
$ac_ext
4620 cat >>conftest.
$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #define _FILE_OFFSET_BITS 64
4623 #include <sys/types.h>
4624 /* Check that off_t can represent 2**63 - 1 correctly.
4625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4626 since some C++ compilers masquerading as C compilers
4627 incorrectly reject 9223372036854775807. */
4628 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4630 && LARGE_OFF_T % 2147483647 == 1)
4640 rm -f conftest.
$ac_objext
4641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4642 (eval $ac_compile) 2>conftest.er1
4644 grep -v '^ *+' conftest.er1
>conftest.err
4646 cat conftest.err
>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try
='test -z "$ac_c_werror_flag"
4650 || 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"
4722 || test ! -s conftest.err'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; } &&
4728 { ac_try
='test -s conftest.$ac_objext'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; }; then
4736 echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.
$ac_ext >&5
4740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4741 cat >conftest.
$ac_ext <<_ACEOF
4744 cat confdefs.h
>>conftest.
$ac_ext
4745 cat >>conftest.
$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 #define _LARGE_FILES 1
4748 #include <sys/types.h>
4749 /* Check that off_t can represent 2**63 - 1 correctly.
4750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4751 since some C++ compilers masquerading as C compilers
4752 incorrectly reject 9223372036854775807. */
4753 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4755 && LARGE_OFF_T % 2147483647 == 1)
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_c_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try
='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 ac_cv_sys_large_files
=1; break
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.
$ac_ext >&5
4793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4798 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4799 if test "$ac_cv_sys_large_files" != no
; then
4801 cat >>confdefs.h
<<_ACEOF
4802 #define _LARGE_FILES $ac_cv_sys_large_files
4810 if test "${with_sound}" != "no"; then
4811 # Sound support for GNU/Linux and the free BSDs.
4812 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4813 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4814 if test "${ac_cv_header_stdc+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4836 rm -f conftest.
$ac_objext
4837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4838 (eval $ac_compile) 2>conftest.er1
4840 grep -v '^ *+' conftest.er1
>conftest.err
4842 cat conftest.err
>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try
='test -z "$ac_c_werror_flag"
4846 || test ! -s conftest.err'
4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try
='test -s conftest.$ac_objext'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_header_stdc
=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.
$ac_ext >&5
4863 ac_cv_header_stdc
=no
4865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4867 if test $ac_cv_header_stdc = yes; then
4868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4869 cat >conftest.
$ac_ext <<_ACEOF
4872 cat confdefs.h
>>conftest.
$ac_ext
4873 cat >>conftest.
$ac_ext <<_ACEOF
4874 /* end confdefs.h. */
4878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4879 $EGREP "memchr" >/dev
/null
2>&1; then
4882 ac_cv_header_stdc
=no
4888 if test $ac_cv_header_stdc = yes; then
4889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4890 cat >conftest.
$ac_ext <<_ACEOF
4893 cat confdefs.h
>>conftest.
$ac_ext
4894 cat >>conftest.
$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4900 $EGREP "free" >/dev
/null
2>&1; then
4903 ac_cv_header_stdc
=no
4909 if test $ac_cv_header_stdc = yes; then
4910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4911 if test "$cross_compiling" = yes; then
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4921 #if ((' ' & 0x0FF) == 0x020)
4922 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4925 # define ISLOWER(c) \
4926 (('a' <= (c) && (c) <= 'i') \
4927 || ('j' <= (c) && (c) <= 'r') \
4928 || ('s' <= (c) && (c) <= 'z'))
4929 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4937 for (i = 0; i < 256; i++)
4938 if (XOR (islower (i), ISLOWER (i))
4939 || toupper (i) != TOUPPER (i))
4944 rm -f conftest
$ac_exeext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946 (eval $ac_link) 2>&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; }; then
4957 echo "$as_me: program exited with status $ac_status" >&5
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4962 ac_cv_header_stdc
=no
4964 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4968 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4969 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4970 if test $ac_cv_header_stdc = yes; then
4972 cat >>confdefs.h
<<\_ACEOF
4973 #define STDC_HEADERS 1
4978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4988 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4989 inttypes.h stdint.h unistd.h
4991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4992 echo "$as_me:$LINENO: checking for $ac_header" >&5
4993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 cat >conftest.
$ac_ext <<_ACEOF
5000 cat confdefs.h
>>conftest.
$ac_ext
5001 cat >>conftest.
$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5003 $ac_includes_default
5005 #include <$ac_header>
5007 rm -f conftest.
$ac_objext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>conftest.er1
5011 grep -v '^ *+' conftest.er1
>conftest.err
5013 cat conftest.err
>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } &&
5016 { ac_try
='test -z "$ac_c_werror_flag"
5017 || test ! -s conftest.err'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; } &&
5023 { ac_try
='test -s conftest.$ac_objext'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; }; then
5029 eval "$as_ac_Header=yes"
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 eval "$as_ac_Header=no"
5036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5041 cat >>confdefs.h
<<_ACEOF
5042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5053 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5055 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5057 echo "$as_me:$LINENO: checking for $ac_header" >&5
5058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5065 # Is the header compilable?
5066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5068 cat >conftest.
$ac_ext <<_ACEOF
5071 cat confdefs.h
>>conftest.
$ac_ext
5072 cat >>conftest.
$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5074 $ac_includes_default
5075 #include <$ac_header>
5077 rm -f conftest.
$ac_objext
5078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5079 (eval $ac_compile) 2>conftest.er1
5081 grep -v '^ *+' conftest.er1
>conftest.err
5083 cat conftest.err
>&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } &&
5086 { ac_try
='test -z "$ac_c_werror_flag"
5087 || test ! -s conftest.err'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; } &&
5093 { ac_try
='test -s conftest.$ac_objext'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; }; then
5099 ac_header_compiler
=yes
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5104 ac_header_compiler
=no
5106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5108 echo "${ECHO_T}$ac_header_compiler" >&6
5110 # Is the header present?
5111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5113 cat >conftest.
$ac_ext <<_ACEOF
5116 cat confdefs.h
>>conftest.
$ac_ext
5117 cat >>conftest.
$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5119 #include <$ac_header>
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5124 grep -v '^ *+' conftest.er1
>conftest.err
5126 cat conftest.err
>&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev
/null
; then
5129 if test -s conftest.err
; then
5130 ac_cpp_err
=$ac_c_preproc_warn_flag
5131 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5138 if test -z "$ac_cpp_err"; then
5139 ac_header_preproc
=yes
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.
$ac_ext >&5
5144 ac_header_preproc
=no
5146 rm -f conftest.err conftest.
$ac_ext
5147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5148 echo "${ECHO_T}$ac_header_preproc" >&6
5150 # So? What about this header?
5151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5154 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5156 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5157 ac_header_preproc
=yes
5160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5164 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5165 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5167 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5171 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5174 ## ------------------------------------------ ##
5175 ## Report this to the AC_PACKAGE_NAME lists. ##
5176 ## ------------------------------------------ ##
5179 sed "s/^/$as_me: WARNING: /" >&2
5182 echo "$as_me:$LINENO: checking for $ac_header" >&5
5183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5185 echo $ECHO_N "(cached) $ECHO_C" >&6
5187 eval "$as_ac_Header=\$ac_header_preproc"
5189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5194 cat >>confdefs.h
<<_ACEOF
5195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5202 # Emulation library used on NetBSD.
5203 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5204 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5205 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 ac_check_lib_save_LIBS
=$LIBS
5209 LIBS
="-lossaudio $LIBS"
5210 cat >conftest.
$ac_ext <<_ACEOF
5213 cat confdefs.h
>>conftest.
$ac_ext
5214 cat >>conftest.
$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5217 /* Override any gcc2 internal prototype to avoid an error. */
5221 /* We use char because int might match the return type of a gcc2
5222 builtin and then its argument prototype would still apply. */
5232 rm -f conftest.
$ac_objext conftest
$ac_exeext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5234 (eval $ac_link) 2>conftest.er1
5236 grep -v '^ *+' conftest.er1
>conftest.err
5238 cat conftest.err
>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } &&
5241 { ac_try
='test -z "$ac_c_werror_flag"
5242 || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try
='test -s conftest$ac_exeext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_lib_ossaudio__oss_ioctl
=yes
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.
$ac_ext >&5
5259 ac_cv_lib_ossaudio__oss_ioctl
=no
5261 rm -f conftest.err conftest.
$ac_objext \
5262 conftest
$ac_exeext conftest.
$ac_ext
5263 LIBS
=$ac_check_lib_save_LIBS
5265 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5266 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5267 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5300 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5301 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5302 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5303 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h \
5306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5308 echo "$as_me:$LINENO: checking for $ac_header" >&5
5309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5316 # Is the header compilable?
5317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5319 cat >conftest.
$ac_ext <<_ACEOF
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5325 $ac_includes_default
5326 #include <$ac_header>
5328 rm -f conftest.
$ac_objext
5329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5330 (eval $ac_compile) 2>conftest.er1
5332 grep -v '^ *+' conftest.er1
>conftest.err
5334 cat conftest.err
>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try
='test -z "$ac_c_werror_flag"
5338 || test ! -s conftest.err'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; } &&
5344 { ac_try
='test -s conftest.$ac_objext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_header_compiler
=yes
5352 echo "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.
$ac_ext >&5
5355 ac_header_compiler
=no
5357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5359 echo "${ECHO_T}$ac_header_compiler" >&6
5361 # Is the header present?
5362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5364 cat >conftest.
$ac_ext <<_ACEOF
5367 cat confdefs.h
>>conftest.
$ac_ext
5368 cat >>conftest.
$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 #include <$ac_header>
5372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } >/dev
/null
; then
5380 if test -s conftest.err
; then
5381 ac_cpp_err
=$ac_c_preproc_warn_flag
5382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5389 if test -z "$ac_cpp_err"; then
5390 ac_header_preproc
=yes
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_header_preproc
=no
5397 rm -f conftest.err conftest.
$ac_ext
5398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5399 echo "${ECHO_T}$ac_header_preproc" >&6
5401 # So? What about this header?
5402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5408 ac_header_preproc
=yes
5411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5425 ## ------------------------------------------ ##
5426 ## Report this to the AC_PACKAGE_NAME lists. ##
5427 ## ------------------------------------------ ##
5430 sed "s/^/$as_me: WARNING: /" >&2
5433 echo "$as_me:$LINENO: checking for $ac_header" >&5
5434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 eval "$as_ac_Header=\$ac_header_preproc"
5440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5445 cat >>confdefs.h
<<_ACEOF
5446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5454 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5455 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5456 cat >conftest.
$ac_ext <<_ACEOF
5459 cat confdefs.h
>>conftest.
$ac_ext
5460 cat >>conftest.
$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 #include <sys/personality.h>
5466 personality (PER_LINUX32)
5471 rm -f conftest.
$ac_objext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473 (eval $ac_compile) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1
>conftest.err
5477 cat conftest.err
>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try
='test -z "$ac_c_werror_flag"
5481 || test ! -s conftest.err'
5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; } &&
5487 { ac_try
='test -s conftest.$ac_objext'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; }; then
5493 emacs_cv_personality_linux32
=yes
5495 echo "$as_me: failed program was:" >&5
5496 sed 's/^/| /' conftest.
$ac_ext >&5
5498 emacs_cv_personality_linux32
=no
5500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5501 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5502 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5504 if test $emacs_cv_personality_linux32 = yes; then
5506 cat >>confdefs.h
<<\_ACEOF
5507 #define HAVE_PERSONALITY_LINUX32 1
5513 for ac_header
in term.h
5515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5516 echo "$as_me:$LINENO: checking for $ac_header" >&5
5517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 cat >conftest.
$ac_ext <<_ACEOF
5524 cat confdefs.h
>>conftest.
$ac_ext
5525 cat >>conftest.
$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5527 #include <$ac_header>
5529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5532 grep -v '^ *+' conftest.er1
>conftest.err
5534 cat conftest.err
>&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } >/dev
/null
; then
5537 if test -s conftest.err
; then
5538 ac_cpp_err
=$ac_c_preproc_warn_flag
5539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5546 if test -z "$ac_cpp_err"; then
5547 eval "$as_ac_Header=yes"
5549 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.
$ac_ext >&5
5552 eval "$as_ac_Header=no"
5554 rm -f conftest.err conftest.
$ac_ext
5556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5559 cat >>confdefs.h
<<_ACEOF
5560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5567 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5568 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5569 if test "${ac_cv_header_stdc+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 cat >conftest.
$ac_ext <<_ACEOF
5575 cat confdefs.h
>>conftest.
$ac_ext
5576 cat >>conftest.
$ac_ext <<_ACEOF
5577 /* end confdefs.h. */
5591 rm -f conftest.
$ac_objext
5592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5593 (eval $ac_compile) 2>conftest.er1
5595 grep -v '^ *+' conftest.er1
>conftest.err
5597 cat conftest.err
>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } &&
5600 { ac_try
='test -z "$ac_c_werror_flag"
5601 || test ! -s conftest.err'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; } &&
5607 { ac_try
='test -s conftest.$ac_objext'
5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5613 ac_cv_header_stdc
=yes
5615 echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.
$ac_ext >&5
5618 ac_cv_header_stdc
=no
5620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5622 if test $ac_cv_header_stdc = yes; then
5623 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5624 cat >conftest.
$ac_ext <<_ACEOF
5627 cat confdefs.h
>>conftest.
$ac_ext
5628 cat >>conftest.
$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5634 $EGREP "memchr" >/dev
/null
2>&1; then
5637 ac_cv_header_stdc
=no
5643 if test $ac_cv_header_stdc = yes; then
5644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5645 cat >conftest.
$ac_ext <<_ACEOF
5648 cat confdefs.h
>>conftest.
$ac_ext
5649 cat >>conftest.
$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5655 $EGREP "free" >/dev
/null
2>&1; then
5658 ac_cv_header_stdc
=no
5664 if test $ac_cv_header_stdc = yes; then
5665 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5666 if test "$cross_compiling" = yes; then
5669 cat >conftest.
$ac_ext <<_ACEOF
5672 cat confdefs.h
>>conftest.
$ac_ext
5673 cat >>conftest.
$ac_ext <<_ACEOF
5674 /* end confdefs.h. */
5676 #if ((' ' & 0x0FF) == 0x020)
5677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5680 # define ISLOWER(c) \
5681 (('a' <= (c) && (c) <= 'i') \
5682 || ('j' <= (c) && (c) <= 'r') \
5683 || ('s' <= (c) && (c) <= 'z'))
5684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5692 for (i = 0; i < 256; i++)
5693 if (XOR (islower (i), ISLOWER (i))
5694 || toupper (i) != TOUPPER (i))
5699 rm -f conftest
$ac_exeext
5700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5701 (eval $ac_link) 2>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5712 echo "$as_me: program exited with status $ac_status" >&5
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5717 ac_cv_header_stdc
=no
5719 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5723 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5724 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5725 if test $ac_cv_header_stdc = yes; then
5727 cat >>confdefs.h
<<\_ACEOF
5728 #define STDC_HEADERS 1
5733 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5734 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5735 if test "${ac_cv_header_time+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 cat >conftest.
$ac_ext <<_ACEOF
5741 cat confdefs.h
>>conftest.
$ac_ext
5742 cat >>conftest.
$ac_ext <<_ACEOF
5743 /* end confdefs.h. */
5744 #include <sys/types.h>
5745 #include <sys/time.h>
5751 if ((struct tm *) 0)
5757 rm -f conftest.
$ac_objext
5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>conftest.er1
5761 grep -v '^ *+' conftest.er1
>conftest.err
5763 cat conftest.err
>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try
='test -z "$ac_c_werror_flag"
5767 || test ! -s conftest.err'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; } &&
5773 { ac_try
='test -s conftest.$ac_objext'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; }; then
5779 ac_cv_header_time
=yes
5781 echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.
$ac_ext >&5
5784 ac_cv_header_time
=no
5786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5788 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5789 echo "${ECHO_T}$ac_cv_header_time" >&6
5790 if test $ac_cv_header_time = yes; then
5792 cat >>confdefs.h
<<\_ACEOF
5793 #define TIME_WITH_SYS_TIME 1
5798 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5799 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5800 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 cat >conftest.
$ac_ext <<_ACEOF
5806 cat confdefs.h
>>conftest.
$ac_ext
5807 cat >>conftest.
$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5809 $ac_includes_default
5814 char *p = (char *) sys_siglist;
5821 rm -f conftest.
$ac_objext
5822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5823 (eval $ac_compile) 2>conftest.er1
5825 grep -v '^ *+' conftest.er1
>conftest.err
5827 cat conftest.err
>&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try
='test -z "$ac_c_werror_flag"
5831 || test ! -s conftest.err'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; } &&
5837 { ac_try
='test -s conftest.$ac_objext'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; }; then
5843 ac_cv_have_decl_sys_siglist
=yes
5845 echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.
$ac_ext >&5
5848 ac_cv_have_decl_sys_siglist
=no
5850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5852 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5853 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5854 if test $ac_cv_have_decl_sys_siglist = yes; then
5856 cat >>confdefs.h
<<_ACEOF
5857 #define HAVE_DECL_SYS_SIGLIST 1
5862 cat >>confdefs.h
<<_ACEOF
5863 #define HAVE_DECL_SYS_SIGLIST 0
5870 if test $ac_cv_have_decl_sys_siglist != yes; then
5871 # For Tru64, at least:
5872 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5873 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5874 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 $ac_includes_default
5887 #ifndef __sys_siglist
5888 char *p = (char *) __sys_siglist;
5895 rm -f conftest.
$ac_objext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5897 (eval $ac_compile) 2>conftest.er1
5899 grep -v '^ *+' conftest.er1
>conftest.err
5901 cat conftest.err
>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try
='test -z "$ac_c_werror_flag"
5905 || test ! -s conftest.err'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try
='test -s conftest.$ac_objext'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; }; then
5917 ac_cv_have_decl___sys_siglist
=yes
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.
$ac_ext >&5
5922 ac_cv_have_decl___sys_siglist
=no
5924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5926 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5927 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5928 if test $ac_cv_have_decl___sys_siglist = yes; then
5930 cat >>confdefs.h
<<_ACEOF
5931 #define HAVE_DECL___SYS_SIGLIST 1
5936 cat >>confdefs.h
<<_ACEOF
5937 #define HAVE_DECL___SYS_SIGLIST 0
5944 if test $ac_cv_have_decl___sys_siglist = yes; then
5946 cat >>confdefs.h
<<\_ACEOF
5947 #define sys_siglist __sys_siglist
5952 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5953 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5954 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 cat >conftest.
$ac_ext <<_ACEOF
5960 cat confdefs.h
>>conftest.
$ac_ext
5961 cat >>conftest.
$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5963 #include <sys/types.h>
5964 #include <sys/wait.h>
5966 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5969 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5977 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5982 rm -f conftest.
$ac_objext
5983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5984 (eval $ac_compile) 2>conftest.er1
5986 grep -v '^ *+' conftest.er1
>conftest.err
5988 cat conftest.err
>&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } &&
5991 { ac_try
='test -z "$ac_c_werror_flag"
5992 || test ! -s conftest.err'
5993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); }; } &&
5998 { ac_try
='test -s conftest.$ac_objext'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; }; then
6004 ac_cv_header_sys_wait_h
=yes
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.
$ac_ext >&5
6009 ac_cv_header_sys_wait_h
=no
6011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6013 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6014 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6015 if test $ac_cv_header_sys_wait_h = yes; then
6017 cat >>confdefs.h
<<\_ACEOF
6018 #define HAVE_SYS_WAIT_H 1
6024 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6025 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
6026 if test "${emacs_cv_struct_utimbuf+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 cat >conftest.
$ac_ext <<_ACEOF
6032 cat confdefs.h
>>conftest.
$ac_ext
6033 cat >>conftest.
$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6035 #ifdef TIME_WITH_SYS_TIME
6036 #include <sys/time.h>
6039 #ifdef HAVE_SYS_TIME_H
6040 #include <sys/time.h>
6051 static struct utimbuf x; x.actime = x.modtime;
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 emacs_cv_struct_utimbuf
=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 emacs_cv_struct_utimbuf
=no
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6088 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6089 if test $emacs_cv_struct_utimbuf = yes; then
6091 cat >>confdefs.h
<<\_ACEOF
6092 #define HAVE_STRUCT_UTIMBUF 1
6097 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6098 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6099 if test "${ac_cv_type_signal+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 cat >conftest.
$ac_ext <<_ACEOF
6105 cat confdefs.h
>>conftest.
$ac_ext
6106 cat >>conftest.
$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6114 extern "C" void (*signal (int, void (*)(int)))(int);
6116 void (*signal ()) ();
6127 rm -f conftest.
$ac_objext
6128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6129 (eval $ac_compile) 2>conftest.er1
6131 grep -v '^ *+' conftest.er1
>conftest.err
6133 cat conftest.err
>&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); } &&
6136 { ac_try
='test -z "$ac_c_werror_flag"
6137 || test ! -s conftest.err'
6138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; } &&
6143 { ac_try
='test -s conftest.$ac_objext'
6144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; }; then
6149 ac_cv_type_signal
=void
6151 echo "$as_me: failed program was:" >&5
6152 sed 's/^/| /' conftest.
$ac_ext >&5
6154 ac_cv_type_signal
=int
6156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6158 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6159 echo "${ECHO_T}$ac_cv_type_signal" >&6
6161 cat >>confdefs.h
<<_ACEOF
6162 #define RETSIGTYPE $ac_cv_type_signal
6167 echo "$as_me:$LINENO: checking for speed_t" >&5
6168 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6169 if test "${emacs_cv_speed_t+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 cat >conftest.
$ac_ext <<_ACEOF
6175 cat confdefs.h
>>conftest.
$ac_ext
6176 cat >>conftest.
$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6178 #include <termios.h>
6187 rm -f conftest.
$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189 (eval $ac_compile) 2>conftest.er1
6191 grep -v '^ *+' conftest.er1
>conftest.err
6193 cat conftest.err
>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try
='test -z "$ac_c_werror_flag"
6197 || test ! -s conftest.err'
6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try
='test -s conftest.$ac_objext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 emacs_cv_speed_t
=yes
6211 echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.
$ac_ext >&5
6216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6218 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6219 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6220 if test $emacs_cv_speed_t = yes; then
6222 cat >>confdefs.h
<<\_ACEOF
6223 #define HAVE_SPEED_T 1
6228 echo "$as_me:$LINENO: checking for struct timeval" >&5
6229 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6230 if test "${emacs_cv_struct_timeval+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 cat >conftest.
$ac_ext <<_ACEOF
6236 cat confdefs.h
>>conftest.
$ac_ext
6237 cat >>conftest.
$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 #ifdef TIME_WITH_SYS_TIME
6240 #include <sys/time.h>
6243 #ifdef HAVE_SYS_TIME_H
6244 #include <sys/time.h>
6252 static struct timeval x; x.tv_sec = x.tv_usec;
6257 rm -f conftest.
$ac_objext
6258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6259 (eval $ac_compile) 2>conftest.er1
6261 grep -v '^ *+' conftest.er1
>conftest.err
6263 cat conftest.err
>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try
='test -z "$ac_c_werror_flag"
6267 || test ! -s conftest.err'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; } &&
6273 { ac_try
='test -s conftest.$ac_objext'
6274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); }; }; then
6279 emacs_cv_struct_timeval
=yes
6281 echo "$as_me: failed program was:" >&5
6282 sed 's/^/| /' conftest.
$ac_ext >&5
6284 emacs_cv_struct_timeval
=no
6286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6289 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6290 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6291 if test $emacs_cv_struct_timeval = yes; then
6293 cat >>confdefs.h
<<\_ACEOF
6294 #define HAVE_TIMEVAL 1
6299 echo "$as_me:$LINENO: checking for struct exception" >&5
6300 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6301 if test "${emacs_cv_struct_exception+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6314 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6319 rm -f conftest.
$ac_objext
6320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6321 (eval $ac_compile) 2>conftest.er1
6323 grep -v '^ *+' conftest.er1
>conftest.err
6325 cat conftest.err
>&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); } &&
6328 { ac_try
='test -z "$ac_c_werror_flag"
6329 || test ! -s conftest.err'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; } &&
6335 { ac_try
='test -s conftest.$ac_objext'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; }; then
6341 emacs_cv_struct_exception
=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.
$ac_ext >&5
6346 emacs_cv_struct_exception
=no
6348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6350 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6351 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6352 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6353 if test $emacs_cv_struct_exception != yes; then
6355 cat >>confdefs.h
<<\_ACEOF
6356 #define NO_MATHERR 1
6362 for ac_header
in sys
/socket.h
6364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6366 echo "$as_me:$LINENO: checking for $ac_header" >&5
6367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6374 # Is the header compilable?
6375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6377 cat >conftest.
$ac_ext <<_ACEOF
6380 cat confdefs.h
>>conftest.
$ac_ext
6381 cat >>conftest.
$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6383 $ac_includes_default
6384 #include <$ac_header>
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try
='test -z "$ac_c_werror_flag"
6396 || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest.$ac_objext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_header_compiler
=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 ac_header_compiler
=no
6415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6417 echo "${ECHO_T}$ac_header_compiler" >&6
6419 # Is the header present?
6420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6422 cat >conftest.
$ac_ext <<_ACEOF
6425 cat confdefs.h
>>conftest.
$ac_ext
6426 cat >>conftest.
$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 #include <$ac_header>
6430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6433 grep -v '^ *+' conftest.er1
>conftest.err
6435 cat conftest.err
>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } >/dev
/null
; then
6438 if test -s conftest.err
; then
6439 ac_cpp_err
=$ac_c_preproc_warn_flag
6440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6447 if test -z "$ac_cpp_err"; then
6448 ac_header_preproc
=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.
$ac_ext >&5
6453 ac_header_preproc
=no
6455 rm -f conftest.err conftest.
$ac_ext
6456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6457 echo "${ECHO_T}$ac_header_preproc" >&6
6459 # So? What about this header?
6460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6466 ac_header_preproc
=yes
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6483 ## ------------------------------------------ ##
6484 ## Report this to the AC_PACKAGE_NAME lists. ##
6485 ## ------------------------------------------ ##
6488 sed "s/^/$as_me: WARNING: /" >&2
6491 echo "$as_me:$LINENO: checking for $ac_header" >&5
6492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 eval "$as_ac_Header=\$ac_header_preproc"
6498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6503 cat >>confdefs.h
<<_ACEOF
6504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6512 for ac_header
in net
/if.h
6514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6515 echo "$as_me:$LINENO: checking for $ac_header" >&5
6516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 cat >conftest.
$ac_ext <<_ACEOF
6523 cat confdefs.h
>>conftest.
$ac_ext
6524 cat >>conftest.
$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 $ac_includes_default
6527 #if HAVE_SYS_SOCKET_H
6528 #include <sys/socket.h>
6531 #include <$ac_header>
6533 rm -f conftest.
$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>conftest.er1
6537 grep -v '^ *+' conftest.er1
>conftest.err
6539 cat conftest.err
>&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try
='test -z "$ac_c_werror_flag"
6543 || test ! -s conftest.err'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; } &&
6549 { ac_try
='test -s conftest.$ac_objext'
6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); }; }; then
6555 eval "$as_ac_Header=yes"
6557 echo "$as_me: failed program was:" >&5
6558 sed 's/^/| /' conftest.
$ac_ext >&5
6560 eval "$as_ac_Header=no"
6562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6567 cat >>confdefs.h
<<_ACEOF
6568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6576 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6577 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6578 if test "${ac_cv_struct_tm+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 cat >conftest.
$ac_ext <<_ACEOF
6584 cat confdefs.h
>>conftest.
$ac_ext
6585 cat >>conftest.
$ac_ext <<_ACEOF
6586 /* end confdefs.h. */
6587 #include <sys/types.h>
6593 struct tm *tp; tp->tm_sec;
6598 rm -f conftest.
$ac_objext
6599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6600 (eval $ac_compile) 2>conftest.er1
6602 grep -v '^ *+' conftest.er1
>conftest.err
6604 cat conftest.err
>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } &&
6607 { ac_try
='test -z "$ac_c_werror_flag"
6608 || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try
='test -s conftest.$ac_objext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_struct_tm
=time.h
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.
$ac_ext >&5
6625 ac_cv_struct_tm
=sys
/time.h
6627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6629 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6630 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6631 if test $ac_cv_struct_tm = sys
/time.h
; then
6633 cat >>confdefs.h
<<\_ACEOF
6634 #define TM_IN_SYS_TIME 1
6639 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6640 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6641 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6650 #include <sys/types.h>
6651 #include <$ac_cv_struct_tm>
6657 static struct tm ac_aggr;
6658 if (ac_aggr.tm_zone)
6664 rm -f conftest.
$ac_objext
6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6666 (eval $ac_compile) 2>conftest.er1
6668 grep -v '^ *+' conftest.er1
>conftest.err
6670 cat conftest.err
>&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } &&
6673 { ac_try
='test -z "$ac_c_werror_flag"
6674 || test ! -s conftest.err'
6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; } &&
6680 { ac_try
='test -s conftest.$ac_objext'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; }; then
6686 ac_cv_member_struct_tm_tm_zone
=yes
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6691 cat >conftest.
$ac_ext <<_ACEOF
6694 cat confdefs.h
>>conftest.
$ac_ext
6695 cat >>conftest.
$ac_ext <<_ACEOF
6696 /* end confdefs.h. */
6697 #include <sys/types.h>
6698 #include <$ac_cv_struct_tm>
6704 static struct tm ac_aggr;
6705 if (sizeof ac_aggr.tm_zone)
6711 rm -f conftest.
$ac_objext
6712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6713 (eval $ac_compile) 2>conftest.er1
6715 grep -v '^ *+' conftest.er1
>conftest.err
6717 cat conftest.err
>&5
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 (exit $ac_status); } &&
6720 { ac_try
='test -z "$ac_c_werror_flag"
6721 || test ! -s conftest.err'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; } &&
6727 { ac_try
='test -s conftest.$ac_objext'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; }; then
6733 ac_cv_member_struct_tm_tm_zone
=yes
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.
$ac_ext >&5
6738 ac_cv_member_struct_tm_tm_zone
=no
6740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6744 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6745 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6746 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6748 cat >>confdefs.h
<<_ACEOF
6749 #define HAVE_STRUCT_TM_TM_ZONE 1
6755 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6757 cat >>confdefs.h
<<\_ACEOF
6758 #define HAVE_TM_ZONE 1
6762 echo "$as_me:$LINENO: checking for tzname" >&5
6763 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6764 if test "${ac_cv_var_tzname+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6767 cat >conftest.
$ac_ext <<_ACEOF
6770 cat confdefs.h
>>conftest.
$ac_ext
6771 cat >>conftest.
$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6774 #ifndef tzname /* For SGI. */
6775 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6786 rm -f conftest.
$ac_objext conftest
$ac_exeext
6787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6788 (eval $ac_link) 2>conftest.er1
6790 grep -v '^ *+' conftest.er1
>conftest.err
6792 cat conftest.err
>&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } &&
6795 { ac_try
='test -z "$ac_c_werror_flag"
6796 || test ! -s conftest.err'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } &&
6802 { ac_try
='test -s conftest$ac_exeext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6808 ac_cv_var_tzname
=yes
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.
$ac_ext >&5
6815 rm -f conftest.err conftest.
$ac_objext \
6816 conftest
$ac_exeext conftest.
$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6819 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6820 if test $ac_cv_var_tzname = yes; then
6822 cat >>confdefs.h
<<\_ACEOF
6823 #define HAVE_TZNAME 1
6829 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6830 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6831 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6834 cat >conftest.
$ac_ext <<_ACEOF
6837 cat confdefs.h
>>conftest.
$ac_ext
6838 cat >>conftest.
$ac_ext <<_ACEOF
6839 /* end confdefs.h. */
6845 static struct tm ac_aggr;
6846 if (ac_aggr.tm_gmtoff)
6852 rm -f conftest.
$ac_objext
6853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6854 (eval $ac_compile) 2>conftest.er1
6856 grep -v '^ *+' conftest.er1
>conftest.err
6858 cat conftest.err
>&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); } &&
6861 { ac_try
='test -z "$ac_c_werror_flag"
6862 || test ! -s conftest.err'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; } &&
6868 { ac_try
='test -s conftest.$ac_objext'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; }; then
6874 ac_cv_member_struct_tm_tm_gmtoff
=yes
6876 echo "$as_me: failed program was:" >&5
6877 sed 's/^/| /' conftest.
$ac_ext >&5
6879 cat >conftest.
$ac_ext <<_ACEOF
6882 cat confdefs.h
>>conftest.
$ac_ext
6883 cat >>conftest.
$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6890 static struct tm ac_aggr;
6891 if (sizeof ac_aggr.tm_gmtoff)
6897 rm -f conftest.
$ac_objext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>conftest.er1
6901 grep -v '^ *+' conftest.er1
>conftest.err
6903 cat conftest.err
>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } &&
6906 { ac_try
='test -z "$ac_c_werror_flag"
6907 || test ! -s conftest.err'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; } &&
6913 { ac_try
='test -s conftest.$ac_objext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6919 ac_cv_member_struct_tm_tm_gmtoff
=yes
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6924 ac_cv_member_struct_tm_tm_gmtoff
=no
6926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6930 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6931 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6932 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6934 cat >>confdefs.h
<<\_ACEOF
6935 #define HAVE_TM_GMTOFF 1
6940 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6941 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6942 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 cat >conftest.
$ac_ext <<_ACEOF
6948 cat confdefs.h
>>conftest.
$ac_ext
6949 cat >>conftest.
$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6951 $ac_includes_default
6952 #if HAVE_SYS_SOCKET_H
6953 #include <sys/socket.h>
6962 static struct ifreq ac_aggr;
6963 if (ac_aggr.ifr_flags)
6969 rm -f conftest.
$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try
='test -z "$ac_c_werror_flag"
6979 || test ! -s conftest.err'
6980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; } &&
6985 { ac_try
='test -s conftest.$ac_objext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_member_struct_ifreq_ifr_flags
=yes
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.
$ac_ext >&5
6996 cat >conftest.
$ac_ext <<_ACEOF
6999 cat confdefs.h
>>conftest.
$ac_ext
7000 cat >>conftest.
$ac_ext <<_ACEOF
7001 /* end confdefs.h. */
7002 $ac_includes_default
7003 #if HAVE_SYS_SOCKET_H
7004 #include <sys/socket.h>
7013 static struct ifreq ac_aggr;
7014 if (sizeof ac_aggr.ifr_flags)
7020 rm -f conftest.
$ac_objext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7022 (eval $ac_compile) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1
>conftest.err
7026 cat conftest.err
>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try
='test -z "$ac_c_werror_flag"
7030 || test ! -s conftest.err'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); }; } &&
7036 { ac_try
='test -s conftest.$ac_objext'
7037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); }; }; then
7042 ac_cv_member_struct_ifreq_ifr_flags
=yes
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.
$ac_ext >&5
7047 ac_cv_member_struct_ifreq_ifr_flags
=no
7049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7053 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7054 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
7055 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7057 cat >>confdefs.h
<<_ACEOF
7058 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7063 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7064 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7065 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 cat >conftest.
$ac_ext <<_ACEOF
7071 cat confdefs.h
>>conftest.
$ac_ext
7072 cat >>conftest.
$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 $ac_includes_default
7075 #if HAVE_SYS_SOCKET_H
7076 #include <sys/socket.h>
7085 static struct ifreq ac_aggr;
7086 if (ac_aggr.ifr_hwaddr)
7092 rm -f conftest.
$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7096 grep -v '^ *+' conftest.er1
>conftest.err
7098 cat conftest.err
>&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try
='test -z "$ac_c_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try
='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.
$ac_ext >&5
7119 cat >conftest.
$ac_ext <<_ACEOF
7122 cat confdefs.h
>>conftest.
$ac_ext
7123 cat >>conftest.
$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 #if HAVE_SYS_SOCKET_H
7127 #include <sys/socket.h>
7136 static struct ifreq ac_aggr;
7137 if (sizeof ac_aggr.ifr_hwaddr)
7143 rm -f conftest.
$ac_objext
7144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7145 (eval $ac_compile) 2>conftest.er1
7147 grep -v '^ *+' conftest.er1
>conftest.err
7149 cat conftest.err
>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } &&
7152 { ac_try
='test -z "$ac_c_werror_flag"
7153 || test ! -s conftest.err'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; } &&
7159 { ac_try
='test -s conftest.$ac_objext'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.
$ac_ext >&5
7170 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7176 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7177 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7178 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7180 cat >>confdefs.h
<<_ACEOF
7181 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7186 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7187 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7188 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 cat >conftest.
$ac_ext <<_ACEOF
7194 cat confdefs.h
>>conftest.
$ac_ext
7195 cat >>conftest.
$ac_ext <<_ACEOF
7196 /* end confdefs.h. */
7197 $ac_includes_default
7198 #if HAVE_SYS_SOCKET_H
7199 #include <sys/socket.h>
7208 static struct ifreq ac_aggr;
7209 if (ac_aggr.ifr_netmask)
7215 rm -f conftest.
$ac_objext
7216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7217 (eval $ac_compile) 2>conftest.er1
7219 grep -v '^ *+' conftest.er1
>conftest.err
7221 cat conftest.err
>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } &&
7224 { ac_try
='test -z "$ac_c_werror_flag"
7225 || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try
='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.
$ac_ext >&5
7242 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7249 #if HAVE_SYS_SOCKET_H
7250 #include <sys/socket.h>
7259 static struct ifreq ac_aggr;
7260 if (sizeof ac_aggr.ifr_netmask)
7266 rm -f conftest.
$ac_objext
7267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7268 (eval $ac_compile) 2>conftest.er1
7270 grep -v '^ *+' conftest.er1
>conftest.err
7272 cat conftest.err
>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } &&
7275 { ac_try
='test -z "$ac_c_werror_flag"
7276 || test ! -s conftest.err'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; } &&
7282 { ac_try
='test -s conftest.$ac_objext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7288 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.
$ac_ext >&5
7293 ac_cv_member_struct_ifreq_ifr_netmask
=no
7295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7299 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7300 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7301 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7303 cat >>confdefs.h
<<_ACEOF
7304 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7309 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7310 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7311 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 cat >conftest.
$ac_ext <<_ACEOF
7317 cat confdefs.h
>>conftest.
$ac_ext
7318 cat >>conftest.
$ac_ext <<_ACEOF
7319 /* end confdefs.h. */
7320 $ac_includes_default
7321 #if HAVE_SYS_SOCKET_H
7322 #include <sys/socket.h>
7331 static struct ifreq ac_aggr;
7332 if (ac_aggr.ifr_broadaddr)
7338 rm -f conftest.
$ac_objext
7339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7340 (eval $ac_compile) 2>conftest.er1
7342 grep -v '^ *+' conftest.er1
>conftest.err
7344 cat conftest.err
>&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); } &&
7347 { ac_try
='test -z "$ac_c_werror_flag"
7348 || test ! -s conftest.err'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; } &&
7354 { ac_try
='test -s conftest.$ac_objext'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; }; then
7360 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7362 echo "$as_me: failed program was:" >&5
7363 sed 's/^/| /' conftest.
$ac_ext >&5
7365 cat >conftest.
$ac_ext <<_ACEOF
7368 cat confdefs.h
>>conftest.
$ac_ext
7369 cat >>conftest.
$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7371 $ac_includes_default
7372 #if HAVE_SYS_SOCKET_H
7373 #include <sys/socket.h>
7382 static struct ifreq ac_aggr;
7383 if (sizeof ac_aggr.ifr_broadaddr)
7389 rm -f conftest.
$ac_objext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7391 (eval $ac_compile) 2>conftest.er1
7393 grep -v '^ *+' conftest.er1
>conftest.err
7395 cat conftest.err
>&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } &&
7398 { ac_try
='test -z "$ac_c_werror_flag"
7399 || test ! -s conftest.err'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; } &&
7405 { ac_try
='test -s conftest.$ac_objext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then
7411 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.
$ac_ext >&5
7416 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7422 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7423 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7424 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7426 cat >>confdefs.h
<<_ACEOF
7427 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7432 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7433 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7434 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
7437 cat >conftest.
$ac_ext <<_ACEOF
7440 cat confdefs.h
>>conftest.
$ac_ext
7441 cat >>conftest.
$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 $ac_includes_default
7444 #if HAVE_SYS_SOCKET_H
7445 #include <sys/socket.h>
7454 static struct ifreq ac_aggr;
7455 if (ac_aggr.ifr_addr)
7461 rm -f conftest.
$ac_objext
7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7463 (eval $ac_compile) 2>conftest.er1
7465 grep -v '^ *+' conftest.er1
>conftest.err
7467 cat conftest.err
>&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); } &&
7470 { ac_try
='test -z "$ac_c_werror_flag"
7471 || test ! -s conftest.err'
7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); }; } &&
7477 { ac_try
='test -s conftest.$ac_objext'
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); }; }; then
7483 ac_cv_member_struct_ifreq_ifr_addr
=yes
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.
$ac_ext >&5
7488 cat >conftest.
$ac_ext <<_ACEOF
7491 cat confdefs.h
>>conftest.
$ac_ext
7492 cat >>conftest.
$ac_ext <<_ACEOF
7493 /* end confdefs.h. */
7494 $ac_includes_default
7495 #if HAVE_SYS_SOCKET_H
7496 #include <sys/socket.h>
7505 static struct ifreq ac_aggr;
7506 if (sizeof ac_aggr.ifr_addr)
7512 rm -f conftest.
$ac_objext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7514 (eval $ac_compile) 2>conftest.er1
7516 grep -v '^ *+' conftest.er1
>conftest.err
7518 cat conftest.err
>&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try
='test -z "$ac_c_werror_flag"
7522 || test ! -s conftest.err'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } &&
7528 { ac_try
='test -s conftest.$ac_objext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7534 ac_cv_member_struct_ifreq_ifr_addr
=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.
$ac_ext >&5
7539 ac_cv_member_struct_ifreq_ifr_addr
=no
7541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7546 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7547 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7549 cat >>confdefs.h
<<_ACEOF
7550 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7558 echo "$as_me:$LINENO: checking for function prototypes" >&5
7559 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7560 if test "$ac_cv_prog_cc_stdc" != no
; then
7561 echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6
7564 cat >>confdefs.h
<<\_ACEOF
7565 #define PROTOTYPES 1
7569 cat >>confdefs.h
<<\_ACEOF
7570 #define __PROTOTYPES 1
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7578 echo "$as_me:$LINENO: checking for working volatile" >&5
7579 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7580 if test "${ac_cv_c_volatile+set}" = set; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6
7583 cat >conftest.
$ac_ext <<_ACEOF
7586 cat confdefs.h
>>conftest.
$ac_ext
7587 cat >>conftest.
$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7600 rm -f conftest.
$ac_objext
7601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7602 (eval $ac_compile) 2>conftest.er1
7604 grep -v '^ *+' conftest.er1
>conftest.err
7606 cat conftest.err
>&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } &&
7609 { ac_try
='test -z "$ac_c_werror_flag"
7610 || test ! -s conftest.err'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; } &&
7616 { ac_try
='test -s conftest.$ac_objext'
7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); }; }; then
7622 ac_cv_c_volatile
=yes
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.
$ac_ext >&5
7629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7631 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7632 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7633 if test $ac_cv_c_volatile = no
; then
7635 cat >>confdefs.h
<<\_ACEOF
7641 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7642 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7643 if test "${ac_cv_c_const+set}" = set; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 cat >conftest.
$ac_ext <<_ACEOF
7649 cat confdefs.h
>>conftest.
$ac_ext
7650 cat >>conftest.
$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7656 /* FIXME: Include the comments suggested by Paul. */
7658 /* Ultrix mips cc rejects this. */
7659 typedef int charset[2];
7661 /* SunOS 4.1.1 cc rejects this. */
7662 char const *const *ccp;
7664 /* NEC SVR4.0.2 mips cc rejects this. */
7665 struct point {int x, y;};
7666 static struct point const zero = {0,0};
7667 /* AIX XL C 1.02.0.0 rejects this.
7668 It does not let you subtract one const X* pointer from another in
7669 an arm of an if-expression whose if-part is not a constant
7671 const char *g = "string";
7672 ccp = &g + (g ? g-g : 0);
7673 /* HPUX 7.0 cc rejects these. */
7676 ccp = (char const *const *) p;
7677 { /* SCO 3.2v4 cc rejects this. */
7679 char const *s = 0 ? (char *) 0 : (char const *) 0;
7683 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7685 const int *foo = &x[0];
7688 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7689 typedef const int *iptr;
7693 { /* AIX XL C 1.02.0.0 rejects this saying
7694 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7695 struct s { int j; const int *ap[3]; };
7696 struct s *b; b->j = 5;
7698 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7707 rm -f conftest.
$ac_objext
7708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7709 (eval $ac_compile) 2>conftest.er1
7711 grep -v '^ *+' conftest.er1
>conftest.err
7713 cat conftest.err
>&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } &&
7716 { ac_try
='test -z "$ac_c_werror_flag"
7717 || test ! -s conftest.err'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } &&
7723 { ac_try
='test -s conftest.$ac_objext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7738 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7739 echo "${ECHO_T}$ac_cv_c_const" >&6
7740 if test $ac_cv_c_const = no
; then
7742 cat >>confdefs.h
<<\_ACEOF
7748 echo "$as_me:$LINENO: checking for void * support" >&5
7749 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7750 if test "${emacs_cv_void_star+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 cat >conftest.
$ac_ext <<_ACEOF
7756 cat confdefs.h
>>conftest.
$ac_ext
7757 cat >>conftest.
$ac_ext <<_ACEOF
7758 /* end confdefs.h. */
7768 rm -f conftest.
$ac_objext
7769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7770 (eval $ac_compile) 2>conftest.er1
7772 grep -v '^ *+' conftest.er1
>conftest.err
7774 cat conftest.err
>&5
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } &&
7777 { ac_try
='test -z "$ac_c_werror_flag"
7778 || test ! -s conftest.err'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; } &&
7784 { ac_try
='test -s conftest.$ac_objext'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; }; then
7790 emacs_cv_void_star
=yes
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.
$ac_ext >&5
7795 emacs_cv_void_star
=no
7797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7799 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7800 echo "${ECHO_T}$emacs_cv_void_star" >&6
7801 if test $emacs_cv_void_star = yes; then
7802 cat >>confdefs.h
<<\_ACEOF
7803 #define POINTER_TYPE void
7807 cat >>confdefs.h
<<\_ACEOF
7808 #define POINTER_TYPE char
7817 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7818 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7819 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7820 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 cat >conftest.
make <<\_ACEOF
7825 @
echo 'ac_maketemp="$(MAKE)"'
7827 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7828 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7829 if test -n "$ac_maketemp"; then
7830 eval ac_cv_prog_make_
${ac_make}_set
=yes
7832 eval ac_cv_prog_make_
${ac_make}_set
=no
7836 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7837 echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7843 SET_MAKE
="MAKE=${MAKE-make}"
7847 echo "$as_me:$LINENO: checking for long file names" >&5
7848 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7849 if test "${ac_cv_sys_long_file_names+set}" = set; then
7850 echo $ECHO_N "(cached) $ECHO_C" >&6
7852 ac_cv_sys_long_file_names
=yes
7853 # Test for long file names in all the places we know might matter:
7854 # . the current directory, where building will happen
7855 # $prefix/lib where we will be installing things
7856 # $exec_prefix/lib likewise
7857 # eval it to expand exec_prefix.
7858 # $TMPDIR if set, where it might want to write temporary files
7859 # if $TMPDIR is not set:
7860 # /tmp where it might want to write temporary files
7863 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7866 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7868 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7869 test -d $ac_dir ||
continue
7870 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7871 ac_xdir
=$ac_dir/cf$$
7872 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7873 ac_tf1
=$ac_xdir/conftest9012345
7874 ac_tf2
=$ac_xdir/conftest9012346
7875 (echo 1 >$ac_tf1) 2>/dev
/null
7876 (echo 2 >$ac_tf2) 2>/dev
/null
7877 ac_val
=`cat $ac_tf1 2>/dev/null`
7878 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7879 ac_cv_sys_long_file_names
=no
7880 rm -rf $ac_xdir 2>/dev
/null
7883 rm -rf $ac_xdir 2>/dev
/null
7886 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7887 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7888 if test $ac_cv_sys_long_file_names = yes; then
7890 cat >>confdefs.h
<<\_ACEOF
7891 #define HAVE_LONG_FILE_NAMES 1
7897 #### Choose a window system.
7899 echo "$as_me:$LINENO: checking for X" >&5
7900 echo $ECHO_N "checking for X... $ECHO_C" >&6
7903 # Check whether --with-x or --without-x was given.
7904 if test "${with_x+set}" = set; then
7908 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7909 if test "x$with_x" = xno
; then
7910 # The user explicitly disabled X.
7913 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7914 # Both variables are already set.
7917 if test "${ac_cv_have_x+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 # One or both of the vars are not set, and there is no cached value.
7921 ac_x_includes
=no ac_x_libraries
=no
7923 if mkdir conftest.dir
; then
7925 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7926 cat >Imakefile
<<'_ACEOF'
7928 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7930 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7931 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7932 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7933 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7934 for ac_extension
in a so sl
; do
7935 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7936 test -f $ac_im_libdir/libX11.
$ac_extension; then
7937 ac_im_usrlibdir
=$ac_im_libdir; break
7940 # Screen out bogus values from the imake configuration. They are
7941 # bogus both because they are the default anyway, and because
7942 # using them would break gcc on systems where it needs fixed includes.
7943 case $ac_im_incroot in
7945 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7947 case $ac_im_usrlibdir in
7949 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7956 # Standard set of common directories for X headers.
7957 # Check X11 before X11Rn because it is often a symlink to the current release.
7969 /usr/local/X11/include
7970 /usr/local/X11R6/include
7971 /usr/local/X11R5/include
7972 /usr/local/X11R4/include
7974 /usr/local/include/X11
7975 /usr/local/include/X11R6
7976 /usr/local/include/X11R5
7977 /usr/local/include/X11R4
7981 /usr/XFree86/include/X11
7985 /usr/unsupported/include
7987 /usr/local/x11r5/include
7988 /usr/lpp/Xamples/include
7990 /usr/openwin/include
7991 /usr/openwin/share/include'
7993 if test "$ac_x_includes" = no
; then
7994 # Guess where to find include files, by looking for Intrinsic.h.
7995 # First, try using that file with no special directory specified.
7996 cat >conftest.
$ac_ext <<_ACEOF
7999 cat confdefs.h
>>conftest.
$ac_ext
8000 cat >>conftest.
$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8002 #include <X11/Intrinsic.h>
8004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8007 grep -v '^ *+' conftest.er1
>conftest.err
8009 cat conftest.err
>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } >/dev
/null
; then
8012 if test -s conftest.err
; then
8013 ac_cpp_err
=$ac_c_preproc_warn_flag
8014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8021 if test -z "$ac_cpp_err"; then
8022 # We can compile using X headers with no special include directory.
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8028 for ac_dir
in $ac_x_header_dirs; do
8029 if test -r "$ac_dir/X11/Intrinsic.h"; then
8030 ac_x_includes
=$ac_dir
8035 rm -f conftest.err conftest.
$ac_ext
8036 fi # $ac_x_includes = no
8038 if test "$ac_x_libraries" = no
; then
8039 # Check for the libraries.
8040 # See if we find them without any special options.
8041 # Don't add to $LIBS permanently.
8044 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <X11/Intrinsic.h>
8059 rm -f conftest.
$ac_objext conftest
$ac_exeext
8060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8061 (eval $ac_link) 2>conftest.er1
8063 grep -v '^ *+' conftest.er1
>conftest.err
8065 cat conftest.err
>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); } &&
8068 { ac_try
='test -z "$ac_c_werror_flag"
8069 || test ! -s conftest.err'
8070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); }; } &&
8075 { ac_try
='test -s conftest$ac_exeext'
8076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); }; }; then
8082 # We can link X programs with no special library path.
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.
$ac_ext >&5
8089 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8091 # Don't even attempt the hair of trying to link an X program!
8092 for ac_extension
in a so sl
; do
8093 if test -r $ac_dir/libXt.
$ac_extension; then
8094 ac_x_libraries
=$ac_dir
8100 rm -f conftest.err conftest.
$ac_objext \
8101 conftest
$ac_exeext conftest.
$ac_ext
8102 fi # $ac_x_libraries = no
8104 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8105 # Didn't find X anywhere. Cache the known absence of X.
8106 ac_cv_have_x
="have_x=no"
8108 # Record where we found X for the cache.
8109 ac_cv_have_x
="have_x=yes \
8110 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8115 eval "$ac_cv_have_x"
8118 if test "$have_x" != yes; then
8119 echo "$as_me:$LINENO: result: $have_x" >&5
8120 echo "${ECHO_T}$have_x" >&6
8123 # If each of the values was on the command line, it overrides each guess.
8124 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8125 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8126 # Update the cache value to reflect the command line values.
8127 ac_cv_have_x
="have_x=yes \
8128 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8129 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8130 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8133 if test "$no_x" = yes; then
8139 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8140 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8141 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8142 x_default_search_path
=""
8143 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8145 ${x_library}/X11/%L/%T/%N%C%S:\
8146 ${x_library}/X11/%l/%T/%N%C%S:\
8147 ${x_library}/X11/%T/%N%C%S:\
8148 ${x_library}/X11/%L/%T/%N%S:\
8149 ${x_library}/X11/%l/%T/%N%S:\
8150 ${x_library}/X11/%T/%N%S"
8151 if test x
"${x_default_search_path}" = x
; then
8152 x_default_search_path
=${x_search_path}
8154 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8158 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8159 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8162 if test x
"${x_includes}" = x
; then
8163 bitmapdir
=/usr
/include
/X11
/bitmaps
8165 # accumulate include directories that have X11 bitmap subdirectories
8167 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8168 if test -d "${bmd}/X11/bitmaps"; then
8169 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8171 if test -d "${bmd}/bitmaps"; then
8172 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8175 if test ${bmd_acc} != "dummyval"; then
8176 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8180 case "${window_system}" in
8184 case "${with_x_toolkit}" in
8185 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8186 motif
) USE_X_TOOLKIT
=MOTIF
;;
8188 USE_X_TOOLKIT
=none
;;
8189 no
) USE_X_TOOLKIT
=none
;;
8190 * ) USE_X_TOOLKIT
=maybe
;;
8200 ### If we're using X11, we should use the X menu package.
8203 yes ) HAVE_MENUS
=yes ;;
8206 if test "${opsys}" = "hpux9"; then
8207 case "${x_libraries}" in
8209 opsysfile
="s/hpux9-x11r4.h"
8214 if test "${opsys}" = "hpux9shr"; then
8215 case "${x_libraries}" in
8217 opsysfile
="s/hpux9shxr4.h"
8222 ### Compute the unexec source name from the object name.
8223 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8225 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8226 # Assume not, until told otherwise.
8229 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8230 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8231 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 cat >conftest.
$ac_ext <<_ACEOF
8237 cat confdefs.h
>>conftest.
$ac_ext
8238 cat >>conftest.
$ac_ext <<_ACEOF
8239 /* end confdefs.h. */
8240 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8242 #define malloc_get_state innocuous_malloc_get_state
8244 /* System header to define __stub macros and hopefully few prototypes,
8245 which can conflict with char malloc_get_state (); below.
8246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8247 <limits.h> exists even on freestanding compilers. */
8250 # include <limits.h>
8252 # include <assert.h>
8255 #undef malloc_get_state
8257 /* Override any gcc2 internal prototype to avoid an error. */
8262 /* We use char because int might match the return type of a gcc2
8263 builtin and then its argument prototype would still apply. */
8264 char malloc_get_state ();
8265 /* The GNU C library defines this for functions which it implements
8266 to always fail with ENOSYS. Some functions are actually named
8267 something starting with __ and the normal name is an alias. */
8268 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8271 char (*f) () = malloc_get_state;
8280 return f != malloc_get_state;
8285 rm -f conftest.
$ac_objext conftest
$ac_exeext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8287 (eval $ac_link) 2>conftest.er1
8289 grep -v '^ *+' conftest.er1
>conftest.err
8291 cat conftest.err
>&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try
='test -z "$ac_c_werror_flag"
8295 || test ! -s conftest.err'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try
='test -s conftest$ac_exeext'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8307 ac_cv_func_malloc_get_state
=yes
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.
$ac_ext >&5
8312 ac_cv_func_malloc_get_state
=no
8314 rm -f conftest.err conftest.
$ac_objext \
8315 conftest
$ac_exeext conftest.
$ac_ext
8317 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8318 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8319 if test $ac_cv_func_malloc_get_state = yes; then
8325 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8326 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8327 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8328 echo $ECHO_N "(cached) $ECHO_C" >&6
8330 cat >conftest.
$ac_ext <<_ACEOF
8333 cat confdefs.h
>>conftest.
$ac_ext
8334 cat >>conftest.
$ac_ext <<_ACEOF
8335 /* end confdefs.h. */
8336 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8338 #define malloc_set_state innocuous_malloc_set_state
8340 /* System header to define __stub macros and hopefully few prototypes,
8341 which can conflict with char malloc_set_state (); below.
8342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8343 <limits.h> exists even on freestanding compilers. */
8346 # include <limits.h>
8348 # include <assert.h>
8351 #undef malloc_set_state
8353 /* Override any gcc2 internal prototype to avoid an error. */
8358 /* We use char because int might match the return type of a gcc2
8359 builtin and then its argument prototype would still apply. */
8360 char malloc_set_state ();
8361 /* The GNU C library defines this for functions which it implements
8362 to always fail with ENOSYS. Some functions are actually named
8363 something starting with __ and the normal name is an alias. */
8364 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8367 char (*f) () = malloc_set_state;
8376 return f != malloc_set_state;
8381 rm -f conftest.
$ac_objext conftest
$ac_exeext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8383 (eval $ac_link) 2>conftest.er1
8385 grep -v '^ *+' conftest.er1
>conftest.err
8387 cat conftest.err
>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try
='test -z "$ac_c_werror_flag"
8391 || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try
='test -s conftest$ac_exeext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 ac_cv_func_malloc_set_state
=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8408 ac_cv_func_malloc_set_state
=no
8410 rm -f conftest.err conftest.
$ac_objext \
8411 conftest
$ac_exeext conftest.
$ac_ext
8413 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8414 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8415 if test $ac_cv_func_malloc_set_state = yes; then
8421 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8422 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8423 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 cat >conftest.
$ac_ext <<_ACEOF
8429 cat confdefs.h
>>conftest.
$ac_ext
8430 cat >>conftest.
$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8432 extern void (* __after_morecore_hook)();
8436 __after_morecore_hook = 0
8441 rm -f conftest.
$ac_objext conftest
$ac_exeext
8442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8443 (eval $ac_link) 2>conftest.er1
8445 grep -v '^ *+' conftest.er1
>conftest.err
8447 cat conftest.err
>&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); } &&
8450 { ac_try
='test -z "$ac_c_werror_flag"
8451 || test ! -s conftest.err'
8452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); }; } &&
8457 { ac_try
='test -s conftest$ac_exeext'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; }; then
8463 emacs_cv_var___after_morecore_hook
=yes
8465 echo "$as_me: failed program was:" >&5
8466 sed 's/^/| /' conftest.
$ac_ext >&5
8468 emacs_cv_var___after_morecore_hook
=no
8470 rm -f conftest.err conftest.
$ac_objext \
8471 conftest
$ac_exeext conftest.
$ac_ext
8473 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8474 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8475 if test $emacs_cv_var___after_morecore_hook = no
; then
8478 if test "${system_malloc}" = "yes"; then
8481 (The GNU allocators don't work with this system configuration.)"
8483 if test "$doug_lea_malloc" = "yes" ; then
8484 if test "$GNU_MALLOC" = yes ; then
8486 (Using Doug Lea's new malloc from the GNU C Library.)"
8489 cat >>confdefs.h
<<\_ACEOF
8490 #define DOUG_LEA_MALLOC 1
8495 if test x
"${REL_ALLOC}" = x
; then
8496 REL_ALLOC
=${GNU_MALLOC}
8502 for ac_header
in stdlib.h unistd.h
8504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8506 echo "$as_me:$LINENO: checking for $ac_header" >&5
8507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8514 # Is the header compilable?
8515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 $ac_includes_default
8524 #include <$ac_header>
8526 rm -f conftest.
$ac_objext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8528 (eval $ac_compile) 2>conftest.er1
8530 grep -v '^ *+' conftest.er1
>conftest.err
8532 cat conftest.err
>&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try
='test -z "$ac_c_werror_flag"
8536 || test ! -s conftest.err'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try
='test -s conftest.$ac_objext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 ac_header_compiler
=yes
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.
$ac_ext >&5
8553 ac_header_compiler
=no
8555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557 echo "${ECHO_T}$ac_header_compiler" >&6
8559 # Is the header present?
8560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8562 cat >conftest.
$ac_ext <<_ACEOF
8565 cat confdefs.h
>>conftest.
$ac_ext
8566 cat >>conftest.
$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <$ac_header>
8570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8573 grep -v '^ *+' conftest.er1
>conftest.err
8575 cat conftest.err
>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } >/dev
/null
; then
8578 if test -s conftest.err
; then
8579 ac_cpp_err
=$ac_c_preproc_warn_flag
8580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8587 if test -z "$ac_cpp_err"; then
8588 ac_header_preproc
=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.
$ac_ext >&5
8593 ac_header_preproc
=no
8595 rm -f conftest.err conftest.
$ac_ext
8596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8597 echo "${ECHO_T}$ac_header_preproc" >&6
8599 # So? What about this header?
8600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8606 ac_header_preproc
=yes
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8623 ## ------------------------------------------ ##
8624 ## Report this to the AC_PACKAGE_NAME lists. ##
8625 ## ------------------------------------------ ##
8628 sed "s/^/$as_me: WARNING: /" >&2
8631 echo "$as_me:$LINENO: checking for $ac_header" >&5
8632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 eval "$as_ac_Header=\$ac_header_preproc"
8638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8643 cat >>confdefs.h
<<_ACEOF
8644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 for ac_func
in getpagesize
8654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8655 echo "$as_me:$LINENO: checking for $ac_func" >&5
8656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8657 if eval "test \"\${$as_ac_var+set}\" = set"; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 cat >conftest.
$ac_ext <<_ACEOF
8663 cat confdefs.h
>>conftest.
$ac_ext
8664 cat >>conftest.
$ac_ext <<_ACEOF
8665 /* end confdefs.h. */
8666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8668 #define $ac_func innocuous_$ac_func
8670 /* System header to define __stub macros and hopefully few prototypes,
8671 which can conflict with char $ac_func (); below.
8672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8673 <limits.h> exists even on freestanding compilers. */
8676 # include <limits.h>
8678 # include <assert.h>
8683 /* Override any gcc2 internal prototype to avoid an error. */
8688 /* We use char because int might match the return type of a gcc2
8689 builtin and then its argument prototype would still apply. */
8691 /* The GNU C library defines this for functions which it implements
8692 to always fail with ENOSYS. Some functions are actually named
8693 something starting with __ and the normal name is an alias. */
8694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8697 char (*f) () = $ac_func;
8706 return f != $ac_func;
8711 rm -f conftest.
$ac_objext conftest
$ac_exeext
8712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>conftest.er1
8715 grep -v '^ *+' conftest.er1
>conftest.err
8717 cat conftest.err
>&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } &&
8720 { ac_try
='test -z "$ac_c_werror_flag"
8721 || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest$ac_exeext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 eval "$as_ac_var=yes"
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 eval "$as_ac_var=no"
8740 rm -f conftest.err conftest.
$ac_objext \
8741 conftest
$ac_exeext conftest.
$ac_ext
8743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8745 if test `eval echo '${'$as_ac_var'}'` = yes; then
8746 cat >>confdefs.h
<<_ACEOF
8747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8753 echo "$as_me:$LINENO: checking for working mmap" >&5
8754 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8755 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 if test "$cross_compiling" = yes; then
8759 ac_cv_func_mmap_fixed_mapped
=no
8761 cat >conftest.
$ac_ext <<_ACEOF
8764 cat confdefs.h
>>conftest.
$ac_ext
8765 cat >>conftest.
$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8767 $ac_includes_default
8768 /* malloc might have been renamed as rpl_malloc. */
8771 /* Thanks to Mike Haertel and Jim Avera for this test.
8772 Here is a matrix of mmap possibilities:
8773 mmap private not fixed
8774 mmap private fixed at somewhere currently unmapped
8775 mmap private fixed at somewhere already mapped
8776 mmap shared not fixed
8777 mmap shared fixed at somewhere currently unmapped
8778 mmap shared fixed at somewhere already mapped
8779 For private mappings, we should verify that changes cannot be read()
8780 back from the file, nor mmap's back from the file at a different
8781 address. (There have been systems where private was not correctly
8782 implemented like the infamous i386 svr4.0, and systems where the
8783 VM page cache was not coherent with the file system buffer cache
8784 like early versions of FreeBSD and possibly contemporary NetBSD.)
8785 For shared mappings, we should conversely verify that changes get
8786 propagated back to all the places they're supposed to be.
8788 Grep wants private fixed already mapped.
8789 The main things grep needs to know about mmap are:
8790 * does it exist and is it safe to write into the mmap'd area
8791 * how to use it (BSD variants) */
8794 #include <sys/mman.h>
8796 #if !STDC_HEADERS && !HAVE_STDLIB_H
8800 /* This mess was copied from the GNU getpagesize.h. */
8801 #if !HAVE_GETPAGESIZE
8802 /* Assume that all systems that can run configure have sys/param.h. */
8803 # if !HAVE_SYS_PARAM_H
8804 # define HAVE_SYS_PARAM_H 1
8807 # ifdef _SC_PAGESIZE
8808 # define getpagesize() sysconf(_SC_PAGESIZE)
8809 # else /* no _SC_PAGESIZE */
8810 # if HAVE_SYS_PARAM_H
8811 # include <sys/param.h>
8812 # ifdef EXEC_PAGESIZE
8813 # define getpagesize() EXEC_PAGESIZE
8814 # else /* no EXEC_PAGESIZE */
8816 # define getpagesize() NBPG * CLSIZE
8819 # endif /* no CLSIZE */
8820 # else /* no NBPG */
8822 # define getpagesize() NBPC
8823 # else /* no NBPC */
8825 # define getpagesize() PAGESIZE
8826 # endif /* PAGESIZE */
8827 # endif /* no NBPC */
8828 # endif /* no NBPG */
8829 # endif /* no EXEC_PAGESIZE */
8830 # else /* no HAVE_SYS_PARAM_H */
8831 # define getpagesize() 8192 /* punt totally */
8832 # endif /* no HAVE_SYS_PARAM_H */
8833 # endif /* no _SC_PAGESIZE */
8835 #endif /* no HAVE_GETPAGESIZE */
8840 char *data, *data2, *data3;
8844 pagesize = getpagesize ();
8846 /* First, make a file with some known garbage in it. */
8847 data = (char *) malloc (pagesize);
8850 for (i = 0; i < pagesize; ++i)
8851 *(data + i) = rand ();
8853 fd = creat ("conftest.mmap", 0600);
8856 if (write (fd, data, pagesize) != pagesize)
8860 /* Next, try to mmap the file at a fixed address which already has
8861 something else allocated at it. If we can, also make sure that
8862 we see the same garbage. */
8863 fd = open ("conftest.mmap", O_RDWR);
8866 data2 = (char *) malloc (2 * pagesize);
8869 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8870 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8871 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8873 for (i = 0; i < pagesize; ++i)
8874 if (*(data + i) != *(data2 + i))
8877 /* Finally, make sure that changes to the mapped area do not
8878 percolate back to the file as seen by read(). (This is a bug on
8879 some variants of i386 svr4.0.) */
8880 for (i = 0; i < pagesize; ++i)
8881 *(data2 + i) = *(data2 + i) + 1;
8882 data3 = (char *) malloc (pagesize);
8885 if (read (fd, data3, pagesize) != pagesize)
8887 for (i = 0; i < pagesize; ++i)
8888 if (*(data + i) != *(data3 + i))
8894 rm -f conftest
$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896 (eval $ac_link) 2>&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 ac_cv_func_mmap_fixed_mapped
=yes
8907 echo "$as_me: program exited with status $ac_status" >&5
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.
$ac_ext >&5
8912 ac_cv_func_mmap_fixed_mapped
=no
8914 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8917 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8918 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8919 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8921 cat >>confdefs.h
<<\_ACEOF
8928 if test $use_mmap_for_buffers = yes; then
8932 LIBS
="$libsrc_libs $LIBS"
8935 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8936 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8937 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 ac_check_lib_save_LIBS
=$LIBS
8942 cat >conftest.
$ac_ext <<_ACEOF
8945 cat confdefs.h
>>conftest.
$ac_ext
8946 cat >>conftest.
$ac_ext <<_ACEOF
8947 /* end confdefs.h. */
8949 /* Override any gcc2 internal prototype to avoid an error. */
8953 /* We use char because int might match the return type of a gcc2
8954 builtin and then its argument prototype would still apply. */
8964 rm -f conftest.
$ac_objext conftest
$ac_exeext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8966 (eval $ac_link) 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try
='test -z "$ac_c_werror_flag"
8974 || test ! -s conftest.err'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try
='test -s conftest$ac_exeext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 ac_cv_lib_dnet_dnet_ntoa
=yes
8988 echo "$as_me: failed program was:" >&5
8989 sed 's/^/| /' conftest.
$ac_ext >&5
8991 ac_cv_lib_dnet_dnet_ntoa
=no
8993 rm -f conftest.err conftest.
$ac_objext \
8994 conftest
$ac_exeext conftest.
$ac_ext
8995 LIBS
=$ac_check_lib_save_LIBS
8997 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8998 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8999 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9000 cat >>confdefs.h
<<_ACEOF
9001 #define HAVE_LIBDNET 1
9009 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9010 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9011 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 ac_check_lib_save_LIBS
=$LIBS
9016 cat >conftest.
$ac_ext <<_ACEOF
9019 cat confdefs.h
>>conftest.
$ac_ext
9020 cat >>conftest.
$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9032 rm -f conftest.
$ac_objext conftest
$ac_exeext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9034 (eval $ac_link) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1
>conftest.err
9038 cat conftest.err
>&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try
='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try
='test -s conftest$ac_exeext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_cv_lib_Xbsd_main
=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 ac_cv_lib_Xbsd_main
=no
9061 rm -f conftest.err conftest.
$ac_objext \
9062 conftest
$ac_exeext conftest.
$ac_ext
9063 LIBS
=$ac_check_lib_save_LIBS
9065 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9066 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9067 if test $ac_cv_lib_Xbsd_main = yes; then
9068 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9073 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9074 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9075 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 ac_check_lib_save_LIBS
=$LIBS
9079 LIBS
="-lpthreads $LIBS"
9080 cat >conftest.
$ac_ext <<_ACEOF
9083 cat confdefs.h
>>conftest.
$ac_ext
9084 cat >>conftest.
$ac_ext <<_ACEOF
9085 /* end confdefs.h. */
9087 /* Override any gcc2 internal prototype to avoid an error. */
9091 /* We use char because int might match the return type of a gcc2
9092 builtin and then its argument prototype would still apply. */
9102 rm -f conftest.
$ac_objext conftest
$ac_exeext
9103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9104 (eval $ac_link) 2>conftest.er1
9106 grep -v '^ *+' conftest.er1
>conftest.err
9108 cat conftest.err
>&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); } &&
9111 { ac_try
='test -z "$ac_c_werror_flag"
9112 || test ! -s conftest.err'
9113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); }; } &&
9118 { ac_try
='test -s conftest$ac_exeext'
9119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); }; }; then
9124 ac_cv_lib_pthreads_cma_open
=yes
9126 echo "$as_me: failed program was:" >&5
9127 sed 's/^/| /' conftest.
$ac_ext >&5
9129 ac_cv_lib_pthreads_cma_open
=no
9131 rm -f conftest.err conftest.
$ac_objext \
9132 conftest
$ac_exeext conftest.
$ac_ext
9133 LIBS
=$ac_check_lib_save_LIBS
9135 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9136 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9137 if test $ac_cv_lib_pthreads_cma_open = yes; then
9138 cat >>confdefs.h
<<_ACEOF
9139 #define HAVE_LIBPTHREADS 1
9142 LIBS
="-lpthreads $LIBS"
9147 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9148 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9149 if test -d /usr
/X386
/include
; then
9151 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9155 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9156 echo "${ECHO_T}$HAVE_XFREE386" >&6
9161 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9162 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9163 if test "${gdb_cv_bigtoc+set}" = set; then
9164 echo $ECHO_N "(cached) $ECHO_C" >&6
9168 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9169 *) gdb_cv_bigtoc
=-bbigtoc ;;
9172 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9173 cat >conftest.
$ac_ext <<_ACEOF
9176 cat confdefs.h
>>conftest.
$ac_ext
9177 cat >>conftest.
$ac_ext <<_ACEOF
9178 /* end confdefs.h. */
9188 rm -f conftest.
$ac_objext conftest
$ac_exeext
9189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9190 (eval $ac_link) 2>conftest.er1
9192 grep -v '^ *+' conftest.er1
>conftest.err
9194 cat conftest.err
>&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); } &&
9197 { ac_try
='test -z "$ac_c_werror_flag"
9198 || test ! -s conftest.err'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; } &&
9204 { ac_try
='test -s conftest$ac_exeext'
9205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }; }; then
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.
$ac_ext >&5
9217 rm -f conftest.err conftest.
$ac_objext \
9218 conftest
$ac_exeext conftest.
$ac_ext
9221 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9222 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9226 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9227 # used for the tests that follow. We set them back to REAL_CFLAGS and
9228 # REAL_CPPFLAGS later on.
9230 REAL_CPPFLAGS
="$CPPFLAGS"
9232 if test "${HAVE_X11}" = "yes"; then
9233 DEFS
="$C_SWITCH_X_SITE $DEFS"
9234 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9236 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9237 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9239 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9240 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9241 # but it's more convenient here to set LD_RUN_PATH
9242 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9243 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9244 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9248 if test "${opsys}" = "gnu-linux"; then
9249 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9250 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9251 cat >conftest.
$ac_ext <<_ACEOF
9254 cat confdefs.h
>>conftest.
$ac_ext
9255 cat >>conftest.
$ac_ext <<_ACEOF
9256 /* end confdefs.h. */
9261 XOpenDisplay ("foo");
9266 rm -f conftest.
$ac_objext conftest
$ac_exeext
9267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9268 (eval $ac_link) 2>conftest.er1
9270 grep -v '^ *+' conftest.er1
>conftest.err
9272 cat conftest.err
>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } &&
9275 { ac_try
='test -z "$ac_c_werror_flag"
9276 || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest$ac_exeext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288 xlinux_first_failure
=no
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.
$ac_ext >&5
9293 xlinux_first_failure
=yes
9295 rm -f conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 if test "${xlinux_first_failure}" = "yes"; then
9298 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9299 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9300 OLD_CPPFLAGS
="$CPPFLAGS"
9302 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9303 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9304 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9305 LIBS
="$LIBS -b i486-linuxaout"
9306 cat >conftest.
$ac_ext <<_ACEOF
9309 cat confdefs.h
>>conftest.
$ac_ext
9310 cat >>conftest.
$ac_ext <<_ACEOF
9311 /* end confdefs.h. */
9316 XOpenDisplay ("foo");
9321 rm -f conftest.
$ac_objext conftest
$ac_exeext
9322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9323 (eval $ac_link) 2>conftest.er1
9325 grep -v '^ *+' conftest.er1
>conftest.err
9327 cat conftest.err
>&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); } &&
9330 { ac_try
='test -z "$ac_c_werror_flag"
9331 || test ! -s conftest.err'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; } &&
9337 { ac_try
='test -s conftest$ac_exeext'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 xlinux_second_failure
=no
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.
$ac_ext >&5
9348 xlinux_second_failure
=yes
9350 rm -f conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 if test "${xlinux_second_failure}" = "yes"; then
9353 # If we get the same failure with -b, there is no use adding -b.
9354 # So take it out. This plays safe.
9355 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9356 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9357 CPPFLAGS
="$OLD_CPPFLAGS"
9359 echo "$as_me:$LINENO: result: no" >&5
9360 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: result: yes" >&5
9363 echo "${ECHO_T}yes" >&6
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9371 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9372 # header files included from there.
9373 echo "$as_me:$LINENO: checking for Xkb" >&5
9374 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9375 cat >conftest.
$ac_ext <<_ACEOF
9378 cat confdefs.h
>>conftest.
$ac_ext
9379 cat >>conftest.
$ac_ext <<_ACEOF
9380 /* end confdefs.h. */
9381 #include <X11/Xlib.h>
9382 #include <X11/XKBlib.h>
9386 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9391 rm -f conftest.
$ac_objext conftest
$ac_exeext
9392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9393 (eval $ac_link) 2>conftest.er1
9395 grep -v '^ *+' conftest.er1
>conftest.err
9397 cat conftest.err
>&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } &&
9400 { ac_try
='test -z "$ac_c_werror_flag"
9401 || test ! -s conftest.err'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; } &&
9407 { ac_try
='test -s conftest$ac_exeext'
9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.
$ac_ext >&5
9420 rm -f conftest.err conftest.
$ac_objext \
9421 conftest
$ac_exeext conftest.
$ac_ext
9422 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9423 echo "${ECHO_T}$emacs_xkb" >&6
9424 if test $emacs_xkb = yes; then
9426 cat >>confdefs.h
<<\_ACEOF
9427 #define HAVE_XKBGETKEYBOARD 1
9436 for ac_func
in XrmSetDatabase XScreenResourceString \
9437 XScreenNumberOfScreen XSetWMProtocols
9439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9440 echo "$as_me:$LINENO: checking for $ac_func" >&5
9441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9442 if eval "test \"\${$as_ac_var+set}\" = set"; then
9443 echo $ECHO_N "(cached) $ECHO_C" >&6
9445 cat >conftest.
$ac_ext <<_ACEOF
9448 cat confdefs.h
>>conftest.
$ac_ext
9449 cat >>conftest.
$ac_ext <<_ACEOF
9450 /* end confdefs.h. */
9451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9453 #define $ac_func innocuous_$ac_func
9455 /* System header to define __stub macros and hopefully few prototypes,
9456 which can conflict with char $ac_func (); below.
9457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9458 <limits.h> exists even on freestanding compilers. */
9461 # include <limits.h>
9463 # include <assert.h>
9468 /* Override any gcc2 internal prototype to avoid an error. */
9473 /* We use char because int might match the return type of a gcc2
9474 builtin and then its argument prototype would still apply. */
9476 /* The GNU C library defines this for functions which it implements
9477 to always fail with ENOSYS. Some functions are actually named
9478 something starting with __ and the normal name is an alias. */
9479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9482 char (*f) () = $ac_func;
9491 return f != $ac_func;
9496 rm -f conftest.
$ac_objext conftest
$ac_exeext
9497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9498 (eval $ac_link) 2>conftest.er1
9500 grep -v '^ *+' conftest.er1
>conftest.err
9502 cat conftest.err
>&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); } &&
9505 { ac_try
='test -z "$ac_c_werror_flag"
9506 || test ! -s conftest.err'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; } &&
9512 { ac_try
='test -s conftest$ac_exeext'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then
9518 eval "$as_ac_var=yes"
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.
$ac_ext >&5
9523 eval "$as_ac_var=no"
9525 rm -f conftest.err conftest.
$ac_objext \
9526 conftest
$ac_exeext conftest.
$ac_ext
9528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9530 if test `eval echo '${'$as_ac_var'}'` = yes; then
9531 cat >>confdefs.h
<<_ACEOF
9532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9540 if test "${window_system}" = "x11"; then
9541 echo "$as_me:$LINENO: checking X11 version 6" >&5
9542 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9543 if test "${emacs_cv_x11_version_6+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.
$ac_ext <<_ACEOF
9549 cat confdefs.h
>>conftest.
$ac_ext
9550 cat >>conftest.
$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 #include <X11/Xlib.h>
9556 #if XlibSpecificationRelease < 6
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9566 (eval $ac_link) 2>conftest.er1
9568 grep -v '^ *+' conftest.er1
>conftest.err
9570 cat conftest.err
>&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); } &&
9573 { ac_try
='test -z "$ac_c_werror_flag"
9574 || test ! -s conftest.err'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; } &&
9580 { ac_try
='test -s conftest$ac_exeext'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; }; then
9586 emacs_cv_x11_version_6
=yes
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.
$ac_ext >&5
9591 emacs_cv_x11_version_6
=no
9593 rm -f conftest.err conftest.
$ac_objext \
9594 conftest
$ac_exeext conftest.
$ac_ext
9597 if test $emacs_cv_x11_version_6 = yes; then
9598 echo "$as_me:$LINENO: result: 6 or newer" >&5
9599 echo "${ECHO_T}6 or newer" >&6
9601 cat >>confdefs.h
<<\_ACEOF
9602 #define HAVE_X11R6 1
9606 echo "$as_me:$LINENO: result: before 6" >&5
9607 echo "${ECHO_T}before 6" >&6
9611 if test "${window_system}" = "x11"; then
9612 echo "$as_me:$LINENO: checking X11 version 5" >&5
9613 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9614 if test "${emacs_cv_x11_version_5+set}" = set; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 cat >conftest.
$ac_ext <<_ACEOF
9620 cat confdefs.h
>>conftest.
$ac_ext
9621 cat >>conftest.
$ac_ext <<_ACEOF
9622 /* end confdefs.h. */
9623 #include <X11/Xlib.h>
9627 #if XlibSpecificationRelease < 5
9635 rm -f conftest.
$ac_objext conftest
$ac_exeext
9636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9637 (eval $ac_link) 2>conftest.er1
9639 grep -v '^ *+' conftest.er1
>conftest.err
9641 cat conftest.err
>&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); } &&
9644 { ac_try
='test -z "$ac_c_werror_flag"
9645 || test ! -s conftest.err'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try
='test -s conftest$ac_exeext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 emacs_cv_x11_version_5
=yes
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.
$ac_ext >&5
9662 emacs_cv_x11_version_5
=no
9664 rm -f conftest.err conftest.
$ac_objext \
9665 conftest
$ac_exeext conftest.
$ac_ext
9668 if test $emacs_cv_x11_version_5 = yes; then
9669 echo "$as_me:$LINENO: result: 5 or newer" >&5
9670 echo "${ECHO_T}5 or newer" >&6
9673 cat >>confdefs.h
<<\_ACEOF
9674 #define HAVE_X11R5 1
9679 echo "$as_me:$LINENO: result: before 5" >&5
9680 echo "${ECHO_T}before 5" >&6
9687 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9688 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9689 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9690 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9691 { (exit 1); exit 1; }; };
9695 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9697 if test "X${with_pkg_config_prog}" != X
; then
9698 PKG_CONFIG
="${with_pkg_config_prog}"
9703 if test -z "$PKG_CONFIG"; then
9704 # Extract the first word of "pkg-config", so it can be a program name with args.
9705 set dummy pkg-config
; ac_word
=$2
9706 echo "$as_me:$LINENO: checking for $ac_word" >&5
9707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9708 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9720 test -z "$as_dir" && as_dir
=.
9721 for ac_exec_ext
in '' $ac_executable_extensions; do
9722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9723 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9730 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9734 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9736 if test -n "$PKG_CONFIG"; then
9737 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9738 echo "${ECHO_T}$PKG_CONFIG" >&6
9740 echo "$as_me:$LINENO: result: no" >&5
9741 echo "${ECHO_T}no" >&6
9746 if test "$PKG_CONFIG" = "no" ; then
9747 echo "*** The pkg-config script could not be found. Make sure it is"
9748 echo "*** in your path, or give the full path to pkg-config with"
9749 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9750 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9752 PKG_CONFIG_MIN_VERSION
=0.9.0
9753 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9754 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9755 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9757 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9758 echo "$as_me:$LINENO: result: yes" >&5
9759 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9763 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9764 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9765 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9766 echo "${ECHO_T}$GTK_CFLAGS" >&6
9768 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9769 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9770 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9771 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9772 echo "${ECHO_T}$GTK_LIBS" >&6
9776 ## If we have a custom action on failure, don't print errors, but
9777 ## do set a variable so people can do so.
9778 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9779 echo $GTK_PKG_ERRORS
9785 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9786 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9790 if test $succeeded = yes; then
9793 { { 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
9794 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;}
9795 { (exit 1); exit 1; }; }
9800 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9801 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9802 LIBS
="$GTK_LIBS $LIBS"
9805 cat >>confdefs.h
<<\_ACEOF
9811 if test "$with_toolkit_scroll_bars" != no
; then
9812 with_toolkit_scroll_bars
=yes
9815 HAVE_GTK_MULTIDISPLAY
=no
9817 for ac_func
in gdk_display_open
9819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9820 echo "$as_me:$LINENO: checking for $ac_func" >&5
9821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9822 if eval "test \"\${$as_ac_var+set}\" = set"; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 cat >conftest.
$ac_ext <<_ACEOF
9828 cat confdefs.h
>>conftest.
$ac_ext
9829 cat >>conftest.
$ac_ext <<_ACEOF
9830 /* end confdefs.h. */
9831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9833 #define $ac_func innocuous_$ac_func
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char $ac_func (); below.
9837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9838 <limits.h> exists even on freestanding compilers. */
9841 # include <limits.h>
9843 # include <assert.h>
9848 /* Override any gcc2 internal prototype to avoid an error. */
9853 /* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
9856 /* The GNU C library defines this for functions which it implements
9857 to always fail with ENOSYS. Some functions are actually named
9858 something starting with __ and the normal name is an alias. */
9859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9862 char (*f) () = $ac_func;
9871 return f != $ac_func;
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9878 (eval $ac_link) 2>conftest.er1
9880 grep -v '^ *+' conftest.er1
>conftest.err
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } &&
9885 { ac_try
='test -z "$ac_c_werror_flag"
9886 || test ! -s conftest.err'
9887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 (exit $ac_status); }; } &&
9892 { ac_try
='test -s conftest$ac_exeext'
9893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); }; }; then
9898 eval "$as_ac_var=yes"
9900 echo "$as_me: failed program was:" >&5
9901 sed 's/^/| /' conftest.
$ac_ext >&5
9903 eval "$as_ac_var=no"
9905 rm -f conftest.err conftest.
$ac_objext \
9906 conftest
$ac_exeext conftest.
$ac_ext
9908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9910 if test `eval echo '${'$as_ac_var'}'` = yes; then
9911 cat >>confdefs.h
<<_ACEOF
9912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9914 HAVE_GTK_MULTIDISPLAY
=yes
9918 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
9920 cat >>confdefs.h
<<\_ACEOF
9921 #define HAVE_GTK_MULTIDISPLAY 1
9925 HAVE_GTK_FILE_SELECTION
=no
9927 for ac_func
in gtk_file_selection_new
9929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9930 echo "$as_me:$LINENO: checking for $ac_func" >&5
9931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9932 if eval "test \"\${$as_ac_var+set}\" = set"; then
9933 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 cat >conftest.
$ac_ext <<_ACEOF
9938 cat confdefs.h
>>conftest.
$ac_ext
9939 cat >>conftest.
$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9943 #define $ac_func innocuous_$ac_func
9945 /* System header to define __stub macros and hopefully few prototypes,
9946 which can conflict with char $ac_func (); below.
9947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9948 <limits.h> exists even on freestanding compilers. */
9951 # include <limits.h>
9953 # include <assert.h>
9958 /* Override any gcc2 internal prototype to avoid an error. */
9963 /* We use char because int might match the return type of a gcc2
9964 builtin and then its argument prototype would still apply. */
9966 /* The GNU C library defines this for functions which it implements
9967 to always fail with ENOSYS. Some functions are actually named
9968 something starting with __ and the normal name is an alias. */
9969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9972 char (*f) () = $ac_func;
9981 return f != $ac_func;
9986 rm -f conftest.
$ac_objext conftest
$ac_exeext
9987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9988 (eval $ac_link) 2>conftest.er1
9990 grep -v '^ *+' conftest.er1
>conftest.err
9992 cat conftest.err
>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } &&
9995 { ac_try
='test -z "$ac_c_werror_flag"
9996 || test ! -s conftest.err'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; } &&
10002 { ac_try
='test -s conftest$ac_exeext'
10003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10004 (eval $ac_try) 2>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); }; }; then
10008 eval "$as_ac_var=yes"
10010 echo "$as_me: failed program was:" >&5
10011 sed 's/^/| /' conftest.
$ac_ext >&5
10013 eval "$as_ac_var=no"
10015 rm -f conftest.err conftest.
$ac_objext \
10016 conftest
$ac_exeext conftest.
$ac_ext
10018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10020 if test `eval echo '${'$as_ac_var'}'` = yes; then
10021 cat >>confdefs.h
<<_ACEOF
10022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10024 HAVE_GTK_FILE_SELECTION
=yes
10029 HAVE_GTK_FILE_CHOOSER
=no
10031 for ac_func
in gtk_file_chooser_dialog_new
10033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10034 echo "$as_me:$LINENO: checking for $ac_func" >&5
10035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10036 if eval "test \"\${$as_ac_var+set}\" = set"; then
10037 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 cat >conftest.
$ac_ext <<_ACEOF
10042 cat confdefs.h
>>conftest.
$ac_ext
10043 cat >>conftest.
$ac_ext <<_ACEOF
10044 /* end confdefs.h. */
10045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10047 #define $ac_func innocuous_$ac_func
10049 /* System header to define __stub macros and hopefully few prototypes,
10050 which can conflict with char $ac_func (); below.
10051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10052 <limits.h> exists even on freestanding compilers. */
10055 # include <limits.h>
10057 # include <assert.h>
10062 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10070 /* The GNU C library defines this for functions which it implements
10071 to always fail with ENOSYS. Some functions are actually named
10072 something starting with __ and the normal name is an alias. */
10073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10076 char (*f) () = $ac_func;
10085 return f != $ac_func;
10090 rm -f conftest.
$ac_objext conftest
$ac_exeext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10092 (eval $ac_link) 2>conftest.er1
10094 grep -v '^ *+' conftest.er1
>conftest.err
10096 cat conftest.err
>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try
='test -z "$ac_c_werror_flag"
10100 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try
='test -s conftest$ac_exeext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10112 eval "$as_ac_var=yes"
10114 echo "$as_me: failed program was:" >&5
10115 sed 's/^/| /' conftest.
$ac_ext >&5
10117 eval "$as_ac_var=no"
10119 rm -f conftest.err conftest.
$ac_objext \
10120 conftest
$ac_exeext conftest.
$ac_ext
10122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10124 if test `eval echo '${'$as_ac_var'}'` = yes; then
10125 cat >>confdefs.h
<<_ACEOF
10126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10128 HAVE_GTK_FILE_CHOOSER
=yes
10133 if test "$HAVE_GTK_FILE_SELECTION" = yes \
10134 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10136 cat >>confdefs.h
<<\_ACEOF
10137 #define HAVE_GTK_FILE_BOTH 1
10142 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10143 HAVE_GTK_AND_PTHREAD
=no
10145 for ac_header
in pthread.h
10147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10149 echo "$as_me:$LINENO: checking for $ac_header" >&5
10150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10157 # Is the header compilable?
10158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10160 cat >conftest.
$ac_ext <<_ACEOF
10163 cat confdefs.h
>>conftest.
$ac_ext
10164 cat >>conftest.
$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10166 $ac_includes_default
10167 #include <$ac_header>
10169 rm -f conftest.
$ac_objext
10170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10171 (eval $ac_compile) 2>conftest.er1
10173 grep -v '^ *+' conftest.er1
>conftest.err
10175 cat conftest.err
>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try
='test -z "$ac_c_werror_flag"
10179 || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try
='test -s conftest.$ac_objext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 ac_header_compiler
=yes
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.
$ac_ext >&5
10196 ac_header_compiler
=no
10198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10200 echo "${ECHO_T}$ac_header_compiler" >&6
10202 # Is the header present?
10203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10205 cat >conftest.
$ac_ext <<_ACEOF
10208 cat confdefs.h
>>conftest.
$ac_ext
10209 cat >>conftest.
$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 #include <$ac_header>
10213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10216 grep -v '^ *+' conftest.er1
>conftest.err
10218 cat conftest.err
>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } >/dev
/null
; then
10221 if test -s conftest.err
; then
10222 ac_cpp_err
=$ac_c_preproc_warn_flag
10223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10230 if test -z "$ac_cpp_err"; then
10231 ac_header_preproc
=yes
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.
$ac_ext >&5
10236 ac_header_preproc
=no
10238 rm -f conftest.err conftest.
$ac_ext
10239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10240 echo "${ECHO_T}$ac_header_preproc" >&6
10242 # So? What about this header?
10243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10249 ac_header_preproc
=yes
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10266 ## ------------------------------------------ ##
10267 ## Report this to the AC_PACKAGE_NAME lists. ##
10268 ## ------------------------------------------ ##
10271 sed "s/^/$as_me: WARNING: /" >&2
10274 echo "$as_me:$LINENO: checking for $ac_header" >&5
10275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 eval "$as_ac_Header=\$ac_header_preproc"
10281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10286 cat >>confdefs.h
<<_ACEOF
10287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10294 if test "$ac_cv_header_pthread_h"; then
10295 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10296 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
10297 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10300 ac_check_lib_save_LIBS
=$LIBS
10301 LIBS
="-lpthread $LIBS"
10302 cat >conftest.
$ac_ext <<_ACEOF
10305 cat confdefs.h
>>conftest.
$ac_ext
10306 cat >>conftest.
$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10309 /* Override any gcc2 internal prototype to avoid an error. */
10313 /* We use char because int might match the return type of a gcc2
10314 builtin and then its argument prototype would still apply. */
10315 char pthread_self ();
10324 rm -f conftest.
$ac_objext conftest
$ac_exeext
10325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10326 (eval $ac_link) 2>conftest.er1
10328 grep -v '^ *+' conftest.er1
>conftest.err
10330 cat conftest.err
>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); } &&
10333 { ac_try
='test -z "$ac_c_werror_flag"
10334 || test ! -s conftest.err'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; } &&
10340 { ac_try
='test -s conftest$ac_exeext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_lib_pthread_pthread_self
=yes
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.
$ac_ext >&5
10351 ac_cv_lib_pthread_pthread_self
=no
10353 rm -f conftest.err conftest.
$ac_objext \
10354 conftest
$ac_exeext conftest.
$ac_ext
10355 LIBS
=$ac_check_lib_save_LIBS
10357 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10358 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6
10359 if test $ac_cv_lib_pthread_pthread_self = yes; then
10360 HAVE_GTK_AND_PTHREAD
=yes
10364 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10365 GTK_LIBS
="$GTK_LIBS -lpthread"
10367 cat >>confdefs.h
<<\_ACEOF
10368 #define HAVE_GTK_AND_PTHREAD 1
10375 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
10376 if test x
"${HAVE_X11R5}" = xyes
; then
10377 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10378 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
10379 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10380 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 cat >conftest.
$ac_ext <<_ACEOF
10385 cat confdefs.h
>>conftest.
$ac_ext
10386 cat >>conftest.
$ac_ext <<_ACEOF
10387 /* end confdefs.h. */
10389 #include <X11/Intrinsic.h>
10390 #include <X11/Xaw/Simple.h>
10399 rm -f conftest.
$ac_objext conftest
$ac_exeext
10400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10401 (eval $ac_link) 2>conftest.er1
10403 grep -v '^ *+' conftest.er1
>conftest.err
10405 cat conftest.err
>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try
='test -z "$ac_c_werror_flag"
10409 || test ! -s conftest.err'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; } &&
10415 { ac_try
='test -s conftest$ac_exeext'
10416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417 (eval $ac_try) 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; }; then
10421 emacs_cv_x11_version_5_with_xaw
=yes
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.
$ac_ext >&5
10426 emacs_cv_x11_version_5_with_xaw
=no
10428 rm -f conftest.err conftest.
$ac_objext \
10429 conftest
$ac_exeext conftest.
$ac_ext
10432 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10433 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10434 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
10435 USE_X_TOOLKIT
=LUCID
10437 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10438 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
10446 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
10448 if test "${USE_X_TOOLKIT}" != "none"; then
10449 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10450 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
10451 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 cat >conftest.
$ac_ext <<_ACEOF
10457 cat confdefs.h
>>conftest.
$ac_ext
10458 cat >>conftest.
$ac_ext <<_ACEOF
10459 /* end confdefs.h. */
10460 #include <X11/Intrinsic.h>
10464 #if XtSpecificationRelease < 6
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try
='test -z "$ac_c_werror_flag"
10482 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } &&
10488 { ac_try
='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 emacs_cv_x11_toolkit_version_6
=yes
10496 echo "$as_me: failed program was:" >&5
10497 sed 's/^/| /' conftest.
$ac_ext >&5
10499 emacs_cv_x11_toolkit_version_6
=no
10501 rm -f conftest.err conftest.
$ac_objext \
10502 conftest
$ac_exeext conftest.
$ac_ext
10505 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
10506 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10507 echo "$as_me:$LINENO: result: 6 or newer" >&5
10508 echo "${ECHO_T}6 or newer" >&6
10510 cat >>confdefs.h
<<\_ACEOF
10511 #define HAVE_X11XTR6 1
10515 echo "$as_me:$LINENO: result: before 6" >&5
10516 echo "${ECHO_T}before 6" >&6
10520 if test x
$HAVE_X11XTR6 = xyes
; then
10521 LIBS
="-lXt -lSM -lICE $LIBS"
10526 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10527 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10528 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10533 cat >conftest.
$ac_ext <<_ACEOF
10536 cat confdefs.h
>>conftest.
$ac_ext
10537 cat >>conftest.
$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10540 /* Override any gcc2 internal prototype to avoid an error. */
10544 /* We use char because int might match the return type of a gcc2
10545 builtin and then its argument prototype would still apply. */
10546 char XmuConvertStandardSelection ();
10550 XmuConvertStandardSelection ();
10555 rm -f conftest.
$ac_objext conftest
$ac_exeext
10556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10557 (eval $ac_link) 2>conftest.er1
10559 grep -v '^ *+' conftest.er1
>conftest.err
10561 cat conftest.err
>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } &&
10564 { ac_try
='test -z "$ac_c_werror_flag"
10565 || test ! -s conftest.err'
10566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10567 (eval $ac_try) 2>&5
10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); }; } &&
10571 { ac_try
='test -s conftest$ac_exeext'
10572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10573 (eval $ac_try) 2>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); }; }; then
10577 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10579 echo "$as_me: failed program was:" >&5
10580 sed 's/^/| /' conftest.
$ac_ext >&5
10582 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10584 rm -f conftest.err conftest.
$ac_objext \
10585 conftest
$ac_exeext conftest.
$ac_ext
10586 LIBS
=$ac_check_lib_save_LIBS
10588 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10589 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10590 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10591 cat >>confdefs.h
<<_ACEOF
10592 #define HAVE_LIBXMU 1
10599 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10602 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10603 if test "${HAVE_X11}" = "yes"; then
10604 if test "${USE_X_TOOLKIT}" != "none"; then
10606 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10607 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10608 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 ac_check_lib_save_LIBS
=$LIBS
10612 LIBS
="-lXext $LIBS"
10613 cat >conftest.
$ac_ext <<_ACEOF
10616 cat confdefs.h
>>conftest.
$ac_ext
10617 cat >>conftest.
$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10620 /* Override any gcc2 internal prototype to avoid an error. */
10624 /* We use char because int might match the return type of a gcc2
10625 builtin and then its argument prototype would still apply. */
10626 char XShapeQueryExtension ();
10630 XShapeQueryExtension ();
10635 rm -f conftest.
$ac_objext conftest
$ac_exeext
10636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10637 (eval $ac_link) 2>conftest.er1
10639 grep -v '^ *+' conftest.er1
>conftest.err
10641 cat conftest.err
>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); } &&
10644 { ac_try
='test -z "$ac_c_werror_flag"
10645 || test ! -s conftest.err'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; } &&
10651 { ac_try
='test -s conftest$ac_exeext'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; }; then
10657 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10659 echo "$as_me: failed program was:" >&5
10660 sed 's/^/| /' conftest.
$ac_ext >&5
10662 ac_cv_lib_Xext_XShapeQueryExtension
=no
10664 rm -f conftest.err conftest.
$ac_objext \
10665 conftest
$ac_exeext conftest.
$ac_ext
10666 LIBS
=$ac_check_lib_save_LIBS
10668 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10669 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10670 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10671 cat >>confdefs.h
<<_ACEOF
10672 #define HAVE_LIBXEXT 1
10675 LIBS
="-lXext $LIBS"
10682 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10683 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10684 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10685 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 cat >conftest.
$ac_ext <<_ACEOF
10691 cat confdefs.h
>>conftest.
$ac_ext
10692 cat >>conftest.
$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10698 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10701 Motif version prior to 2.1.
10707 rm -f conftest.
$ac_objext
10708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10709 (eval $ac_compile) 2>conftest.er1
10711 grep -v '^ *+' conftest.er1
>conftest.err
10713 cat conftest.err
>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } &&
10716 { ac_try
='test -z "$ac_c_werror_flag"
10717 || test ! -s conftest.err'
10718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10719 (eval $ac_try) 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; } &&
10723 { ac_try
='test -s conftest.$ac_objext'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10729 emacs_cv_motif_version_2_1
=yes
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.
$ac_ext >&5
10734 emacs_cv_motif_version_2_1
=no
10736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10738 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10739 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10740 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10741 if test $emacs_cv_motif_version_2_1 = yes; then
10744 cat >>confdefs.h
<<\_ACEOF
10745 #define HAVE_MOTIF_2_1 1
10748 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10749 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10750 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 ac_check_lib_save_LIBS
=$LIBS
10755 cat >conftest.
$ac_ext <<_ACEOF
10758 cat confdefs.h
>>conftest.
$ac_ext
10759 cat >>conftest.
$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10762 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10768 char XpCreateContext ();
10772 XpCreateContext ();
10777 rm -f conftest.
$ac_objext conftest
$ac_exeext
10778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10779 (eval $ac_link) 2>conftest.er1
10781 grep -v '^ *+' conftest.er1
>conftest.err
10783 cat conftest.err
>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } &&
10786 { ac_try
='test -z "$ac_c_werror_flag"
10787 || test ! -s conftest.err'
10788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10789 (eval $ac_try) 2>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; } &&
10793 { ac_try
='test -s conftest$ac_exeext'
10794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10795 (eval $ac_try) 2>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; }; then
10799 ac_cv_lib_Xp_XpCreateContext
=yes
10801 echo "$as_me: failed program was:" >&5
10802 sed 's/^/| /' conftest.
$ac_ext >&5
10804 ac_cv_lib_Xp_XpCreateContext
=no
10806 rm -f conftest.err conftest.
$ac_objext \
10807 conftest
$ac_exeext conftest.
$ac_ext
10808 LIBS
=$ac_check_lib_save_LIBS
10810 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10811 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10812 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10816 if test ${HAVE_LIBXP} = yes; then
10818 cat >>confdefs.h
<<\_ACEOF
10819 #define HAVE_LIBXP 1
10824 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10825 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10826 if test "${emacs_cv_lesstif+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 # We put this in CFLAGS temporarily to precede other -I options
10830 # that might be in CFLAGS temporarily.
10831 # We put this in CPPFLAGS where it precedes the other -I options.
10832 OLD_CPPFLAGS
=$CPPFLAGS
10834 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10835 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10836 cat >conftest.
$ac_ext <<_ACEOF
10839 cat confdefs.h
>>conftest.
$ac_ext
10840 cat >>conftest.
$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10842 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10851 rm -f conftest.
$ac_objext
10852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10853 (eval $ac_compile) 2>conftest.er1
10855 grep -v '^ *+' conftest.er1
>conftest.err
10857 cat conftest.err
>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } &&
10860 { ac_try
='test -z "$ac_c_werror_flag"
10861 || test ! -s conftest.err'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } &&
10867 { ac_try
='test -s conftest.$ac_objext'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; }; then
10873 emacs_cv_lesstif
=yes
10875 echo "$as_me: failed program was:" >&5
10876 sed 's/^/| /' conftest.
$ac_ext >&5
10878 emacs_cv_lesstif
=no
10880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10882 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10883 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10884 if test $emacs_cv_lesstif = yes; then
10885 # Make sure this -I option remains in CPPFLAGS after it is set
10886 # back to REAL_CPPFLAGS.
10887 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10888 # have those other -I options anyway. Ultimately, having this
10889 # directory ultimately in CPPFLAGS will be enough.
10890 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10891 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10894 CPPFLAGS
=$OLD_CPPFLAGS
10899 ### Is -lXaw3d available?
10901 if test "${HAVE_X11}" = "yes"; then
10902 if test "${USE_X_TOOLKIT}" != "none"; then
10903 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10904 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10905 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 cat >conftest.
$ac_ext <<_ACEOF
10911 cat confdefs.h
>>conftest.
$ac_ext
10912 cat >>conftest.
$ac_ext <<_ACEOF
10913 /* end confdefs.h. */
10914 #include <X11/Xaw3d/Scrollbar.h>
10916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10919 grep -v '^ *+' conftest.er1
>conftest.err
10921 cat conftest.err
>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } >/dev
/null
; then
10924 if test -s conftest.err
; then
10925 ac_cpp_err
=$ac_c_preproc_warn_flag
10926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10933 if test -z "$ac_cpp_err"; then
10934 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.
$ac_ext >&5
10939 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
10941 rm -f conftest.err conftest.
$ac_ext
10943 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
10944 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
10945 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
10946 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10947 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
10948 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 ac_check_lib_save_LIBS
=$LIBS
10952 LIBS
="-lXaw3d $LIBS"
10953 cat >conftest.
$ac_ext <<_ACEOF
10956 cat confdefs.h
>>conftest.
$ac_ext
10957 cat >>conftest.
$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10960 /* Override any gcc2 internal prototype to avoid an error. */
10964 /* We use char because int might match the return type of a gcc2
10965 builtin and then its argument prototype would still apply. */
10966 char XawScrollbarSetThumb ();
10970 XawScrollbarSetThumb ();
10975 rm -f conftest.
$ac_objext conftest
$ac_exeext
10976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10977 (eval $ac_link) 2>conftest.er1
10979 grep -v '^ *+' conftest.er1
>conftest.err
10981 cat conftest.err
>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } &&
10984 { ac_try
='test -z "$ac_c_werror_flag"
10985 || test ! -s conftest.err'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; } &&
10991 { ac_try
='test -s conftest$ac_exeext'
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; }; then
10997 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.
$ac_ext >&5
11002 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
11004 rm -f conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_lib_save_LIBS
11008 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11009 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
11010 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11017 if test "${HAVE_XAW3D}" = "yes"; then
11019 cat >>confdefs.h
<<\_ACEOF
11020 #define HAVE_XAW3D 1
11029 USE_TOOLKIT_SCROLL_BARS
=no
11030 if test "${with_toolkit_scroll_bars}" != "no"; then
11031 if test "${USE_X_TOOLKIT}" != "none"; then
11032 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11033 cat >>confdefs.h
<<\_ACEOF
11034 #define USE_TOOLKIT_SCROLL_BARS 1
11038 USE_TOOLKIT_SCROLL_BARS
=yes
11039 elif test "${HAVE_XAW3D}" = "yes"; then
11040 cat >>confdefs.h
<<\_ACEOF
11041 #define USE_TOOLKIT_SCROLL_BARS 1
11044 USE_TOOLKIT_SCROLL_BARS
=yes
11046 elif test "${HAVE_GTK}" = "yes"; then
11047 cat >>confdefs.h
<<\_ACEOF
11048 #define USE_TOOLKIT_SCROLL_BARS 1
11051 USE_TOOLKIT_SCROLL_BARS
=yes
11055 cat >conftest.
$ac_ext <<_ACEOF
11058 cat confdefs.h
>>conftest.
$ac_ext
11059 cat >>conftest.
$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11062 #include <X11/Xlib.h>
11063 #include <X11/Xresource.h>
11072 rm -f conftest.
$ac_objext
11073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11074 (eval $ac_compile) 2>conftest.er1
11076 grep -v '^ *+' conftest.er1
>conftest.err
11078 cat conftest.err
>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try
='test -z "$ac_c_werror_flag"
11082 || test ! -s conftest.err'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; } &&
11088 { ac_try
='test -s conftest.$ac_objext'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; }; then
11096 cat >>confdefs.h
<<\_ACEOF
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.
$ac_ext >&5
11106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11109 if test "${with_xim}" != "no"; then
11111 cat >>confdefs.h
<<\_ACEOF
11118 if test "${HAVE_XIM}" != "no"; then
11119 late_CFLAGS
=$CFLAGS
11120 if test "$GCC" = yes; then
11121 CFLAGS
="$CFLAGS --pedantic-errors"
11123 cat >conftest.
$ac_ext <<_ACEOF
11126 cat confdefs.h
>>conftest.
$ac_ext
11127 cat >>conftest.
$ac_ext <<_ACEOF
11128 /* end confdefs.h. */
11130 #include <X11/Xlib.h>
11131 #include <X11/Xresource.h>
11140 XPointer *client_data;
11142 /* If we're not using GCC, it's probably not XFree86, and this is
11143 probably right, but we can't use something like --pedantic-errors. */
11144 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11145 char*, XIMProc, XPointer*);
11147 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
11153 rm -f conftest.
$ac_objext
11154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11155 (eval $ac_compile) 2>conftest.er1
11157 grep -v '^ *+' conftest.er1
>conftest.err
11159 cat conftest.err
>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try
='test -z "$ac_c_werror_flag"
11163 || test ! -s conftest.err'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; } &&
11169 { ac_try
='test -s conftest.$ac_objext'
11170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11171 (eval $ac_try) 2>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); }; }; then
11175 emacs_cv_arg6_star
=yes
11177 echo "$as_me: failed program was:" >&5
11178 sed 's/^/| /' conftest.
$ac_ext >&5
11181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11183 if test "$emacs_cv_arg6_star" = yes; then
11184 cat >>confdefs.h
<<\_ACEOF
11185 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11189 cat >>confdefs.h
<<\_ACEOF
11190 #define XRegisterIMInstantiateCallback_arg6 XPointer
11194 CFLAGS
=$late_CFLAGS
11197 ### Use -lXpm if available, unless `--with-xpm=no'.
11199 if test "${HAVE_X11}" = "yes"; then
11200 if test "${with_xpm}" != "no"; then
11201 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11202 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11203 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11204 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11208 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11210 # Is the header compilable?
11211 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11212 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219 $ac_includes_default
11220 #include <X11/xpm.h>
11222 rm -f conftest.
$ac_objext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11224 (eval $ac_compile) 2>conftest.er1
11226 grep -v '^ *+' conftest.er1
>conftest.err
11228 cat conftest.err
>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try
='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try
='test -s conftest.$ac_objext'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; }; then
11244 ac_header_compiler
=yes
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.
$ac_ext >&5
11249 ac_header_compiler
=no
11251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11253 echo "${ECHO_T}$ac_header_compiler" >&6
11255 # Is the header present?
11256 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11257 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 #include <X11/xpm.h>
11266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11269 grep -v '^ *+' conftest.er1
>conftest.err
11271 cat conftest.err
>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); } >/dev
/null
; then
11274 if test -s conftest.err
; then
11275 ac_cpp_err
=$ac_c_preproc_warn_flag
11276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11283 if test -z "$ac_cpp_err"; then
11284 ac_header_preproc
=yes
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.
$ac_ext >&5
11289 ac_header_preproc
=no
11291 rm -f conftest.err conftest.
$ac_ext
11292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11293 echo "${ECHO_T}$ac_header_preproc" >&6
11295 # So? What about this header?
11296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11298 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
11299 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11300 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
11301 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
11302 ac_header_preproc
=yes
11305 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
11306 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
11307 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
11308 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
11309 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
11310 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
11311 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
11312 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
11313 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
11314 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11315 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11316 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11319 ## ------------------------------------------ ##
11320 ## Report this to the AC_PACKAGE_NAME lists. ##
11321 ## ------------------------------------------ ##
11324 sed "s/^/$as_me: WARNING: /" >&2
11327 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11328 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11329 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11332 ac_cv_header_X11_xpm_h
=$ac_header_preproc
11334 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11335 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11338 if test $ac_cv_header_X11_xpm_h = yes; then
11339 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11340 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
11341 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 ac_check_lib_save_LIBS
=$LIBS
11345 LIBS
="-lXpm -lX11 $LIBS"
11346 cat >conftest.
$ac_ext <<_ACEOF
11349 cat confdefs.h
>>conftest.
$ac_ext
11350 cat >>conftest.
$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11353 /* Override any gcc2 internal prototype to avoid an error. */
11357 /* We use char because int might match the return type of a gcc2
11358 builtin and then its argument prototype would still apply. */
11359 char XpmReadFileToPixmap ();
11363 XpmReadFileToPixmap ();
11368 rm -f conftest.
$ac_objext conftest
$ac_exeext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11370 (eval $ac_link) 2>conftest.er1
11372 grep -v '^ *+' conftest.er1
>conftest.err
11374 cat conftest.err
>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } &&
11377 { ac_try
='test -z "$ac_c_werror_flag"
11378 || test ! -s conftest.err'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; } &&
11384 { ac_try
='test -s conftest$ac_exeext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.
$ac_ext >&5
11395 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
11397 rm -f conftest.err conftest.
$ac_objext \
11398 conftest
$ac_exeext conftest.
$ac_ext
11399 LIBS
=$ac_check_lib_save_LIBS
11401 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11402 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
11403 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11410 if test "${HAVE_XPM}" = "yes"; then
11411 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11412 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
11413 cat >conftest.
$ac_ext <<_ACEOF
11416 cat confdefs.h
>>conftest.
$ac_ext
11417 cat >>conftest.
$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11419 #include "X11/xpm.h"
11420 #ifndef XpmReturnAllocPixels
11421 no_return_alloc_pixels
11425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11426 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
11434 if test "${HAVE_XPM}" = "yes"; then
11435 echo "$as_me:$LINENO: result: yes" >&5
11436 echo "${ECHO_T}yes" >&6
11438 echo "$as_me:$LINENO: result: no" >&5
11439 echo "${ECHO_T}no" >&6
11444 if test "${HAVE_XPM}" = "yes"; then
11446 cat >>confdefs.h
<<\_ACEOF
11453 ### Use -ljpeg if available, unless `--with-jpeg=no'.
11455 if test "${HAVE_X11}" = "yes"; then
11456 if test "${with_jpeg}" != "no"; then
11457 if test "${ac_cv_header_jerror_h+set}" = set; then
11458 echo "$as_me:$LINENO: checking for jerror.h" >&5
11459 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11460 if test "${ac_cv_header_jerror_h+set}" = set; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11464 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11466 # Is the header compilable?
11467 echo "$as_me:$LINENO: checking jerror.h usability" >&5
11468 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
11469 cat >conftest.
$ac_ext <<_ACEOF
11472 cat confdefs.h
>>conftest.
$ac_ext
11473 cat >>conftest.
$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11475 $ac_includes_default
11476 #include <jerror.h>
11478 rm -f conftest.
$ac_objext
11479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11480 (eval $ac_compile) 2>conftest.er1
11482 grep -v '^ *+' conftest.er1
>conftest.err
11484 cat conftest.err
>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } &&
11487 { ac_try
='test -z "$ac_c_werror_flag"
11488 || test ! -s conftest.err'
11489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11490 (eval $ac_try) 2>&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); }; } &&
11494 { ac_try
='test -s conftest.$ac_objext'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; }; then
11500 ac_header_compiler
=yes
11502 echo "$as_me: failed program was:" >&5
11503 sed 's/^/| /' conftest.
$ac_ext >&5
11505 ac_header_compiler
=no
11507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11509 echo "${ECHO_T}$ac_header_compiler" >&6
11511 # Is the header present?
11512 echo "$as_me:$LINENO: checking jerror.h presence" >&5
11513 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
11514 cat >conftest.
$ac_ext <<_ACEOF
11517 cat confdefs.h
>>conftest.
$ac_ext
11518 cat >>conftest.
$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 #include <jerror.h>
11522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11525 grep -v '^ *+' conftest.er1
>conftest.err
11527 cat conftest.err
>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } >/dev
/null
; then
11530 if test -s conftest.err
; then
11531 ac_cpp_err
=$ac_c_preproc_warn_flag
11532 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11539 if test -z "$ac_cpp_err"; then
11540 ac_header_preproc
=yes
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.
$ac_ext >&5
11545 ac_header_preproc
=no
11547 rm -f conftest.err conftest.
$ac_ext
11548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11549 echo "${ECHO_T}$ac_header_preproc" >&6
11551 # So? What about this header?
11552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11554 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11555 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11556 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11557 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11558 ac_header_preproc
=yes
11561 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11562 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11563 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11564 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11565 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11566 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11567 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11568 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11569 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11570 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11572 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11575 ## ------------------------------------------ ##
11576 ## Report this to the AC_PACKAGE_NAME lists. ##
11577 ## ------------------------------------------ ##
11580 sed "s/^/$as_me: WARNING: /" >&2
11583 echo "$as_me:$LINENO: checking for jerror.h" >&5
11584 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11585 if test "${ac_cv_header_jerror_h+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 ac_cv_header_jerror_h
=$ac_header_preproc
11590 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11591 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11594 if test $ac_cv_header_jerror_h = yes; then
11595 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11596 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11597 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 ac_check_lib_save_LIBS
=$LIBS
11601 LIBS
="-ljpeg $LIBS"
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11609 /* Override any gcc2 internal prototype to avoid an error. */
11613 /* We use char because int might match the return type of a gcc2
11614 builtin and then its argument prototype would still apply. */
11615 char jpeg_destroy_compress ();
11619 jpeg_destroy_compress ();
11624 rm -f conftest.
$ac_objext conftest
$ac_exeext
11625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11626 (eval $ac_link) 2>conftest.er1
11628 grep -v '^ *+' conftest.er1
>conftest.err
11630 cat conftest.err
>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } &&
11633 { ac_try
='test -z "$ac_c_werror_flag"
11634 || test ! -s conftest.err'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; } &&
11640 { ac_try
='test -s conftest$ac_exeext'
11641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11642 (eval $ac_try) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); }; }; then
11646 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11648 echo "$as_me: failed program was:" >&5
11649 sed 's/^/| /' conftest.
$ac_ext >&5
11651 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11653 rm -f conftest.err conftest.
$ac_objext \
11654 conftest
$ac_exeext conftest.
$ac_ext
11655 LIBS
=$ac_check_lib_save_LIBS
11657 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11658 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11659 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11669 if test "${HAVE_JPEG}" = "yes"; then
11670 cat >>confdefs.h
<<\_ACEOF
11671 #define HAVE_JPEG 1
11674 cat >conftest.
$ac_ext <<_ACEOF
11677 cat confdefs.h
>>conftest.
$ac_ext
11678 cat >>conftest.
$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11680 #include <jpeglib.h>
11681 version=JPEG_LIB_VERSION
11684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11685 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11686 cat >>confdefs.h
<<\_ACEOF
11687 #define HAVE_JPEG 1
11691 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11692 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11700 ### Use -lpng if available, unless `--with-png=no'.
11702 if test "${HAVE_X11}" = "yes"; then
11703 if test "${with_png}" != "no"; then
11704 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11705 # in /usr/include/libpng.
11708 for ac_header
in png.h libpng
/png.h
11710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11712 echo "$as_me:$LINENO: checking for $ac_header" >&5
11713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11720 # Is the header compilable?
11721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11723 cat >conftest.
$ac_ext <<_ACEOF
11726 cat confdefs.h
>>conftest.
$ac_ext
11727 cat >>conftest.
$ac_ext <<_ACEOF
11728 /* end confdefs.h. */
11729 $ac_includes_default
11730 #include <$ac_header>
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try
='test -z "$ac_c_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try
='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 ac_header_compiler
=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11759 ac_header_compiler
=no
11761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11763 echo "${ECHO_T}$ac_header_compiler" >&6
11765 # Is the header present?
11766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11768 cat >conftest.
$ac_ext <<_ACEOF
11771 cat confdefs.h
>>conftest.
$ac_ext
11772 cat >>conftest.
$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11774 #include <$ac_header>
11776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11779 grep -v '^ *+' conftest.er1
>conftest.err
11781 cat conftest.err
>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } >/dev
/null
; then
11784 if test -s conftest.err
; then
11785 ac_cpp_err
=$ac_c_preproc_warn_flag
11786 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11793 if test -z "$ac_cpp_err"; then
11794 ac_header_preproc
=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.
$ac_ext >&5
11799 ac_header_preproc
=no
11801 rm -f conftest.err conftest.
$ac_ext
11802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11803 echo "${ECHO_T}$ac_header_preproc" >&6
11805 # So? What about this header?
11806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11812 ac_header_preproc
=yes
11815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11829 ## ------------------------------------------ ##
11830 ## Report this to the AC_PACKAGE_NAME lists. ##
11831 ## ------------------------------------------ ##
11834 sed "s/^/$as_me: WARNING: /" >&2
11837 echo "$as_me:$LINENO: checking for $ac_header" >&5
11838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 eval "$as_ac_Header=\$ac_header_preproc"
11844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11849 cat >>confdefs.h
<<_ACEOF
11850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11857 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11858 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11859 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11860 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 ac_check_lib_save_LIBS
=$LIBS
11864 LIBS
="-lpng -lz -lm $LIBS"
11865 cat >conftest.
$ac_ext <<_ACEOF
11868 cat confdefs.h
>>conftest.
$ac_ext
11869 cat >>conftest.
$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11872 /* Override any gcc2 internal prototype to avoid an error. */
11876 /* We use char because int might match the return type of a gcc2
11877 builtin and then its argument prototype would still apply. */
11878 char png_get_channels ();
11882 png_get_channels ();
11887 rm -f conftest.
$ac_objext conftest
$ac_exeext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11889 (eval $ac_link) 2>conftest.er1
11891 grep -v '^ *+' conftest.er1
>conftest.err
11893 cat conftest.err
>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try
='test -z "$ac_c_werror_flag"
11897 || test ! -s conftest.err'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; } &&
11903 { ac_try
='test -s conftest$ac_exeext'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; }; then
11909 ac_cv_lib_png_png_get_channels
=yes
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11914 ac_cv_lib_png_png_get_channels
=no
11916 rm -f conftest.err conftest.
$ac_objext \
11917 conftest
$ac_exeext conftest.
$ac_ext
11918 LIBS
=$ac_check_lib_save_LIBS
11920 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
11921 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
11922 if test $ac_cv_lib_png_png_get_channels = yes; then
11929 if test "${HAVE_PNG}" = "yes"; then
11931 cat >>confdefs.h
<<\_ACEOF
11938 ### Use -ltiff if available, unless `--with-tiff=no'.
11940 if test "${HAVE_X11}" = "yes"; then
11941 if test "${with_tiff}" != "no"; then
11942 if test "${ac_cv_header_tiffio_h+set}" = set; then
11943 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11944 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11945 if test "${ac_cv_header_tiffio_h+set}" = set; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11949 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11951 # Is the header compilable?
11952 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
11953 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
11954 cat >conftest.
$ac_ext <<_ACEOF
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 $ac_includes_default
11961 #include <tiffio.h>
11963 rm -f conftest.
$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11967 grep -v '^ *+' conftest.er1
>conftest.err
11969 cat conftest.err
>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try
='test -z "$ac_c_werror_flag"
11973 || test ! -s conftest.err'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; } &&
11979 { ac_try
='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_header_compiler
=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.
$ac_ext >&5
11990 ac_header_compiler
=no
11992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11994 echo "${ECHO_T}$ac_header_compiler" >&6
11996 # Is the header present?
11997 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
11998 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
11999 cat >conftest.
$ac_ext <<_ACEOF
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 #include <tiffio.h>
12007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12010 grep -v '^ *+' conftest.er1
>conftest.err
12012 cat conftest.err
>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } >/dev
/null
; then
12015 if test -s conftest.err
; then
12016 ac_cpp_err
=$ac_c_preproc_warn_flag
12017 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12024 if test -z "$ac_cpp_err"; then
12025 ac_header_preproc
=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 ac_header_preproc
=no
12032 rm -f conftest.err conftest.
$ac_ext
12033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12034 echo "${ECHO_T}$ac_header_preproc" >&6
12036 # So? What about this header?
12037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12039 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12040 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12041 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
12042 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
12043 ac_header_preproc
=yes
12046 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
12047 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
12048 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
12049 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
12050 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
12051 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
12053 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12054 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
12055 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12056 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12057 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12060 ## ------------------------------------------ ##
12061 ## Report this to the AC_PACKAGE_NAME lists. ##
12062 ## ------------------------------------------ ##
12065 sed "s/^/$as_me: WARNING: /" >&2
12068 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12069 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12070 if test "${ac_cv_header_tiffio_h+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 ac_cv_header_tiffio_h
=$ac_header_preproc
12075 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12076 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12079 if test $ac_cv_header_tiffio_h = yes; then
12081 # At least one tiff package requires the jpeg library.
12082 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
12083 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12084 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
12085 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12088 ac_check_lib_save_LIBS
=$LIBS
12089 LIBS
="-ltiff $tifflibs $LIBS"
12090 cat >conftest.
$ac_ext <<_ACEOF
12093 cat confdefs.h
>>conftest.
$ac_ext
12094 cat >>conftest.
$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12097 /* Override any gcc2 internal prototype to avoid an error. */
12101 /* We use char because int might match the return type of a gcc2
12102 builtin and then its argument prototype would still apply. */
12103 char TIFFGetVersion ();
12112 rm -f conftest.
$ac_objext conftest
$ac_exeext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>conftest.er1
12116 grep -v '^ *+' conftest.er1
>conftest.err
12118 cat conftest.err
>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try
='test -z "$ac_c_werror_flag"
12122 || test ! -s conftest.err'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; } &&
12128 { ac_try
='test -s conftest$ac_exeext'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12134 ac_cv_lib_tiff_TIFFGetVersion
=yes
12136 echo "$as_me: failed program was:" >&5
12137 sed 's/^/| /' conftest.
$ac_ext >&5
12139 ac_cv_lib_tiff_TIFFGetVersion
=no
12141 rm -f conftest.err conftest.
$ac_objext \
12142 conftest
$ac_exeext conftest.
$ac_ext
12143 LIBS
=$ac_check_lib_save_LIBS
12145 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12146 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
12147 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12156 if test "${HAVE_TIFF}" = "yes"; then
12158 cat >>confdefs.h
<<\_ACEOF
12159 #define HAVE_TIFF 1
12165 ### Use -lgif if available, unless `--with-gif=no'.
12167 if test "${HAVE_X11}" = "yes"; then
12168 if test "${with_gif}" != "no"; then
12169 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12170 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12171 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12172 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12175 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12176 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12178 # Is the header compilable?
12179 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12180 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 $ac_includes_default
12188 #include <gif_lib.h>
12190 rm -f conftest.
$ac_objext
12191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12192 (eval $ac_compile) 2>conftest.er1
12194 grep -v '^ *+' conftest.er1
>conftest.err
12196 cat conftest.err
>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } &&
12199 { ac_try
='test -z "$ac_c_werror_flag"
12200 || test ! -s conftest.err'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; } &&
12206 { ac_try
='test -s conftest.$ac_objext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_header_compiler
=yes
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.
$ac_ext >&5
12217 ac_header_compiler
=no
12219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12221 echo "${ECHO_T}$ac_header_compiler" >&6
12223 # Is the header present?
12224 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12225 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
12226 cat >conftest.
$ac_ext <<_ACEOF
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12232 #include <gif_lib.h>
12234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12237 grep -v '^ *+' conftest.er1
>conftest.err
12239 cat conftest.err
>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } >/dev
/null
; then
12242 if test -s conftest.err
; then
12243 ac_cpp_err
=$ac_c_preproc_warn_flag
12244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12251 if test -z "$ac_cpp_err"; then
12252 ac_header_preproc
=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.
$ac_ext >&5
12257 ac_header_preproc
=no
12259 rm -f conftest.err conftest.
$ac_ext
12260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12261 echo "${ECHO_T}$ac_header_preproc" >&6
12263 # So? What about this header?
12264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12266 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12267 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
12269 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
12270 ac_header_preproc
=yes
12273 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
12274 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
12275 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
12276 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
12277 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
12278 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
12280 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12281 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
12282 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12283 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12284 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12287 ## ------------------------------------------ ##
12288 ## Report this to the AC_PACKAGE_NAME lists. ##
12289 ## ------------------------------------------ ##
12292 sed "s/^/$as_me: WARNING: /" >&2
12295 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12296 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12297 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 ac_cv_header_gif_lib_h
=$ac_header_preproc
12302 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12303 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12306 if test $ac_cv_header_gif_lib_h = yes; then
12307 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12308 # Earlier versions can crash Emacs.
12309 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12310 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
12311 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 ac_check_lib_save_LIBS
=$LIBS
12315 LIBS
="-lungif $LIBS"
12316 cat >conftest.
$ac_ext <<_ACEOF
12319 cat confdefs.h
>>conftest.
$ac_ext
12320 cat >>conftest.
$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12323 /* Override any gcc2 internal prototype to avoid an error. */
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12329 char EGifPutExtensionLast ();
12333 EGifPutExtensionLast ();
12338 rm -f conftest.
$ac_objext conftest
$ac_exeext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12340 (eval $ac_link) 2>conftest.er1
12342 grep -v '^ *+' conftest.er1
>conftest.err
12344 cat conftest.err
>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try
='test -z "$ac_c_werror_flag"
12348 || test ! -s conftest.err'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; } &&
12354 { ac_try
='test -s conftest$ac_exeext'
12355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 (eval $ac_try) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); }; }; then
12360 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
12362 echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.
$ac_ext >&5
12365 ac_cv_lib_ungif_EGifPutExtensionLast
=no
12367 rm -f conftest.err conftest.
$ac_objext \
12368 conftest
$ac_exeext conftest.
$ac_ext
12369 LIBS
=$ac_check_lib_save_LIBS
12371 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12372 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
12373 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12382 if test "${HAVE_GIF}" = "yes"; then
12384 cat >>confdefs.h
<<\_ACEOF
12391 ### Use Mac OS X Carbon API to implement GUI.
12393 if test "${with_carbon}" != "no"; then
12394 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12395 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12396 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12397 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12401 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12403 # Is the header compilable?
12404 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
12405 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 $ac_includes_default
12413 #include <Carbon/Carbon.h>
12415 rm -f conftest.
$ac_objext
12416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12417 (eval $ac_compile) 2>conftest.er1
12419 grep -v '^ *+' conftest.er1
>conftest.err
12421 cat conftest.err
>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); } &&
12424 { ac_try
='test -z "$ac_c_werror_flag"
12425 || test ! -s conftest.err'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; } &&
12431 { ac_try
='test -s conftest.$ac_objext'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12437 ac_header_compiler
=yes
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.
$ac_ext >&5
12442 ac_header_compiler
=no
12444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12446 echo "${ECHO_T}$ac_header_compiler" >&6
12448 # Is the header present?
12449 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
12450 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
12451 cat >conftest.
$ac_ext <<_ACEOF
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 #include <Carbon/Carbon.h>
12459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } >/dev
/null
; then
12467 if test -s conftest.err
; then
12468 ac_cpp_err
=$ac_c_preproc_warn_flag
12469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12476 if test -z "$ac_cpp_err"; then
12477 ac_header_preproc
=yes
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.
$ac_ext >&5
12482 ac_header_preproc
=no
12484 rm -f conftest.err conftest.
$ac_ext
12485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12486 echo "${ECHO_T}$ac_header_preproc" >&6
12488 # So? What about this header?
12489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12491 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
12492 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12493 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
12494 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
12495 ac_header_preproc
=yes
12498 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
12499 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
12501 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
12502 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
12503 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
12505 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
12507 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
12509 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
12512 ## ------------------------------------------ ##
12513 ## Report this to the AC_PACKAGE_NAME lists. ##
12514 ## ------------------------------------------ ##
12517 sed "s/^/$as_me: WARNING: /" >&2
12520 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12521 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12522 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12523 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
12527 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12528 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12531 if test $ac_cv_header_Carbon_Carbon_h = yes; then
12538 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12539 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12540 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12541 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12545 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12547 # Is the header compilable?
12548 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12549 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 $ac_includes_default
12557 #include <malloc/malloc.h>
12559 rm -f conftest.
$ac_objext
12560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>conftest.er1
12563 grep -v '^ *+' conftest.er1
>conftest.err
12565 cat conftest.err
>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } &&
12568 { ac_try
='test -z "$ac_c_werror_flag"
12569 || test ! -s conftest.err'
12570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12571 (eval $ac_try) 2>&5
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); }; } &&
12575 { ac_try
='test -s conftest.$ac_objext'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; }; then
12581 ac_header_compiler
=yes
12583 echo "$as_me: failed program was:" >&5
12584 sed 's/^/| /' conftest.
$ac_ext >&5
12586 ac_header_compiler
=no
12588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12590 echo "${ECHO_T}$ac_header_compiler" >&6
12592 # Is the header present?
12593 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12594 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 #include <malloc/malloc.h>
12603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12606 grep -v '^ *+' conftest.er1
>conftest.err
12608 cat conftest.err
>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } >/dev
/null
; then
12611 if test -s conftest.err
; then
12612 ac_cpp_err
=$ac_c_preproc_warn_flag
12613 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12620 if test -z "$ac_cpp_err"; then
12621 ac_header_preproc
=yes
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.
$ac_ext >&5
12626 ac_header_preproc
=no
12628 rm -f conftest.err conftest.
$ac_ext
12629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12630 echo "${ECHO_T}$ac_header_preproc" >&6
12632 # So? What about this header?
12633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12635 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
12636 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
12638 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
12639 ac_header_preproc
=yes
12642 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
12643 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
12644 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
12645 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
12647 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
12649 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
12650 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
12651 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12652 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12653 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12656 ## ------------------------------------------ ##
12657 ## Report this to the AC_PACKAGE_NAME lists. ##
12658 ## ------------------------------------------ ##
12661 sed "s/^/$as_me: WARNING: /" >&2
12664 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12665 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12666 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 ac_cv_header_malloc_malloc_h
=$ac_header_preproc
12671 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12672 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12675 if test $ac_cv_header_malloc_malloc_h = yes; then
12677 cat >>confdefs.h
<<\_ACEOF
12678 #define HAVE_MALLOC_MALLOC_H 1
12685 if test "${HAVE_CARBON}" = "yes"; then
12687 cat >>confdefs.h
<<\_ACEOF
12688 #define HAVE_CARBON 1
12692 ## Specify the install directory
12694 if test "${carbon_appdir_x}" != ""; then
12695 case ${carbon_appdir_x} in
12696 y | ye |
yes) carbon_appdir
=/Applications
;;
12697 * ) carbon_appdir
=${carbon_appdir_x} ;;
12700 # We also have mouse menus.
12704 ### Use session management (-lSM -lICE) if available
12706 if test "${HAVE_X11}" = "yes"; then
12707 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12708 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12709 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12710 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12714 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12716 # Is the header compilable?
12717 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12718 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12719 cat >conftest.
$ac_ext <<_ACEOF
12722 cat confdefs.h
>>conftest.
$ac_ext
12723 cat >>conftest.
$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 $ac_includes_default
12726 #include <X11/SM/SMlib.h>
12728 rm -f conftest.
$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -z "$ac_c_werror_flag"
12738 || test ! -s conftest.err'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; } &&
12744 { ac_try
='test -s conftest.$ac_objext'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12750 ac_header_compiler
=yes
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.
$ac_ext >&5
12755 ac_header_compiler
=no
12757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12759 echo "${ECHO_T}$ac_header_compiler" >&6
12761 # Is the header present?
12762 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12763 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12764 cat >conftest.
$ac_ext <<_ACEOF
12767 cat confdefs.h
>>conftest.
$ac_ext
12768 cat >>conftest.
$ac_ext <<_ACEOF
12769 /* end confdefs.h. */
12770 #include <X11/SM/SMlib.h>
12772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } >/dev
/null
; then
12780 if test -s conftest.err
; then
12781 ac_cpp_err
=$ac_c_preproc_warn_flag
12782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12789 if test -z "$ac_cpp_err"; then
12790 ac_header_preproc
=yes
12792 echo "$as_me: failed program was:" >&5
12793 sed 's/^/| /' conftest.
$ac_ext >&5
12795 ac_header_preproc
=no
12797 rm -f conftest.err conftest.
$ac_ext
12798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12799 echo "${ECHO_T}$ac_header_preproc" >&6
12801 # So? What about this header?
12802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12804 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12805 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12806 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12807 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12808 ac_header_preproc
=yes
12811 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12812 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12813 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12814 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12815 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12816 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12817 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12818 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12819 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12820 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12821 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12822 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12825 ## ------------------------------------------ ##
12826 ## Report this to the AC_PACKAGE_NAME lists. ##
12827 ## ------------------------------------------ ##
12830 sed "s/^/$as_me: WARNING: /" >&2
12833 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12834 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12835 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12840 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12841 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12844 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12845 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12846 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12847 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 ac_check_lib_save_LIBS
=$LIBS
12851 LIBS
="-lSM -lICE $LIBS"
12852 cat >conftest.
$ac_ext <<_ACEOF
12855 cat confdefs.h
>>conftest.
$ac_ext
12856 cat >>conftest.
$ac_ext <<_ACEOF
12857 /* end confdefs.h. */
12859 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12865 char SmcOpenConnection ();
12869 SmcOpenConnection ();
12874 rm -f conftest.
$ac_objext conftest
$ac_exeext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12876 (eval $ac_link) 2>conftest.er1
12878 grep -v '^ *+' conftest.er1
>conftest.err
12880 cat conftest.err
>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -z "$ac_c_werror_flag"
12884 || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try
='test -s conftest$ac_exeext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_cv_lib_SM_SmcOpenConnection
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 ac_cv_lib_SM_SmcOpenConnection
=no
12903 rm -f conftest.err conftest.
$ac_objext \
12904 conftest
$ac_exeext conftest.
$ac_ext
12905 LIBS
=$ac_check_lib_save_LIBS
12907 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12908 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12909 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12917 if test "${HAVE_X_SM}" = "yes"; then
12919 cat >>confdefs.h
<<\_ACEOF
12920 #define HAVE_X_SM 1
12925 *) LIBS
="-lSM -lICE $LIBS" ;;
12930 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12931 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12932 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12933 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12951 rm -f conftest.
$ac_objext conftest
$ac_exeext
12952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12953 (eval $ac_link) 2>conftest.er1
12955 grep -v '^ *+' conftest.er1
>conftest.err
12957 cat conftest.err
>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } &&
12960 { ac_try
='test -z "$ac_c_werror_flag"
12961 || test ! -s conftest.err'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try
='test -s conftest$ac_exeext'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; }; then
12973 emacs_cv_netdb_declares_h_errno
=yes
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.
$ac_ext >&5
12978 emacs_cv_netdb_declares_h_errno
=no
12980 rm -f conftest.err conftest.
$ac_objext \
12981 conftest
$ac_exeext conftest.
$ac_ext
12983 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
12984 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
12985 if test $emacs_cv_netdb_declares_h_errno = yes; then
12987 cat >>confdefs.h
<<\_ACEOF
12988 #define HAVE_H_ERRNO 1
12993 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12994 # for constant arguments. Useless!
12995 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12996 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12997 if test "${ac_cv_working_alloca_h+set}" = set; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 cat >conftest.
$ac_ext <<_ACEOF
13003 cat confdefs.h
>>conftest.
$ac_ext
13004 cat >>conftest.
$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 #include <alloca.h>
13010 char *p = (char *) alloca (2 * sizeof (int));
13015 rm -f conftest.
$ac_objext conftest
$ac_exeext
13016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13017 (eval $ac_link) 2>conftest.er1
13019 grep -v '^ *+' conftest.er1
>conftest.err
13021 cat conftest.err
>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } &&
13024 { ac_try
='test -z "$ac_c_werror_flag"
13025 || test ! -s conftest.err'
13026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13027 (eval $ac_try) 2>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); }; } &&
13031 { ac_try
='test -s conftest$ac_exeext'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; }; then
13037 ac_cv_working_alloca_h
=yes
13039 echo "$as_me: failed program was:" >&5
13040 sed 's/^/| /' conftest.
$ac_ext >&5
13042 ac_cv_working_alloca_h
=no
13044 rm -f conftest.err conftest.
$ac_objext \
13045 conftest
$ac_exeext conftest.
$ac_ext
13047 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13048 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13049 if test $ac_cv_working_alloca_h = yes; then
13051 cat >>confdefs.h
<<\_ACEOF
13052 #define HAVE_ALLOCA_H 1
13057 echo "$as_me:$LINENO: checking for alloca" >&5
13058 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13059 if test "${ac_cv_func_alloca_works+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 cat >conftest.
$ac_ext <<_ACEOF
13065 cat confdefs.h
>>conftest.
$ac_ext
13066 cat >>conftest.
$ac_ext <<_ACEOF
13067 /* end confdefs.h. */
13069 # define alloca __builtin_alloca
13072 # include <malloc.h>
13073 # define alloca _alloca
13076 # include <alloca.h>
13081 # ifndef alloca /* predefined by HP cc +Olibcalls */
13092 char *p = (char *) alloca (1);
13097 rm -f conftest.
$ac_objext conftest
$ac_exeext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13099 (eval $ac_link) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest$ac_exeext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_cv_func_alloca_works
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 ac_cv_func_alloca_works
=no
13126 rm -f conftest.err conftest.
$ac_objext \
13127 conftest
$ac_exeext conftest.
$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13130 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13132 if test $ac_cv_func_alloca_works = yes; then
13134 cat >>confdefs.h
<<\_ACEOF
13135 #define HAVE_ALLOCA 1
13139 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13140 # that cause trouble. Some versions do not even contain alloca or
13141 # contain a buggy version. If you still want to use their alloca,
13142 # use ar to extract alloca.o from them instead of compiling alloca.c.
13144 ALLOCA
=alloca.
$ac_objext
13146 cat >>confdefs.h
<<\_ACEOF
13151 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13152 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13153 if test "${ac_cv_os_cray+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 cat >conftest.
$ac_ext <<_ACEOF
13159 cat confdefs.h
>>conftest.
$ac_ext
13160 cat >>conftest.
$ac_ext <<_ACEOF
13161 /* end confdefs.h. */
13162 #if defined(CRAY) && ! defined(CRAY2)
13169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13170 $EGREP "webecray" >/dev
/null
2>&1; then
13178 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13179 echo "${ECHO_T}$ac_cv_os_cray" >&6
13180 if test $ac_cv_os_cray = yes; then
13181 for ac_func
in _getb67 GETB67 getb67
; do
13182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13183 echo "$as_me:$LINENO: checking for $ac_func" >&5
13184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13185 if eval "test \"\${$as_ac_var+set}\" = set"; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 cat >conftest.
$ac_ext <<_ACEOF
13191 cat confdefs.h
>>conftest.
$ac_ext
13192 cat >>conftest.
$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13196 #define $ac_func innocuous_$ac_func
13198 /* System header to define __stub macros and hopefully few prototypes,
13199 which can conflict with char $ac_func (); below.
13200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13201 <limits.h> exists even on freestanding compilers. */
13204 # include <limits.h>
13206 # include <assert.h>
13211 /* Override any gcc2 internal prototype to avoid an error. */
13216 /* We use char because int might match the return type of a gcc2
13217 builtin and then its argument prototype would still apply. */
13219 /* The GNU C library defines this for functions which it implements
13220 to always fail with ENOSYS. Some functions are actually named
13221 something starting with __ and the normal name is an alias. */
13222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13225 char (*f) () = $ac_func;
13234 return f != $ac_func;
13239 rm -f conftest.
$ac_objext conftest
$ac_exeext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13241 (eval $ac_link) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1
>conftest.err
13245 cat conftest.err
>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try
='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest$ac_exeext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 eval "$as_ac_var=yes"
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 eval "$as_ac_var=no"
13268 rm -f conftest.err conftest.
$ac_objext \
13269 conftest
$ac_exeext conftest.
$ac_ext
13271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13273 if test `eval echo '${'$as_ac_var'}'` = yes; then
13275 cat >>confdefs.h
<<_ACEOF
13276 #define CRAY_STACKSEG_END $ac_func
13285 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13286 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13287 if test "${ac_cv_c_stack_direction+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 if test "$cross_compiling" = yes; then
13291 ac_cv_c_stack_direction
=0
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13300 find_stack_direction ()
13302 static char *addr = 0;
13307 return find_stack_direction ();
13310 return (&dummy > addr) ? 1 : -1;
13316 exit (find_stack_direction () < 0);
13319 rm -f conftest
$ac_exeext
13320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13321 (eval $ac_link) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; }; then
13330 ac_cv_c_stack_direction
=1
13332 echo "$as_me: program exited with status $ac_status" >&5
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.
$ac_ext >&5
13336 ( exit $ac_status )
13337 ac_cv_c_stack_direction
=-1
13339 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13342 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13343 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13345 cat >>confdefs.h
<<_ACEOF
13346 #define STACK_DIRECTION $ac_cv_c_stack_direction
13353 # fmod, logb, and frexp are found in -lm on most systems.
13354 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13356 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13357 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
13358 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 ac_check_lib_save_LIBS
=$LIBS
13363 cat >conftest.
$ac_ext <<_ACEOF
13366 cat confdefs.h
>>conftest.
$ac_ext
13367 cat >>conftest.
$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13370 /* Override any gcc2 internal prototype to avoid an error. */
13374 /* We use char because int might match the return type of a gcc2
13375 builtin and then its argument prototype would still apply. */
13385 rm -f conftest.
$ac_objext conftest
$ac_exeext
13386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13387 (eval $ac_link) 2>conftest.er1
13389 grep -v '^ *+' conftest.er1
>conftest.err
13391 cat conftest.err
>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); } &&
13394 { ac_try
='test -z "$ac_c_werror_flag"
13395 || test ! -s conftest.err'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try
='test -s conftest$ac_exeext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 ac_cv_lib_m_sqrt
=yes
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 ac_cv_lib_m_sqrt
=no
13414 rm -f conftest.err conftest.
$ac_objext \
13415 conftest
$ac_exeext conftest.
$ac_ext
13416 LIBS
=$ac_check_lib_save_LIBS
13418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13419 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
13420 if test $ac_cv_lib_m_sqrt = yes; then
13421 cat >>confdefs.h
<<_ACEOF
13422 #define HAVE_LIBM 1
13430 # Check for mail-locking functions in a "mail" library. Probably this should
13431 # have the same check as for liblockfile below.
13433 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13434 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
13435 if test "${ac_cv_lib_mail_maillock+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 ac_check_lib_save_LIBS
=$LIBS
13439 LIBS
="-lmail $LIBS"
13440 cat >conftest.
$ac_ext <<_ACEOF
13443 cat confdefs.h
>>conftest.
$ac_ext
13444 cat >>conftest.
$ac_ext <<_ACEOF
13445 /* end confdefs.h. */
13447 /* Override any gcc2 internal prototype to avoid an error. */
13451 /* We use char because int might match the return type of a gcc2
13452 builtin and then its argument prototype would still apply. */
13462 rm -f conftest.
$ac_objext conftest
$ac_exeext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13464 (eval $ac_link) 2>conftest.er1
13466 grep -v '^ *+' conftest.er1
>conftest.err
13468 cat conftest.err
>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try
='test -z "$ac_c_werror_flag"
13472 || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try
='test -s conftest$ac_exeext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 ac_cv_lib_mail_maillock
=yes
13486 echo "$as_me: failed program was:" >&5
13487 sed 's/^/| /' conftest.
$ac_ext >&5
13489 ac_cv_lib_mail_maillock
=no
13491 rm -f conftest.err conftest.
$ac_objext \
13492 conftest
$ac_exeext conftest.
$ac_ext
13493 LIBS
=$ac_check_lib_save_LIBS
13495 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13496 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
13497 if test $ac_cv_lib_mail_maillock = yes; then
13498 cat >>confdefs.h
<<_ACEOF
13499 #define HAVE_LIBMAIL 1
13502 LIBS
="-lmail $LIBS"
13507 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13508 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
13509 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 ac_check_lib_save_LIBS
=$LIBS
13513 LIBS
="-llockfile $LIBS"
13514 cat >conftest.
$ac_ext <<_ACEOF
13517 cat confdefs.h
>>conftest.
$ac_ext
13518 cat >>conftest.
$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13521 /* Override any gcc2 internal prototype to avoid an error. */
13525 /* We use char because int might match the return type of a gcc2
13526 builtin and then its argument prototype would still apply. */
13536 rm -f conftest.
$ac_objext conftest
$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538 (eval $ac_link) 2>conftest.er1
13540 grep -v '^ *+' conftest.er1
>conftest.err
13542 cat conftest.err
>&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try
='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try
='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 ac_cv_lib_lockfile_maillock
=yes
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.
$ac_ext >&5
13563 ac_cv_lib_lockfile_maillock
=no
13565 rm -f conftest.err conftest.
$ac_objext \
13566 conftest
$ac_exeext conftest.
$ac_ext
13567 LIBS
=$ac_check_lib_save_LIBS
13569 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13570 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
13571 if test $ac_cv_lib_lockfile_maillock = yes; then
13572 cat >>confdefs.h
<<_ACEOF
13573 #define HAVE_LIBLOCKFILE 1
13576 LIBS
="-llockfile $LIBS"
13580 # If we have the shared liblockfile, assume we must use it for mail
13581 # locking (e.g. Debian). If we couldn't link against liblockfile
13582 # (no liblockfile.a installed), ensure that we don't need to.
13583 if test "$ac_cv_lib_lockfile_maillock" = no
; then
13584 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13585 set dummy liblockfile.so
; ac_word
=$2
13586 echo "$as_me:$LINENO: checking for $ac_word" >&5
13587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13588 if test "${ac_cv_prog_liblockfile+set}" = set; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 if test -n "$liblockfile"; then
13592 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
13594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13595 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
13596 for as_dir
in $as_dummy
13599 test -z "$as_dir" && as_dir
=.
13600 for ac_exec_ext
in '' $ac_executable_extensions; do
13601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13602 ac_cv_prog_liblockfile
="yes"
13603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13609 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
13612 liblockfile
=$ac_cv_prog_liblockfile
13613 if test -n "$liblockfile"; then
13614 echo "$as_me:$LINENO: result: $liblockfile" >&5
13615 echo "${ECHO_T}$liblockfile" >&6
13617 echo "$as_me:$LINENO: result: no" >&5
13618 echo "${ECHO_T}no" >&6
13621 if test $ac_cv_prog_liblockfile = yes; then
13622 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
13623 This probably means that movemail could lose mail.
13624 There may be a \`development' package to install containing liblockfile." >&5
13625 echo "$as_me: error: Shared liblockfile found but can't link against it.
13626 This probably means that movemail could lose mail.
13627 There may be a \`development' package to install containing liblockfile." >&2;}
13628 { (exit 1); exit 1; }; }
13633 for ac_func
in touchlock
13635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13636 echo "$as_me:$LINENO: checking for $ac_func" >&5
13637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13638 if eval "test \"\${$as_ac_var+set}\" = set"; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 cat >conftest.
$ac_ext <<_ACEOF
13644 cat confdefs.h
>>conftest.
$ac_ext
13645 cat >>conftest.
$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13649 #define $ac_func innocuous_$ac_func
13651 /* System header to define __stub macros and hopefully few prototypes,
13652 which can conflict with char $ac_func (); below.
13653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13654 <limits.h> exists even on freestanding compilers. */
13657 # include <limits.h>
13659 # include <assert.h>
13664 /* Override any gcc2 internal prototype to avoid an error. */
13669 /* We use char because int might match the return type of a gcc2
13670 builtin and then its argument prototype would still apply. */
13672 /* The GNU C library defines this for functions which it implements
13673 to always fail with ENOSYS. Some functions are actually named
13674 something starting with __ and the normal name is an alias. */
13675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13678 char (*f) () = $ac_func;
13687 return f != $ac_func;
13692 rm -f conftest.
$ac_objext conftest
$ac_exeext
13693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13694 (eval $ac_link) 2>conftest.er1
13696 grep -v '^ *+' conftest.er1
>conftest.err
13698 cat conftest.err
>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } &&
13701 { ac_try
='test -z "$ac_c_werror_flag"
13702 || test ! -s conftest.err'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; } &&
13708 { ac_try
='test -s conftest$ac_exeext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13714 eval "$as_ac_var=yes"
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13719 eval "$as_ac_var=no"
13721 rm -f conftest.err conftest.
$ac_objext \
13722 conftest
$ac_exeext conftest.
$ac_ext
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13726 if test `eval echo '${'$as_ac_var'}'` = yes; then
13727 cat >>confdefs.h
<<_ACEOF
13728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13735 for ac_header
in maillock.h
13737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13739 echo "$as_me:$LINENO: checking for $ac_header" >&5
13740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13747 # Is the header compilable?
13748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 $ac_includes_default
13757 #include <$ac_header>
13759 rm -f conftest.
$ac_objext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13761 (eval $ac_compile) 2>conftest.er1
13763 grep -v '^ *+' conftest.er1
>conftest.err
13765 cat conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try
='test -z "$ac_c_werror_flag"
13769 || test ! -s conftest.err'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try
='test -s conftest.$ac_objext'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; }; then
13781 ac_header_compiler
=yes
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.
$ac_ext >&5
13786 ac_header_compiler
=no
13788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13790 echo "${ECHO_T}$ac_header_compiler" >&6
13792 # Is the header present?
13793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13795 cat >conftest.
$ac_ext <<_ACEOF
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 #include <$ac_header>
13803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13806 grep -v '^ *+' conftest.er1
>conftest.err
13808 cat conftest.err
>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } >/dev
/null
; then
13811 if test -s conftest.err
; then
13812 ac_cpp_err
=$ac_c_preproc_warn_flag
13813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13820 if test -z "$ac_cpp_err"; then
13821 ac_header_preproc
=yes
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 ac_header_preproc
=no
13828 rm -f conftest.err conftest.
$ac_ext
13829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13830 echo "${ECHO_T}$ac_header_preproc" >&6
13832 # So? What about this header?
13833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13839 ac_header_preproc
=yes
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13856 ## ------------------------------------------ ##
13857 ## Report this to the AC_PACKAGE_NAME lists. ##
13858 ## ------------------------------------------ ##
13861 sed "s/^/$as_me: WARNING: /" >&2
13864 echo "$as_me:$LINENO: checking for $ac_header" >&5
13865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13867 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 eval "$as_ac_Header=\$ac_header_preproc"
13871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13876 cat >>confdefs.h
<<_ACEOF
13877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13952 for ac_func
in gethostname getdomainname dup2 \
13953 rename closedir mkdir
rmdir sysinfo getrusage \
13954 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13955 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13956 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13957 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13958 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13959 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13960 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
13962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13963 echo "$as_me:$LINENO: checking for $ac_func" >&5
13964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13965 if eval "test \"\${$as_ac_var+set}\" = set"; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 cat >conftest.
$ac_ext <<_ACEOF
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13976 #define $ac_func innocuous_$ac_func
13978 /* System header to define __stub macros and hopefully few prototypes,
13979 which can conflict with char $ac_func (); below.
13980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13981 <limits.h> exists even on freestanding compilers. */
13984 # include <limits.h>
13986 # include <assert.h>
13991 /* Override any gcc2 internal prototype to avoid an error. */
13996 /* We use char because int might match the return type of a gcc2
13997 builtin and then its argument prototype would still apply. */
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14005 char (*f) () = $ac_func;
14014 return f != $ac_func;
14019 rm -f conftest.
$ac_objext conftest
$ac_exeext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>conftest.er1
14023 grep -v '^ *+' conftest.er1
>conftest.err
14025 cat conftest.err
>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try
='test -z "$ac_c_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest$ac_exeext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 eval "$as_ac_var=yes"
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 eval "$as_ac_var=no"
14048 rm -f conftest.err conftest.
$ac_objext \
14049 conftest
$ac_exeext conftest.
$ac_ext
14051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14053 if test `eval echo '${'$as_ac_var'}'` = yes; then
14054 cat >>confdefs.h
<<_ACEOF
14055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14063 for ac_header
in sys
/un.h
14065 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14067 echo "$as_me:$LINENO: checking for $ac_header" >&5
14068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14075 # Is the header compilable?
14076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14078 cat >conftest.
$ac_ext <<_ACEOF
14081 cat confdefs.h
>>conftest.
$ac_ext
14082 cat >>conftest.
$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14085 #include <$ac_header>
14087 rm -f conftest.
$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14091 grep -v '^ *+' conftest.er1
>conftest.err
14093 cat conftest.err
>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try
='test -z "$ac_c_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try
='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_header_compiler
=yes
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.
$ac_ext >&5
14114 ac_header_compiler
=no
14116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14118 echo "${ECHO_T}$ac_header_compiler" >&6
14120 # Is the header present?
14121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14123 cat >conftest.
$ac_ext <<_ACEOF
14126 cat confdefs.h
>>conftest.
$ac_ext
14127 cat >>conftest.
$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129 #include <$ac_header>
14131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14134 grep -v '^ *+' conftest.er1
>conftest.err
14136 cat conftest.err
>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } >/dev
/null
; then
14139 if test -s conftest.err
; then
14140 ac_cpp_err
=$ac_c_preproc_warn_flag
14141 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14148 if test -z "$ac_cpp_err"; then
14149 ac_header_preproc
=yes
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ac_header_preproc
=no
14156 rm -f conftest.err conftest.
$ac_ext
14157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14158 echo "${ECHO_T}$ac_header_preproc" >&6
14160 # So? What about this header?
14161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14167 ac_header_preproc
=yes
14170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14184 ## ------------------------------------------ ##
14185 ## Report this to the AC_PACKAGE_NAME lists. ##
14186 ## ------------------------------------------ ##
14189 sed "s/^/$as_me: WARNING: /" >&2
14192 echo "$as_me:$LINENO: checking for $ac_header" >&5
14193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 eval "$as_ac_Header=\$ac_header_preproc"
14199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14204 cat >>confdefs.h
<<_ACEOF
14205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14216 for ac_header
in stdlib.h sys
/time.h unistd.h
14218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14220 echo "$as_me:$LINENO: checking for $ac_header" >&5
14221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14228 # Is the header compilable?
14229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14231 cat >conftest.
$ac_ext <<_ACEOF
14234 cat confdefs.h
>>conftest.
$ac_ext
14235 cat >>conftest.
$ac_ext <<_ACEOF
14236 /* end confdefs.h. */
14237 $ac_includes_default
14238 #include <$ac_header>
14240 rm -f conftest.
$ac_objext
14241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14242 (eval $ac_compile) 2>conftest.er1
14244 grep -v '^ *+' conftest.er1
>conftest.err
14246 cat conftest.err
>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } &&
14249 { ac_try
='test -z "$ac_c_werror_flag"
14250 || test ! -s conftest.err'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; } &&
14256 { ac_try
='test -s conftest.$ac_objext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_header_compiler
=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.
$ac_ext >&5
14267 ac_header_compiler
=no
14269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14271 echo "${ECHO_T}$ac_header_compiler" >&6
14273 # Is the header present?
14274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14276 cat >conftest.
$ac_ext <<_ACEOF
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282 #include <$ac_header>
14284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14287 grep -v '^ *+' conftest.er1
>conftest.err
14289 cat conftest.err
>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } >/dev
/null
; then
14292 if test -s conftest.err
; then
14293 ac_cpp_err
=$ac_c_preproc_warn_flag
14294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14301 if test -z "$ac_cpp_err"; then
14302 ac_header_preproc
=yes
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14307 ac_header_preproc
=no
14309 rm -f conftest.err conftest.
$ac_ext
14310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14311 echo "${ECHO_T}$ac_header_preproc" >&6
14313 # So? What about this header?
14314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14320 ac_header_preproc
=yes
14323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14337 ## ------------------------------------------ ##
14338 ## Report this to the AC_PACKAGE_NAME lists. ##
14339 ## ------------------------------------------ ##
14342 sed "s/^/$as_me: WARNING: /" >&2
14345 echo "$as_me:$LINENO: checking for $ac_header" >&5
14346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 eval "$as_ac_Header=\$ac_header_preproc"
14352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14357 cat >>confdefs.h
<<_ACEOF
14358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14366 for ac_func
in alarm
14368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14369 echo "$as_me:$LINENO: checking for $ac_func" >&5
14370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14371 if eval "test \"\${$as_ac_var+set}\" = set"; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 cat >conftest.
$ac_ext <<_ACEOF
14377 cat confdefs.h
>>conftest.
$ac_ext
14378 cat >>conftest.
$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14382 #define $ac_func innocuous_$ac_func
14384 /* System header to define __stub macros and hopefully few prototypes,
14385 which can conflict with char $ac_func (); below.
14386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14387 <limits.h> exists even on freestanding compilers. */
14390 # include <limits.h>
14392 # include <assert.h>
14397 /* Override any gcc2 internal prototype to avoid an error. */
14402 /* We use char because int might match the return type of a gcc2
14403 builtin and then its argument prototype would still apply. */
14405 /* The GNU C library defines this for functions which it implements
14406 to always fail with ENOSYS. Some functions are actually named
14407 something starting with __ and the normal name is an alias. */
14408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14411 char (*f) () = $ac_func;
14420 return f != $ac_func;
14425 rm -f conftest.
$ac_objext conftest
$ac_exeext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14427 (eval $ac_link) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try
='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try
='test -s conftest$ac_exeext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 eval "$as_ac_var=yes"
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.
$ac_ext >&5
14452 eval "$as_ac_var=no"
14454 rm -f conftest.err conftest.
$ac_objext \
14455 conftest
$ac_exeext conftest.
$ac_ext
14457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14459 if test `eval echo '${'$as_ac_var'}'` = yes; then
14460 cat >>confdefs.h
<<_ACEOF
14461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14467 echo "$as_me:$LINENO: checking for working mktime" >&5
14468 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
14469 if test "${ac_cv_func_working_mktime+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 if test "$cross_compiling" = yes; then
14473 ac_cv_func_working_mktime
=no
14475 cat >conftest.
$ac_ext <<_ACEOF
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 /* Test program from Paul Eggert and Tony Leneis. */
14482 #if TIME_WITH_SYS_TIME
14483 # include <sys/time.h>
14486 # if HAVE_SYS_TIME_H
14487 # include <sys/time.h>
14494 # include <stdlib.h>
14498 # include <unistd.h>
14502 # define alarm(X) /* empty */
14505 /* Work around redefinition to rpl_putenv by other config tests. */
14508 static time_t time_t_max;
14509 static time_t time_t_min;
14511 /* Values we'll use to set the TZ environment variable. */
14512 static char *tz_strings[] = {
14513 (char *) 0, "TZ=GMT0", "TZ=JST-9",
14514 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
14516 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14518 /* Fail if mktime fails to convert a date in the spring-forward gap.
14519 Based on a problem report from Andreas Jaeger. */
14521 spring_forward_gap ()
14523 /* glibc (up to about 1998-10-07) failed this test. */
14526 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
14527 instead of "TZ=America/Vancouver" in order to detect the bug even
14528 on systems that don't support the Olson extension, or don't have the
14529 full zoneinfo tables installed. */
14530 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
14539 if (mktime (&tm) == (time_t)-1)
14548 if ((lt = localtime (&now)) && mktime (lt) != now)
14556 mktime_test1 (now);
14557 mktime_test1 ((time_t) (time_t_max - now));
14558 mktime_test1 ((time_t) (time_t_min + now));
14564 /* Based on code from Ariel Faigon. */
14574 if (tm.tm_mon != 2 || tm.tm_mday != 31)
14584 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
14585 now = mktime (&tm);
14586 if (now != (time_t) -1)
14588 struct tm *lt = localtime (&now);
14590 && lt->tm_year == tm.tm_year
14591 && lt->tm_mon == tm.tm_mon
14592 && lt->tm_mday == tm.tm_mday
14593 && lt->tm_hour == tm.tm_hour
14594 && lt->tm_min == tm.tm_min
14595 && lt->tm_sec == tm.tm_sec
14596 && lt->tm_yday == tm.tm_yday
14597 && lt->tm_wday == tm.tm_wday
14598 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14599 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14610 /* This test makes some buggy mktime implementations loop.
14611 Give up after 60 seconds; a mktime slower than that
14612 isn't worth using anyway. */
14615 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
14618 if ((time_t) -1 < 0)
14619 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
14621 delta = time_t_max / 997; /* a suitable prime number */
14622 for (i = 0; i < N_STRINGS; i++)
14625 putenv (tz_strings[i]);
14627 for (t = 0; t <= time_t_max - delta; t += delta)
14629 mktime_test ((time_t) 1);
14630 mktime_test ((time_t) (60 * 60));
14631 mktime_test ((time_t) (60 * 60 * 24));
14633 for (j = 1; 0 < j; j *= 2)
14635 bigtime_test (j - 1);
14638 spring_forward_gap ();
14642 rm -f conftest
$ac_exeext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14644 (eval $ac_link) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 ac_cv_func_working_mktime
=yes
14655 echo "$as_me: program exited with status $ac_status" >&5
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.
$ac_ext >&5
14659 ( exit $ac_status )
14660 ac_cv_func_working_mktime
=no
14662 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14665 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14666 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14667 if test $ac_cv_func_working_mktime = no
; then
14669 "mktime.$ac_objext" | \
14670 *" mktime.$ac_objext" | \
14671 "mktime.$ac_objext "* | \
14672 *" mktime.$ac_objext "* ) ;;
14673 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14678 if test "$ac_cv_func_working_mktime" = no
; then
14680 cat >>confdefs.h
<<\_ACEOF
14681 #define BROKEN_MKTIME 1
14686 ac_have_func
=no
# yes means we've found a way to get the load average.
14688 # Make sure getloadavg.c is where it belongs, at configure-time.
14689 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14690 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14691 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14692 { (exit 1); exit 1; }; }
14696 # Check for getloadavg, but be sure not to touch the cache variable.
14697 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14698 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14699 if test "${ac_cv_func_getloadavg+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 cat >conftest.
$ac_ext <<_ACEOF
14705 cat confdefs.h
>>conftest.
$ac_ext
14706 cat >>conftest.
$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14708 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14710 #define getloadavg innocuous_getloadavg
14712 /* System header to define __stub macros and hopefully few prototypes,
14713 which can conflict with char getloadavg (); below.
14714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14715 <limits.h> exists even on freestanding compilers. */
14718 # include <limits.h>
14720 # include <assert.h>
14725 /* Override any gcc2 internal prototype to avoid an error. */
14730 /* We use char because int might match the return type of a gcc2
14731 builtin and then its argument prototype would still apply. */
14732 char getloadavg ();
14733 /* The GNU C library defines this for functions which it implements
14734 to always fail with ENOSYS. Some functions are actually named
14735 something starting with __ and the normal name is an alias. */
14736 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14739 char (*f) () = getloadavg;
14748 return f != getloadavg;
14753 rm -f conftest.
$ac_objext conftest
$ac_exeext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14755 (eval $ac_link) 2>conftest.er1
14757 grep -v '^ *+' conftest.er1
>conftest.err
14759 cat conftest.err
>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try
='test -z "$ac_c_werror_flag"
14763 || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try
='test -s conftest$ac_exeext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_func_getloadavg
=yes
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14780 ac_cv_func_getloadavg
=no
14782 rm -f conftest.err conftest.
$ac_objext \
14783 conftest
$ac_exeext conftest.
$ac_ext
14785 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14786 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14787 if test $ac_cv_func_getloadavg = yes; then
14792 ) && ac_have_func
=yes
14794 # On HPUX9, an unprivileged user can get load averages through this function.
14796 for ac_func
in pstat_getdynamic
14798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14799 echo "$as_me:$LINENO: checking for $ac_func" >&5
14800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14801 if eval "test \"\${$as_ac_var+set}\" = set"; then
14802 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 cat >conftest.
$ac_ext <<_ACEOF
14807 cat confdefs.h
>>conftest.
$ac_ext
14808 cat >>conftest.
$ac_ext <<_ACEOF
14809 /* end confdefs.h. */
14810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14812 #define $ac_func innocuous_$ac_func
14814 /* System header to define __stub macros and hopefully few prototypes,
14815 which can conflict with char $ac_func (); below.
14816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14817 <limits.h> exists even on freestanding compilers. */
14820 # include <limits.h>
14822 # include <assert.h>
14827 /* Override any gcc2 internal prototype to avoid an error. */
14832 /* We use char because int might match the return type of a gcc2
14833 builtin and then its argument prototype would still apply. */
14835 /* The GNU C library defines this for functions which it implements
14836 to always fail with ENOSYS. Some functions are actually named
14837 something starting with __ and the normal name is an alias. */
14838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14841 char (*f) () = $ac_func;
14850 return f != $ac_func;
14855 rm -f conftest.
$ac_objext conftest
$ac_exeext
14856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14857 (eval $ac_link) 2>conftest.er1
14859 grep -v '^ *+' conftest.er1
>conftest.err
14861 cat conftest.err
>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try
='test -z "$ac_c_werror_flag"
14865 || test ! -s conftest.err'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; } &&
14871 { ac_try
='test -s conftest$ac_exeext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 eval "$as_ac_var=yes"
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.
$ac_ext >&5
14882 eval "$as_ac_var=no"
14884 rm -f conftest.err conftest.
$ac_objext \
14885 conftest
$ac_exeext conftest.
$ac_ext
14887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14889 if test `eval echo '${'$as_ac_var'}'` = yes; then
14890 cat >>confdefs.h
<<_ACEOF
14891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14898 # Solaris has libkstat which does not require root.
14900 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14901 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14902 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14905 ac_check_lib_save_LIBS
=$LIBS
14906 LIBS
="-lkstat $LIBS"
14907 cat >conftest.
$ac_ext <<_ACEOF
14910 cat confdefs.h
>>conftest.
$ac_ext
14911 cat >>conftest.
$ac_ext <<_ACEOF
14912 /* end confdefs.h. */
14914 /* Override any gcc2 internal prototype to avoid an error. */
14918 /* We use char because int might match the return type of a gcc2
14919 builtin and then its argument prototype would still apply. */
14920 char kstat_open ();
14929 rm -f conftest.
$ac_objext conftest
$ac_exeext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14931 (eval $ac_link) 2>conftest.er1
14933 grep -v '^ *+' conftest.er1
>conftest.err
14935 cat conftest.err
>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try
='test -z "$ac_c_werror_flag"
14939 || test ! -s conftest.err'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; } &&
14945 { ac_try
='test -s conftest$ac_exeext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_cv_lib_kstat_kstat_open
=yes
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.
$ac_ext >&5
14956 ac_cv_lib_kstat_kstat_open
=no
14958 rm -f conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 LIBS
=$ac_check_lib_save_LIBS
14962 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14963 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14964 if test $ac_cv_lib_kstat_kstat_open = yes; then
14965 cat >>confdefs.h
<<_ACEOF
14966 #define HAVE_LIBKSTAT 1
14969 LIBS
="-lkstat $LIBS"
14973 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14975 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14976 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14977 # to get the right answer into the cache.
14978 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14979 if test $ac_have_func = no
; then
14980 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
14981 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
14982 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 ac_check_lib_save_LIBS
=$LIBS
14987 cat >conftest.
$ac_ext <<_ACEOF
14990 cat confdefs.h
>>conftest.
$ac_ext
14991 cat >>conftest.
$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14994 /* Override any gcc2 internal prototype to avoid an error. */
14998 /* We use char because int might match the return type of a gcc2
14999 builtin and then its argument prototype would still apply. */
15009 rm -f conftest.
$ac_objext conftest
$ac_exeext
15010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15011 (eval $ac_link) 2>conftest.er1
15013 grep -v '^ *+' conftest.er1
>conftest.err
15015 cat conftest.err
>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try
='test -z "$ac_c_werror_flag"
15019 || test ! -s conftest.err'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; } &&
15025 { ac_try
='test -s conftest$ac_exeext'
15026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15027 (eval $ac_try) 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; }; then
15031 ac_cv_lib_elf_elf_begin
=yes
15033 echo "$as_me: failed program was:" >&5
15034 sed 's/^/| /' conftest.
$ac_ext >&5
15036 ac_cv_lib_elf_elf_begin
=no
15038 rm -f conftest.err conftest.
$ac_objext \
15039 conftest
$ac_exeext conftest.
$ac_ext
15040 LIBS
=$ac_check_lib_save_LIBS
15042 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15043 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
15044 if test $ac_cv_lib_elf_elf_begin = yes; then
15049 if test $ac_have_func = no
; then
15050 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15051 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
15052 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 ac_check_lib_save_LIBS
=$LIBS
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15064 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15079 rm -f conftest.
$ac_objext conftest
$ac_exeext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15081 (eval $ac_link) 2>conftest.er1
15083 grep -v '^ *+' conftest.er1
>conftest.err
15085 cat conftest.err
>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try
='test -z "$ac_c_werror_flag"
15089 || test ! -s conftest.err'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; } &&
15095 { ac_try
='test -s conftest$ac_exeext'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; }; then
15101 ac_cv_lib_kvm_kvm_open
=yes
15103 echo "$as_me: failed program was:" >&5
15104 sed 's/^/| /' conftest.
$ac_ext >&5
15106 ac_cv_lib_kvm_kvm_open
=no
15108 rm -f conftest.err conftest.
$ac_objext \
15109 conftest
$ac_exeext conftest.
$ac_ext
15110 LIBS
=$ac_check_lib_save_LIBS
15112 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15113 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
15114 if test $ac_cv_lib_kvm_kvm_open = yes; then
15118 # Check for the 4.4BSD definition of getloadavg.
15119 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15120 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
15121 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15124 ac_check_lib_save_LIBS
=$LIBS
15125 LIBS
="-lutil $LIBS"
15126 cat >conftest.
$ac_ext <<_ACEOF
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15133 /* Override any gcc2 internal prototype to avoid an error. */
15137 /* We use char because int might match the return type of a gcc2
15138 builtin and then its argument prototype would still apply. */
15139 char getloadavg ();
15148 rm -f conftest.
$ac_objext conftest
$ac_exeext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15150 (eval $ac_link) 2>conftest.er1
15152 grep -v '^ *+' conftest.er1
>conftest.err
15154 cat conftest.err
>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try
='test -z "$ac_c_werror_flag"
15158 || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try
='test -s conftest$ac_exeext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_cv_lib_util_getloadavg
=yes
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ac_cv_lib_util_getloadavg
=no
15177 rm -f conftest.err conftest.
$ac_objext \
15178 conftest
$ac_exeext conftest.
$ac_ext
15179 LIBS
=$ac_check_lib_save_LIBS
15181 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15182 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
15183 if test $ac_cv_lib_util_getloadavg = yes; then
15184 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
15189 if test $ac_have_func = no
; then
15190 # There is a commonly available library for RS/6000 AIX.
15191 # Since it is not a standard part of AIX, it might be installed locally.
15192 ac_getloadavg_LIBS
=$LIBS
15193 LIBS
="-L/usr/local/lib $LIBS"
15194 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15195 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
15196 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 ac_check_lib_save_LIBS
=$LIBS
15200 LIBS
="-lgetloadavg $LIBS"
15201 cat >conftest.
$ac_ext <<_ACEOF
15204 cat confdefs.h
>>conftest.
$ac_ext
15205 cat >>conftest.
$ac_ext <<_ACEOF
15206 /* end confdefs.h. */
15208 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15214 char getloadavg ();
15223 rm -f conftest.
$ac_objext conftest
$ac_exeext
15224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15225 (eval $ac_link) 2>conftest.er1
15227 grep -v '^ *+' conftest.er1
>conftest.err
15229 cat conftest.err
>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try
='test -z "$ac_c_werror_flag"
15233 || test ! -s conftest.err'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; } &&
15239 { ac_try
='test -s conftest$ac_exeext'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15245 ac_cv_lib_getloadavg_getloadavg
=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_cv_lib_getloadavg_getloadavg
=no
15252 rm -f conftest.err conftest.
$ac_objext \
15253 conftest
$ac_exeext conftest.
$ac_ext
15254 LIBS
=$ac_check_lib_save_LIBS
15256 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15257 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
15258 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15259 LIBS
="-lgetloadavg $LIBS"
15261 LIBS
=$ac_getloadavg_LIBS
15266 # Make sure it is really in the library, if we think we found it,
15267 # otherwise set up the replacement function.
15269 for ac_func
in getloadavg
15271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15272 echo "$as_me:$LINENO: checking for $ac_func" >&5
15273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15274 if eval "test \"\${$as_ac_var+set}\" = set"; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 cat >conftest.
$ac_ext <<_ACEOF
15280 cat confdefs.h
>>conftest.
$ac_ext
15281 cat >>conftest.
$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15285 #define $ac_func innocuous_$ac_func
15287 /* System header to define __stub macros and hopefully few prototypes,
15288 which can conflict with char $ac_func (); below.
15289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15290 <limits.h> exists even on freestanding compilers. */
15293 # include <limits.h>
15295 # include <assert.h>
15300 /* Override any gcc2 internal prototype to avoid an error. */
15305 /* We use char because int might match the return type of a gcc2
15306 builtin and then its argument prototype would still apply. */
15308 /* The GNU C library defines this for functions which it implements
15309 to always fail with ENOSYS. Some functions are actually named
15310 something starting with __ and the normal name is an alias. */
15311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15314 char (*f) () = $ac_func;
15323 return f != $ac_func;
15328 rm -f conftest.
$ac_objext conftest
$ac_exeext
15329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15330 (eval $ac_link) 2>conftest.er1
15332 grep -v '^ *+' conftest.er1
>conftest.err
15334 cat conftest.err
>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } &&
15337 { ac_try
='test -z "$ac_c_werror_flag"
15338 || test ! -s conftest.err'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; } &&
15344 { ac_try
='test -s conftest$ac_exeext'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; }; then
15350 eval "$as_ac_var=yes"
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.
$ac_ext >&5
15355 eval "$as_ac_var=no"
15357 rm -f conftest.err conftest.
$ac_objext \
15358 conftest
$ac_exeext conftest.
$ac_ext
15360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15362 if test `eval echo '${'$as_ac_var'}'` = yes; then
15363 cat >>confdefs.h
<<_ACEOF
15364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15369 "getloadavg.$ac_objext" | \
15370 *" getloadavg.$ac_objext" | \
15371 "getloadavg.$ac_objext "* | \
15372 *" getloadavg.$ac_objext "* ) ;;
15373 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
15377 cat >>confdefs.h
<<\_ACEOF
15378 #define C_GETLOADAVG 1
15381 # Figure out what our getloadavg.c needs.
15383 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15384 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15385 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15386 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15387 echo $ECHO_N "(cached) $ECHO_C" >&6
15389 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15390 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15392 # Is the header compilable?
15393 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15394 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15395 cat >conftest.
$ac_ext <<_ACEOF
15398 cat confdefs.h
>>conftest.
$ac_ext
15399 cat >>conftest.
$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15401 $ac_includes_default
15402 #include <sys/dg_sys_info.h>
15404 rm -f conftest.
$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15408 grep -v '^ *+' conftest.er1
>conftest.err
15410 cat conftest.err
>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try
='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try
='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_header_compiler
=yes
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.
$ac_ext >&5
15431 ac_header_compiler
=no
15433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15435 echo "${ECHO_T}$ac_header_compiler" >&6
15437 # Is the header present?
15438 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15439 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15440 cat >conftest.
$ac_ext <<_ACEOF
15443 cat confdefs.h
>>conftest.
$ac_ext
15444 cat >>conftest.
$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 #include <sys/dg_sys_info.h>
15448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15451 grep -v '^ *+' conftest.er1
>conftest.err
15453 cat conftest.err
>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } >/dev
/null
; then
15456 if test -s conftest.err
; then
15457 ac_cpp_err
=$ac_c_preproc_warn_flag
15458 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15465 if test -z "$ac_cpp_err"; then
15466 ac_header_preproc
=yes
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.
$ac_ext >&5
15471 ac_header_preproc
=no
15473 rm -f conftest.err conftest.
$ac_ext
15474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15475 echo "${ECHO_T}$ac_header_preproc" >&6
15477 # So? What about this header?
15478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15480 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15481 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15482 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15483 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15484 ac_header_preproc
=yes
15487 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15488 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15489 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15490 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15491 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15492 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15493 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15494 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15496 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15498 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15501 ## ------------------------------------------ ##
15502 ## Report this to the AC_PACKAGE_NAME lists. ##
15503 ## ------------------------------------------ ##
15506 sed "s/^/$as_me: WARNING: /" >&2
15509 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15510 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15511 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15516 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15517 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15520 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15523 cat >>confdefs.h
<<\_ACEOF
15528 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15529 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
15530 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15531 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 ac_check_lib_save_LIBS
=$LIBS
15535 cat >conftest.
$ac_ext <<_ACEOF
15538 cat confdefs.h
>>conftest.
$ac_ext
15539 cat >>conftest.
$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15542 /* Override any gcc2 internal prototype to avoid an error. */
15546 /* We use char because int might match the return type of a gcc2
15547 builtin and then its argument prototype would still apply. */
15548 char dg_sys_info ();
15557 rm -f conftest.
$ac_objext conftest
$ac_exeext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15559 (eval $ac_link) 2>conftest.er1
15561 grep -v '^ *+' conftest.er1
>conftest.err
15563 cat conftest.err
>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try
='test -z "$ac_c_werror_flag"
15567 || test ! -s conftest.err'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try
='test -s conftest$ac_exeext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 ac_cv_lib_dgc_dg_sys_info
=yes
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.
$ac_ext >&5
15584 ac_cv_lib_dgc_dg_sys_info
=no
15586 rm -f conftest.err conftest.
$ac_objext \
15587 conftest
$ac_exeext conftest.
$ac_ext
15588 LIBS
=$ac_check_lib_save_LIBS
15590 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15591 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
15592 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_LIBDGC 1
15605 if test "${ac_cv_header_locale_h+set}" = set; then
15606 echo "$as_me:$LINENO: checking for locale.h" >&5
15607 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15608 if test "${ac_cv_header_locale_h+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15612 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15614 # Is the header compilable?
15615 echo "$as_me:$LINENO: checking locale.h usability" >&5
15616 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
15617 cat >conftest.
$ac_ext <<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 $ac_includes_default
15624 #include <locale.h>
15626 rm -f conftest.
$ac_objext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15628 (eval $ac_compile) 2>conftest.er1
15630 grep -v '^ *+' conftest.er1
>conftest.err
15632 cat conftest.err
>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try
='test -z "$ac_c_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try
='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_header_compiler
=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.
$ac_ext >&5
15653 ac_header_compiler
=no
15655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15657 echo "${ECHO_T}$ac_header_compiler" >&6
15659 # Is the header present?
15660 echo "$as_me:$LINENO: checking locale.h presence" >&5
15661 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15662 cat >conftest.
$ac_ext <<_ACEOF
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 #include <locale.h>
15670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15673 grep -v '^ *+' conftest.er1
>conftest.err
15675 cat conftest.err
>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } >/dev
/null
; then
15678 if test -s conftest.err
; then
15679 ac_cpp_err
=$ac_c_preproc_warn_flag
15680 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15687 if test -z "$ac_cpp_err"; then
15688 ac_header_preproc
=yes
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ac_header_preproc
=no
15695 rm -f conftest.err conftest.
$ac_ext
15696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15697 echo "${ECHO_T}$ac_header_preproc" >&6
15699 # So? What about this header?
15700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15702 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15703 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15704 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15705 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15706 ac_header_preproc
=yes
15709 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15710 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15711 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15712 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15714 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15715 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15716 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15717 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15718 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15719 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15720 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15723 ## ------------------------------------------ ##
15724 ## Report this to the AC_PACKAGE_NAME lists. ##
15725 ## ------------------------------------------ ##
15728 sed "s/^/$as_me: WARNING: /" >&2
15731 echo "$as_me:$LINENO: checking for locale.h" >&5
15732 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15733 if test "${ac_cv_header_locale_h+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 ac_cv_header_locale_h
=$ac_header_preproc
15738 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15739 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15745 for ac_func
in setlocale
15747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15748 echo "$as_me:$LINENO: checking for $ac_func" >&5
15749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15750 if eval "test \"\${$as_ac_var+set}\" = set"; then
15751 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 cat >conftest.
$ac_ext <<_ACEOF
15756 cat confdefs.h
>>conftest.
$ac_ext
15757 cat >>conftest.
$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15761 #define $ac_func innocuous_$ac_func
15763 /* System header to define __stub macros and hopefully few prototypes,
15764 which can conflict with char $ac_func (); below.
15765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15766 <limits.h> exists even on freestanding compilers. */
15769 # include <limits.h>
15771 # include <assert.h>
15776 /* Override any gcc2 internal prototype to avoid an error. */
15781 /* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15784 /* The GNU C library defines this for functions which it implements
15785 to always fail with ENOSYS. Some functions are actually named
15786 something starting with __ and the normal name is an alias. */
15787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15790 char (*f) () = $ac_func;
15799 return f != $ac_func;
15804 rm -f conftest.
$ac_objext conftest
$ac_exeext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15806 (eval $ac_link) 2>conftest.er1
15808 grep -v '^ *+' conftest.er1
>conftest.err
15810 cat conftest.err
>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try
='test -z "$ac_c_werror_flag"
15814 || test ! -s conftest.err'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; } &&
15820 { ac_try
='test -s conftest$ac_exeext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15826 eval "$as_ac_var=yes"
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.
$ac_ext >&5
15831 eval "$as_ac_var=no"
15833 rm -f conftest.err conftest.
$ac_objext \
15834 conftest
$ac_exeext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15838 if test `eval echo '${'$as_ac_var'}'` = yes; then
15839 cat >>confdefs.h
<<_ACEOF
15840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15847 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15848 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15849 # Irix 4.0.5F has the header but not the library.
15850 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15853 cat >>confdefs.h
<<\_ACEOF
15859 if test $ac_have_func = no
; then
15860 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15861 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15862 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15863 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15867 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15869 # Is the header compilable?
15870 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15871 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15879 #include <inq_stats/cpustats.h>
15881 rm -f conftest.
$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>conftest.er1
15885 grep -v '^ *+' conftest.er1
>conftest.err
15887 cat conftest.err
>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } &&
15890 { ac_try
='test -z "$ac_c_werror_flag"
15891 || test ! -s conftest.err'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; } &&
15897 { ac_try
='test -s conftest.$ac_objext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_header_compiler
=yes
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.
$ac_ext >&5
15908 ac_header_compiler
=no
15910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15912 echo "${ECHO_T}$ac_header_compiler" >&6
15914 # Is the header present?
15915 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15916 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15917 cat >conftest.
$ac_ext <<_ACEOF
15920 cat confdefs.h
>>conftest.
$ac_ext
15921 cat >>conftest.
$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923 #include <inq_stats/cpustats.h>
15925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } >/dev
/null
; then
15933 if test -s conftest.err
; then
15934 ac_cpp_err
=$ac_c_preproc_warn_flag
15935 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15942 if test -z "$ac_cpp_err"; then
15943 ac_header_preproc
=yes
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.
$ac_ext >&5
15948 ac_header_preproc
=no
15950 rm -f conftest.err conftest.
$ac_ext
15951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15952 echo "${ECHO_T}$ac_header_preproc" >&6
15954 # So? What about this header?
15955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15957 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15958 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15959 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15960 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15961 ac_header_preproc
=yes
15964 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15965 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15966 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15967 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15968 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15969 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15970 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15971 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15972 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15973 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15974 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15975 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15978 ## ------------------------------------------ ##
15979 ## Report this to the AC_PACKAGE_NAME lists. ##
15980 ## ------------------------------------------ ##
15983 sed "s/^/$as_me: WARNING: /" >&2
15986 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15987 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15988 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
15993 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15994 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15997 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
16000 cat >>confdefs.h
<<\_ACEOF
16005 cat >>confdefs.h
<<\_ACEOF
16014 if test $ac_have_func = no
; then
16015 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16016 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16017 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16018 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16022 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16024 # Is the header compilable?
16025 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16026 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
16027 cat >conftest.
$ac_ext <<_ACEOF
16030 cat confdefs.h
>>conftest.
$ac_ext
16031 cat >>conftest.
$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16033 $ac_includes_default
16034 #include <sys/cpustats.h>
16036 rm -f conftest.
$ac_objext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16038 (eval $ac_compile) 2>conftest.er1
16040 grep -v '^ *+' conftest.er1
>conftest.err
16042 cat conftest.err
>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } &&
16045 { ac_try
='test -z "$ac_c_werror_flag"
16046 || test ! -s conftest.err'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; } &&
16052 { ac_try
='test -s conftest.$ac_objext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 ac_header_compiler
=yes
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.
$ac_ext >&5
16063 ac_header_compiler
=no
16065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16067 echo "${ECHO_T}$ac_header_compiler" >&6
16069 # Is the header present?
16070 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16071 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 #include <sys/cpustats.h>
16080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16083 grep -v '^ *+' conftest.er1
>conftest.err
16085 cat conftest.err
>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } >/dev
/null
; then
16088 if test -s conftest.err
; then
16089 ac_cpp_err
=$ac_c_preproc_warn_flag
16090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16097 if test -z "$ac_cpp_err"; then
16098 ac_header_preproc
=yes
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16103 ac_header_preproc
=no
16105 rm -f conftest.err conftest.
$ac_ext
16106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16107 echo "${ECHO_T}$ac_header_preproc" >&6
16109 # So? What about this header?
16110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16112 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16113 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16114 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
16115 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
16116 ac_header_preproc
=yes
16119 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
16120 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
16121 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
16122 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
16124 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
16125 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16126 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16127 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16128 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16129 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16130 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16133 ## ------------------------------------------ ##
16134 ## Report this to the AC_PACKAGE_NAME lists. ##
16135 ## ------------------------------------------ ##
16138 sed "s/^/$as_me: WARNING: /" >&2
16141 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16142 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16143 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
16148 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16149 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16152 if test $ac_cv_header_sys_cpustats_h = yes; then
16153 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
16162 if test $ac_have_func = no
; then
16164 for ac_header
in mach
/mach.h
16166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16168 echo "$as_me:$LINENO: checking for $ac_header" >&5
16169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16176 # Is the header compilable?
16177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16179 cat >conftest.
$ac_ext <<_ACEOF
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 $ac_includes_default
16186 #include <$ac_header>
16188 rm -f conftest.
$ac_objext
16189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16190 (eval $ac_compile) 2>conftest.er1
16192 grep -v '^ *+' conftest.er1
>conftest.err
16194 cat conftest.err
>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } &&
16197 { ac_try
='test -z "$ac_c_werror_flag"
16198 || test ! -s conftest.err'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; } &&
16204 { ac_try
='test -s conftest.$ac_objext'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; }; then
16210 ac_header_compiler
=yes
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ac_header_compiler
=no
16217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16219 echo "${ECHO_T}$ac_header_compiler" >&6
16221 # Is the header present?
16222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 #include <$ac_header>
16232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16235 grep -v '^ *+' conftest.er1
>conftest.err
16237 cat conftest.err
>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } >/dev
/null
; then
16240 if test -s conftest.err
; then
16241 ac_cpp_err
=$ac_c_preproc_warn_flag
16242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16249 if test -z "$ac_cpp_err"; then
16250 ac_header_preproc
=yes
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ac_header_preproc
=no
16257 rm -f conftest.err conftest.
$ac_ext
16258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16259 echo "${ECHO_T}$ac_header_preproc" >&6
16261 # So? What about this header?
16262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16268 ac_header_preproc
=yes
16271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16285 ## ------------------------------------------ ##
16286 ## Report this to the AC_PACKAGE_NAME lists. ##
16287 ## ------------------------------------------ ##
16290 sed "s/^/$as_me: WARNING: /" >&2
16293 echo "$as_me:$LINENO: checking for $ac_header" >&5
16294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 eval "$as_ac_Header=\$ac_header_preproc"
16300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16305 cat >>confdefs.h
<<_ACEOF
16306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16316 for ac_header
in nlist.h
16318 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16320 echo "$as_me:$LINENO: checking for $ac_header" >&5
16321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16328 # Is the header compilable?
16329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16331 cat >conftest.
$ac_ext <<_ACEOF
16334 cat confdefs.h
>>conftest.
$ac_ext
16335 cat >>conftest.
$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16337 $ac_includes_default
16338 #include <$ac_header>
16340 rm -f conftest.
$ac_objext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16342 (eval $ac_compile) 2>conftest.er1
16344 grep -v '^ *+' conftest.er1
>conftest.err
16346 cat conftest.err
>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try
='test -z "$ac_c_werror_flag"
16350 || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try
='test -s conftest.$ac_objext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16362 ac_header_compiler
=yes
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.
$ac_ext >&5
16367 ac_header_compiler
=no
16369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16371 echo "${ECHO_T}$ac_header_compiler" >&6
16373 # Is the header present?
16374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16376 cat >conftest.
$ac_ext <<_ACEOF
16379 cat confdefs.h
>>conftest.
$ac_ext
16380 cat >>conftest.
$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16382 #include <$ac_header>
16384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16387 grep -v '^ *+' conftest.er1
>conftest.err
16389 cat conftest.err
>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } >/dev
/null
; then
16392 if test -s conftest.err
; then
16393 ac_cpp_err
=$ac_c_preproc_warn_flag
16394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16401 if test -z "$ac_cpp_err"; then
16402 ac_header_preproc
=yes
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16407 ac_header_preproc
=no
16409 rm -f conftest.err conftest.
$ac_ext
16410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16411 echo "${ECHO_T}$ac_header_preproc" >&6
16413 # So? What about this header?
16414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16420 ac_header_preproc
=yes
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16437 ## ------------------------------------------ ##
16438 ## Report this to the AC_PACKAGE_NAME lists. ##
16439 ## ------------------------------------------ ##
16442 sed "s/^/$as_me: WARNING: /" >&2
16445 echo "$as_me:$LINENO: checking for $ac_header" >&5
16446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16448 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 eval "$as_ac_Header=\$ac_header_preproc"
16452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16457 cat >>confdefs.h
<<_ACEOF
16458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16460 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16461 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
16462 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16476 static struct nlist ac_aggr;
16477 if (ac_aggr.n_un.n_name)
16483 rm -f conftest.
$ac_objext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16485 (eval $ac_compile) 2>conftest.er1
16487 grep -v '^ *+' conftest.er1
>conftest.err
16489 cat conftest.err
>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try
='test -z "$ac_c_werror_flag"
16493 || test ! -s conftest.err'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; } &&
16499 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16505 ac_cv_member_struct_nlist_n_un_n_name
=yes
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.
$ac_ext >&5
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16521 static struct nlist ac_aggr;
16522 if (sizeof ac_aggr.n_un.n_name)
16528 rm -f conftest.
$ac_objext
16529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16530 (eval $ac_compile) 2>conftest.er1
16532 grep -v '^ *+' conftest.er1
>conftest.err
16534 cat conftest.err
>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } &&
16537 { ac_try
='test -z "$ac_c_werror_flag"
16538 || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try
='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_cv_member_struct_nlist_n_un_n_name
=yes
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 ac_cv_member_struct_nlist_n_un_n_name
=no
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16561 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16562 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
16563 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
16570 cat >>confdefs.h
<<\_ACEOF
16571 #define NLIST_NAME_UNION 1
16585 # Some definitions of getloadavg require that the program be installed setgid.
16586 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16587 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
16588 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.
$ac_ext <<_ACEOF
16594 cat confdefs.h
>>conftest.
$ac_ext
16595 cat >>conftest.
$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
16598 #ifdef LDAV_PRIVILEGED
16599 Yowza Am I SETGID yet
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
16604 ac_cv_func_getloadavg_setgid
=yes
16606 ac_cv_func_getloadavg_setgid
=no
16611 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16612 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
16613 if test $ac_cv_func_getloadavg_setgid = yes; then
16616 cat >>confdefs.h
<<\_ACEOF
16617 #define GETLOADAVG_PRIVILEGED 1
16624 if test $ac_cv_func_getloadavg_setgid = yes; then
16625 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16626 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
16627 if test "${ac_cv_group_kmem+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
16631 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
16632 # If we got an error (system does not support symlinks), try without -L.
16633 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
16634 ac_cv_group_kmem
=`echo $ac_ls_output \
16635 | sed -ne 's/[ ][ ]*/ /g;
16636 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
16640 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
16641 echo "${ECHO_T}$ac_cv_group_kmem" >&6
16642 KMEM_GROUP
=$ac_cv_group_kmem
16644 if test "x$ac_save_LIBS" = x
; then
16645 GETLOADAVG_LIBS
=$LIBS
16647 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
16653 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16654 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
16655 if test "${ac_cv_sys_largefile_source+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 ac_cv_sys_largefile_source
=no
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16675 rm -f conftest.
$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>conftest.er1
16679 grep -v '^ *+' conftest.er1
>conftest.err
16681 cat conftest.err
>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try
='test -z "$ac_c_werror_flag"
16685 || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try
='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.
$ac_ext >&5
16703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16704 cat >conftest.
$ac_ext <<_ACEOF
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 #define _LARGEFILE_SOURCE 1
16720 rm -f conftest.
$ac_objext
16721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16722 (eval $ac_compile) 2>conftest.er1
16724 grep -v '^ *+' conftest.er1
>conftest.err
16726 cat conftest.err
>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } &&
16729 { ac_try
='test -z "$ac_c_werror_flag"
16730 || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try
='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 ac_cv_sys_largefile_source
=1; break
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16752 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16753 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16754 if test "$ac_cv_sys_largefile_source" != no
; then
16756 cat >>confdefs.h
<<_ACEOF
16757 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16763 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16764 # in glibc 2.1.3, but that breaks too many other things.
16765 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16766 echo "$as_me:$LINENO: checking for fseeko" >&5
16767 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16768 if test "${ac_cv_func_fseeko+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 cat >conftest.
$ac_ext <<_ACEOF
16774 cat confdefs.h
>>conftest.
$ac_ext
16775 cat >>conftest.
$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16781 return fseeko && fseeko (stdin, 0, 0);
16786 rm -f conftest.
$ac_objext conftest
$ac_exeext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16788 (eval $ac_link) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_c_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest$ac_exeext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_func_fseeko
=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_cv_func_fseeko
=no
16815 rm -f conftest.err conftest.
$ac_objext \
16816 conftest
$ac_exeext conftest.
$ac_ext
16818 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16819 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16820 if test $ac_cv_func_fseeko = yes; then
16822 cat >>confdefs.h
<<\_ACEOF
16823 #define HAVE_FSEEKO 1
16829 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16830 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16831 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 # Use it with a single arg.
16835 cat >conftest.
$ac_ext <<_ACEOF
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 $ac_includes_default
16850 rm -f conftest.
$ac_objext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>conftest.er1
16854 grep -v '^ *+' conftest.er1
>conftest.err
16856 cat conftest.err
>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } &&
16859 { ac_try
='test -z "$ac_c_werror_flag"
16860 || test ! -s conftest.err'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; } &&
16866 { ac_try
='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 ac_cv_func_getpgrp_void
=no
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.
$ac_ext >&5
16877 ac_cv_func_getpgrp_void
=yes
16879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16882 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16883 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16884 if test $ac_cv_func_getpgrp_void = yes; then
16886 cat >>confdefs.h
<<\_ACEOF
16887 #define GETPGRP_VOID 1
16894 for ac_func
in strftime
16896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16897 echo "$as_me:$LINENO: checking for $ac_func" >&5
16898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16899 if eval "test \"\${$as_ac_var+set}\" = set"; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 cat >conftest.
$ac_ext <<_ACEOF
16905 cat confdefs.h
>>conftest.
$ac_ext
16906 cat >>conftest.
$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16910 #define $ac_func innocuous_$ac_func
16912 /* System header to define __stub macros and hopefully few prototypes,
16913 which can conflict with char $ac_func (); below.
16914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16915 <limits.h> exists even on freestanding compilers. */
16918 # include <limits.h>
16920 # include <assert.h>
16925 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16933 /* The GNU C library defines this for functions which it implements
16934 to always fail with ENOSYS. Some functions are actually named
16935 something starting with __ and the normal name is an alias. */
16936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16939 char (*f) () = $ac_func;
16948 return f != $ac_func;
16953 rm -f conftest.
$ac_objext conftest
$ac_exeext
16954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16955 (eval $ac_link) 2>conftest.er1
16957 grep -v '^ *+' conftest.er1
>conftest.err
16959 cat conftest.err
>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try
='test -z "$ac_c_werror_flag"
16963 || 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"
17033 || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try
='test -s conftest$ac_exeext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_cv_lib_intl_strftime
=yes
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.
$ac_ext >&5
17050 ac_cv_lib_intl_strftime
=no
17052 rm -f conftest.err conftest.
$ac_objext \
17053 conftest
$ac_exeext conftest.
$ac_ext
17054 LIBS
=$ac_check_lib_save_LIBS
17056 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17057 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
17058 if test $ac_cv_lib_intl_strftime = yes; then
17059 cat >>confdefs.h
<<\_ACEOF
17060 #define HAVE_STRFTIME 1
17063 LIBS
="-lintl $LIBS"
17072 for ac_func
in grantpt
17074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17075 echo "$as_me:$LINENO: checking for $ac_func" >&5
17076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17077 if eval "test \"\${$as_ac_var+set}\" = set"; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 cat >conftest.
$ac_ext <<_ACEOF
17083 cat confdefs.h
>>conftest.
$ac_ext
17084 cat >>conftest.
$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17088 #define $ac_func innocuous_$ac_func
17090 /* System header to define __stub macros and hopefully few prototypes,
17091 which can conflict with char $ac_func (); below.
17092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17093 <limits.h> exists even on freestanding compilers. */
17096 # include <limits.h>
17098 # include <assert.h>
17103 /* Override any gcc2 internal prototype to avoid an error. */
17108 /* We use char because int might match the return type of a gcc2
17109 builtin and then its argument prototype would still apply. */
17111 /* The GNU C library defines this for functions which it implements
17112 to always fail with ENOSYS. Some functions are actually named
17113 something starting with __ and the normal name is an alias. */
17114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17117 char (*f) () = $ac_func;
17126 return f != $ac_func;
17131 rm -f conftest.
$ac_objext conftest
$ac_exeext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17133 (eval $ac_link) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try
='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest$ac_exeext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 eval "$as_ac_var=yes"
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 eval "$as_ac_var=no"
17160 rm -f conftest.err conftest.
$ac_objext \
17161 conftest
$ac_exeext conftest.
$ac_ext
17163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17165 if test `eval echo '${'$as_ac_var'}'` = yes; then
17166 cat >>confdefs.h
<<_ACEOF
17167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17174 # PTY-related GNU extensions.
17176 for ac_func
in getpt
17178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17179 echo "$as_me:$LINENO: checking for $ac_func" >&5
17180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17181 if eval "test \"\${$as_ac_var+set}\" = set"; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 cat >conftest.
$ac_ext <<_ACEOF
17187 cat confdefs.h
>>conftest.
$ac_ext
17188 cat >>conftest.
$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17192 #define $ac_func innocuous_$ac_func
17194 /* System header to define __stub macros and hopefully few prototypes,
17195 which can conflict with char $ac_func (); below.
17196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17197 <limits.h> exists even on freestanding compilers. */
17200 # include <limits.h>
17202 # include <assert.h>
17207 /* Override any gcc2 internal prototype to avoid an error. */
17212 /* We use char because int might match the return type of a gcc2
17213 builtin and then its argument prototype would still apply. */
17215 /* The GNU C library defines this for functions which it implements
17216 to always fail with ENOSYS. Some functions are actually named
17217 something starting with __ and the normal name is an alias. */
17218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17221 char (*f) () = $ac_func;
17230 return f != $ac_func;
17235 rm -f conftest.
$ac_objext conftest
$ac_exeext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17237 (eval $ac_link) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try
='test -z "$ac_c_werror_flag"
17245 || test ! -s conftest.err'
17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; } &&
17251 { ac_try
='test -s conftest$ac_exeext'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; }; then
17257 eval "$as_ac_var=yes"
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.
$ac_ext >&5
17262 eval "$as_ac_var=no"
17264 rm -f conftest.err conftest.
$ac_objext \
17265 conftest
$ac_exeext conftest.
$ac_ext
17267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17269 if test `eval echo '${'$as_ac_var'}'` = yes; then
17270 cat >>confdefs.h
<<_ACEOF
17271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17278 # Check this now, so that we will NOT find the above functions in ncurses.
17279 # That is because we have not set up to link ncurses in lib-src.
17280 # It's better to believe a function is not available
17281 # than to expect to find it in ncurses.
17283 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
17284 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
17285 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 ac_check_lib_save_LIBS
=$LIBS
17289 LIBS
="-lncurses $LIBS"
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17297 /* Override any gcc2 internal prototype to avoid an error. */
17301 /* We use char because int might match the return type of a gcc2
17302 builtin and then its argument prototype would still apply. */
17312 rm -f conftest.
$ac_objext conftest
$ac_exeext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17314 (eval $ac_link) 2>conftest.er1
17316 grep -v '^ *+' conftest.er1
>conftest.err
17318 cat conftest.err
>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try
='test -z "$ac_c_werror_flag"
17322 || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try
='test -s conftest$ac_exeext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_cv_lib_ncurses_tparm
=yes
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.
$ac_ext >&5
17339 ac_cv_lib_ncurses_tparm
=no
17341 rm -f conftest.err conftest.
$ac_objext \
17342 conftest
$ac_exeext conftest.
$ac_ext
17343 LIBS
=$ac_check_lib_save_LIBS
17345 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
17346 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
17347 if test $ac_cv_lib_ncurses_tparm = yes; then
17348 cat >>confdefs.h
<<_ACEOF
17349 #define HAVE_LIBNCURSES 1
17352 LIBS
="-lncurses $LIBS"
17357 # Do we need the Hesiod library to provide the support routines?
17358 if test "$with_hesiod" = yes ; then
17359 # Don't set $LIBS here -- see comments above.
17361 echo "$as_me:$LINENO: checking for res_send" >&5
17362 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
17363 if test "${ac_cv_func_res_send+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 cat >conftest.
$ac_ext <<_ACEOF
17369 cat confdefs.h
>>conftest.
$ac_ext
17370 cat >>conftest.
$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17372 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
17373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17374 #define res_send innocuous_res_send
17376 /* System header to define __stub macros and hopefully few prototypes,
17377 which can conflict with char res_send (); below.
17378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17379 <limits.h> exists even on freestanding compilers. */
17382 # include <limits.h>
17384 # include <assert.h>
17389 /* Override any gcc2 internal prototype to avoid an error. */
17394 /* We use char because int might match the return type of a gcc2
17395 builtin and then its argument prototype would still apply. */
17397 /* The GNU C library defines this for functions which it implements
17398 to always fail with ENOSYS. Some functions are actually named
17399 something starting with __ and the normal name is an alias. */
17400 #if defined (__stub_res_send) || defined (__stub___res_send)
17403 char (*f) () = res_send;
17412 return f != res_send;
17417 rm -f conftest.
$ac_objext conftest
$ac_exeext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17419 (eval $ac_link) 2>conftest.er1
17421 grep -v '^ *+' conftest.er1
>conftest.err
17423 cat conftest.err
>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try
='test -z "$ac_c_werror_flag"
17427 || test ! -s conftest.err'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try
='test -s conftest$ac_exeext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_cv_func_res_send
=yes
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 ac_cv_func_res_send
=no
17446 rm -f conftest.err conftest.
$ac_objext \
17447 conftest
$ac_exeext conftest.
$ac_ext
17449 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
17450 echo "${ECHO_T}$ac_cv_func_res_send" >&6
17451 if test $ac_cv_func_res_send = yes; then
17454 echo "$as_me:$LINENO: checking for __res_send" >&5
17455 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
17456 if test "${ac_cv_func___res_send+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 cat >conftest.
$ac_ext <<_ACEOF
17462 cat confdefs.h
>>conftest.
$ac_ext
17463 cat >>conftest.
$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
17466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17467 #define __res_send innocuous___res_send
17469 /* System header to define __stub macros and hopefully few prototypes,
17470 which can conflict with char __res_send (); below.
17471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17472 <limits.h> exists even on freestanding compilers. */
17475 # include <limits.h>
17477 # include <assert.h>
17482 /* Override any gcc2 internal prototype to avoid an error. */
17487 /* We use char because int might match the return type of a gcc2
17488 builtin and then its argument prototype would still apply. */
17489 char __res_send ();
17490 /* The GNU C library defines this for functions which it implements
17491 to always fail with ENOSYS. Some functions are actually named
17492 something starting with __ and the normal name is an alias. */
17493 #if defined (__stub___res_send) || defined (__stub_____res_send)
17496 char (*f) () = __res_send;
17505 return f != __res_send;
17510 rm -f conftest.
$ac_objext conftest
$ac_exeext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17512 (eval $ac_link) 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try
='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
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); }; } &&
17526 { ac_try
='test -s conftest$ac_exeext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_cv_func___res_send
=yes
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.
$ac_ext >&5
17537 ac_cv_func___res_send
=no
17539 rm -f conftest.err conftest.
$ac_objext \
17540 conftest
$ac_exeext conftest.
$ac_ext
17542 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
17543 echo "${ECHO_T}$ac_cv_func___res_send" >&6
17544 if test $ac_cv_func___res_send = yes; then
17547 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
17548 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
17549 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17552 ac_check_lib_save_LIBS
=$LIBS
17553 LIBS
="-lresolv $LIBS"
17554 cat >conftest.
$ac_ext <<_ACEOF
17557 cat confdefs.h
>>conftest.
$ac_ext
17558 cat >>conftest.
$ac_ext <<_ACEOF
17559 /* end confdefs.h. */
17561 /* Override any gcc2 internal prototype to avoid an error. */
17565 /* We use char because int might match the return type of a gcc2
17566 builtin and then its argument prototype would still apply. */
17576 rm -f conftest.
$ac_objext conftest
$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>conftest.er1
17580 grep -v '^ *+' conftest.er1
>conftest.err
17582 cat conftest.err
>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try
='test -z "$ac_c_werror_flag"
17586 || test ! -s conftest.err'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try
='test -s conftest$ac_exeext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 ac_cv_lib_resolv_res_send
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_cv_lib_resolv_res_send
=no
17605 rm -f conftest.err conftest.
$ac_objext \
17606 conftest
$ac_exeext conftest.
$ac_ext
17607 LIBS
=$ac_check_lib_save_LIBS
17609 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
17610 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
17611 if test $ac_cv_lib_resolv_res_send = yes; then
17614 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
17615 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
17616 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 ac_check_lib_save_LIBS
=$LIBS
17620 LIBS
="-lresolv $LIBS"
17621 cat >conftest.
$ac_ext <<_ACEOF
17624 cat confdefs.h
>>conftest.
$ac_ext
17625 cat >>conftest.
$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17628 /* Override any gcc2 internal prototype to avoid an error. */
17632 /* We use char because int might match the return type of a gcc2
17633 builtin and then its argument prototype would still apply. */
17634 char __res_send ();
17643 rm -f conftest.
$ac_objext conftest
$ac_exeext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17645 (eval $ac_link) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_c_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try
='test -s conftest$ac_exeext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_cv_lib_resolv___res_send
=yes
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 ac_cv_lib_resolv___res_send
=no
17672 rm -f conftest.err conftest.
$ac_objext \
17673 conftest
$ac_exeext conftest.
$ac_ext
17674 LIBS
=$ac_check_lib_save_LIBS
17676 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17677 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17678 if test $ac_cv_lib_resolv___res_send = yes; then
17688 if test "$resolv" = yes ; then
17691 cat >>confdefs.h
<<\_ACEOF
17692 #define HAVE_LIBRESOLV 1
17698 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17699 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17700 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17711 #define hes_getmailhost innocuous_hes_getmailhost
17713 /* System header to define __stub macros and hopefully few prototypes,
17714 which can conflict with char hes_getmailhost (); below.
17715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17716 <limits.h> exists even on freestanding compilers. */
17719 # include <limits.h>
17721 # include <assert.h>
17724 #undef hes_getmailhost
17726 /* Override any gcc2 internal prototype to avoid an error. */
17731 /* We use char because int might match the return type of a gcc2
17732 builtin and then its argument prototype would still apply. */
17733 char hes_getmailhost ();
17734 /* The GNU C library defines this for functions which it implements
17735 to always fail with ENOSYS. Some functions are actually named
17736 something starting with __ and the normal name is an alias. */
17737 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17740 char (*f) () = hes_getmailhost;
17749 return f != hes_getmailhost;
17754 rm -f conftest.
$ac_objext conftest
$ac_exeext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17756 (eval $ac_link) 2>conftest.er1
17758 grep -v '^ *+' conftest.er1
>conftest.err
17760 cat conftest.err
>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try
='test -z "$ac_c_werror_flag"
17764 || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest$ac_exeext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17776 ac_cv_func_hes_getmailhost
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_cv_func_hes_getmailhost
=no
17783 rm -f conftest.err conftest.
$ac_objext \
17784 conftest
$ac_exeext conftest.
$ac_ext
17786 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17787 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17788 if test $ac_cv_func_hes_getmailhost = yes; then
17791 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17792 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17793 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 ac_check_lib_save_LIBS
=$LIBS
17797 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17798 cat >conftest.
$ac_ext <<_ACEOF
17801 cat confdefs.h
>>conftest.
$ac_ext
17802 cat >>conftest.
$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17805 /* Override any gcc2 internal prototype to avoid an error. */
17809 /* We use char because int might match the return type of a gcc2
17810 builtin and then its argument prototype would still apply. */
17811 char hes_getmailhost ();
17815 hes_getmailhost ();
17820 rm -f conftest.
$ac_objext conftest
$ac_exeext
17821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17822 (eval $ac_link) 2>conftest.er1
17824 grep -v '^ *+' conftest.er1
>conftest.err
17826 cat conftest.err
>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try
='test -z "$ac_c_werror_flag"
17830 || test ! -s conftest.err'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; } &&
17836 { ac_try
='test -s conftest$ac_exeext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_cv_lib_hesiod_hes_getmailhost
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 ac_cv_lib_hesiod_hes_getmailhost
=no
17849 rm -f conftest.err conftest.
$ac_objext \
17850 conftest
$ac_exeext conftest.
$ac_ext
17851 LIBS
=$ac_check_lib_save_LIBS
17853 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17854 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17855 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17857 cat >>confdefs.h
<<\_ACEOF
17858 #define HAVE_LIBHESIOD 1
17869 # These tell us which Kerberos-related libraries to use.
17870 if test "${with_kerberos+set}" = set; then
17872 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17873 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17874 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 ac_check_lib_save_LIBS
=$LIBS
17878 LIBS
="-lcom_err $LIBS"
17879 cat >conftest.
$ac_ext <<_ACEOF
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17886 /* Override any gcc2 internal prototype to avoid an error. */
17890 /* We use char because int might match the return type of a gcc2
17891 builtin and then its argument prototype would still apply. */
17901 rm -f conftest.
$ac_objext conftest
$ac_exeext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17903 (eval $ac_link) 2>conftest.er1
17905 grep -v '^ *+' conftest.er1
>conftest.err
17907 cat conftest.err
>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try
='test -z "$ac_c_werror_flag"
17911 || test ! -s conftest.err'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; } &&
17917 { ac_try
='test -s conftest$ac_exeext'
17918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17919 (eval $ac_try) 2>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); }; }; then
17923 ac_cv_lib_com_err_com_err
=yes
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 ac_cv_lib_com_err_com_err
=no
17930 rm -f conftest.err conftest.
$ac_objext \
17931 conftest
$ac_exeext conftest.
$ac_ext
17932 LIBS
=$ac_check_lib_save_LIBS
17934 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17935 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17936 if test $ac_cv_lib_com_err_com_err = yes; then
17937 cat >>confdefs.h
<<_ACEOF
17938 #define HAVE_LIBCOM_ERR 1
17941 LIBS
="-lcom_err $LIBS"
17946 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17947 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17948 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 ac_check_lib_save_LIBS
=$LIBS
17952 LIBS
="-lk5crypto $LIBS"
17953 cat >conftest.
$ac_ext <<_ACEOF
17956 cat confdefs.h
>>conftest.
$ac_ext
17957 cat >>conftest.
$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17960 /* Override any gcc2 internal prototype to avoid an error. */
17964 /* We use char because int might match the return type of a gcc2
17965 builtin and then its argument prototype would still apply. */
17966 char mit_des_cbc_encrypt ();
17970 mit_des_cbc_encrypt ();
17975 rm -f conftest.
$ac_objext conftest
$ac_exeext
17976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17977 (eval $ac_link) 2>conftest.er1
17979 grep -v '^ *+' conftest.er1
>conftest.err
17981 cat conftest.err
>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try
='test -z "$ac_c_werror_flag"
17985 || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try
='test -s conftest$ac_exeext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17997 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.
$ac_ext >&5
18002 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
18004 rm -f conftest.err conftest.
$ac_objext \
18005 conftest
$ac_exeext conftest.
$ac_ext
18006 LIBS
=$ac_check_lib_save_LIBS
18008 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
18009 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
18010 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
18011 cat >>confdefs.h
<<_ACEOF
18012 #define HAVE_LIBK5CRYPTO 1
18015 LIBS
="-lk5crypto $LIBS"
18020 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
18021 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
18022 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 ac_check_lib_save_LIBS
=$LIBS
18026 LIBS
="-lcrypto $LIBS"
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18034 /* Override any gcc2 internal prototype to avoid an error. */
18038 /* We use char because int might match the return type of a gcc2
18039 builtin and then its argument prototype would still apply. */
18040 char mit_des_cbc_encrypt ();
18044 mit_des_cbc_encrypt ();
18049 rm -f conftest.
$ac_objext conftest
$ac_exeext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18051 (eval $ac_link) 2>conftest.er1
18053 grep -v '^ *+' conftest.er1
>conftest.err
18055 cat conftest.err
>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try
='test -z "$ac_c_werror_flag"
18059 || test ! -s conftest.err'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; } &&
18065 { ac_try
='test -s conftest$ac_exeext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18071 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.
$ac_ext >&5
18076 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
18078 rm -f conftest.err conftest.
$ac_objext \
18079 conftest
$ac_exeext conftest.
$ac_ext
18080 LIBS
=$ac_check_lib_save_LIBS
18082 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
18083 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
18084 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
18085 cat >>confdefs.h
<<_ACEOF
18086 #define HAVE_LIBCRYPTO 1
18089 LIBS
="-lcrypto $LIBS"
18094 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
18095 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
18096 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 ac_check_lib_save_LIBS
=$LIBS
18100 LIBS
="-lkrb5 $LIBS"
18101 cat >conftest.
$ac_ext <<_ACEOF
18104 cat confdefs.h
>>conftest.
$ac_ext
18105 cat >>conftest.
$ac_ext <<_ACEOF
18106 /* end confdefs.h. */
18108 /* Override any gcc2 internal prototype to avoid an error. */
18112 /* We use char because int might match the return type of a gcc2
18113 builtin and then its argument prototype would still apply. */
18114 char krb5_init_context ();
18118 krb5_init_context ();
18123 rm -f conftest.
$ac_objext conftest
$ac_exeext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18125 (eval $ac_link) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1
>conftest.err
18129 cat conftest.err
>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try
='test -z "$ac_c_werror_flag"
18133 || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try
='test -s conftest$ac_exeext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18145 ac_cv_lib_krb5_krb5_init_context
=yes
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 ac_cv_lib_krb5_krb5_init_context
=no
18152 rm -f conftest.err conftest.
$ac_objext \
18153 conftest
$ac_exeext conftest.
$ac_ext
18154 LIBS
=$ac_check_lib_save_LIBS
18156 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18157 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
18158 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18159 cat >>confdefs.h
<<_ACEOF
18160 #define HAVE_LIBKRB5 1
18163 LIBS
="-lkrb5 $LIBS"
18167 if test "${with_kerberos5+set}" != set; then
18169 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
18170 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
18171 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 ac_check_lib_save_LIBS
=$LIBS
18175 LIBS
="-ldes425 $LIBS"
18176 cat >conftest.
$ac_ext <<_ACEOF
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18183 /* Override any gcc2 internal prototype to avoid an error. */
18187 /* We use char because int might match the return type of a gcc2
18188 builtin and then its argument prototype would still apply. */
18189 char des_cbc_encrypt ();
18193 des_cbc_encrypt ();
18198 rm -f conftest.
$ac_objext conftest
$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try
='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try
='test -s conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_lib_des425_des_cbc_encrypt
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_cv_lib_des425_des_cbc_encrypt
=no
18227 rm -f conftest.err conftest.
$ac_objext \
18228 conftest
$ac_exeext conftest.
$ac_ext
18229 LIBS
=$ac_check_lib_save_LIBS
18231 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
18232 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
18233 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
18234 cat >>confdefs.h
<<_ACEOF
18235 #define HAVE_LIBDES425 1
18238 LIBS
="-ldes425 $LIBS"
18242 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
18243 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
18244 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 ac_check_lib_save_LIBS
=$LIBS
18249 cat >conftest.
$ac_ext <<_ACEOF
18252 cat confdefs.h
>>conftest.
$ac_ext
18253 cat >>conftest.
$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18256 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18262 char des_cbc_encrypt ();
18266 des_cbc_encrypt ();
18271 rm -f conftest.
$ac_objext conftest
$ac_exeext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag"
18281 || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest$ac_exeext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_lib_des_des_cbc_encrypt
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 ac_cv_lib_des_des_cbc_encrypt
=no
18300 rm -f conftest.err conftest.
$ac_objext \
18301 conftest
$ac_exeext conftest.
$ac_ext
18302 LIBS
=$ac_check_lib_save_LIBS
18304 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
18305 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
18306 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
18307 cat >>confdefs.h
<<_ACEOF
18308 #define HAVE_LIBDES 1
18318 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
18319 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
18320 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 ac_check_lib_save_LIBS
=$LIBS
18324 LIBS
="-lkrb4 $LIBS"
18325 cat >conftest.
$ac_ext <<_ACEOF
18328 cat confdefs.h
>>conftest.
$ac_ext
18329 cat >>conftest.
$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18332 /* Override any gcc2 internal prototype to avoid an error. */
18336 /* We use char because int might match the return type of a gcc2
18337 builtin and then its argument prototype would still apply. */
18338 char krb_get_cred ();
18347 rm -f conftest.
$ac_objext conftest
$ac_exeext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18349 (eval $ac_link) 2>conftest.er1
18351 grep -v '^ *+' conftest.er1
>conftest.err
18353 cat conftest.err
>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try
='test -z "$ac_c_werror_flag"
18357 || test ! -s conftest.err'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; } &&
18363 { ac_try
='test -s conftest$ac_exeext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_lib_krb4_krb_get_cred
=yes
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.
$ac_ext >&5
18374 ac_cv_lib_krb4_krb_get_cred
=no
18376 rm -f conftest.err conftest.
$ac_objext \
18377 conftest
$ac_exeext conftest.
$ac_ext
18378 LIBS
=$ac_check_lib_save_LIBS
18380 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
18381 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
18382 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
18383 cat >>confdefs.h
<<_ACEOF
18384 #define HAVE_LIBKRB4 1
18387 LIBS
="-lkrb4 $LIBS"
18391 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
18392 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
18393 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18396 ac_check_lib_save_LIBS
=$LIBS
18398 cat >conftest.
$ac_ext <<_ACEOF
18401 cat confdefs.h
>>conftest.
$ac_ext
18402 cat >>conftest.
$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18405 /* Override any gcc2 internal prototype to avoid an error. */
18409 /* We use char because int might match the return type of a gcc2
18410 builtin and then its argument prototype would still apply. */
18411 char krb_get_cred ();
18420 rm -f conftest.
$ac_objext conftest
$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest$ac_exeext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_lib_krb_krb_get_cred
=yes
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.
$ac_ext >&5
18447 ac_cv_lib_krb_krb_get_cred
=no
18449 rm -f conftest.err conftest.
$ac_objext \
18450 conftest
$ac_exeext conftest.
$ac_ext
18451 LIBS
=$ac_check_lib_save_LIBS
18453 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
18454 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
18455 if test $ac_cv_lib_krb_krb_get_cred = yes; then
18456 cat >>confdefs.h
<<_ACEOF
18457 #define HAVE_LIBKRB 1
18468 if test "${with_kerberos5+set}" = set; then
18470 for ac_header
in krb5.h
18472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18474 echo "$as_me:$LINENO: checking for $ac_header" >&5
18475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18477 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18482 # Is the header compilable?
18483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18485 cat >conftest.
$ac_ext <<_ACEOF
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 $ac_includes_default
18492 #include <$ac_header>
18494 rm -f conftest.
$ac_objext
18495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18496 (eval $ac_compile) 2>conftest.er1
18498 grep -v '^ *+' conftest.er1
>conftest.err
18500 cat conftest.err
>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } &&
18503 { ac_try
='test -z "$ac_c_werror_flag"
18504 || test ! -s conftest.err'
18505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18506 (eval $ac_try) 2>&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; } &&
18510 { ac_try
='test -s conftest.$ac_objext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_header_compiler
=yes
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.
$ac_ext >&5
18521 ac_header_compiler
=no
18523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18525 echo "${ECHO_T}$ac_header_compiler" >&6
18527 # Is the header present?
18528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18530 cat >conftest.
$ac_ext <<_ACEOF
18533 cat confdefs.h
>>conftest.
$ac_ext
18534 cat >>conftest.
$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 #include <$ac_header>
18538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18541 grep -v '^ *+' conftest.er1
>conftest.err
18543 cat conftest.err
>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } >/dev
/null
; then
18546 if test -s conftest.err
; then
18547 ac_cpp_err
=$ac_c_preproc_warn_flag
18548 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18555 if test -z "$ac_cpp_err"; then
18556 ac_header_preproc
=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.
$ac_ext >&5
18561 ac_header_preproc
=no
18563 rm -f conftest.err conftest.
$ac_ext
18564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18565 echo "${ECHO_T}$ac_header_preproc" >&6
18567 # So? What about this header?
18568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18574 ac_header_preproc
=yes
18577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18591 ## ------------------------------------------ ##
18592 ## Report this to the AC_PACKAGE_NAME lists. ##
18593 ## ------------------------------------------ ##
18596 sed "s/^/$as_me: WARNING: /" >&2
18599 echo "$as_me:$LINENO: checking for $ac_header" >&5
18600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 eval "$as_ac_Header=\$ac_header_preproc"
18606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18611 cat >>confdefs.h
<<_ACEOF
18612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18621 for ac_header
in des.h
18623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18625 echo "$as_me:$LINENO: checking for $ac_header" >&5
18626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18633 # Is the header compilable?
18634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18636 cat >conftest.
$ac_ext <<_ACEOF
18639 cat confdefs.h
>>conftest.
$ac_ext
18640 cat >>conftest.
$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 $ac_includes_default
18643 #include <$ac_header>
18645 rm -f conftest.
$ac_objext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18647 (eval $ac_compile) 2>conftest.er1
18649 grep -v '^ *+' conftest.er1
>conftest.err
18651 cat conftest.err
>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } &&
18654 { ac_try
='test -z "$ac_c_werror_flag"
18655 || test ! -s conftest.err'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; } &&
18661 { ac_try
='test -s conftest.$ac_objext'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; }; then
18667 ac_header_compiler
=yes
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.
$ac_ext >&5
18672 ac_header_compiler
=no
18674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18676 echo "${ECHO_T}$ac_header_compiler" >&6
18678 # Is the header present?
18679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18681 cat >conftest.
$ac_ext <<_ACEOF
18684 cat confdefs.h
>>conftest.
$ac_ext
18685 cat >>conftest.
$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18687 #include <$ac_header>
18689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18692 grep -v '^ *+' conftest.er1
>conftest.err
18694 cat conftest.err
>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } >/dev
/null
; then
18697 if test -s conftest.err
; then
18698 ac_cpp_err
=$ac_c_preproc_warn_flag
18699 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18706 if test -z "$ac_cpp_err"; then
18707 ac_header_preproc
=yes
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.
$ac_ext >&5
18712 ac_header_preproc
=no
18714 rm -f conftest.err conftest.
$ac_ext
18715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18716 echo "${ECHO_T}$ac_header_preproc" >&6
18718 # So? What about this header?
18719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18725 ac_header_preproc
=yes
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18742 ## ------------------------------------------ ##
18743 ## Report this to the AC_PACKAGE_NAME lists. ##
18744 ## ------------------------------------------ ##
18747 sed "s/^/$as_me: WARNING: /" >&2
18750 echo "$as_me:$LINENO: checking for $ac_header" >&5
18751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 eval "$as_ac_Header=\$ac_header_preproc"
18757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18762 cat >>confdefs.h
<<_ACEOF
18763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18768 for ac_header
in kerberosIV
/des.h
18770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18772 echo "$as_me:$LINENO: checking for $ac_header" >&5
18773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18780 # Is the header compilable?
18781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18783 cat >conftest.
$ac_ext <<_ACEOF
18786 cat confdefs.h
>>conftest.
$ac_ext
18787 cat >>conftest.
$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 $ac_includes_default
18790 #include <$ac_header>
18792 rm -f conftest.
$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1
>conftest.err
18798 cat conftest.err
>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try
='test -z "$ac_c_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try
='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_header_compiler
=yes
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18819 ac_header_compiler
=no
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18823 echo "${ECHO_T}$ac_header_compiler" >&6
18825 # Is the header present?
18826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18828 cat >conftest.
$ac_ext <<_ACEOF
18831 cat confdefs.h
>>conftest.
$ac_ext
18832 cat >>conftest.
$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834 #include <$ac_header>
18836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } >/dev
/null
; then
18844 if test -s conftest.err
; then
18845 ac_cpp_err
=$ac_c_preproc_warn_flag
18846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18853 if test -z "$ac_cpp_err"; then
18854 ac_header_preproc
=yes
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.
$ac_ext >&5
18859 ac_header_preproc
=no
18861 rm -f conftest.err conftest.
$ac_ext
18862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18863 echo "${ECHO_T}$ac_header_preproc" >&6
18865 # So? What about this header?
18866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18871 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18872 ac_header_preproc
=yes
18875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18879 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18880 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18881 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18882 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18885 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18886 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18889 ## ------------------------------------------ ##
18890 ## Report this to the AC_PACKAGE_NAME lists. ##
18891 ## ------------------------------------------ ##
18894 sed "s/^/$as_me: WARNING: /" >&2
18897 echo "$as_me:$LINENO: checking for $ac_header" >&5
18898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 eval "$as_ac_Header=\$ac_header_preproc"
18904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18909 cat >>confdefs.h
<<_ACEOF
18910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18915 for ac_header
in kerberos
/des.h
18917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18919 echo "$as_me:$LINENO: checking for $ac_header" >&5
18920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18927 # Is the header compilable?
18928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18930 cat >conftest.
$ac_ext <<_ACEOF
18933 cat confdefs.h
>>conftest.
$ac_ext
18934 cat >>conftest.
$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 $ac_includes_default
18937 #include <$ac_header>
18939 rm -f conftest.
$ac_objext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18941 (eval $ac_compile) 2>conftest.er1
18943 grep -v '^ *+' conftest.er1
>conftest.err
18945 cat conftest.err
>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } &&
18948 { ac_try
='test -z "$ac_c_werror_flag"
18949 || test ! -s conftest.err'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; } &&
18955 { ac_try
='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_header_compiler
=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.
$ac_ext >&5
18966 ac_header_compiler
=no
18968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18970 echo "${ECHO_T}$ac_header_compiler" >&6
18972 # Is the header present?
18973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18975 cat >conftest.
$ac_ext <<_ACEOF
18978 cat confdefs.h
>>conftest.
$ac_ext
18979 cat >>conftest.
$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <$ac_header>
18983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18986 grep -v '^ *+' conftest.er1
>conftest.err
18988 cat conftest.err
>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } >/dev
/null
; then
18991 if test -s conftest.err
; then
18992 ac_cpp_err
=$ac_c_preproc_warn_flag
18993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19000 if test -z "$ac_cpp_err"; then
19001 ac_header_preproc
=yes
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.
$ac_ext >&5
19006 ac_header_preproc
=no
19008 rm -f conftest.err conftest.
$ac_ext
19009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19010 echo "${ECHO_T}$ac_header_preproc" >&6
19012 # So? What about this header?
19013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19019 ac_header_preproc
=yes
19022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19036 ## ------------------------------------------ ##
19037 ## Report this to the AC_PACKAGE_NAME lists. ##
19038 ## ------------------------------------------ ##
19041 sed "s/^/$as_me: WARNING: /" >&2
19044 echo "$as_me:$LINENO: checking for $ac_header" >&5
19045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19049 eval "$as_ac_Header=\$ac_header_preproc"
19051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19056 cat >>confdefs.h
<<_ACEOF
19057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19073 for ac_header
in krb.h
19075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19077 echo "$as_me:$LINENO: checking for $ac_header" >&5
19078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19085 # Is the header compilable?
19086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19088 cat >conftest.
$ac_ext <<_ACEOF
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 $ac_includes_default
19095 #include <$ac_header>
19097 rm -f conftest.
$ac_objext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19099 (eval $ac_compile) 2>conftest.er1
19101 grep -v '^ *+' conftest.er1
>conftest.err
19103 cat conftest.err
>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try
='test -z "$ac_c_werror_flag"
19107 || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try
='test -s conftest.$ac_objext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_header_compiler
=yes
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.
$ac_ext >&5
19124 ac_header_compiler
=no
19126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19128 echo "${ECHO_T}$ac_header_compiler" >&6
19130 # Is the header present?
19131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19133 cat >conftest.
$ac_ext <<_ACEOF
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <$ac_header>
19141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } >/dev
/null
; then
19149 if test -s conftest.err
; then
19150 ac_cpp_err
=$ac_c_preproc_warn_flag
19151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19158 if test -z "$ac_cpp_err"; then
19159 ac_header_preproc
=yes
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19164 ac_header_preproc
=no
19166 rm -f conftest.err conftest.
$ac_ext
19167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19168 echo "${ECHO_T}$ac_header_preproc" >&6
19170 # So? What about this header?
19171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19177 ac_header_preproc
=yes
19180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19194 ## ------------------------------------------ ##
19195 ## Report this to the AC_PACKAGE_NAME lists. ##
19196 ## ------------------------------------------ ##
19199 sed "s/^/$as_me: WARNING: /" >&2
19202 echo "$as_me:$LINENO: checking for $ac_header" >&5
19203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 eval "$as_ac_Header=\$ac_header_preproc"
19209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19214 cat >>confdefs.h
<<_ACEOF
19215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19220 for ac_header
in kerberosIV
/krb.h
19222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19224 echo "$as_me:$LINENO: checking for $ac_header" >&5
19225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19227 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19232 # Is the header compilable?
19233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19235 cat >conftest.
$ac_ext <<_ACEOF
19238 cat confdefs.h
>>conftest.
$ac_ext
19239 cat >>conftest.
$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 $ac_includes_default
19242 #include <$ac_header>
19244 rm -f conftest.
$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19248 grep -v '^ *+' conftest.er1
>conftest.err
19250 cat conftest.err
>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try
='test -z "$ac_c_werror_flag"
19254 || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try
='test -s conftest.$ac_objext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_header_compiler
=yes
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ac_header_compiler
=no
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19275 echo "${ECHO_T}$ac_header_compiler" >&6
19277 # Is the header present?
19278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19280 cat >conftest.
$ac_ext <<_ACEOF
19283 cat confdefs.h
>>conftest.
$ac_ext
19284 cat >>conftest.
$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <$ac_header>
19288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } >/dev
/null
; then
19296 if test -s conftest.err
; then
19297 ac_cpp_err
=$ac_c_preproc_warn_flag
19298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19305 if test -z "$ac_cpp_err"; then
19306 ac_header_preproc
=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19311 ac_header_preproc
=no
19313 rm -f conftest.err conftest.
$ac_ext
19314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19315 echo "${ECHO_T}$ac_header_preproc" >&6
19317 # So? What about this header?
19318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19324 ac_header_preproc
=yes
19327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19341 ## ------------------------------------------ ##
19342 ## Report this to the AC_PACKAGE_NAME lists. ##
19343 ## ------------------------------------------ ##
19346 sed "s/^/$as_me: WARNING: /" >&2
19349 echo "$as_me:$LINENO: checking for $ac_header" >&5
19350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 eval "$as_ac_Header=\$ac_header_preproc"
19356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19361 cat >>confdefs.h
<<_ACEOF
19362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19367 for ac_header
in kerberos
/krb.h
19369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19371 echo "$as_me:$LINENO: checking for $ac_header" >&5
19372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19379 # Is the header compilable?
19380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 #include <$ac_header>
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_c_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try
='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 ac_header_compiler
=yes
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.
$ac_ext >&5
19418 ac_header_compiler
=no
19420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19422 echo "${ECHO_T}$ac_header_compiler" >&6
19424 # Is the header present?
19425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19427 cat >conftest.
$ac_ext <<_ACEOF
19430 cat confdefs.h
>>conftest.
$ac_ext
19431 cat >>conftest.
$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 #include <$ac_header>
19435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19438 grep -v '^ *+' conftest.er1
>conftest.err
19440 cat conftest.err
>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } >/dev
/null
; then
19443 if test -s conftest.err
; then
19444 ac_cpp_err
=$ac_c_preproc_warn_flag
19445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19452 if test -z "$ac_cpp_err"; then
19453 ac_header_preproc
=yes
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.
$ac_ext >&5
19458 ac_header_preproc
=no
19460 rm -f conftest.err conftest.
$ac_ext
19461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19462 echo "${ECHO_T}$ac_header_preproc" >&6
19464 # So? What about this header?
19465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19471 ac_header_preproc
=yes
19474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19488 ## ------------------------------------------ ##
19489 ## Report this to the AC_PACKAGE_NAME lists. ##
19490 ## ------------------------------------------ ##
19493 sed "s/^/$as_me: WARNING: /" >&2
19496 echo "$as_me:$LINENO: checking for $ac_header" >&5
19497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 eval "$as_ac_Header=\$ac_header_preproc"
19503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19508 cat >>confdefs.h
<<_ACEOF
19509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19526 for ac_header
in com_err.h
19528 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19530 echo "$as_me:$LINENO: checking for $ac_header" >&5
19531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19538 # Is the header compilable?
19539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19541 cat >conftest.
$ac_ext <<_ACEOF
19544 cat confdefs.h
>>conftest.
$ac_ext
19545 cat >>conftest.
$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 $ac_includes_default
19548 #include <$ac_header>
19550 rm -f conftest.
$ac_objext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19552 (eval $ac_compile) 2>conftest.er1
19554 grep -v '^ *+' conftest.er1
>conftest.err
19556 cat conftest.err
>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try
='test -z "$ac_c_werror_flag"
19560 || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try
='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_header_compiler
=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.
$ac_ext >&5
19577 ac_header_compiler
=no
19579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19581 echo "${ECHO_T}$ac_header_compiler" >&6
19583 # Is the header present?
19584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 #include <$ac_header>
19594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19595 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } >/dev
/null
; then
19602 if test -s conftest.err
; then
19603 ac_cpp_err
=$ac_c_preproc_warn_flag
19604 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19611 if test -z "$ac_cpp_err"; then
19612 ac_header_preproc
=yes
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 ac_header_preproc
=no
19619 rm -f conftest.err conftest.
$ac_ext
19620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19621 echo "${ECHO_T}$ac_header_preproc" >&6
19623 # So? What about this header?
19624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19630 ac_header_preproc
=yes
19633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19647 ## ------------------------------------------ ##
19648 ## Report this to the AC_PACKAGE_NAME lists. ##
19649 ## ------------------------------------------ ##
19652 sed "s/^/$as_me: WARNING: /" >&2
19655 echo "$as_me:$LINENO: checking for $ac_header" >&5
19656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19658 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 eval "$as_ac_Header=\$ac_header_preproc"
19662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19667 cat >>confdefs.h
<<_ACEOF
19668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19677 # Solaris requires -lintl if you want strerror (which calls dgettext)
19678 # to return localized messages.
19680 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19681 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19682 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 ac_check_lib_save_LIBS
=$LIBS
19686 LIBS
="-lintl $LIBS"
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19694 /* Override any gcc2 internal prototype to avoid an error. */
19698 /* We use char because int might match the return type of a gcc2
19699 builtin and then its argument prototype would still apply. */
19709 rm -f conftest.
$ac_objext conftest
$ac_exeext
19710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19711 (eval $ac_link) 2>conftest.er1
19713 grep -v '^ *+' conftest.er1
>conftest.err
19715 cat conftest.err
>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } &&
19718 { ac_try
='test -z "$ac_c_werror_flag"
19719 || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try
='test -s conftest$ac_exeext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_cv_lib_intl_dgettext
=yes
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.
$ac_ext >&5
19736 ac_cv_lib_intl_dgettext
=no
19738 rm -f conftest.err conftest.
$ac_objext \
19739 conftest
$ac_exeext conftest.
$ac_ext
19740 LIBS
=$ac_check_lib_save_LIBS
19742 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19743 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19744 if test $ac_cv_lib_intl_dgettext = yes; then
19745 cat >>confdefs.h
<<_ACEOF
19746 #define HAVE_LIBINTL 1
19749 LIBS
="-lintl $LIBS"
19754 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19755 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19756 if test "${emacs_cv_localtime_cache+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 if test x
$ac_cv_func_tzset = xyes
; then
19760 if test "$cross_compiling" = yes; then
19761 # If we have tzset, assume the worst when cross-compiling.
19762 emacs_cv_localtime_cache
=yes
19764 cat >conftest.
$ac_ext <<_ACEOF
19767 cat confdefs.h
>>conftest.
$ac_ext
19768 cat >>conftest.
$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19771 extern char **environ;
19775 for (to = from = environ; (*to = *from); from++)
19776 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19779 char TZ_GMT0[] = "TZ=GMT0";
19780 char TZ_PST8[] = "TZ=PST8";
19783 time_t now = time ((time_t *) 0);
19784 int hour_GMT0, hour_unset;
19785 if (putenv (TZ_GMT0) != 0)
19787 hour_GMT0 = localtime (&now)->tm_hour;
19789 hour_unset = localtime (&now)->tm_hour;
19790 if (putenv (TZ_PST8) != 0)
19792 if (localtime (&now)->tm_hour == hour_GMT0)
19795 if (localtime (&now)->tm_hour != hour_unset)
19800 rm -f conftest
$ac_exeext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19802 (eval $ac_link) 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; }; then
19811 emacs_cv_localtime_cache
=no
19813 echo "$as_me: program exited with status $ac_status" >&5
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.
$ac_ext >&5
19817 ( exit $ac_status )
19818 emacs_cv_localtime_cache
=yes
19820 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19823 # If we lack tzset, report that localtime does not cache TZ,
19824 # since we can't invalidate the cache if we don't have tzset.
19825 emacs_cv_localtime_cache
=no
19828 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19829 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19830 if test $emacs_cv_localtime_cache = yes; then
19832 cat >>confdefs.h
<<\_ACEOF
19833 #define LOCALTIME_CACHE 1
19838 if test "x$HAVE_TIMEVAL" = xyes
; then
19840 for ac_func
in gettimeofday
19842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19843 echo "$as_me:$LINENO: checking for $ac_func" >&5
19844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19845 if eval "test \"\${$as_ac_var+set}\" = set"; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.
$ac_ext <<_ACEOF
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19856 #define $ac_func innocuous_$ac_func
19858 /* System header to define __stub macros and hopefully few prototypes,
19859 which can conflict with char $ac_func (); below.
19860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19861 <limits.h> exists even on freestanding compilers. */
19864 # include <limits.h>
19866 # include <assert.h>
19871 /* Override any gcc2 internal prototype to avoid an error. */
19876 /* We use char because int might match the return type of a gcc2
19877 builtin and then its argument prototype would still apply. */
19879 /* The GNU C library defines this for functions which it implements
19880 to always fail with ENOSYS. Some functions are actually named
19881 something starting with __ and the normal name is an alias. */
19882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19885 char (*f) () = $ac_func;
19894 return f != $ac_func;
19899 rm -f conftest.
$ac_objext conftest
$ac_exeext
19900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19901 (eval $ac_link) 2>conftest.er1
19903 grep -v '^ *+' conftest.er1
>conftest.err
19905 cat conftest.err
>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try
='test -z "$ac_c_werror_flag"
19909 || test ! -s conftest.err'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; } &&
19915 { ac_try
='test -s conftest$ac_exeext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19921 eval "$as_ac_var=yes"
19923 echo "$as_me: failed program was:" >&5
19924 sed 's/^/| /' conftest.
$ac_ext >&5
19926 eval "$as_ac_var=no"
19928 rm -f conftest.err conftest.
$ac_objext \
19929 conftest
$ac_exeext conftest.
$ac_ext
19931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19933 if test `eval echo '${'$as_ac_var'}'` = yes; then
19934 cat >>confdefs.h
<<_ACEOF
19935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19941 if test $ac_cv_func_gettimeofday = yes; then
19942 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19943 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19944 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19945 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 cat >conftest.
$ac_ext <<_ACEOF
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19954 #ifdef TIME_WITH_SYS_TIME
19955 #include <sys/time.h>
19958 #ifdef HAVE_SYS_TIME_H
19959 #include <sys/time.h>
19967 struct timeval time;
19968 gettimeofday (&time, 0);
19973 rm -f conftest.
$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1
>conftest.err
19979 cat conftest.err
>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try
='test -z "$ac_c_werror_flag"
19983 || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 emacs_cv_gettimeofday_two_arguments
=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 emacs_cv_gettimeofday_two_arguments
=no
20002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20004 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20005 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20006 if test $emacs_cv_gettimeofday_two_arguments = no
; then
20008 cat >>confdefs.h
<<\_ACEOF
20009 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20016 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
20017 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20018 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
20019 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <sys/types.h>
20029 #include <$ac_cv_struct_tm>
20035 static struct tm ac_aggr;
20036 if (ac_aggr.tm_zone)
20042 rm -f conftest.
$ac_objext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20044 (eval $ac_compile) 2>conftest.er1
20046 grep -v '^ *+' conftest.er1
>conftest.err
20048 cat conftest.err
>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try
='test -z "$ac_c_werror_flag"
20052 || test ! -s conftest.err'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; } &&
20058 { ac_try
='test -s conftest.$ac_objext'
20059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060 (eval $ac_try) 2>&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; }; then
20064 ac_cv_member_struct_tm_tm_zone
=yes
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.
$ac_ext >&5
20069 cat >conftest.
$ac_ext <<_ACEOF
20072 cat confdefs.h
>>conftest.
$ac_ext
20073 cat >>conftest.
$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 #include <sys/types.h>
20076 #include <$ac_cv_struct_tm>
20082 static struct tm ac_aggr;
20083 if (sizeof ac_aggr.tm_zone)
20089 rm -f conftest.
$ac_objext
20090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20091 (eval $ac_compile) 2>conftest.er1
20093 grep -v '^ *+' conftest.er1
>conftest.err
20095 cat conftest.err
>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try
='test -z "$ac_c_werror_flag"
20099 || test ! -s conftest.err'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; } &&
20105 { ac_try
='test -s conftest.$ac_objext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 ac_cv_member_struct_tm_tm_zone
=yes
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.
$ac_ext >&5
20116 ac_cv_member_struct_tm_tm_zone
=no
20118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20122 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20123 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
20124 if test $ac_cv_member_struct_tm_tm_zone = yes; then
20126 cat >>confdefs.h
<<_ACEOF
20127 #define HAVE_STRUCT_TM_TM_ZONE 1
20133 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
20135 cat >>confdefs.h
<<\_ACEOF
20136 #define HAVE_TM_ZONE 1
20140 echo "$as_me:$LINENO: checking for tzname" >&5
20141 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
20142 if test "${ac_cv_var_tzname+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 cat >conftest.
$ac_ext <<_ACEOF
20148 cat confdefs.h
>>conftest.
$ac_ext
20149 cat >>conftest.
$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20152 #ifndef tzname /* For SGI. */
20153 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
20164 rm -f conftest.
$ac_objext conftest
$ac_exeext
20165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20166 (eval $ac_link) 2>conftest.er1
20168 grep -v '^ *+' conftest.er1
>conftest.err
20170 cat conftest.err
>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } &&
20173 { ac_try
='test -z "$ac_c_werror_flag"
20174 || test ! -s conftest.err'
20175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176 (eval $ac_try) 2>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); }; } &&
20180 { ac_try
='test -s conftest$ac_exeext'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; }; then
20186 ac_cv_var_tzname
=yes
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.
$ac_ext >&5
20191 ac_cv_var_tzname
=no
20193 rm -f conftest.err conftest.
$ac_objext \
20194 conftest
$ac_exeext conftest.
$ac_ext
20196 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
20197 echo "${ECHO_T}$ac_cv_var_tzname" >&6
20198 if test $ac_cv_var_tzname = yes; then
20200 cat >>confdefs.h
<<\_ACEOF
20201 #define HAVE_TZNAME 1
20208 if test "$ac_cv_func_gettimeofday" = yes; then
20209 echo "$as_me:$LINENO: checking for struct timezone" >&5
20210 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20211 if test "${emacs_cv_struct_timezone+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/time.h>
20224 struct timezone tz;
20229 rm -f conftest.
$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20233 grep -v '^ *+' conftest.er1
>conftest.err
20235 cat conftest.err
>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try
='test -z "$ac_c_werror_flag"
20239 || test ! -s conftest.err'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; } &&
20245 { ac_try
='test -s conftest.$ac_objext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20251 if test "$cross_compiling" = yes; then
20252 emacs_cv_struct_timezone
=yes
20254 cat >conftest.
$ac_ext <<_ACEOF
20257 cat confdefs.h
>>conftest.
$ac_ext
20258 cat >>conftest.
$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20261 #ifdef TIME_WITH_SYS_TIME
20262 #include <sys/time.h>
20265 #ifdef HAVE_SYS_TIME_H
20266 #include <sys/time.h>
20272 struct timeval time;
20273 struct timezone dummy;
20274 exit (gettimeofday (&time, &dummy));
20277 rm -f conftest
$ac_exeext
20278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20279 (eval $ac_link) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; }; then
20288 emacs_cv_struct_timezone
=yes
20290 echo "$as_me: program exited with status $ac_status" >&5
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.
$ac_ext >&5
20294 ( exit $ac_status )
20295 emacs_cv_struct_timezone
=no
20297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 emacs_cv_struct_timezone
=no
20305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20307 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
20308 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
20312 echo "$as_me:$LINENO: checking for socket" >&5
20313 echo $ECHO_N "checking for socket... $ECHO_C" >&6
20314 if test "${ac_cv_func_socket+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 cat >conftest.
$ac_ext <<_ACEOF
20320 cat confdefs.h
>>conftest.
$ac_ext
20321 cat >>conftest.
$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
20324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20325 #define socket innocuous_socket
20327 /* System header to define __stub macros and hopefully few prototypes,
20328 which can conflict with char socket (); below.
20329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20330 <limits.h> exists even on freestanding compilers. */
20333 # include <limits.h>
20335 # include <assert.h>
20340 /* Override any gcc2 internal prototype to avoid an error. */
20345 /* We use char because int might match the return type of a gcc2
20346 builtin and then its argument prototype would still apply. */
20348 /* The GNU C library defines this for functions which it implements
20349 to always fail with ENOSYS. Some functions are actually named
20350 something starting with __ and the normal name is an alias. */
20351 #if defined (__stub_socket) || defined (__stub___socket)
20354 char (*f) () = socket;
20363 return f != socket;
20368 rm -f conftest.
$ac_objext conftest
$ac_exeext
20369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20370 (eval $ac_link) 2>conftest.er1
20372 grep -v '^ *+' conftest.er1
>conftest.err
20374 cat conftest.err
>&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try
='test -z "$ac_c_werror_flag"
20378 || test ! -s conftest.err'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; } &&
20384 { ac_try
='test -s conftest$ac_exeext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_cv_func_socket
=yes
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 ac_cv_func_socket
=no
20397 rm -f conftest.err conftest.
$ac_objext \
20398 conftest
$ac_exeext conftest.
$ac_ext
20400 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
20401 echo "${ECHO_T}$ac_cv_func_socket" >&6
20402 if test $ac_cv_func_socket = yes; then
20408 if test $ok_so_far = yes; then
20409 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20410 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20411 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20412 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20416 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20418 # Is the header compilable?
20419 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
20420 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
20421 cat >conftest.
$ac_ext <<_ACEOF
20424 cat confdefs.h
>>conftest.
$ac_ext
20425 cat >>conftest.
$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 $ac_includes_default
20428 #include <netinet/in.h>
20430 rm -f conftest.
$ac_objext
20431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20432 (eval $ac_compile) 2>conftest.er1
20434 grep -v '^ *+' conftest.er1
>conftest.err
20436 cat conftest.err
>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } &&
20439 { ac_try
='test -z "$ac_c_werror_flag"
20440 || test ! -s conftest.err'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; } &&
20446 { ac_try
='test -s conftest.$ac_objext'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; }; then
20452 ac_header_compiler
=yes
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.
$ac_ext >&5
20457 ac_header_compiler
=no
20459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20461 echo "${ECHO_T}$ac_header_compiler" >&6
20463 # Is the header present?
20464 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
20465 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
20466 cat >conftest.
$ac_ext <<_ACEOF
20469 cat confdefs.h
>>conftest.
$ac_ext
20470 cat >>conftest.
$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 #include <netinet/in.h>
20474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20477 grep -v '^ *+' conftest.er1
>conftest.err
20479 cat conftest.err
>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } >/dev
/null
; then
20482 if test -s conftest.err
; then
20483 ac_cpp_err
=$ac_c_preproc_warn_flag
20484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20491 if test -z "$ac_cpp_err"; then
20492 ac_header_preproc
=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ac_header_preproc
=no
20499 rm -f conftest.err conftest.
$ac_ext
20500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20501 echo "${ECHO_T}$ac_header_preproc" >&6
20503 # So? What about this header?
20504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20506 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
20507 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20508 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
20509 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
20510 ac_header_preproc
=yes
20513 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
20514 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
20515 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
20516 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
20517 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
20518 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
20519 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
20520 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
20521 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
20522 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
20523 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
20524 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
20527 ## ------------------------------------------ ##
20528 ## Report this to the AC_PACKAGE_NAME lists. ##
20529 ## ------------------------------------------ ##
20532 sed "s/^/$as_me: WARNING: /" >&2
20535 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20536 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20537 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 ac_cv_header_netinet_in_h
=$ac_header_preproc
20542 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20543 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20546 if test $ac_cv_header_netinet_in_h = yes; then
20554 if test $ok_so_far = yes; then
20555 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20556 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20557 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20558 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20559 echo $ECHO_N "(cached) $ECHO_C" >&6
20561 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20562 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20564 # Is the header compilable?
20565 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
20566 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
20567 cat >conftest.
$ac_ext <<_ACEOF
20570 cat confdefs.h
>>conftest.
$ac_ext
20571 cat >>conftest.
$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573 $ac_includes_default
20574 #include <arpa/inet.h>
20576 rm -f conftest.
$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -z "$ac_c_werror_flag"
20586 || test ! -s conftest.err'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; } &&
20592 { ac_try
='test -s conftest.$ac_objext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 ac_header_compiler
=yes
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.
$ac_ext >&5
20603 ac_header_compiler
=no
20605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20607 echo "${ECHO_T}$ac_header_compiler" >&6
20609 # Is the header present?
20610 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
20611 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
20612 cat >conftest.
$ac_ext <<_ACEOF
20615 cat confdefs.h
>>conftest.
$ac_ext
20616 cat >>conftest.
$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 #include <arpa/inet.h>
20620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20621 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20623 grep -v '^ *+' conftest.er1
>conftest.err
20625 cat conftest.err
>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } >/dev
/null
; then
20628 if test -s conftest.err
; then
20629 ac_cpp_err
=$ac_c_preproc_warn_flag
20630 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20637 if test -z "$ac_cpp_err"; then
20638 ac_header_preproc
=yes
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.
$ac_ext >&5
20643 ac_header_preproc
=no
20645 rm -f conftest.err conftest.
$ac_ext
20646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20647 echo "${ECHO_T}$ac_header_preproc" >&6
20649 # So? What about this header?
20650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20652 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
20653 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20654 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
20655 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
20656 ac_header_preproc
=yes
20659 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
20660 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
20661 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
20662 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
20663 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
20664 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
20665 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
20666 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
20667 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
20668 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
20669 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
20670 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20673 ## ------------------------------------------ ##
20674 ## Report this to the AC_PACKAGE_NAME lists. ##
20675 ## ------------------------------------------ ##
20678 sed "s/^/$as_me: WARNING: /" >&2
20681 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20682 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20683 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20686 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20688 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20689 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20692 if test $ac_cv_header_arpa_inet_h = yes; then
20700 if test $ok_so_far = yes; then
20702 cat >>confdefs.h
<<\_ACEOF
20703 #define HAVE_INET_SOCKETS 1
20709 for ac_header
in sys
/ioctl.h
20711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20713 echo "$as_me:$LINENO: checking for $ac_header" >&5
20714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20721 # Is the header compilable?
20722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 #include <$ac_header>
20733 rm -f conftest.
$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try
='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_header_compiler
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_header_compiler
=no
20762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20764 echo "${ECHO_T}$ac_header_compiler" >&6
20766 # Is the header present?
20767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20769 cat >conftest.
$ac_ext <<_ACEOF
20772 cat confdefs.h
>>conftest.
$ac_ext
20773 cat >>conftest.
$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #include <$ac_header>
20777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } >/dev
/null
; then
20785 if test -s conftest.err
; then
20786 ac_cpp_err
=$ac_c_preproc_warn_flag
20787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20794 if test -z "$ac_cpp_err"; then
20795 ac_header_preproc
=yes
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.
$ac_ext >&5
20800 ac_header_preproc
=no
20802 rm -f conftest.err conftest.
$ac_ext
20803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20804 echo "${ECHO_T}$ac_header_preproc" >&6
20806 # So? What about this header?
20807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20813 ac_header_preproc
=yes
20816 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20818 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20819 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20823 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20826 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20830 ## ------------------------------------------ ##
20831 ## Report this to the AC_PACKAGE_NAME lists. ##
20832 ## ------------------------------------------ ##
20835 sed "s/^/$as_me: WARNING: /" >&2
20838 echo "$as_me:$LINENO: checking for $ac_header" >&5
20839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 eval "$as_ac_Header=\$ac_header_preproc"
20845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20850 cat >>confdefs.h
<<_ACEOF
20851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20859 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20861 cat >>confdefs.h
<<\_ACEOF
20862 #define HAVE_AIX_SMT_EXP 1
20867 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20868 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20869 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20870 echo "$as_me:$LINENO: result: yes" >&5
20871 echo "${ECHO_T}yes" >&6
20873 cat >>confdefs.h
<<\_ACEOF
20874 #define HAVE_DEV_PTMX 1
20878 echo "$as_me:$LINENO: result: no" >&5
20879 echo "${ECHO_T}no" >&6
20882 echo "$as_me:$LINENO: checking for pid_t" >&5
20883 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20884 if test "${ac_cv_type_pid_t+set}" = set; then
20885 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 cat >conftest.
$ac_ext <<_ACEOF
20890 cat confdefs.h
>>conftest.
$ac_ext
20891 cat >>conftest.
$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 $ac_includes_default
20899 if (sizeof (pid_t))
20905 rm -f conftest.
$ac_objext
20906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20907 (eval $ac_compile) 2>conftest.er1
20909 grep -v '^ *+' conftest.er1
>conftest.err
20911 cat conftest.err
>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } &&
20914 { ac_try
='test -z "$ac_c_werror_flag"
20915 || test ! -s conftest.err'
20916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20917 (eval $ac_try) 2>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); }; } &&
20921 { ac_try
='test -s conftest.$ac_objext'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_type_pid_t
=yes
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.
$ac_ext >&5
20932 ac_cv_type_pid_t
=no
20934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20936 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20937 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20938 if test $ac_cv_type_pid_t = yes; then
20942 cat >>confdefs.h
<<_ACEOF
20950 for ac_header
in unistd.h vfork.h
20952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20954 echo "$as_me:$LINENO: checking for $ac_header" >&5
20955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20957 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20962 # Is the header compilable?
20963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20965 cat >conftest.
$ac_ext <<_ACEOF
20968 cat confdefs.h
>>conftest.
$ac_ext
20969 cat >>conftest.
$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 $ac_includes_default
20972 #include <$ac_header>
20974 rm -f conftest.
$ac_objext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20976 (eval $ac_compile) 2>conftest.er1
20978 grep -v '^ *+' conftest.er1
>conftest.err
20980 cat conftest.err
>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try
='test -z "$ac_c_werror_flag"
20984 || test ! -s conftest.err'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest.$ac_objext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_header_compiler
=yes
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.
$ac_ext >&5
21001 ac_header_compiler
=no
21003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21005 echo "${ECHO_T}$ac_header_compiler" >&6
21007 # Is the header present?
21008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21010 cat >conftest.
$ac_ext <<_ACEOF
21013 cat confdefs.h
>>conftest.
$ac_ext
21014 cat >>conftest.
$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 #include <$ac_header>
21018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21021 grep -v '^ *+' conftest.er1
>conftest.err
21023 cat conftest.err
>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } >/dev
/null
; then
21026 if test -s conftest.err
; then
21027 ac_cpp_err
=$ac_c_preproc_warn_flag
21028 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21035 if test -z "$ac_cpp_err"; then
21036 ac_header_preproc
=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ac_header_preproc
=no
21043 rm -f conftest.err conftest.
$ac_ext
21044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21045 echo "${ECHO_T}$ac_header_preproc" >&6
21047 # So? What about this header?
21048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21054 ac_header_preproc
=yes
21057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21071 ## ------------------------------------------ ##
21072 ## Report this to the AC_PACKAGE_NAME lists. ##
21073 ## ------------------------------------------ ##
21076 sed "s/^/$as_me: WARNING: /" >&2
21079 echo "$as_me:$LINENO: checking for $ac_header" >&5
21080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 eval "$as_ac_Header=\$ac_header_preproc"
21086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21091 cat >>confdefs.h
<<_ACEOF
21092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21101 for ac_func
in fork vfork
21103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21104 echo "$as_me:$LINENO: checking for $ac_func" >&5
21105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21106 if eval "test \"\${$as_ac_var+set}\" = set"; then
21107 echo $ECHO_N "(cached) $ECHO_C" >&6
21109 cat >conftest.
$ac_ext <<_ACEOF
21112 cat confdefs.h
>>conftest.
$ac_ext
21113 cat >>conftest.
$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21117 #define $ac_func innocuous_$ac_func
21119 /* System header to define __stub macros and hopefully few prototypes,
21120 which can conflict with char $ac_func (); below.
21121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21122 <limits.h> exists even on freestanding compilers. */
21125 # include <limits.h>
21127 # include <assert.h>
21132 /* Override any gcc2 internal prototype to avoid an error. */
21137 /* We use char because int might match the return type of a gcc2
21138 builtin and then its argument prototype would still apply. */
21140 /* The GNU C library defines this for functions which it implements
21141 to always fail with ENOSYS. Some functions are actually named
21142 something starting with __ and the normal name is an alias. */
21143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21146 char (*f) () = $ac_func;
21155 return f != $ac_func;
21160 rm -f conftest.
$ac_objext conftest
$ac_exeext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21162 (eval $ac_link) 2>conftest.er1
21164 grep -v '^ *+' conftest.er1
>conftest.err
21166 cat conftest.err
>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } &&
21169 { ac_try
='test -z "$ac_c_werror_flag"
21170 || test ! -s conftest.err'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; } &&
21176 { ac_try
='test -s conftest$ac_exeext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 eval "$as_ac_var=yes"
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.
$ac_ext >&5
21187 eval "$as_ac_var=no"
21189 rm -f conftest.err conftest.
$ac_objext \
21190 conftest
$ac_exeext conftest.
$ac_ext
21192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21194 if test `eval echo '${'$as_ac_var'}'` = yes; then
21195 cat >>confdefs.h
<<_ACEOF
21196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21202 if test "x$ac_cv_func_fork" = xyes
; then
21203 echo "$as_me:$LINENO: checking for working fork" >&5
21204 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21205 if test "${ac_cv_func_fork_works+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21208 if test "$cross_compiling" = yes; then
21209 ac_cv_func_fork_works
=cross
21211 cat >conftest.
$ac_ext <<_ACEOF
21212 /* By Ruediger Kuhlmann. */
21213 #include <sys/types.h>
21215 # include <unistd.h>
21217 /* Some systems only have a dummy stub for fork() */
21225 rm -f conftest
$ac_exeext
21226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21227 (eval $ac_link) 2>&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; }; then
21236 ac_cv_func_fork_works
=yes
21238 echo "$as_me: program exited with status $ac_status" >&5
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.
$ac_ext >&5
21242 ( exit $ac_status )
21243 ac_cv_func_fork_works
=no
21245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21248 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21249 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21252 ac_cv_func_fork_works
=$ac_cv_func_fork
21254 if test "x$ac_cv_func_fork_works" = xcross
; then
21256 *-*-amigaos* |
*-*-msdosdjgpp*)
21257 # Override, as these systems have only a dummy fork() stub
21258 ac_cv_func_fork_works
=no
21261 ac_cv_func_fork_works
=yes
21264 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21265 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21267 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21268 if test "x$ac_cv_func_vfork" = xyes
; then
21269 echo "$as_me:$LINENO: checking for working vfork" >&5
21270 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21271 if test "${ac_cv_func_vfork_works+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 if test "$cross_compiling" = yes; then
21275 ac_cv_func_vfork_works
=cross
21277 cat >conftest.
$ac_ext <<_ACEOF
21280 cat confdefs.h
>>conftest.
$ac_ext
21281 cat >>conftest.
$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 /* Thanks to Paul Eggert for this test. */
21285 #include <stdlib.h>
21286 #include <sys/types.h>
21287 #include <sys/stat.h>
21288 #include <sys/wait.h>
21290 # include <unistd.h>
21293 # include <vfork.h>
21295 /* On some sparc systems, changes by the child to local and incoming
21296 argument registers are propagated back to the parent. The compiler
21297 is told about this with #include <vfork.h>, but some compilers
21298 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21299 static variable whose address is put into a register that is
21300 clobbered by the vfork. */
21303 sparc_address_test (int arg)
21305 sparc_address_test (arg) int arg;
21308 static pid_t child;
21326 pid_t parent = getpid ();
21329 sparc_address_test (0);
21334 /* Here is another test for sparc vfork register problems. This
21335 test uses lots of local variables, at least as many local
21336 variables as main has allocated so far including compiler
21337 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21338 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21339 reuse the register of parent for one of the local variables,
21340 since it will think that parent can't possibly be used any more
21341 in this routine. Assigning to the local variable will thus
21342 munge parent in the parent process. */
21344 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21345 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21346 /* Convince the compiler that p..p7 are live; otherwise, it might
21347 use the same hardware register for all 8 local variables. */
21348 if (p != p1 || p != p2 || p != p3 || p != p4
21349 || p != p5 || p != p6 || p != p7)
21352 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21353 from child file descriptors. If the child closes a descriptor
21354 before it execs or exits, this munges the parent's descriptor
21355 as well. Test for this by closing stdout in the child. */
21356 _exit(close(fileno(stdout)) != 0);
21361 while (wait(&status) != child)
21364 /* Was there some problem with vforking? */
21367 /* Did the child fail? (This shouldn't happen.) */
21370 /* Did the vfork/compiler bug occur? */
21371 || parent != getpid()
21373 /* Did the file descriptor bug occur? */
21374 || fstat(fileno(stdout), &st) != 0
21379 rm -f conftest
$ac_exeext
21380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21381 (eval $ac_link) 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 ac_cv_func_vfork_works
=yes
21392 echo "$as_me: program exited with status $ac_status" >&5
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.
$ac_ext >&5
21396 ( exit $ac_status )
21397 ac_cv_func_vfork_works
=no
21399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21402 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21403 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21406 if test "x$ac_cv_func_fork_works" = xcross
; then
21407 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21408 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21409 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21412 if test "x$ac_cv_func_vfork_works" = xyes
; then
21414 cat >>confdefs.h
<<\_ACEOF
21415 #define HAVE_WORKING_VFORK 1
21420 cat >>confdefs.h
<<\_ACEOF
21425 if test "x$ac_cv_func_fork_works" = xyes
; then
21427 cat >>confdefs.h
<<\_ACEOF
21428 #define HAVE_WORKING_FORK 1
21434 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21435 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21436 if test "${emacs_cv_langinfo_codeset+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 cat >conftest.
$ac_ext <<_ACEOF
21442 cat confdefs.h
>>conftest.
$ac_ext
21443 cat >>conftest.
$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 #include <langinfo.h>
21449 char* cs = nl_langinfo(CODESET);
21454 rm -f conftest.
$ac_objext conftest
$ac_exeext
21455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21456 (eval $ac_link) 2>conftest.er1
21458 grep -v '^ *+' conftest.er1
>conftest.err
21460 cat conftest.err
>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } &&
21463 { ac_try
='test -z "$ac_c_werror_flag"
21464 || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try
='test -s conftest$ac_exeext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21476 emacs_cv_langinfo_codeset
=yes
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.
$ac_ext >&5
21481 emacs_cv_langinfo_codeset
=no
21483 rm -f conftest.err conftest.
$ac_objext \
21484 conftest
$ac_exeext conftest.
$ac_ext
21487 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
21488 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
21489 if test $emacs_cv_langinfo_codeset = yes; then
21491 cat >>confdefs.h
<<\_ACEOF
21492 #define HAVE_LANGINFO_CODESET 1
21497 echo "$as_me:$LINENO: checking for size_t" >&5
21498 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21499 if test "${ac_cv_type_size_t+set}" = set; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 cat >conftest.
$ac_ext <<_ACEOF
21505 cat confdefs.h
>>conftest.
$ac_ext
21506 cat >>conftest.
$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21514 if (sizeof (size_t))
21520 rm -f conftest.
$ac_objext
21521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21522 (eval $ac_compile) 2>conftest.er1
21524 grep -v '^ *+' conftest.er1
>conftest.err
21526 cat conftest.err
>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } &&
21529 { ac_try
='test -z "$ac_c_werror_flag"
21530 || test ! -s conftest.err'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try
='test -s conftest.$ac_objext'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21542 ac_cv_type_size_t
=yes
21544 echo "$as_me: failed program was:" >&5
21545 sed 's/^/| /' conftest.
$ac_ext >&5
21547 ac_cv_type_size_t
=no
21549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21551 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21552 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21553 if test $ac_cv_type_size_t = yes; then
21555 cat >>confdefs.h
<<_ACEOF
21556 #define HAVE_SIZE_T 1
21563 echo "$as_me:$LINENO: checking for mbstate_t" >&5
21564 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
21565 if test "${ac_cv_type_mbstate_t+set}" = set; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 cat >conftest.
$ac_ext <<_ACEOF
21571 cat confdefs.h
>>conftest.
$ac_ext
21572 cat >>conftest.
$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 # include <wchar.h>
21579 mbstate_t x; return sizeof x;
21584 rm -f conftest.
$ac_objext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21586 (eval $ac_compile) 2>conftest.er1
21588 grep -v '^ *+' conftest.er1
>conftest.err
21590 cat conftest.err
>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try
='test -z "$ac_c_werror_flag"
21594 || test ! -s conftest.err'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; } &&
21600 { ac_try
='test -s conftest.$ac_objext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_cv_type_mbstate_t
=yes
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.
$ac_ext >&5
21611 ac_cv_type_mbstate_t
=no
21613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
21616 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
21617 if test $ac_cv_type_mbstate_t = yes; then
21619 cat >>confdefs.h
<<\_ACEOF
21620 #define HAVE_MBSTATE_T 1
21625 cat >>confdefs.h
<<\_ACEOF
21626 #define mbstate_t int
21631 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
21632 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
21633 if test "${emacs_cv_c_restrict+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642 void fred (int *restrict x);
21651 rm -f conftest.
$ac_objext
21652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653 (eval $ac_compile) 2>conftest.er1
21655 grep -v '^ *+' conftest.er1
>conftest.err
21657 cat conftest.err
>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try
='test -z "$ac_c_werror_flag"
21661 || test ! -s conftest.err'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try
='test -s conftest.$ac_objext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 emacs_cv_c_restrict
=yes
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.
$ac_ext >&5
21678 cat >conftest.
$ac_ext <<_ACEOF
21681 cat confdefs.h
>>conftest.
$ac_ext
21682 cat >>conftest.
$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21684 void fred (int *__restrict x);
21693 rm -f conftest.
$ac_objext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21695 (eval $ac_compile) 2>conftest.er1
21697 grep -v '^ *+' conftest.er1
>conftest.err
21699 cat conftest.err
>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try
='test -z "$ac_c_werror_flag"
21703 || test ! -s conftest.err'
21704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21705 (eval $ac_try) 2>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); }; } &&
21709 { ac_try
='test -s conftest.$ac_objext'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; }; then
21715 emacs_cv_c_restrict
=__restrict
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21720 emacs_cv_c_restrict
=no
21722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21726 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21727 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21728 case "$emacs_cv_c_restrict" in
21729 yes) emacs_restrict
=restrict
;;
21730 no
) emacs_restrict
="";;
21731 *) emacs_restrict
="$emacs_cv_c_restrict";;
21733 if test "$emacs_restrict" != __restrict
; then
21735 cat >>confdefs.h
<<_ACEOF
21736 #define __restrict $emacs_restrict
21741 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21742 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21743 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 void fred (int x[__restrict]);
21761 rm -f conftest.
$ac_objext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21763 (eval $ac_compile) 2>conftest.er1
21765 grep -v '^ *+' conftest.er1
>conftest.err
21767 cat conftest.err
>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } &&
21770 { ac_try
='test -z "$ac_c_werror_flag"
21771 || test ! -s conftest.err'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; } &&
21777 { ac_try
='test -s conftest.$ac_objext'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; }; then
21783 emacs_cv_c_restrict_arr
=yes
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.
$ac_ext >&5
21788 emacs_cv_c_restrict_arr
=no
21790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21792 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21793 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21794 if test "$emacs_cv_c_restrict_arr" = yes; then
21796 cat >>confdefs.h
<<\_ACEOF
21797 #define __restrict_arr __restrict
21804 # Set up the CFLAGS for real compilation, so we can substitute it.
21805 CFLAGS
="$REAL_CFLAGS"
21806 CPPFLAGS
="$REAL_CPPFLAGS"
21808 #### Find out which version of Emacs this is.
21809 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21810 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21811 if test x
"${version}" = x
; then
21812 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21813 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21814 { (exit 1); exit 1; }; }
21817 ### Specify what sort of things we'll be editing into Makefile and config.h.
21818 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21854 cat >>confdefs.h
<<_ACEOF
21855 #define EMACS_CONFIGURATION "${canonical}"
21859 cat >>confdefs.h
<<_ACEOF
21860 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21864 cat >>confdefs.h
<<_ACEOF
21865 #define config_machfile "${machfile}"
21869 cat >>confdefs.h
<<_ACEOF
21870 #define config_opsysfile "${opsysfile}"
21874 cat >>confdefs.h
<<_ACEOF
21875 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21879 cat >>confdefs.h
<<_ACEOF
21880 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21884 cat >>confdefs.h
<<_ACEOF
21885 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21889 cat >>confdefs.h
<<_ACEOF
21890 #define UNEXEC_SRC ${UNEXEC_SRC}
21894 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21896 cat >>confdefs.h
<<\_ACEOF
21897 #define HAVE_X_WINDOWS 1
21901 if test "${USE_X_TOOLKIT}" != "none" ; then
21903 cat >>confdefs.h
<<\_ACEOF
21904 #define USE_X_TOOLKIT 1
21908 if test "${HAVE_X11}" = "yes" ; then
21910 cat >>confdefs.h
<<\_ACEOF
21915 if test "${HAVE_XFREE386}" = "yes" ; then
21917 cat >>confdefs.h
<<\_ACEOF
21918 #define HAVE_XFREE386 1
21922 if test "${HAVE_MENUS}" = "yes" ; then
21924 cat >>confdefs.h
<<\_ACEOF
21925 #define HAVE_MENUS 1
21929 if test "${GNU_MALLOC}" = "yes" ; then
21931 cat >>confdefs.h
<<\_ACEOF
21932 #define GNU_MALLOC 1
21936 if test "${REL_ALLOC}" = "yes" ; then
21938 cat >>confdefs.h
<<\_ACEOF
21939 #define REL_ALLOC 1
21948 #### Report on what we decided to do.
21949 #### Report GTK as a toolkit, even if it doesn't use Xt.
21950 #### It makes printing result more understandable as using GTK sets
21951 #### toolkit_scroll_bars to yes by default.
21952 if test "${HAVE_GTK}" = "yes"; then
21957 Configured for \`${canonical}'.
21959 Where should the build process find the source code? ${srcdir}
21960 What operating system and machine description files should Emacs use?
21961 \`${opsysfile}' and \`${machfile}'
21962 What compiler should emacs be built with? ${CC} ${CFLAGS}
21963 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21964 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21965 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21966 What window system should Emacs use? ${window_system}
21967 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21969 if test -n "${x_includes}"; then
21970 echo " Where do we find X Windows header files? ${x_includes}"
21972 echo " Where do we find X Windows header files? Standard dirs"
21974 if test -n "${x_libraries}"; then
21975 echo " Where do we find X Windows libraries? ${x_libraries}"
21977 echo " Where do we find X Windows libraries? Standard dirs"
21980 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21981 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21982 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21983 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21984 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21985 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21986 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21989 if test $USE_XASSERTS = yes; then
21990 echo " Compiling with asserts turned on."
21991 CPPFLAGS
="$CPPFLAGS -DXASSERTS=1"
21997 # Remove any trailing slashes in these variables.
21998 test "${prefix}" != NONE
&&
21999 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
22000 test "${exec_prefix}" != NONE
&&
22001 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
22003 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
22004 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
22005 ## from Makefile.c can correctly provide the arg `-traditional' to the
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22017 $EGREP "yes..yes" >/dev
/null
2>&1; then
22018 CPP_NEED_TRADITIONAL
=no
22020 CPP_NEED_TRADITIONAL
=yes
22025 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"
22026 ac_config_commands
="$ac_config_commands default"
22027 cat >confcache
<<\_ACEOF
22028 # This file is a shell script that caches the results of configure
22029 # tests run on this system so they can be shared between configure
22030 # scripts and configure runs, see configure's option --config-cache.
22031 # It is not useful on other systems. If it contains results you don't
22032 # want to keep, you may remove or edit it.
22034 # config.status only pays attention to the cache file if you give it
22035 # the --recheck option to rerun configure.
22037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22039 # following values.
22043 # The following way of writing the cache mishandles newlines in values,
22044 # but we know of no workaround that is simple, portable, and efficient.
22045 # So, don't put newlines in cache variables' values.
22046 # Ultrix sh set writes to stderr and can't be redirected directly,
22047 # and sets the high bit in the cache file unless we assign to the vars.
22050 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22052 # `set' does not quote correctly, so add quotes (double-quote
22053 # substitution turns \\\\ into \\, and sed turns \\ into \).
22056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22059 # `set' quotes correctly as required by POSIX, so do not add quotes.
22061 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22070 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22072 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22073 if test -w $cache_file; then
22074 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22075 cat confcache
>$cache_file
22077 echo "not updating unwritable cache $cache_file"
22082 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22083 # Let make expand exec_prefix.
22084 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22086 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22087 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22088 # trailing colons and then remove the whole line if VPATH becomes empty
22089 # (actually we leave an empty line to preserve line numbers).
22090 if test "x$srcdir" = x.
; then
22091 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22092 s/:*\$(srcdir):*/:/;
22093 s/:*\${srcdir}:*/:/;
22095 s/^\([^=]*=[ ]*\):*/\1/;
22101 DEFS
=-DHAVE_CONFIG_H
22105 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22106 # 1. Remove the extension, and $U if already installed.
22107 ac_i
=`echo "$ac_i" |
22108 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22110 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22111 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22113 LIBOBJS
=$ac_libobjs
22115 LTLIBOBJS
=$ac_ltlibobjs
22119 : ${CONFIG_STATUS=./config.status}
22120 ac_clean_files_save
=$ac_clean_files
22121 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22122 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22123 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22124 cat >$CONFIG_STATUS <<_ACEOF
22126 # Generated by $as_me.
22127 # Run this file to recreate the current configuration.
22128 # Compiler output produced by configure, useful for debugging
22129 # configure, is in config.log if it exists.
22132 ac_cs_recheck=false
22134 SHELL=\${CONFIG_SHELL-$SHELL}
22137 cat >>$CONFIG_STATUS <<\_ACEOF
22138 ## --------------------- ##
22139 ## M4sh Initialization. ##
22140 ## --------------------- ##
22142 # Be Bourne compatible
22143 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22146 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22147 # is contrary to our usage. Disable this feature.
22148 alias -g '${1+"$@"}'='"$@"'
22149 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22152 DUALCASE
=1; export DUALCASE
# for MKS sh
22154 # Support unset when possible.
22155 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22162 # Work around bugs in pre-3.0 UWIN ksh.
22163 $as_unset ENV MAIL MAILPATH
22170 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22171 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22172 LC_TELEPHONE LC_TIME
22174 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22175 eval $as_var=C
; export $as_var
22181 # Required to use basename.
22182 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22188 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22189 as_basename
=basename
22195 # Name of the executable.
22196 as_me
=`$as_basename "$0" ||
22197 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22198 X"$0" : 'X\(//\)$' \| \
22199 X"$0" : 'X\(/\)$' \| \
22200 . : '\(.\)' 2>/dev/null ||
22202 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22203 /^X\/\(\/\/\)$/{ s//\1/; q; }
22204 /^X\/\(\/\).*/{ s//\1/; q; }
22208 # PATH needs CR, and LINENO needs CR and PATH.
22209 # Avoid depending upon Character Ranges.
22210 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22211 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22212 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22213 as_cr_digits
='0123456789'
22214 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22216 # The user is always right.
22217 if test "${PATH_SEPARATOR+set}" != set; then
22218 echo "#! /bin/sh" >conf$$.sh
22219 echo "exit 0" >>conf$$.sh
22221 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22230 as_lineno_1
=$LINENO
22231 as_lineno_2
=$LINENO
22232 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22233 test "x$as_lineno_1" != "x$as_lineno_2" &&
22234 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22235 # Find who we are. Look in the path if we contain no path at all
22238 *[\\/]* ) as_myself
=$0 ;;
22239 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22240 for as_dir
in $PATH
22243 test -z "$as_dir" && as_dir
=.
22244 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22249 # We did not find ourselves, most probably we were run as `sh COMMAND'
22250 # in which case we are not to be found in the path.
22251 if test "x$as_myself" = x
; then
22254 if test ! -f "$as_myself"; then
22255 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22256 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22257 { (exit 1); exit 1; }; }
22259 case $CONFIG_SHELL in
22261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22262 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22265 test -z "$as_dir" && as_dir
=.
22266 for as_base
in sh bash ksh sh5
; do
22269 if ("$as_dir/$as_base" -c '
22270 as_lineno_1=$LINENO
22271 as_lineno_2=$LINENO
22272 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22273 test "x$as_lineno_1" != "x$as_lineno_2" &&
22274 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22275 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22276 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22277 CONFIG_SHELL
=$as_dir/$as_base
22278 export CONFIG_SHELL
22279 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22287 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22288 # uniformly replaced by the line number. The first 'sed' inserts a
22289 # line-number line before each line; the second 'sed' does the real
22290 # work. The second script uses 'N' to pair each line-number line
22291 # with the numbered line, and appends trailing '-' during
22292 # substitution so that $LINENO is not a special case at line end.
22293 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22294 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22295 sed '=' <$as_myself |
22300 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22303 s,^['$as_cr_digits']*\n,,
22304 ' >$as_me.lineno
&&
22305 chmod +x
$as_me.lineno ||
22306 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22307 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22308 { (exit 1); exit 1; }; }
22310 # Don't try to exec as it changes $[0], causing all sort of problems
22311 # (the dirname of $[0] is not the place where we might find the
22312 # original and so on. Autoconf is especially sensible to this).
22314 # Exit status is that of the last command.
22319 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22320 *c
*,-n*) ECHO_N
= ECHO_C
='
22322 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22323 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22326 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22332 rm -f conf$$ conf$$.exe conf$$.
file
22334 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22335 # We could just check for DJGPP; but this test a) works b) is more generic
22336 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22337 if test -f conf$$.exe
; then
22338 # Don't use ln at all; we don't have any links
22343 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22348 rm -f conf$$ conf$$.exe conf$$.
file
22350 if mkdir
-p .
2>/dev
/null
; then
22353 test -d .
/-p && rmdir .
/-p
22357 as_executable_p
="test -f"
22359 # Sed expression to map a string onto a valid CPP name.
22360 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22362 # Sed expression to map a string onto a valid variable name.
22363 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22367 # We need space, tab and new line, in precisely that order.
22377 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22378 # report actual input values of CONFIG_FILES etc. instead of their
22379 # values after options handling. Logging --version etc. is OK.
22383 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22384 ## Running $as_me. ##
22389 This file was extended by $as_me, which was
22390 generated by GNU Autoconf 2.59. Invocation command line was
22392 CONFIG_FILES = $CONFIG_FILES
22393 CONFIG_HEADERS = $CONFIG_HEADERS
22394 CONFIG_LINKS = $CONFIG_LINKS
22395 CONFIG_COMMANDS = $CONFIG_COMMANDS
22399 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22403 # Files that config.status was made for.
22404 if test -n "$ac_config_files"; then
22405 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22408 if test -n "$ac_config_headers"; then
22409 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22412 if test -n "$ac_config_links"; then
22413 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22416 if test -n "$ac_config_commands"; then
22417 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22420 cat >>$CONFIG_STATUS <<\_ACEOF
22423 \`$as_me' instantiates files from templates according to the
22424 current configuration.
22426 Usage: $0 [OPTIONS] [FILE]...
22428 -h, --help print this help, then exit
22429 -V, --version print version number, then exit
22430 -q, --quiet do not print progress messages
22431 -d, --debug don't remove temporary files
22432 --recheck update $as_me by reconfiguring in the same conditions
22433 --file=FILE[:TEMPLATE]
22434 instantiate the configuration file FILE
22435 --header=FILE[:TEMPLATE]
22436 instantiate the configuration header FILE
22438 Configuration files:
22441 Configuration headers:
22444 Configuration commands:
22447 Report bugs to <bug-autoconf@gnu.org>."
22450 cat >>$CONFIG_STATUS <<_ACEOF
22453 configured by $0, generated by GNU Autoconf 2.59,
22454 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22456 Copyright (C) 2003 Free Software Foundation, Inc.
22457 This config.status script is free software; the Free Software Foundation
22458 gives unlimited permission to copy, distribute and modify it."
22463 cat >>$CONFIG_STATUS <<\_ACEOF
22464 # If no file are specified by the user, then we need to provide default
22465 # value. By we need to know if files were specified by the user.
22471 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22472 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22480 *) # This is not an option, so the user has probably given explicit
22483 ac_need_defaults
=false
;;
22487 # Handling of the options.
22489 cat >>$CONFIG_STATUS <<\_ACEOF
22490 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22492 --version |
--vers* |
-V )
22493 echo "$ac_cs_version"; exit 0 ;;
22495 # Conflict between --help and --header
22496 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22497 Try \`$0 --help' for more information." >&5
22498 echo "$as_me: error: ambiguous option: $1
22499 Try \`$0 --help' for more information." >&2;}
22500 { (exit 1); exit 1; }; };;
22501 --help |
--hel |
-h )
22502 echo "$ac_cs_usage"; exit 0 ;;
22503 --debug |
--d* |
-d )
22505 --file |
--fil |
--fi |
--f )
22507 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22508 ac_need_defaults
=false
;;
22509 --header |
--heade |
--head |
--hea )
22511 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22512 ac_need_defaults
=false
;;
22513 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22514 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22517 # This is an error.
22518 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22519 Try \`$0 --help' for more information." >&5
22520 echo "$as_me: error: unrecognized option: $1
22521 Try \`$0 --help' for more information." >&2;}
22522 { (exit 1); exit 1; }; } ;;
22524 *) ac_config_targets
="$ac_config_targets $1" ;;
22530 ac_configure_extra_args
=
22532 if $ac_cs_silent; then
22534 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22538 cat >>$CONFIG_STATUS <<_ACEOF
22539 if \$ac_cs_recheck; then
22540 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22541 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22546 cat >>$CONFIG_STATUS <<_ACEOF
22548 # INIT-COMMANDS section.
22551 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
22557 cat >>$CONFIG_STATUS <<\_ACEOF
22558 for ac_config_target
in $ac_config_targets
22560 case "$ac_config_target" in
22561 # Handling of arguments.
22562 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22563 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
22564 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
22565 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
22566 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
22567 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
22568 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
22569 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
22570 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
22571 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
22572 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22573 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
22574 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22575 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22576 { (exit 1); exit 1; }; };;
22580 # If the user did not use the arguments to specify the items to instantiate,
22581 # then the envvar interface is used. Set only those that are not.
22582 # We use the long form for the default assignment because of an extremely
22583 # bizarre bug on SunOS 4.1.3.
22584 if $ac_need_defaults; then
22585 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22586 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22587 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22590 # Have a temporary directory for convenience. Make it in the build tree
22591 # simply because there is no reason to put it here, and in addition,
22592 # creating and moving files from /tmp can sometimes cause problems.
22593 # Create a temporary directory, and hook for its removal unless debugging.
22596 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22597 trap '{ (exit 1); exit 1; }' 1 2 13 15
22600 # Create a (secure) tmp directory for tmp files.
22603 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22604 test -n "$tmp" && test -d "$tmp"
22607 tmp
=.
/confstat$$
-$RANDOM
22608 (umask 077 && mkdir
$tmp)
22611 echo "$me: cannot create a temporary directory in ." >&2
22612 { (exit 1); exit 1; }
22617 cat >>$CONFIG_STATUS <<_ACEOF
22620 # CONFIG_FILES section.
22623 # No need to generate the scripts if there are no CONFIG_FILES.
22624 # This happens for instance when ./config.status config.h
22625 if test -n "\$CONFIG_FILES"; then
22626 # Protect against being on the right side of a sed subst in config.status.
22627 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22628 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22629 s,@SHELL@,$SHELL,;t t
22630 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22631 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22632 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22633 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22634 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22635 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22636 s,@exec_prefix@,$exec_prefix,;t t
22637 s,@prefix@,$prefix,;t t
22638 s,@program_transform_name@,$program_transform_name,;t t
22639 s,@bindir@,$bindir,;t t
22640 s,@sbindir@,$sbindir,;t t
22641 s,@libexecdir@,$libexecdir,;t t
22642 s,@datadir@,$datadir,;t t
22643 s,@sysconfdir@,$sysconfdir,;t t
22644 s,@sharedstatedir@,$sharedstatedir,;t t
22645 s,@localstatedir@,$localstatedir,;t t
22646 s,@libdir@,$libdir,;t t
22647 s,@includedir@,$includedir,;t t
22648 s,@oldincludedir@,$oldincludedir,;t t
22649 s,@infodir@,$infodir,;t t
22650 s,@mandir@,$mandir,;t t
22651 s,@build_alias@,$build_alias,;t t
22652 s,@host_alias@,$host_alias,;t t
22653 s,@target_alias@,$target_alias,;t t
22654 s,@DEFS@,$DEFS,;t t
22655 s,@ECHO_C@,$ECHO_C,;t t
22656 s,@ECHO_N@,$ECHO_N,;t t
22657 s,@ECHO_T@,$ECHO_T,;t t
22658 s,@LIBS@,$LIBS,;t t
22659 s,@MAINT@,$MAINT,;t t
22660 s,@build@,$build,;t t
22661 s,@build_cpu@,$build_cpu,;t t
22662 s,@build_vendor@,$build_vendor,;t t
22663 s,@build_os@,$build_os,;t t
22664 s,@host@,$host,;t t
22665 s,@host_cpu@,$host_cpu,;t t
22666 s,@host_vendor@,$host_vendor,;t t
22667 s,@host_os@,$host_os,;t t
22669 s,@CFLAGS@,$CFLAGS,;t t
22670 s,@LDFLAGS@,$LDFLAGS,;t t
22671 s,@CPPFLAGS@,$CPPFLAGS,;t t
22672 s,@ac_ct_CC@,$ac_ct_CC,;t t
22673 s,@EXEEXT@,$EXEEXT,;t t
22674 s,@OBJEXT@,$OBJEXT,;t t
22675 s,@LN_S@,$LN_S,;t t
22677 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22678 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22679 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22680 s,@RANLIB@,$RANLIB,;t t
22681 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22682 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22683 s,@EGREP@,$EGREP,;t t
22684 s,@LIBSOUND@,$LIBSOUND,;t t
22685 s,@SET_MAKE@,$SET_MAKE,;t t
22686 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22687 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22688 s,@GTK_LIBS@,$GTK_LIBS,;t t
22689 s,@ALLOCA@,$ALLOCA,;t t
22690 s,@liblockfile@,$liblockfile,;t t
22691 s,@LIBOBJS@,$LIBOBJS,;t t
22692 s,@NEED_SETGID@,$NEED_SETGID,;t t
22693 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22694 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22695 s,@version@,$version,;t t
22696 s,@configuration@,$configuration,;t t
22697 s,@canonical@,$canonical,;t t
22698 s,@srcdir@,$srcdir,;t t
22699 s,@lispdir@,$lispdir,;t t
22700 s,@locallisppath@,$locallisppath,;t t
22701 s,@lisppath@,$lisppath,;t t
22702 s,@x_default_search_path@,$x_default_search_path,;t t
22703 s,@etcdir@,$etcdir,;t t
22704 s,@archlibdir@,$archlibdir,;t t
22705 s,@docdir@,$docdir,;t t
22706 s,@bitmapdir@,$bitmapdir,;t t
22707 s,@gamedir@,$gamedir,;t t
22708 s,@gameuser@,$gameuser,;t t
22709 s,@c_switch_system@,$c_switch_system,;t t
22710 s,@c_switch_machine@,$c_switch_machine,;t t
22711 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22712 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22713 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22714 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22715 s,@machfile@,$machfile,;t t
22716 s,@opsysfile@,$opsysfile,;t t
22717 s,@carbon_appdir@,$carbon_appdir,;t t
22718 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22723 cat >>$CONFIG_STATUS <<\_ACEOF
22724 # Split the substitutions into bite-sized pieces for seds with
22725 # small command number limits, like on Digital OSF/1 and HP-UX.
22726 ac_max_sed_lines
=48
22727 ac_sed_frag
=1 # Number of current file.
22728 ac_beg
=1 # First line for current file.
22729 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22732 while $ac_more_lines; do
22733 if test $ac_beg -gt 1; then
22734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22736 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22738 if test ! -s $tmp/subs.frag
; then
22739 ac_more_lines
=false
22741 # The purpose of the label and of the branching condition is to
22742 # speed up the sed processing (if there are no `@' at all, there
22743 # is no need to browse any of the substitutions).
22744 # These are the two extra sed commands mentioned above.
22746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22747 if test -z "$ac_sed_cmds"; then
22748 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22750 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22752 ac_sed_frag
=`expr $ac_sed_frag + 1`
22754 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22757 if test -z "$ac_sed_cmds"; then
22760 fi # test -n "$CONFIG_FILES"
22763 cat >>$CONFIG_STATUS <<\_ACEOF
22764 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22767 - |
*:- |
*:-:* ) # input from stdin
22769 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22770 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22771 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22772 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22773 * ) ac_file_in
=$ac_file.
in ;;
22776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22777 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22778 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22779 X"$ac_file" : 'X\(//\)[^/]' \| \
22780 X"$ac_file" : 'X\(//\)$' \| \
22781 X"$ac_file" : 'X\(/\)' \| \
22782 . : '\(.\)' 2>/dev/null ||
22784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22786 /^X\(\/\/\)$/{ s//\1/; q; }
22787 /^X\(\/\).*/{ s//\1/; q; }
22789 { if $as_mkdir_p; then
22794 while test ! -d "$as_dir"; do
22795 as_dirs
="$as_dir $as_dirs"
22796 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22798 X"$as_dir" : 'X\(//\)[^/]' \| \
22799 X"$as_dir" : 'X\(//\)$' \| \
22800 X"$as_dir" : 'X\(/\)' \| \
22801 . : '\(.\)' 2>/dev/null ||
22803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22805 /^X\(\/\/\)$/{ s//\1/; q; }
22806 /^X\(\/\).*/{ s//\1/; q; }
22809 test ! -n "$as_dirs" || mkdir
$as_dirs
22810 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22812 { (exit 1); exit 1; }; }; }
22816 if test "$ac_dir" != .
; then
22817 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22818 # A "../" for each directory in $ac_dir_suffix.
22819 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22821 ac_dir_suffix
= ac_top_builddir
=
22825 .
) # No --srcdir option. We are building in place.
22827 if test -z "$ac_top_builddir"; then
22830 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22832 [\\/]* | ?
:[\\/]* ) # Absolute path.
22833 ac_srcdir
=$srcdir$ac_dir_suffix;
22834 ac_top_srcdir
=$srcdir ;;
22835 *) # Relative path.
22836 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22837 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22840 # Do not use `cd foo && pwd` to compute absolute paths, because
22841 # the directories may not exist.
22843 .
) ac_abs_builddir
="$ac_dir";;
22846 .
) ac_abs_builddir
=`pwd`;;
22847 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22848 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22851 case $ac_abs_builddir in
22852 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22854 case ${ac_top_builddir}.
in
22855 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22856 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22857 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22860 case $ac_abs_builddir in
22861 .
) ac_abs_srcdir
=$ac_srcdir;;
22864 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22865 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22866 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22869 case $ac_abs_builddir in
22870 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22872 case $ac_top_srcdir in
22873 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22874 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22875 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22881 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22882 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22885 if test x
"$ac_file" != x-
; then
22886 { echo "$as_me:$LINENO: creating $ac_file" >&5
22887 echo "$as_me: creating $ac_file" >&6;}
22890 # Let's still pretend it is `configure' which instantiates (i.e., don't
22891 # use $as_me), people would be surprised to read:
22892 # /* config.h. Generated by config.status. */
22893 if test x
"$ac_file" = x-
; then
22896 configure_input
="$ac_file. "
22898 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22899 sed 's,.*/,,'` by configure."
22901 # First look for the input files in the build tree, otherwise in the
22903 ac_file_inputs
=`IFS=:
22904 for f in $ac_file_in; do
22906 -) echo $tmp/stdin ;;
22908 # Absolute (can't be DOS-style, as IFS=:)
22909 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22910 echo "$as_me: error: cannot find input file: $f" >&2;}
22911 { (exit 1); exit 1; }; }
22914 if test -f "$f"; then
22917 elif test -f "$srcdir/$f"; then
22922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22923 echo "$as_me: error: cannot find input file: $f" >&2;}
22924 { (exit 1); exit 1; }; }
22927 done` ||
{ (exit 1); exit 1; }
22929 cat >>$CONFIG_STATUS <<_ACEOF
22933 cat >>$CONFIG_STATUS <<\_ACEOF
22935 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22936 s
,@configure_input@
,$configure_input,;t t
22937 s
,@srcdir@
,$ac_srcdir,;t t
22938 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22939 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22940 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22941 s
,@builddir@
,$ac_builddir,;t t
22942 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22943 s
,@top_builddir@
,$ac_top_builddir,;t t
22944 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22945 s
,@INSTALL@
,$ac_INSTALL,;t t
22946 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22948 if test x"$ac_file" != x-; then
22949 mv $tmp/out $ac_file
22957 cat >>$CONFIG_STATUS <<\_ACEOF
22960 # CONFIG_HEADER section.
22963 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22964 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22966 # ac_d sets the value in "#define NAME VALUE" lines.
22967 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22968 ac_dB
='[ ].*$,\1#\2'
22971 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22972 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22973 ac_uB
='$,\1#\2define\3'
22977 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22978 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22980 - |
*:- |
*:-:* ) # input from stdin
22982 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22983 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22984 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22985 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22986 * ) ac_file_in
=$ac_file.
in ;;
22989 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22990 echo "$as_me: creating $ac_file" >&6;}
22992 # First look for the input files in the build tree, otherwise in the
22994 ac_file_inputs
=`IFS=:
22995 for f in $ac_file_in; do
22997 -) echo $tmp/stdin ;;
22999 # Absolute (can't be DOS-style, as IFS=:)
23000 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23001 echo "$as_me: error: cannot find input file: $f" >&2;}
23002 { (exit 1); exit 1; }; }
23003 # Do quote $f, to prevent DOS paths from being IFS'd.
23006 if test -f "$f"; then
23009 elif test -f "$srcdir/$f"; then
23014 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23015 echo "$as_me: error: cannot find input file: $f" >&2;}
23016 { (exit 1); exit 1; }; }
23019 done` ||
{ (exit 1); exit 1; }
23020 # Remove the trailing spaces.
23021 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23025 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23026 # `conftest.undefs', that substitutes the proper values into
23027 # config.h.in to produce config.h. The first handles `#define'
23028 # templates, and the second `#undef' templates.
23029 # And first: Protect against being on the right side of a sed subst in
23030 # config.status. Protect against being in an unquoted here document
23031 # in config.status.
23032 rm -f conftest.defines conftest.undefs
23033 # Using a here document instead of a string reduces the quoting nightmare.
23034 # Putting comments in sed scripts is not portable.
23036 # `end' is used to avoid that the second main sed command (meant for
23037 # 0-ary CPP macros) applies to n-ary macro definitions.
23038 # See the Autoconf documentation for `clear'.
23039 cat >confdef2sed.
sed <<\_ACEOF
23044 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23046 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23049 # If some macros were called several times there might be several times
23050 # the same #defines, which is useless. Nevertheless, we may not want to
23051 # sort them, since we want the *last* AC-DEFINE to be honored.
23052 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23053 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23054 rm -f confdef2sed.sed
23056 # This sed command replaces #undef with comments. This is necessary, for
23057 # example, in the case of _POSIX_SOURCE, which is predefined and required
23058 # on some systems where configure will not decide to define it.
23059 cat >>conftest.undefs <<\_ACEOF
23060 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23063 # Break up conftest.defines because some shells have a limit on the size
23064 # of here documents, and old seds have small limits too (100 cmds).
23065 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23066 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23067 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23068 echo ' :' >>$CONFIG_STATUS
23069 rm -f conftest.tail
23070 while grep . conftest.defines >/dev/null
23072 # Write a limited-size here document to $tmp/defines.sed.
23073 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23074 # Speed up: don't consider the non `#define' lines.
23075 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23076 # Work around the forget-to-reset-the-flag bug.
23077 echo 't clr' >>$CONFIG_STATUS
23078 echo ': clr' >>$CONFIG_STATUS
23079 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23081 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23083 mv $tmp/out $tmp/in
23085 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23086 rm -f conftest.defines
23087 mv conftest.
tail conftest.defines
23089 rm -f conftest.defines
23090 echo ' fi # grep' >>$CONFIG_STATUS
23091 echo >>$CONFIG_STATUS
23093 # Break up conftest.undefs because some shells have a limit on the size
23094 # of here documents, and old seds have small limits too (100 cmds).
23095 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23096 rm -f conftest.
tail
23097 while grep . conftest.undefs
>/dev
/null
23099 # Write a limited-size here document to $tmp/undefs.sed.
23100 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23101 # Speed up: don't consider the non
`#undef'
23102 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23103 # Work around the forget-to-reset-the-flag bug.
23104 echo 't clr' >>$CONFIG_STATUS
23105 echo ': clr' >>$CONFIG_STATUS
23106 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23108 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23110 mv $tmp/out $tmp/in
23112 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23113 rm -f conftest.undefs
23114 mv conftest.tail conftest.undefs
23116 rm -f conftest.undefs
23118 cat >>$CONFIG_STATUS <<\_ACEOF
23119 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23120 # use $as_me), people would be surprised to read:
23121 # /* config.h. Generated by config.status. */
23122 if test x
"$ac_file" = x-
; then
23123 echo "/* Generated by configure. */" >$tmp/config.h
23125 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23127 cat $tmp/in >>$tmp/config.h
23129 if test x
"$ac_file" != x-
; then
23130 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23131 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23132 echo "$as_me: $ac_file is unchanged" >&6;}
23134 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23136 X"$ac_file" : 'X\(//\)[^/]' \| \
23137 X"$ac_file" : 'X\(//\)$' \| \
23138 X"$ac_file" : 'X\(/\)' \| \
23139 . : '\(.\)' 2>/dev/null ||
23141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23143 /^X\(\/\/\)$/{ s//\1/; q; }
23144 /^X\(\/\).*/{ s//\1/; q; }
23146 { if $as_mkdir_p; then
23151 while test ! -d "$as_dir"; do
23152 as_dirs
="$as_dir $as_dirs"
23153 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23155 X"$as_dir" : 'X\(//\)[^/]' \| \
23156 X"$as_dir" : 'X\(//\)$' \| \
23157 X"$as_dir" : 'X\(/\)' \| \
23158 . : '\(.\)' 2>/dev/null ||
23160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23162 /^X\(\/\/\)$/{ s//\1/; q; }
23163 /^X\(\/\).*/{ s//\1/; q; }
23166 test ! -n "$as_dirs" || mkdir
$as_dirs
23167 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23168 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23169 { (exit 1); exit 1; }; }; }
23172 mv $tmp/config.h
$ac_file
23176 rm -f $tmp/config.h
23180 cat >>$CONFIG_STATUS <<\_ACEOF
23183 # CONFIG_COMMANDS section.
23185 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23186 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23187 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23188 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23189 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23190 X"$ac_dest" : 'X\(//\)[^/]' \| \
23191 X"$ac_dest" : 'X\(//\)$' \| \
23192 X"$ac_dest" : 'X\(/\)' \| \
23193 . : '\(.\)' 2>/dev/null ||
23195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23197 /^X\(\/\/\)$/{ s//\1/; q; }
23198 /^X\(\/\).*/{ s//\1/; q; }
23200 { if $as_mkdir_p; then
23205 while test ! -d "$as_dir"; do
23206 as_dirs
="$as_dir $as_dirs"
23207 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23209 X"$as_dir" : 'X\(//\)[^/]' \| \
23210 X"$as_dir" : 'X\(//\)$' \| \
23211 X"$as_dir" : 'X\(/\)' \| \
23212 . : '\(.\)' 2>/dev/null ||
23214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23216 /^X\(\/\/\)$/{ s//\1/; q; }
23217 /^X\(\/\).*/{ s//\1/; q; }
23220 test ! -n "$as_dirs" || mkdir
$as_dirs
23221 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23222 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23223 { (exit 1); exit 1; }; }; }
23227 if test "$ac_dir" != .
; then
23228 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23229 # A "../" for each directory in $ac_dir_suffix.
23230 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23232 ac_dir_suffix
= ac_top_builddir
=
23236 .
) # No --srcdir option. We are building in place.
23238 if test -z "$ac_top_builddir"; then
23241 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23243 [\\/]* | ?
:[\\/]* ) # Absolute path.
23244 ac_srcdir
=$srcdir$ac_dir_suffix;
23245 ac_top_srcdir
=$srcdir ;;
23246 *) # Relative path.
23247 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23248 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23251 # Do not use `cd foo && pwd` to compute absolute paths, because
23252 # the directories may not exist.
23254 .
) ac_abs_builddir
="$ac_dir";;
23257 .
) ac_abs_builddir
=`pwd`;;
23258 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23259 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23262 case $ac_abs_builddir in
23263 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23265 case ${ac_top_builddir}.
in
23266 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23267 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23268 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23271 case $ac_abs_builddir in
23272 .
) ac_abs_srcdir
=$ac_srcdir;;
23275 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23276 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23277 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23280 case $ac_abs_builddir in
23281 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23283 case $ac_top_srcdir in
23284 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23285 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23286 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23291 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23292 echo "$as_me: executing $ac_dest commands" >&6;}
23296 ### Make the necessary directories, if they don't exist.
23297 for dir
in etc lisp
; do
23298 test -d ${dir} || mkdir
${dir}
23301 # Build src/Makefile from ${srcdir}/src/Makefile.c
23302 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
23303 # This must be done after src/config.h is built, since we rely on that file.
23305 # Now get this: Some word that is part of the ${srcdir} directory name
23306 # or the ${configuration} value might, just might, happen to be an
23307 # identifier like `sun4' or `i386' or something, and be predefined by
23308 # the C preprocessor to some helpful value like 1, or maybe the empty
23309 # string. Needless to say consequent macro substitutions are less
23310 # than conducive to the makefile finding the correct directory.
23311 undefs
="`echo $top_srcdir $configuration $canonical |
23312 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
23313 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
23316 echo creating src
/epaths.h
23317 ${MAKE-make} epaths-force
23319 # As of 2000-11-19, newest development versions of GNU cpp preprocess
23320 # `..' to `. .' unless invoked with -traditional
23322 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
23323 CPPFLAGS
="$CPPFLAGS -traditional"
23326 echo creating lib-src
/Makefile
23328 rm -f junk.c junk1.c junk2.c
23329 sed -e '/start of cpp stuff/q' \
23330 < Makefile.c
> junk1.c
23331 sed -e '1,/start of cpp stuff/d'\
23332 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23333 < Makefile.c
> junk.c
23334 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23335 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23336 cat junk1.c junk2.c
> Makefile.new
23337 rm -f junk.c junk1.c junk2.c
23338 chmod 444 Makefile.new
23339 mv -f Makefile.new Makefile
23342 echo creating src
/Makefile
23344 rm -f junk.c junk1.c junk2.c
23345 sed -e '/start of cpp stuff/q' \
23346 < Makefile.c
> junk1.c
23347 sed -e '1,/start of cpp stuff/d'\
23348 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23349 < Makefile.c
> junk.c
23350 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23351 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23352 cat junk1.c junk2.c
> Makefile.new
23353 rm -f junk.c junk1.c junk2.c
23354 chmod 444 Makefile.new
23355 mv -f Makefile.new Makefile
23358 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
23359 echo creating src
/.gdbinit
23360 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
23363 # This is how we know whether to re-run configure in certain cases.
23364 touch src
/config.stamp
23371 cat >>$CONFIG_STATUS <<\_ACEOF
23373 { (exit 0); exit 0; }
23375 chmod +x
$CONFIG_STATUS
23376 ac_clean_files
=$ac_clean_files_save
23379 # configure is writing to config.log, and then calls config.status.
23380 # config.status does its own redirection, appending to config.log.
23381 # Unfortunately, on DOS this fails, as config.log is still kept open
23382 # by configure, so config.status won't be able to write to it; its
23383 # output is simply discarded. So we exec the FD to /dev/null,
23384 # effectively closing config.log, so it can be properly (re)opened and
23385 # appended to by config.status. When coming back to configure, we
23386 # need to make the FD available again.
23387 if test "$no_create" != yes; then
23389 ac_config_status_args
=
23390 test "$silent" = yes &&
23391 ac_config_status_args
="$ac_config_status_args --quiet"
23393 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23395 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23396 # would make configure fail if this is the last instruction.
23397 $ac_cs_success ||
{ (exit 1); exit 1; }